/* ==================================================================
   Lemon Mouse Mover — design system "Zest"
   Paper canvas · ink outlines · hard sticker shadows · lemon + leaf
   Signature: a live Chrome window where your presence dot stays green.
   ================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,300..800&family=Instrument+Sans:wght@400..700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg:       #FBFBF5;
  --bg-soft:  #F3F3E8;
  --paper:    #FFFFFF;
  --ink:      #14160F;
  --ink-2:    #474A3D;
  --ink-3:    #6E7164;
  --line:     rgba(20,22,15,.14);

  --lemon:      #FFE23B;
  --lemon-soft: #FFF3A6;
  --lemon-deep: #F4C400;
  --leaf:       #0E2A1F;
  --leaf-2:     #17402F;
  --green:      #19D35F;
  --amber:      #FFB020;
  --danger:     #D93A3F;

  /* legacy names used by secondary pages */
  --brand:    #8A5F00;          /* text-safe gold */
  --brand-br: #FFE23B;
  --brand-dk: #F4C400;

  --stick:    0 4px 0 var(--ink);
  --stick-lg: 8px 8px 0 var(--ink);
  --sh-sm: 0 2px 0 rgba(20,22,15,.9);
  --sh-md: 6px 6px 0 var(--ink);
  --sh-brand: var(--stick);

  --r-sm: 12px; --r-md: 18px; --r-lg: 28px;
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --spring: cubic-bezier(.34,1.45,.5,1);
  --font:    'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --serif:   var(--display);
  --mono:    'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 1.02rem/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 88%; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.2vw, 6.1rem); line-height: .93; letter-spacing: -.045em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.12; }
.lead { color: var(--ink-2); font-size: 1.15rem; line-height: 1.6; max-width: 52ch; text-wrap: pretty; }
.mono { font-family: var(--mono); }

/* highlighter-pen emphasis (keeps the old em.serif hook) */
em.serif, .mark { font-style: normal; font-weight: inherit; color: inherit; padding: 0 .1em; margin: 0 -.04em;
  background: linear-gradient(transparent 56%, var(--lemon) 56% 94%, transparent 94%); letter-spacing: inherit; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font: 500 .74rem var(--mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 13px 6px 11px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--lemon-deep); border: 2px solid var(--ink); flex: none; }
.eyebrow.center::after { content: none; }

/* presence dot */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); position: relative; flex: none; }
.dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Buttons: stickers that press down ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px;
  font: 700 1rem var(--font); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  color: var(--ink); background: var(--paper); border: 2px solid var(--ink); box-shadow: var(--stick);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn svg, .btn img { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--lemon); }
.btn-primary:hover { background: #FFEA6B; }
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-dark { background: var(--ink); color: var(--lemon); }
.btn-dark:hover { background: #22251a; }
.btn-lg { padding: 17px 32px; font-size: 1.1rem; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 70px; padding: 0 max(20px, calc((100vw - var(--maxw)) / 2));
  background: rgba(251,251,245,.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.3rem var(--display); font-stretch: 90%; letter-spacing: -.03em; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.nav-links { display: flex; gap: 6px; }
.nav-links .link { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-links .link:hover { background: var(--lemon-soft); color: var(--ink); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav .btn { padding: 9px 18px; font-size: .92rem; box-shadow: 0 3px 0 var(--ink); }
.nav .btn:hover { box-shadow: 0 5px 0 var(--ink); }
.nav .btn:active { box-shadow: 0 1px 0 var(--ink); }
.nav.scrolled { box-shadow: 0 10px 30px rgba(20,22,15,.08); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; margin: 34px 0 26px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 10px 26px; color: var(--ink-2); font-size: .9rem; flex-wrap: wrap; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { display: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* stage: lemon slice + live Chrome window */
.stage { position: relative; min-height: 470px; }
.slice { position: absolute; width: 640px; height: 640px; right: -190px; top: -90px; z-index: 0; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.win { position: relative; z-index: 1; width: min(560px, 100%); margin-left: auto; background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--ink); overflow: visible; }
.win-top { display: flex; align-items: flex-end; gap: 8px; padding: 10px 14px 0; background: var(--bg-soft); border-radius: 18px 18px 0 0; border-bottom: 2px solid var(--ink); }
.traffic { display: flex; gap: 6px; padding: 0 6px 12px 0; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.win-tab { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; padding: 8px 14px; font: 600 .78rem var(--font); color: var(--ink-2); border: 2px solid transparent; border-bottom: 0; border-radius: 11px 11px 0 0; }
.win-tab.on { background: var(--paper); border-color: var(--ink); color: var(--ink); margin-bottom: -2px; padding-bottom: 10px; }
.fav { width: 12px; height: 12px; border-radius: 4px; background: conic-gradient(#E01E5A 0 25%, #36C5F0 0 50%, #2EB67D 0 75%, #ECB22E 0); }
.win-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.url { flex: 1; font: 500 .74rem var(--mono); color: var(--ink-3); background: var(--bg-soft); border-radius: 999px; padding: 7px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--lemon); padding: 0; cursor: pointer; display: grid; place-items: center; transition: transform .15s var(--spring); }
.ext:hover { transform: scale(1.08); }
.ext img { width: 20px; height: 20px; border-radius: 50%; }
.ext .pip { position: absolute; right: -4px; bottom: -4px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); border: 2px solid var(--ink); transition: background .25s; }
.win.off .ext .pip { background: var(--amber); }

.win-body { position: relative; display: grid; grid-template-columns: 150px 1fr; height: 340px; background: var(--paper); border-radius: 0 0 18px 18px; overflow: hidden; }
.side { background: var(--leaf); color: #E8F2EC; padding: 16px 14px; font-size: .8rem; }
.side b { display: block; font: 800 .98rem var(--display); letter-spacing: -.02em; margin-bottom: 14px; color: #fff; }
.side small { display: block; font: 500 .62rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8DB5A2; margin: 14px 0 7px; }
.mem { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-weight: 500; }
.mem .p { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; transition: background .25s; }
.mem.idle .p { background: transparent; border: 2px solid #8DB5A2; }
.mem.me .p { background: var(--green); box-shadow: 0 0 0 3px rgba(25,211,95,.28); }
.win.off .mem.me .p { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,176,32,.28); }
.mem .st { margin-left: auto; font: 500 .6rem var(--mono); color: #8DB5A2; opacity: 0; transition: opacity .25s; }
.win.off .mem.me .st { opacity: 1; color: var(--amber); }
.chat { padding: 16px 16px; display: grid; align-content: start; gap: 13px; font-size: .82rem; background: var(--paper); }
.chat h4 { font: 700 .9rem var(--display); letter-spacing: -.01em; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.msg-row { display: grid; grid-template-columns: 28px 1fr; gap: 9px; }
.av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 .72rem var(--display); color: var(--ink); border: 2px solid var(--ink); }
.msg-row div b { font-size: .8rem; } .msg-row div span { display: block; color: var(--ink-2); line-height: 1.4; }
.ghost { position: absolute; left: 230px; top: 150px; width: 22px; height: 22px; z-index: 3; pointer-events: none; transition: transform 1.1s var(--ease), opacity .3s; filter: drop-shadow(2px 2px 0 var(--ink)); }
.win.off .ghost { opacity: .25; }

/* popup (mirrors the real extension) */
.pop { position: absolute; z-index: 4; right: 12px; top: 10px; width: 322px; background: #0A0F0C; color: #F2F6F3; border: 2px solid var(--ink); border-radius: 18px; padding: 12px; box-shadow: 6px 6px 0 rgba(20,22,15,.9); }
.pop-tabs { display: flex; align-items: center; gap: 4px; font: 600 .7rem var(--font); }
.pop-tabs span { padding: 6px 10px; border-radius: 999px; color: #8FA196; }
.pop-tabs .on { background: rgba(255,226,59,.14); color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.pop-tabs .on img { width: 13px; height: 13px; border-radius: 50%; }
.pop-tabs .n { background: var(--lemon); color: var(--ink); border-radius: 999px; padding: 0 6px; font-size: .62rem; margin-left: 2px; }
.pop-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; background: rgba(255,255,255,.05); border-radius: 14px; }
.pop-logo { position: relative; width: 46px; height: 46px; flex: none; }
.pop-logo img { width: 46px; height: 46px; border-radius: 12px; }
.pop-logo b { position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); display: grid; place-items: center; border: 2px solid #0A0F0C; transition: background .25s; }
.win.off .pop-logo b { background: var(--amber); }
.pop-st { flex: 1; min-width: 0; line-height: 1.3; }
.pop-st > div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-st .t { font: 700 .88rem var(--font); } .pop-st .s { font-size: .64rem; color: #9DB0A4; } .pop-st .u { font: 500 .66rem var(--mono); color: #6E8579; margin-top: 2px; }
.power { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink); background: var(--lemon); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 3px 0 rgba(0,0,0,.6); transition: transform .12s, background .2s, box-shadow .12s; }
.power:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(0,0,0,.6); }
.power svg { width: 20px; height: 20px; fill: var(--ink); }
.power .ic-play { display: none; }
.win.off .power { background: #2b342e; border-color: #55645a; }
.win.off .power svg { fill: #cfe0d5; }
.win.off .power .ic-pause { display: none; } .win.off .power .ic-play { display: block; }
.hint { position: absolute; z-index: 5; right: 16px; bottom: -15px; font: 700 .7rem var(--font); background: var(--ink); color: var(--lemon); padding: 5px 10px; border-radius: 999px; transform: rotate(-3deg); pointer-events: none; animation: bob 2.4s ease-in-out infinite; }
.win.touched .hint { display: none; }
@keyframes bob { 50% { transform: rotate(-3deg) translateY(-4px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--leaf); color: #fff; padding: 22px 0; overflow: hidden; border-bottom: 2px solid var(--ink); }
.marquee-label { text-align: center; font: 500 .74rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8DB5A2; margin-bottom: 16px; padding: 0 20px; }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: mq var(--mq-dur, 30s) linear infinite; padding-left: 14px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(var(--mq-shift, -50%)); } }
.chip { display: inline-flex; align-items: center; gap: 11px; padding: 10px 20px 10px 14px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font: 700 1rem var(--font); white-space: nowrap; }
.chip svg, .chip img { width: 26px; height: 26px; flex: none; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.band-lemon { background: var(--lemon); border-block: 2px solid var(--ink); }
.section.band-soft { background: var(--bg-soft); border-block: 2px solid var(--ink); }
.section.band-leaf { background: var(--leaf); color: #fff; border-block: 2px solid var(--ink); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head h2 { margin: 18px 0 16px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.band-leaf .lead { color: #B9D2C6; }

/* steps (a real sequence — numbers earn their place) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 30px 28px 32px; box-shadow: var(--stick-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.step:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 var(--ink); }
.step-n { font: 800 5.2rem/0.8 var(--display); font-stretch: 80%; color: var(--lemon); -webkit-text-stroke: 2px var(--ink); letter-spacing: -.04em; margin-bottom: 20px; }
.step-ic { display: none; }
.step h3 { margin-bottom: 10px; font-size: 1.5rem; }
.step p { color: var(--ink-2); font-size: .98rem; }

/* features */
.feat { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.feat.flip .feat-copy { order: 2; }
.feat + .feat { margin-top: 110px; }
.feat-tag { display: inline-flex; align-items: center; gap: 9px; font: 500 .76rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lemon); }
.feat-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--lemon); }
.feat-copy h3 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 14px 0 16px; line-height: .98; }
.feat-copy > p { color: #B9D2C6; font-size: 1.08rem; max-width: 44ch; }
.feat-points { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.feat-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #E8F2EC; font-size: .98rem; line-height: 1.5; }
.feat-points svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--lemon); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.feat-stage { display: grid; place-items: center; padding: 38px 20px; background: var(--leaf-2); border: 2px solid #000; border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--lemon); }
.feat-note { margin-top: 64px; text-align: center; font: 500 .8rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #8DB5A2; }

/* popup panels used in features */
.panel { width: min(340px, 100%); background: #0A0F0C; color: #F2F6F3; border: 2px solid var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 6px 0 rgba(0,0,0,.5); }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.panel-h b { font: 800 1.05rem var(--display); letter-spacing: -.02em; } .panel-h span { font: 500 .66rem var(--mono); color: #7F9488; }
.brief-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 11px; align-items: start; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
.brief-row .av { width: 30px; height: 30px; font-size: .74rem; border-color: #000; }
.brief-row div b { display: block; font-size: .8rem; } .brief-row div span { color: #A5B8AC; line-height: 1.35; display: block; }
.brief-row time { font: 500 .62rem var(--mono); color: #7F9488; padding-top: 3px; }
.big-n { font: 800 4.4rem/.9 var(--display); font-stretch: 82%; letter-spacing: -.05em; color: var(--lemon); }
.big-n small { font-size: 1.6rem; letter-spacing: -.02em; margin-left: 4px; }
.sub-n { color: #9DB0A4; font-size: .8rem; margin: 6px 0 18px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.1); }
.bars i { flex: 1; background: #2E4A3C; border-radius: 6px 6px 2px 2px; }
.bars i.today { background: var(--lemon); }
.bar-l { display: flex; gap: 8px; margin: 6px 0 16px; } .bar-l span { flex: 1; text-align: center; font: 500 .6rem var(--mono); color: #7F9488; }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat3 div { background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px; }
.stat3 b { display: block; font: 800 1.1rem var(--display); } .stat3 span { font-size: .62rem; color: #8FA196; line-height: 1.25; display: block; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--stick-lg); }
.tile.span2 { grid-column: span 2; }
.tile.dark { background: var(--leaf); color: #fff; }
.tile.brandbg { background: var(--lemon); }
.tile h3 { margin-bottom: 10px; font-size: 1.5rem; }
.tile p { color: var(--ink-2); font-size: .98rem; }
.tile.dark p { color: #B9D2C6; }
.tile.brandbg p { color: var(--ink); }
.tile .big { font: 800 5.4rem/.85 var(--display); font-stretch: 80%; letter-spacing: -.05em; margin-bottom: 14px; }
.tile-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--lemon); border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.tile-ic svg { width: 24px; height: 24px; }
.tile-status { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; margin-bottom: 24px; }
.ts-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(25,211,95,.22); flex: none; }
.ts-a { font: 700 .95rem var(--font); } .ts-b { font-size: .78rem; color: #8DB5A2; }
.ts-wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 24px; }
.ts-wave i { width: 4px; border-radius: 2px; background: var(--green); animation: wv 1.3s ease-in-out infinite; height: 40%; }
.ts-wave i:nth-child(2) { animation-delay: .15s; } .ts-wave i:nth-child(3) { animation-delay: .3s; } .ts-wave i:nth-child(4) { animation-delay: .45s; } .ts-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes wv { 50% { height: 100%; } }

/* pricing */
.bill-toggle { display: inline-flex; padding: 5px; gap: 4px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; box-shadow: var(--stick); margin-bottom: 44px; }
.bill-toggle button { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: 700 .95rem var(--font); color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: background .2s, color .2s; }
.bill-toggle button.on { background: var(--ink); color: var(--lemon); }
.bill-toggle .save { font: 500 .66rem var(--mono); background: var(--green); color: var(--ink); padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 38px 34px; box-shadow: var(--stick-lg); display: flex; flex-direction: column; }
.price-card.feature { background: var(--lemon); }
.price-card h3 { font-size: 1.6rem; }
.badge { position: absolute; top: -17px; right: 24px; transform: rotate(3deg); background: var(--ink); color: var(--lemon); font: 500 .72rem var(--mono); letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; }
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 20px 0 14px; }
.amount .n { font: 800 4.6rem/.9 var(--display); font-stretch: 82%; letter-spacing: -.05em; }
.amount .per { color: var(--ink-2); font-weight: 600; font-size: 1rem; margin-left: 6px; }
.price-card > p { color: var(--ink-2); font-size: .98rem; }
.price-card.feature > p { color: var(--ink); }
.checks { list-style: none; margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .98rem; font-weight: 500; }
.checks svg { width: 22px; height: 22px; fill: none; stroke: var(--ink) !important; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.price-card .btn { width: 100%; }
.price-card.feature .btn-primary { background: var(--ink); color: var(--lemon); }

/* install list (chrome page) */
.install { list-style: none; display: grid; gap: 16px; max-width: 720px; margin: 0 auto; counter-reset: s; }
.install li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 22px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--stick); }
.install li::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem var(--display); background: var(--lemon); border: 2px solid var(--ink); }
.install b { display: block; font: 700 1.1rem var(--font); margin-bottom: 4px; }
.install span { color: var(--ink-2); font-size: .96rem; }

/* CTA */
.cta-inner { position: relative; overflow: hidden; text-align: center; background: var(--lemon); border: 2px solid var(--ink); border-radius: 36px; padding: 84px 30px; box-shadow: 12px 12px 0 var(--ink); }
.cta-inner h2 { font-size: clamp(2.4rem, 6vw, 4.8rem); max-width: 14ch; margin: 0 auto 18px; position: relative; }
.cta-inner p { max-width: 46ch; margin: 0 auto 32px; color: var(--ink); font-size: 1.12rem; position: relative; }
.cta-inner .btn { position: relative; }
.cta-inner .btn-primary { background: var(--ink); color: var(--lemon); }
.cta-inner .btn-ghost { background: var(--paper); color: var(--ink); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-md); box-shadow: var(--stick); }
.faq-item.open { background: var(--lemon-soft); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font: 700 1.12rem var(--font); cursor: pointer; user-select: none; }
.pm { position: relative; width: 22px; height: 22px; flex: none; }
.pm::before, .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; margin: -1.5px 0 0 -8px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
.faq-item.open .pm::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--ink-2); font-size: 1rem; max-width: 66ch; }
.faq-a a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* footer */
.footer { background: var(--leaf); color: #CFE2D8; padding: 70px 0 40px; margin-top: 0; border-top: 2px solid var(--ink); }
.footer .brand { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; gap: 44px; flex-wrap: wrap; margin-bottom: 44px; }
.footer-tag { color: #8DB5A2; font-size: .95rem; max-width: 32ch; margin-top: 14px; }
.fcol h4 { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--lemon); margin-bottom: 16px; }
.fcol a { display: block; color: #CFE2D8; font-size: .96rem; padding: 5px 0; transition: color .15s, transform .15s; }
.fcol a:hover { color: #fff; transform: translateX(3px); }
.footer-disclaimer { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #8DB5A2; font-size: .76rem; line-height: 1.65; max-width: 900px; }
.footer-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.14); color: #8DB5A2; font-size: .86rem; }

/* ---------- Auth / portal shared ---------- */
.page-pad { padding: 70px 0 100px; min-height: 72vh; }
.card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--stick-lg); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input { width: 100%; padding: 14px 16px; border-radius: 14px; font: 500 1rem var(--font); border: 2px solid var(--ink); background: var(--bg); color: var(--ink); transition: background .2s, box-shadow .2s; }
.field input:focus { outline: none; background: #fff; box-shadow: 0 0 0 4px var(--lemon); }
.msg { font-size: .92rem; min-height: 22px; padding: 6px 0; font-weight: 500; }
.msg.err { color: var(--danger); }
.msg.ok { color: #0E8F3F; }

/* ---------- Blog cards ---------- */
.post-card { border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--ink); background: var(--paper); box-shadow: var(--stick-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 var(--ink); }
.post-cover { height: 176px; background-size: cover; background-position: center; border-bottom: 2px solid var(--ink); background-color: var(--lemon); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font: 500 .72rem var(--mono); letter-spacing: .04em; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 8px; text-transform: uppercase; }
.post-card h3 { font-size: 1.35rem; margin-bottom: 10px; line-height: 1.08; }
.post-card p { color: var(--ink-2); font-size: .96rem; flex: 1; }
.post-card .more { color: var(--ink); font-weight: 700; font-size: .92rem; margin-top: 16px; text-decoration: underline; text-decoration-color: var(--lemon-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; }

/* ---------- Legal / long-form ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .updated { color: var(--ink-3); font: 500 .8rem var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 34px; }
.legal h2 { font-size: 1.9rem; margin: 44px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; display: grid; gap: 8px; }
.legal a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal .callout { background: var(--lemon-soft); border: 2px solid var(--ink); border-radius: var(--r-md); padding: 18px 20px; margin: 18px 0; }
.legal .callout p { margin: 0; color: var(--ink); }

/* chrome card (account / success) */
.chrome-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--lemon); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 22px 26px; box-shadow: var(--stick-lg); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.chrome-card:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 var(--ink); }
.chrome-card img { width: 52px; height: 52px; }
.chrome-card h3 { font-size: 1.3rem; margin-bottom: 2px; } .chrome-card p { font-size: .92rem; color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 48px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .win { margin-inline: auto; }
  .slice { right: -240px; width: 560px; height: 560px; }
  .steps, .bento, .price-wrap { grid-template-columns: 1fr; }
  .tile.span2 { grid-column: auto; }
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 36px; }
  .feat.flip .feat-copy { order: 0; }
  .feat + .feat { margin-top: 80px; }
  .nav-links { display: none; }
  .section { padding: 76px 0; }
}
@media (max-width: 640px) {
  .nav { height: 62px; }
  .win-tab:not(.on) { display: none; }
  .nav .brand { font-size: 1.1rem; } .nav .brand img { width: 30px; height: 30px; }
  .nav .btn { padding: 8px 13px; font-size: .84rem; }
  .nav-actions { gap: 8px; }
  .win-body { grid-template-columns: 1fr; height: 330px; }
  .side { display: none; }
  .pop { right: 8px; left: 8px; width: auto; }
  .hint { right: 14px; }
  .ghost { left: 60px; top: 230px; }
  .slice { right: -300px; top: -40px; }
  .card, .step, .price-card, .tile { padding: 26px 22px; }
  .cta-inner { padding: 56px 22px; border-radius: 28px; box-shadow: 8px 8px 0 var(--ink); }
  .chrome-card { grid-template-columns: auto 1fr; } .chrome-card .btn { grid-column: 1 / -1; }
  .install li { grid-template-columns: 44px 1fr; padding: 18px; gap: 14px; }
  .bill-toggle { width: 100%; justify-content: center; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
  .brand span.w { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Blog covers: each post ships its own SVG cover in /images/blog ---------- */
.post-cover { background-size: cover; background-position: center; background-color: var(--lemon); aspect-ratio: 1200 / 630; height: auto; }
@media (max-width: 720px){ #homeBlog, .blog-grid { grid-template-columns: 1fr !important; } }
