/* FollowLoop site. Light only, by design (owner rule: ignore OS dark mode).
   Direction and the reason behind every token: research/DESIGN_DIRECTION.md.
   Type: Mona Sans, SIL Open Font License 1.1, self-hosted in /assets/fonts. */

@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/mona-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/fonts/mona-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --mint: #eff6f2;
  --mint-2: #f7faf8;
  --ink: #0f1f19;
  --ink-2: #34453d;
  --muted: #5a6a62;
  --faint: #7b8b83;
  --green: #0e7c5a;
  --green-ink: #0a5e44;
  --green-deep: #08402f;
  --green-soft: #e4f2eb;
  --green-line: #c3dfd1;
  --line: #d6e3dd;
  --line-soft: #e5eee9;
  --field: #c2d2ca;
  --amber: #b4630e;
  --amber-soft: #fdf4e3;
  --amber-line: #efd9ad;
  --amber-ink: #7a4a05;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --danger-line: #f3c6c0;
  --wait: #a6b4ad;
  --marker: #ffd84d;

  --f: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --wide: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 7.5vw, 104px);

  --r-card: 20px;
  --r-inner: 14px;
  --r-ctl: 10px;

  --sh-card: 0 1px 2px rgba(15, 31, 25, .04), 0 12px 28px -16px rgba(14, 124, 90, .18);
  --sh-lift: 0 2px 6px rgba(15, 31, 25, .05), 0 28px 60px -28px rgba(15, 52, 40, .32);
  --sh-btn: 0 1px 1px rgba(8, 64, 47, .14), 0 4px 12px -3px rgba(14, 124, 90, .32);
  --ease: cubic-bezier(.2, 0, 0, 1);

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.6-7' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
img, svg { display: block; max-width: 100%; }
a {
  color: var(--green);
  text-decoration-line: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .15s var(--ease), text-decoration-color .15s var(--ease);
}
a:hover { color: var(--green-ink); text-decoration-color: currentColor; }
::selection { background: #cdeadb; color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
a:focus-visible { border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 450; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong, b { font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* Mona Sans draws a slashed zero in its tabular figures, which reads as code. Numbers here change at most once a
   minute, so the site keeps proportional figures everywhere, .tnum included. */
.tnum { font-variant-numeric: proportional-nums; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 18px;
  border: 1px solid transparent; border-radius: var(--r-ctl);
  background: var(--green); color: #fff;
  font: inherit; font-size: 15px; font-weight: 550; line-height: 1.2; letter-spacing: -0.005em;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: var(--sh-btn);
  transition-property: background-color, border-color, color, box-shadow, transform;
  transition-duration: .15s;
  transition-timing-function: var(--ease);
}
.btn:hover { background: var(--green-ink); color: #fff; }
.btn:active:not([disabled]) { transform: scale(.97); }
.btn--ghost { background: #fff; color: var(--green-ink); border-color: var(--green-line); box-shadow: 0 1px 2px rgba(15, 31, 25, .05); }
.btn--ghost:hover { background: var(--mint-2); border-color: var(--green); color: var(--green-ink); }
.btn--light { background: #fff; color: var(--green-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 20px -8px rgba(0, 0, 0, .3); }
.btn--light:hover { background: var(--mint); color: var(--green-deep); }
.btn--small { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn--lg { min-height: 50px; padding: 13px 24px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--danger { background: var(--danger); box-shadow: 0 1px 1px rgba(100, 20, 10, .15), 0 4px 12px -3px rgba(180, 35, 24, .35); }
.btn--danger:hover { background: #8f1c13; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }

.textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--green); font-size: 15px; font-weight: 550; text-decoration: none; }
.textlink svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.textlink:hover { color: var(--green-ink); }
.textlink:hover svg { transform: translateY(2px); }

.linkbtn { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--green); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.linkbtn:hover { color: var(--green-ink); text-decoration-color: currentColor; }
.linkbtn[disabled] { color: var(--faint); text-decoration: none; cursor: default; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; padding: 10px var(--gutter) 0; }
.nav__in {
  max-width: calc(var(--wide) + 32px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px; min-height: 60px; padding: 0 10px 0 16px;
  border: 1px solid var(--line-soft); border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 30px -18px rgba(15, 52, 40, .3);
}
@supports (animation-timeline: scroll()) {
  .nav__in { animation: nav-lift linear both; animation-timeline: scroll(root); animation-range: 0 72px; }
  @keyframes nav-lift { from { border-color: transparent; box-shadow: 0 10px 30px -18px rgba(15, 52, 40, 0); background: rgba(255, 255, 255, 0); } }
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -0.025em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand svg { width: 26px; height: 26px; }
.nav__in > nav { flex: 1; min-width: 0; }
.nav__links { display: flex; align-items: center; justify-content: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; text-decoration: none; transition: color .15s var(--ease), background-color .15s var(--ease); }
.nav__links a:hover { color: var(--ink); background: var(--mint); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links li:has(> [hidden]) { display: none; }
.nav__end { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; list-style: none; padding: 0; }
.nav__links + .nav__end { margin-left: 0; }
.nav__end a:not(.btn) { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav__end a:not(.btn):hover { color: var(--ink); }
.nav__end .btn { white-space: nowrap; }
.nav__who { color: var(--muted); font-size: 14px; padding-right: 8px; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hide-s { display: none !important; }
}
@media (max-width: 420px) {
  .nav { padding-top: 8px; }
  .nav__in { gap: 8px; padding: 0 8px 0 12px; min-height: 56px; }
  .nav__end a:not(.btn) { padding: 0 8px; }
  .hide-xs { display: none !important; }
}

/* App pages (sign up, setup, dashboard): a plain bar, not the floating one. */
.appbody .nav__links { justify-content: flex-end; }
.appbody .nav { padding: 0; background: #fff; border-bottom: 1px solid var(--line-soft); }
.appbody .nav__in { max-width: calc(var(--wide) + 2 * var(--gutter)); padding: 0 var(--gutter); min-height: 64px; border: 0; border-radius: 0; box-shadow: none; background: none; animation: none; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--mint { background: var(--mint); }
.sec--mint2 { background: var(--mint-2); }
.h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.12; font-weight: 450; letter-spacing: -0.03em; }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 52ch; }
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.split .h2 { max-width: 15em; }
.split .lead { justify-self: end; max-width: 42ch; }
.sec__body, .split + .sec__body { margin-top: clamp(36px, 4vw, 52px); }
.stack > * + * { margin-top: 16px; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .lead { justify-self: start; padding-top: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 72px) 0 clamp(80px, 8vw, 112px); background: radial-gradient(110% 64% at 50% 78%, var(--mint) 0, rgba(239, 246, 242, 0) 64%); }
.hero__head { display: grid; justify-items: center; text-align: center; }
.hero h1 { max-width: 14em; font-size: clamp(36px, 4vw, 56px); line-height: 1.06; font-weight: 440; letter-spacing: -0.035em; }
.hero h1 span { display: block; color: var(--green); }
.hero__body { margin-top: 22px; max-width: 54ch; text-wrap: balance; font-size: clamp(16.5px, 1.3vw, 18px); line-height: 1.65; color: var(--muted); }
.hero__cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero .hero__cta { justify-content: center; margin-top: 32px; }
.hero__trial { margin-top: 14px; font-size: 14px; color: var(--muted); }
.hero__stage { margin-top: clamp(40px, 4.5vw, 60px); }

/* The founder's own result, kept word for word under the benefit. */
.founder { margin-top: 28px; display: flex; align-items: center; gap: 16px; max-width: 600px; padding: 14px 22px 14px 14px; border: 1px solid var(--line-soft); border-radius: 22px; background: rgba(255, 255, 255, .8); box-shadow: var(--sh-card); text-align: left; }
.founder__ava { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(15, 31, 25, .1), 0 0 0 3px #fff, 0 0 0 4px var(--green-line); }
.founder__q { margin: 0; }
.founder__q p { font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.4; font-weight: 480; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.founder__by { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
@media (min-width: 481px) { .founder__q span { display: block; } }
.hero .founder + .hero__cta { margin-top: 28px; }
@media (max-width: 480px) {
  .founder { align-items: flex-start; gap: 12px; padding: 14px 16px 14px 12px; border-radius: 18px; }
  .founder__ava { width: 44px; height: 44px; }
}

/* The product in its own tab: a browser window drawn in HTML. Everything is gray except FollowLoop. */
.stage { position: relative; max-width: 1020px; margin: 0 auto; }
.browser { position: relative; border-radius: 14px; background: #fff; overflow: hidden; font-family: var(--f-sys); letter-spacing: 0; box-shadow: 0 0 0 1px rgba(15, 31, 25, .1), 0 2px 6px rgba(15, 31, 25, .04), 0 48px 90px -48px rgba(15, 52, 40, .42); }
.browser__bar { display: flex; align-items: flex-end; gap: 14px; height: 44px; padding: 0 12px 0 16px; background: #e7ebe9; }
.browser__dots { display: flex; gap: 7px; align-self: center; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #cbd2ce; }
.browser__tabs { display: flex; align-items: flex-end; gap: 4px; min-width: 0; height: 36px; }
.btab { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 4px; padding: 0 14px 0 10px; border-radius: 8px; color: #4b5651; font-size: 12px; white-space: nowrap; overflow: hidden; }
.btab__ico { flex: 0 0 auto; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; background: #14171a; color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }
.bgroup { display: flex; align-items: flex-end; gap: 4px; min-width: 0; padding-bottom: 0; }
.bgroup__chip { align-self: center; margin-bottom: 2px; padding: 3px 8px; border-radius: 6px; background: #1e8e3e; color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.btab--on { position: relative; height: 36px; margin-bottom: 0; padding: 0 22px 0 12px; border-radius: 10px 10px 0 0; background: #fff; color: #1f2623; box-shadow: inset 0 -2px 0 #1e8e3e; }
.btab__new { align-self: center; margin-left: 4px; color: #6b7570; font-size: 18px; line-height: 1; }
.browser__tool { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid #edf0ee; }
.browser__nav { display: flex; gap: 12px; color: #8a948f; }
.browser__nav svg { width: 14px; height: 14px; }
.browser__url { flex: 1; max-width: 520px; display: flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px; background: #f0f3f1; color: #3d4843; font-size: 12.5px; }
.browser__page { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr) 250px; height: 440px; }

.xr { display: grid; align-content: start; justify-items: center; gap: 20px; padding-top: 16px; border-right: 1px solid #eff2f0; }
.xr i { width: 22px; height: 22px; border-radius: 50%; background: #e1e7e4; }
.xr i:first-child { width: 28px; height: 28px; background: #14171a; }
.xm { min-width: 0; border-right: 1px solid #eff2f0; }
.xm__top { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; }
.xm__top i { width: 16px; height: 16px; border-radius: 50%; background: #e1e7e4; }
.xm__top b { display: block; width: 110px; height: 10px; border-radius: 6px; background: #e1e7e4; }
.xm__deck { display: grid; }
.xp { grid-area: 1 / 1; background: #fff; }
.xp + .xp { opacity: 0; }
.xm__banner { height: 118px; background: linear-gradient(115deg, #cfe7dc, #dfe9f5); }
.xp:nth-child(2) .xm__banner { background: linear-gradient(115deg, #f2e4cf, #f4dbd3); }
.xp:nth-child(3) .xm__banner { background: linear-gradient(115deg, #e3ddf4, #d5e8f1); }
.xm__prof { position: relative; padding: 0 18px; }
.xm__prof .xm__ava { display: block; width: 82px; height: 82px; margin-top: -41px; border: 4px solid #fff; }
.xbtn { position: absolute; top: 12px; right: 18px; display: grid; }
.xbtn > span { grid-area: 1 / 1; display: grid; place-items: center; height: 34px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.xbtn__a { background: #0f1419; color: #fff; opacity: 0; }
.xbtn__b { border: 1px solid #cfd9de; background: #fff; color: #0f1419; }
.xm__name { margin-top: 10px; display: flex; align-items: center; gap: 4px; color: #0f1419; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.xm__name svg { flex: none; width: 17px; height: 17px; }
.xm__handle { color: #536471; font-size: 14px; }
.xm__bio { margin-top: 10px; color: #0f1419; font-size: 14px; }
.xm__bio mark, .ga-bio mark, .vg__p mark { padding: 1px 3px; border-radius: 4px; background: var(--green-soft); color: var(--green-ink); box-shadow: inset 0 -1.5px 0 var(--green-line); }
.xm__meta { margin-top: 10px; display: flex; gap: 16px; color: #536471; font-size: 13.5px; }
.xm__meta b { color: #0f1419; font-weight: 700; }
.xm__tabs { margin-top: 18px; display: flex; gap: 26px; padding: 0 18px; border-bottom: 1px solid #eff2f0; color: #536471; font-size: 13.5px; }
.xm__tabs span { padding: 10px 0 12px; }
.xm__tabs span:first-child { color: #0f1419; font-weight: 700; box-shadow: inset 0 -3px 0 #c5ceca; }
.xm__post { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 14px 18px; }
.xm__post > i { width: 38px; height: 38px; border-radius: 50%; background: #e1e7e4; }
.xm__post div { display: grid; gap: 9px; padding-top: 4px; }
.xm__post b { display: block; height: 9px; border-radius: 6px; background: #e8ece9; }
.xa { display: grid; align-content: start; gap: 14px; padding: 12px 16px; }
.xa__search { height: 36px; border-radius: 999px; background: #eff3f1; }
.xa__card { display: grid; gap: 12px; padding: 16px; border: 1px solid #eff2f0; border-radius: 16px; }
.xa__card b { display: block; height: 9px; border-radius: 6px; background: #e8ece9; }
.xa__card b:first-child { width: 60%; height: 12px; background: #dfe5e2; }

/* Made-up people: names and handles are blurred like a privacy-safe screenshot, faces are flat silhouettes. */
.blur { display: inline-block; filter: blur(3.2px); user-select: none; }
.ava { --bg: #dbe5ef; --sk: #e9c8a6; --cl: #5d7391; flex: none; display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 50% 39%, var(--sk) 0 19%, transparent 20%), radial-gradient(ellipse 44% 38% at 50% 100%, var(--cl) 0 98%, transparent 100%), var(--bg); }
.ava--1 { --bg: #dcebe3; --sk: #e6c3a1; --cl: #3f6b5a; }
.ava--2 { --bg: #f3e6d6; --sk: #c99a74; --cl: #8a5a3c; }
.ava--3 { --bg: #e4e0f2; --sk: #f0d0b5; --cl: #5b5490; }
.ava--4 { --bg: #d9e8f1; --sk: #a87a5a; --cl: #2f5d7c; }
.ava--5 { --bg: #f1dede; --sk: #edc9aa; --cl: #9b4f4f; }
.ava--6 { --bg: #e6ebdf; --sk: #d7ad8a; --cl: #56683a; }

/* The on-page panel, styled exactly like the extension's (content.js hud()). */
.hud { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); padding: 10px 14px; border: 1px solid #d6e3dd; border-radius: 12px; background: #fff; color: #0f1f19; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); font: 500 14px/1.35 var(--f-sys); }
.hud__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #0e7c5a; }
.hud b { flex: none; font-weight: 700; }
.hud__lines { display: grid; min-width: 0; }
.hud__lines > .hl { grid-area: 1 / 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; }
.hud__lines > .hl:nth-child(2) { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .xp, .xp .xbtn__a, .xp .xbtn__b, .hud__lines > .hl { animation: 12s linear infinite both; animation-delay: calc(var(--n) * 4s - 12s); }
  .xp { animation-name: xp; }
  .xp .xbtn__a { animation-name: xbtn-a; }
  .xp .xbtn__b { animation-name: xbtn-b; }
  .hud__lines > .hl { animation-name: hl-look; }
  .hud__lines > .hl--done { animation-name: hl-done; }
  @keyframes xp { 0%, 34% { opacity: 1; } 36.5%, 97% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes xbtn-a { 0%, 12% { opacity: 1; } 13%, 95% { opacity: 0; } 96%, 100% { opacity: 1; } }
  @keyframes xbtn-b { 0%, 12% { opacity: 0; } 13%, 95% { opacity: 1; } 96%, 100% { opacity: 0; } }
  @keyframes hl-look { 0% { opacity: 0; transform: translateY(3px); } 1.5%, 12% { opacity: 1; transform: none; } 13%, 100% { opacity: 0; } }
  @keyframes hl-done { 0%, 12.5% { opacity: 0; transform: translateY(3px); } 14%, 32% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; } }
}

/* What the follows turn into: X's grouped "followed you" notification, over the sidebar at the top right. */
.notif { position: absolute; right: -56px; top: 104px; z-index: 3; display: flex; gap: 12px; width: 286px; padding: 16px 18px; border: 1px solid var(--line-soft); border-radius: 18px; background: #fff; box-shadow: var(--sh-lift); font-family: var(--f-sys); letter-spacing: 0; color: #0f1419; text-align: left; }
.notif__ico { flex: none; width: 26px; height: 26px; }
.notif__avas { display: flex; }
.notif__avas .ava { width: 32px; height: 32px; box-shadow: 0 0 0 2px #fff; }
.notif__avas .ava + .ava { margin-left: -6px; }
.notif p { margin-top: 8px; font-size: 14px; line-height: 1.35; }
.notif p b { font-weight: 700; }

/* A corner of the dashboard, overlapping the window. */
.peek { position: absolute; right: -44px; bottom: -40px; z-index: 3; width: 330px; padding: 18px 20px 20px; border: 1px solid var(--line-soft); border-radius: 18px; background: #fff; box-shadow: var(--sh-lift); text-align: left; }
.peek__h { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 520; letter-spacing: -0.01em; }
.peek__p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.peek__row { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.peek__row b { color: var(--ink); font-size: 15px; font-weight: 550; }
.peek .meter { margin-top: 8px; }

@media (max-width: 1140px) {
  .peek { right: 16px; bottom: -36px; }
  .notif { right: 16px; }
}
@media (max-width: 900px) {
  .browser__page { grid-template-columns: 56px minmax(0, 1fr); height: 420px; }
  .xa { display: none; }
  .xm { border-right: 0; }
  .notif { display: none; }
}
@media (max-width: 640px) {
  .browser { border-radius: 12px; }
  .browser__bar { gap: 10px; padding: 0 8px 0 12px; height: 40px; }
  .browser__dots i { width: 9px; height: 9px; }
  .browser__tabs { height: 33px; }
  .btab--home, .btab__new { display: none; }
  .btab--on { height: 33px; padding-right: 14px; }
  .browser__tool { gap: 10px; padding: 0 10px; height: 36px; }
  .browser__nav { display: none; }
  .browser__page { grid-template-columns: minmax(0, 1fr); height: 360px; }
  .xr { display: none; }
  .xm__banner { height: 88px; }
  .xm__prof .xm__ava { width: 66px; height: 66px; margin-top: -33px; }
  .hud { left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 9px 12px; font-size: 13px; }
  .peek { position: relative; right: auto; bottom: auto; width: auto; margin: 14px 10px 0; }
}

/* ---------- Story: three short beats, each with its picture, then my own result ---------- */
.beats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.beat__art { height: 256px; display: grid; place-items: center; padding: 20px; border-radius: var(--r-card); background: var(--mint); overflow: hidden; }
.beat h3 { margin-top: 22px; font-size: 20px; line-height: 1.25; font-weight: 520; letter-spacing: -0.012em; }
.beat p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 40ch; }

.post, .manual { width: 100%; max-width: 300px; border: 1px solid var(--line-soft); border-radius: 16px; background: #fff; box-shadow: var(--sh-card); font-family: var(--f-sys); letter-spacing: 0; color: #0f1419; }
.post { padding: 14px 16px 12px; }
.post__head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.post__head .ava { width: 30px; height: 30px; }
.post__head > :last-child { color: #536471; font-size: 13px; }
.post__text { margin-top: 8px; font-size: 13.5px; line-height: 1.4; }
.post__img { margin-top: 10px; height: 50px; border-radius: 10px; background: linear-gradient(120deg, #e4e0f2, #d6e8f1); }
.post__stats { margin-top: 10px; display: flex; gap: 24px; color: #536471; font-size: 12.5px; }
.post__stats span { display: inline-flex; align-items: center; gap: 5px; }
.post__stats svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.manual { display: grid; gap: 8px; padding: 14px; font-size: 13px; }
.manual__search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: #eff3f4; }
.manual__search svg { width: 15px; height: 15px; fill: none; stroke: #536471; stroke-width: 2; stroke-linecap: round; }
.manual__row { display: flex; align-items: center; gap: 8px; }
.manual__row b { flex: 1; font-weight: 700; }
.xpill { position: relative; display: inline-grid; place-items: center; height: 28px; padding: 0 14px; border: 1px solid #0f1419; border-radius: 999px; background: #0f1419; color: #fff; font-size: 12.5px; font-weight: 700; }
.xpill--on { border-color: #cfd9de; background: #fff; color: #0f1419; }
.manual__hand { position: absolute; right: -6px; bottom: -17px; width: 24px; height: 24px; fill: #fff; stroke: #0f1419; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; }

.log { width: 100%; max-width: 320px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; }
.log__l, .vg__hud { display: flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 11px; border: 1px solid #d6e3dd; border-radius: 11px; background: #fff; color: #0f1f19; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); font: 500 12.5px/1.3 var(--f-sys); letter-spacing: 0; white-space: nowrap; }
.log__l i, .vg__hud i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #0e7c5a; }
.log__l b, .vg__hud b { font-weight: 700; }
.log__l > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.log__l:nth-child(1) { opacity: .4; }
.log__l:nth-child(2) { opacity: .6; }
.log__l:nth-child(3) { opacity: .8; }

.result { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--mint); }
.result__nums { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.result__nums p { display: grid; }
.result__nums b { font-size: clamp(44px, 5vw, 68px); line-height: 1; font-weight: 440; letter-spacing: -0.04em; color: var(--ink); }
.result__nums p:last-of-type b { color: var(--green); }
.result__nums span { margin-top: 10px; font-size: 14px; color: var(--muted); }
.result__nums svg { flex: none; width: 40px; height: 16px; margin-bottom: 30px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.result__text > p { margin-top: 12px; color: var(--ink-2); max-width: 46ch; }
.result__text > .result__what { margin-top: 28px; color: var(--ink); font-size: 18px; font-weight: 480; }
.result__text > .story__me { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--green-line); display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-weight: 500; }
.story__me img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.proof { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #000; aspect-ratio: 1194 / 1177; box-shadow: 0 0 0 1px rgba(15, 31, 25, .12), var(--sh-lift); }
/* Crops browser chrome and the half-visible pinned post off the screenshot (kept region: x 64-1258, y 18-1195 of 1292x1266). */
.proof img { width: 108.208%; max-width: none; height: auto; margin: -1.508% 0 0 -5.360%; }
.proof__mark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.proof__mark path { fill: none; stroke: var(--marker); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .beats { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .beat__art { height: 220px; }
  .result { grid-template-columns: minmax(0, 1fr); border-radius: 22px; }
  .proof { max-width: 540px; }
}

/* What it does for you: three points, each led by a small piece of the real UI instead of an icon. */
.gains { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gains li { padding: 4px 32px 0 0; }
.gains li + li { padding-left: 32px; border-left: 1px solid var(--line-soft); }
.gain__art { height: 34px; display: flex; align-items: center; }
.gains h3 { margin-top: 18px; font-size: 19px; line-height: 1.3; font-weight: 520; letter-spacing: -0.012em; }
.gains p { margin-top: 8px; color: var(--muted); font-size: 15.5px; max-width: 40ch; }
.ga-follow { display: inline-flex; align-items: center; gap: 8px; color: #0f1419; font: 600 14px/1 var(--f-sys); letter-spacing: 0; }
.ga-follow .ava { width: 24px; height: 24px; }
.ga-follow i { padding: 3px 6px; border-radius: 4px; background: #eff3f4; color: #536471; font-size: 12px; font-weight: 400; font-style: normal; }
.ga-bio { color: #0f1419; font: 400 14px/1.4 var(--f-sys); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ga-tab { display: inline-flex; align-items: flex-end; gap: 4px; padding: 4px 6px 0; border-radius: 9px 9px 0 0; background: #e7ebe9; font: 400 12px/1 var(--f-sys); letter-spacing: 0; }
.ga-tab b { align-self: center; margin-bottom: 4px; padding: 3px 7px; border-radius: 6px; background: #1e8e3e; color: #fff; font-size: 11px; font-weight: 600; }
.ga-tab > span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 14px 0 8px; border-radius: 8px 8px 0 0; background: #fff; color: #1f2623; box-shadow: inset 0 -2px 0 #1e8e3e; }
.ga-tab > span i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: #14171a; color: #fff; font-size: 8.5px; font-weight: 700; font-style: normal; }
@media (max-width: 900px) {
  .gains { grid-template-columns: minmax(0, 1fr); }
  .gains li, .gains li + li { padding: 26px 0; border-left: 0; }
  .gains li + li { border-top: 1px solid var(--line-soft); }
  .gains li:first-child { padding-top: 0; }
}

/* ---------- How it works: set up once, then the loop ---------- */
.phase + .phase { margin-top: clamp(48px, 5vw, 72px); }
.phase__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.phase__head h3 { flex: 1; display: flex; align-items: center; gap: 16px; font-size: 21px; line-height: 1.3; font-weight: 520; letter-spacing: -0.015em; white-space: nowrap; }
.phase__head h3::after { content: ""; flex: 1; height: 1px; background: var(--green-line); }
.phase__head p { display: inline-flex; align-items: center; gap: 8px; color: var(--green-ink); font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.phase__head svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; }
.step__ui { height: 172px; display: grid; place-items: center; padding: 16px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); overflow: hidden; }
.phase--loop .step__ui { border-color: var(--green-line); }
.step h4 { margin-top: 20px; font-size: 18px; line-height: 1.3; font-weight: 520; letter-spacing: -0.01em; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 40ch; }
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .phase__head { flex-wrap: wrap; gap: 6px 16px; }
  .phase__head h3 { flex-basis: 100%; }
}

/* Small UI vignettes inside the steps */
.vg { width: 100%; max-width: 260px; display: grid; gap: 9px; font-size: 13px; }
.vg__g { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; border: 1px solid var(--field); border-radius: 8px; color: var(--ink); font-weight: 500; }
.vg__g svg { width: 15px; height: 15px; }
.vg__or { display: flex; align-items: center; gap: 10px; color: var(--faint); font-size: 11.5px; }
.vg__or::before, .vg__or::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.vg__field { display: flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; color: var(--faint); }
.vg__btn { display: grid; place-items: center; height: 36px; border-radius: 8px; background: var(--green); color: #fff; font-weight: 550; }
.vg--ext { gap: 0; padding: 14px; border: 1px solid #e3e6e8; border-radius: 12px; font-family: var(--f-sys); letter-spacing: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.vg__row { display: flex; align-items: center; gap: 12px; }
.vg__row svg { width: 34px; height: 34px; flex: none; }
.vg__row b { display: block; color: #1f1f1f; font-size: 13.5px; font-weight: 600; }
.vg__row span { color: #5f6368; font-size: 12px; }
.vg__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eceef0; display: flex; align-items: center; justify-content: space-between; color: #1a73e8; font-size: 12.5px; font-weight: 500; }
.vg__sw { position: relative; width: 30px; height: 16px; border-radius: 999px; background: #1a73e8; }
.vg__sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.vg__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vg__chips span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border: 1px solid var(--field); border-radius: 999px; color: var(--ink-2); font-size: 12px; font-weight: 500; }
.vg__chips span::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--wait); border-radius: 3px; }
.vg__chips .on { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.vg__chips .on::before { border-color: var(--green); background: var(--green) var(--check-w) center / 9px no-repeat; }
.vg__start { margin-top: 4px; }
/* Steps 3 and 5 to 8 */
.vg--x { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 12px; font-family: var(--f-sys); letter-spacing: 0; }
.vg__xlogo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0f1419; color: #fff; font-size: 15px; font-weight: 700; }
.vg__who { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.vg__who b { color: #0f1419; font-size: 13.5px; font-weight: 700; }
.vg__who span { color: #536471; font-size: 12.5px; }
.vg__ok { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font: 600 12.5px/1.4 var(--f); }
.vg__ok::before { content: ""; width: 12px; height: 12px; background: var(--green); -webkit-mask: var(--check) center / 12px no-repeat; mask: var(--check) center / 12px no-repeat; }
.vg--find, .vg--check { gap: 7px; font-family: var(--f-sys); letter-spacing: 0; font-size: 12.5px; color: #0f1419; }
.vg__p { display: flex; align-items: center; gap: 9px; padding: 6px 10px 6px 7px; border: 1px solid var(--line-soft); border-radius: 10px; background: #fff; }
.vg__p .ava { width: 24px; height: 24px; }
.vg__p > :nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vg__p--no { opacity: .6; }
.vg__p--no > :nth-child(2) { text-decoration: line-through; text-decoration-color: rgba(15, 20, 25, .45); }
.vg__yes, .vg__no { flex: none; width: 16px; height: 16px; border-radius: 50%; }
.vg__yes { background: var(--green) var(--check-w) center / 10px no-repeat; }
.vg__no { background: var(--wait) var(--x-w) center / 8px no-repeat; }
.vg--tab { justify-items: start; gap: 14px; }
.vg__when { color: var(--muted); font: 500 12px/1.3 var(--f); }
.vg__fy { padding: 2px 5px; border-radius: 4px; background: #eff3f4; color: #536471; font-size: 11px; font-style: normal; }
.vg__tag { flex: none; padding: 2px 8px; border-radius: 999px; background: #eef1ef; color: var(--muted); font: 600 11.5px/1.5 var(--f); }
.vg__tag--keep { background: var(--green-soft); color: var(--green-ink); }
.vg--chart { gap: 6px; padding: 14px 14px 0; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
.vg__ch { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.vg__ch b { font-weight: 550; }
.vg__ch span { color: var(--faint); font-size: 12px; }
.vg--chart svg { width: calc(100% + 28px); max-width: none; height: 84px; margin: 0 -14px; }
.vg__area { fill: var(--green-soft); }
.vg__line { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
:root { --x-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
:root { --check-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 8.4l3 3 6.6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Built around X's limits (with the example-day ring) ---------- */
.limits { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cap { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.cap__n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; color: var(--muted); font-size: 16px; }
.cap__n b { font-size: clamp(48px, 5vw, 64px); line-height: 1; font-weight: 440; letter-spacing: -0.04em; color: var(--green); }
.cap__bar { position: relative; margin: 22px 0 40px; height: 10px; border-radius: 999px; background: var(--line-soft); }
.cap__fill { position: absolute; inset: 0 auto 0 0; width: 89.29%; border-radius: inherit; background: var(--green); }
.cap__x { position: absolute; left: 95.24%; top: -7px; bottom: -7px; width: 2px; border-radius: 2px; background: var(--ink); }
.cap__x i { position: absolute; top: calc(100% + 6px); right: -1px; color: var(--ink-2); font-size: 13px; font-style: normal; white-space: nowrap; }
.cap__p { color: var(--muted); font-size: 15.5px; }
.rules { margin: 8px 0 0; }
.rules > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 20px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.rules > div:last-child { border-bottom: 0; }
.rules dt { display: grid; align-content: start; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.rules dt b { margin-bottom: 4px; color: var(--ink); font-size: 26px; line-height: 1.1; font-weight: 460; letter-spacing: -0.03em; white-space: nowrap; }
.rules dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.limits__honest { margin: 44px auto 0; max-width: 70ch; text-align: center; text-wrap: balance; color: var(--muted); font-size: 15px; }
.daily__vis { padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line-soft); border-radius: 28px; background: var(--mint-2); }
@media (min-width: 961px) { .limits .daily__vis { position: sticky; top: 104px; } }
@media (max-width: 960px) { .limits { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .rules > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Beta quotes (owner fills these with real ones) ---------- */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.quote__res { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--green); font-size: 28px; line-height: 1.1; font-weight: 460; letter-spacing: -0.03em; }
.quote__res svg { flex: none; width: 30px; height: 12px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote__in { flex-basis: 100%; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.quote blockquote { margin: 20px 0 24px; }
.quote blockquote p { color: var(--ink); font-size: 16.5px; line-height: 1.55; }
.quote__by { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.quote__by > span:last-child { display: grid; gap: 2px; justify-items: start; }
.quote__by b { font-weight: 550; }
.quote__by > span:last-child > span { color: var(--muted); }
.quote__ava { flex: none; width: 40px; height: 40px; border: 1.5px dashed var(--field); border-radius: 50%; background: var(--mint); }
@media (max-width: 960px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

.ring { width: min(100%, 440px); margin-inline: auto; }
.ring svg { width: 100%; height: auto; overflow: visible; }
.ring .t { stroke-linecap: round; stroke-width: 4; }
.ring .t--f { stroke: var(--green); }
.ring .t--rl { stroke: var(--amber); }
.ring .t--w { stroke: var(--wait); stroke-width: 3; }
.ring .t--cd { fill: var(--amber); }
.ring__hour { font: 500 11px var(--f); fill: var(--faint); text-anchor: middle; dominant-baseline: middle; }
.ring__mid { font: 500 15px var(--f); fill: var(--ink); text-anchor: middle; letter-spacing: -0.01em; }
.ring__mid2 { font: 400 12.5px var(--f); fill: var(--muted); text-anchor: middle; }
.ring.is-pending .t { opacity: 0; }
.ring.is-on .t { opacity: 1; transition: opacity .25s ease; transition-delay: calc(var(--i) * 14ms); }
.legend { list-style: none; margin: 26px auto 0; padding: 22px 0 0; max-width: 460px; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 13.5px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 10px; line-height: 1.35; }
.key { flex: 0 0 auto; width: 16px; height: 18px; display: inline-flex; align-items: center; justify-content: center; }
.key::before { content: ""; display: block; width: 4px; height: 18px; border-radius: 3px; background: var(--green); }
.key--rl::before { background: var(--amber); height: 10px; }
.key--cd::before { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.key--w::before { background: var(--wait); height: 8px; width: 3px; }
@media (max-width: 420px) { .legend { grid-template-columns: 1fr; } }

/* Owner placeholders: search class="todo" before launch */
.todo { background: var(--marker); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 500; }

/* ---------- Pricing ---------- */
.pricing { background: radial-gradient(90% 56% at 50% 0%, var(--mint) 0, rgba(239, 246, 242, 0) 72%); }
.pricing__head { display: grid; justify-items: center; text-align: center; }
.pricing__head .lead { margin-top: 14px; max-width: 50ch; text-wrap: balance; }
.toggle { display: inline-flex; padding: 4px; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--mint); box-shadow: 0 6px 20px -10px rgba(14, 124, 90, .25); }
.pricing__head .toggle { margin-top: 28px; }
.toggle button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease); }
.toggle button:hover { color: var(--ink); }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--green-ink); box-shadow: 0 1px 2px rgba(15, 31, 25, .08), 0 3px 10px -3px rgba(14, 124, 90, .2); }
.toggle .save { font-size: 12px; font-weight: 550; color: var(--green); }

.plans { margin-top: clamp(40px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.plan h3 { font-size: 21px; line-height: 1.3; font-weight: 520; letter-spacing: -0.012em; }
.plan__for { margin-top: 6px; min-height: 3em; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.plan__price { margin-top: 20px; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price__n { font-size: clamp(34px, 3vw, 42px); line-height: 1; font-weight: 460; letter-spacing: -0.035em; }
.price__note { margin-top: 10px; min-height: 1.5em; color: var(--muted); font-size: 13.5px; }
.price__note strong { color: var(--ink); font-weight: 550; }
.plan--pick .price__note strong { color: #fff; }
.plan__list { list-style: none; margin: 22px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 11px; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.plan__list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.plan__list li::before { content: ""; width: 16px; height: 16px; margin-top: 1px; background: var(--green); -webkit-mask: var(--check) center / 16px no-repeat; mask: var(--check) center / 16px no-repeat; }
.plan .btn { margin-top: auto; width: 100%; }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border: 1px solid var(--green-line); border-radius: 999px; background: #fff; color: var(--green-ink); font-size: 12.5px; font-weight: 550; line-height: 1.5; white-space: nowrap; box-shadow: 0 3px 10px -2px rgba(14, 124, 90, .2); }
.plan--pick { border-color: var(--green); background: linear-gradient(155deg, #10865f 0%, var(--green) 30%, var(--green-ink) 70%, var(--green-deep) 100%); color: #fff; box-shadow: 0 2px 4px rgba(8, 64, 47, .12), 0 28px 56px -26px rgba(14, 124, 90, .6); }
.plan--pick .plan__for, .plan--pick .price__note { color: rgba(255, 255, 255, .78); }
.plan--pick .plan__list { border-top-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .92); }
.plan--pick .plan__list li::before { background: #b9e6d2; }
.plans__all { margin: 36px auto 0; max-width: 70ch; text-wrap: balance; text-align: center; color: var(--muted); font-size: 15px; }
.plans__facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--ink-2); font-size: 14px; }
.plans__facts li { display: inline-flex; align-items: center; gap: 8px; }
.plans__facts li::before { content: ""; width: 14px; height: 14px; background: var(--green); -webkit-mask: var(--check) center / 14px no-repeat; mask: var(--check) center / 14px no-repeat; }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan__for { min-height: 0; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 36px clamp(40px, 6vw, 96px); align-items: start; }
.faq__side .lead { margin-top: 16px; }
@media (min-width: 861px) { .faq__side { position: sticky; top: 112px; } }
.faq__list { display: grid; gap: 10px; }
.faq details { padding: 0 20px; border: 1px solid var(--line-soft); border-radius: var(--r-inner); background: #fff; transition: border-color .15s var(--ease), box-shadow .2s var(--ease); }
.faq details:hover { border-color: var(--line); }
.faq details[open] { border-color: var(--line); box-shadow: var(--sh-card); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 15px 0; font-size: 16px; font-weight: 520; line-height: 1.35; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 16px; height: 16px; background: var(--muted); -webkit-mask: var(--chev) center / 16px no-repeat; mask: var(--chev) center / 16px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq__a { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.faq__a > * + * { margin-top: 10px; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing band ---------- */
.closer { padding-block: clamp(64px, 8vw, 104px); background: radial-gradient(120% 150% at 50% 0%, #11906a 0%, var(--green) 30%, var(--green-ink) 62%, var(--green-deep) 100%); color: #fff; text-align: center; }
.closer__in { display: grid; justify-items: center; }
.closer h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; font-weight: 440; letter-spacing: -0.03em; color: #fff; }
.closer h2 span { display: block; color: #a9dfc7; }
.closer .btn { margin-top: 32px; }
.closer__honest { margin-top: 24px; max-width: 60ch; text-wrap: balance; color: rgba(255, 255, 255, .74); font-size: 14.5px; }

/* ---------- Footer ---------- */
.foot { padding: 56px 0 30px; background: var(--ink); color: rgba(255, 255, 255, .64); font-size: 14.5px; }
.foot a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.foot a[aria-current="page"] { color: #fff; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px; }
.foot .brand { color: #fff; }
.foot__brand p { margin-top: 10px; }
.foot__brand .brand + p { margin-top: 16px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 56px; align-content: start; justify-content: end; }
.foot__links li { display: flex; }
.foot__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
@media (max-width: 720px) {
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-content: start; }
}
/* App pages keep a quiet, light footer. */
.foot--app { padding: 28px 0 36px; background: none; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 14px; }
.foot--app a { color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.foot--app a:hover { color: var(--green-ink); text-decoration-color: currentColor; }
.foot--app .foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot--app .foot__in p + p { margin-top: 4px; }
.foot--app .foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(48px, 6.5vw, 88px) clamp(28px, 3vw, 40px); }
.page-head h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; font-weight: 450; letter-spacing: -0.032em; }
.page-head > p { margin-top: 16px; max-width: 60ch; font-size: 17px; line-height: 1.7; color: var(--muted); }
.page-head .hero__trial { margin-top: 14px; font-size: 14px; }
.prose { max-width: 68ch; padding-bottom: clamp(64px, 8vw, 112px); }
.prose h2 { margin-top: 44px; font-size: 21px; line-height: 1.3; font-weight: 520; letter-spacing: -0.012em; }
.prose p, .prose ul { margin-top: 12px; color: var(--ink-2); line-height: 1.7; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--green); }
.prose strong { color: var(--ink); font-weight: 550; }
.note { padding: 16px 20px; border: 1px solid var(--line-soft); border-radius: var(--r-inner); background: var(--mint-2); color: var(--ink-2); font-size: 15px; }
.note strong { color: var(--ink); }
.note--amber { margin-top: 22px; border-color: var(--amber-line); background: var(--amber-soft); color: var(--amber-ink); }
.note--amber strong { color: var(--amber-ink); }

/* Install */
.browsers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); overflow: hidden; }
.browsers > div { padding: 22px 24px; }
.browsers > div + div { border-left: 1px solid var(--line-soft); }
.browsers h2 { font-size: 15px; font-weight: 550; letter-spacing: -0.005em; color: var(--muted); }
.browsers p { margin-top: 6px; color: var(--ink); font-size: 16px; }
@media (max-width: 760px) {
  .browsers { grid-template-columns: minmax(0, 1fr); }
  .browsers > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
}
.trouble-sec { padding-block: clamp(56px, 7vw, 88px) clamp(72px, 9vw, 120px); }
.trouble-sec .h2 { font-size: clamp(26px, 2.6vw, 36px); }
.trouble { margin: 28px 0 0; max-width: 760px; }
.trouble > div { padding: 20px 0; border-top: 1px solid var(--line-soft); }
.trouble > div:last-child { border-bottom: 1px solid var(--line-soft); }
.trouble dt { font-weight: 520; font-size: 16.5px; color: var(--ink); letter-spacing: -0.005em; }
.trouble dd { margin: 6px 0 0; color: var(--muted); max-width: 64ch; }
.shot { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 16px; border: 1.5px dashed var(--field); border-radius: var(--r-inner); background: var(--mint-2); color: var(--muted); font-size: 13.5px; text-align: center; }
.shot span { padding: 5px 11px; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; }
.ob code, .trouble code, .prose code { padding: 1px 6px; border: 1px solid var(--line-soft); border-radius: 6px; background: var(--mint-2); color: var(--ink); font-size: .86em; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; transition-delay: 0s !important; }
}

/* ======================= App pages: sign up, setup, dashboard ======================= */
.mockbar { background: var(--marker); font-size: 13px; color: var(--ink); }
.mockbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-block: 8px; }
.mockbar label { display: inline-flex; align-items: center; gap: 6px; }
.mockbar select, .mockbar button { font: inherit; font-size: 13px; padding: 4px 8px; border-radius: 8px; border: 1px solid rgba(15, 31, 25, .3); background: #fff; color: var(--ink); cursor: pointer; }

.label { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 550; color: var(--ink); }
.field { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--field); border-radius: var(--r-ctl); background: #fff; color: var(--ink); font: 400 16px/1.2 var(--f); box-shadow: 0 1px 2px rgba(15, 31, 25, .04); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field::placeholder { color: #93a29a; }
.field:hover { border-color: #9fb3a9; }
.field:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 124, 90, .18); }

.msg { margin-top: 10px; font-size: 14.5px; }
.msg:empty { display: none; }
.msg[data-kind="error"] { color: var(--danger); }
.msg[data-kind="ok"] { color: var(--green-ink); font-weight: 500; }
.msg[data-kind="info"] { color: var(--muted); }
.msg--block[data-kind="error"] { margin-top: 18px; padding: 12px 16px; border: 1px solid var(--danger-line); border-radius: 12px; background: var(--danger-soft); }
.msg--block[data-kind="info"] { margin-top: 14px; }
.msg--block[data-kind="ok"] { margin-top: 14px; }

.dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--wait); }
.dot--ok, .dot--info { background: var(--green); box-shadow: 0 0 0 3px rgba(14, 124, 90, .14); }
.dot--wait { background: var(--amber); animation: blink 1.6s ease-in-out infinite; }
.dot--warn { background: var(--amber); box-shadow: 0 0 0 3px rgba(180, 99, 14, .14); }
.dot--bad, .dot--stop { background: var(--danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.dot--paused, .dot--idle { background: var(--wait); }
@keyframes blink { 50% { opacity: .35; } }

.card { margin-top: 28px; padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.card--plain { background: var(--mint); border-color: transparent; box-shadow: none; }
.card h2 { font-size: 18.5px; line-height: 1.3; font-weight: 520; letter-spacing: -0.012em; }
.card p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.card--plain .btn { margin-top: 18px; }

.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 550; white-space: nowrap; }
.badge--paid { background: var(--green-soft); border-color: var(--green-line); color: var(--green-ink); }
.badge--trial { background: #fff; border-color: var(--green-line); color: var(--green-ink); }
.badge--off { background: #eef2f0; border-color: var(--line-soft); color: var(--ink-2); }

.meter { margin-top: 12px; height: 6px; border-radius: 999px; background: var(--green-soft); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 999px; background: var(--green); transition: width .4s var(--ease); }

/* ---------- Sign up / log in ---------- */
.auth { max-width: calc(1080px + 2 * var(--gutter)); display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 440px); justify-content: space-between; gap: 48px 64px; align-items: start; padding-block: clamp(44px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.auth h1 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; font-weight: 450; letter-spacing: -0.032em; }
.auth h1:focus { outline: none; }
.auth__lead { margin-top: 12px; font-size: 17px; color: var(--muted); }
.auth__pick { margin-top: 20px; padding: 12px 16px; border: 1px solid var(--green-line); border-radius: 12px; background: var(--green-soft); font-size: 14.5px; color: var(--green-ink); }
.auth__box { margin-top: 32px; }
.gbtn { min-height: 44px; display: flex; justify-content: center; }
.btn-google { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--field); border-radius: var(--r-ctl); background: #fff; color: var(--ink); font: 550 15px/1.2 var(--f); cursor: pointer; box-shadow: 0 1px 2px rgba(15, 31, 25, .05); transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.btn-google:hover { background: var(--mint-2); border-color: #9fb3a9; }
.btn-google:active { transform: scale(.97); }
.btn-google svg { width: 18px; height: 18px; }
.or { display: flex; align-items: center; gap: 14px; margin: 24px 0 20px; color: var(--faint); font-size: 13.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
#email-form .btn, #code-form .btn { margin-top: 12px; }
.auth__sent { font-size: 16px; color: var(--ink-2); }
.auth__sent strong { color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.otp-set { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 400px; }
.otp input { width: 100%; min-width: 0; height: clamp(52px, 14vw, 60px); padding: 0; border: 1px solid var(--field); border-radius: var(--r-ctl); background: #fff; color: var(--ink); text-align: center; font: 480 clamp(22px, 6vw, 26px)/1 var(--f); caret-color: var(--green); box-shadow: 0 1px 2px rgba(15, 31, 25, .04); transition: border-color .15s var(--ease), background-color .15s var(--ease), box-shadow .15s var(--ease); }
.otp input:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 124, 90, .18); }
.otp input[aria-invalid="true"] { border-color: var(--danger); background: var(--danger-soft); }
.auth__row { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 20px; }
.auth__hint { margin-top: 8px; font-size: 14px; color: var(--muted); }
.auth__switch { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 15.5px; color: var(--muted); }
.auth__switch a { font-weight: 550; }
.auth__legal { margin-top: 10px; font-size: 13.5px; color: var(--faint); }
.auth__legal a { color: var(--muted); }
.auth__side { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--mint); }
.auth__side h2 { font-size: 19px; font-weight: 520; letter-spacing: -0.012em; }
.next { list-style: none; counter-reset: n; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
.next li { counter-increment: n; position: relative; min-height: 28px; padding-left: 44px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.next li::before { content: counter(n); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--green-line); color: var(--green-ink); font-weight: 550; font-size: 13.5px; display: flex; align-items: center; justify-content: center; }
.next li strong { display: block; color: var(--ink); font-weight: 550; }
.next--plain { gap: 12px; }
.next--plain li { min-height: 0; padding-left: 26px; color: var(--ink-2); }
.next--plain li::before { content: ""; top: 4px; width: 16px; height: 16px; border-radius: 0; box-shadow: none; background: var(--green); -webkit-mask: var(--check) center / 16px no-repeat; mask: var(--check) center / 16px no-repeat; }
.auth__trial { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--green-line); font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__main, .auth__side { max-width: 560px; }
}

/* ---------- Setup (onboarding) ---------- */
.ob__main { max-width: calc(760px + 2 * var(--gutter)); padding-top: clamp(32px, 4.5vw, 56px); }
.progress { border-bottom: 1px solid var(--line-soft); background: #fff; }
.progress .wrap { max-width: calc(760px + 2 * var(--gutter)); }
.progress__list { list-style: none; margin: 0; padding: 14px 0 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.progress button { width: 100%; display: grid; gap: 8px; padding: 4px 0; border: 0; background: none; color: var(--faint); font: inherit; text-align: left; cursor: pointer; }
.progress button[disabled] { cursor: default; }
.progress__bar { display: block; height: 4px; border-radius: 999px; background: var(--line-soft); transition: background-color .3s var(--ease); }
.progress__name { font-size: 13.5px; font-weight: 500; }
.progress li[data-state="done"] .progress__bar { background: var(--green); }
.progress li[data-state="done"] .progress__name { color: var(--green-ink); }
.progress li[data-state="done"] button:not([disabled]):hover .progress__name { text-decoration: underline; text-underline-offset: 3px; }
.progress li[data-state="current"] .progress__bar { background: var(--ink); }
.progress li[data-state="current"] .progress__name { color: var(--ink); font-weight: 550; }
.ob__loading { padding: 40px 0; color: var(--muted); }
.ob__step h1 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 450; letter-spacing: -0.03em; }
.ob__step h1:focus { outline: none; }
.ob__lead { margin-top: 14px; max-width: 60ch; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.ob__help { max-width: calc(760px + 2 * var(--gutter)); padding-block: 20px 48px; font-size: 14px; color: var(--muted); }

.inst { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; }
.inst > li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 260px); gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line-soft); align-items: start; }
.inst > li:last-child { border-bottom: 1px solid var(--line-soft); }
.inst > li::before { content: counter(s); width: 28px; height: 28px; margin-top: 1px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-size: 13.5px; font-weight: 550; display: flex; align-items: center; justify-content: center; }
.inst h2 { margin-top: 2px; font-size: 17.5px; line-height: 1.35; font-weight: 520; letter-spacing: -0.01em; }
.inst p { margin-top: 6px; max-width: 46ch; font-size: 15.5px; color: var(--muted); }
.inst .btn { margin-top: 14px; }
.inst .shot { font-size: 13px; }
@media (max-width: 760px) {
  .inst > li { grid-template-columns: 28px minmax(0, 1fr); gap: 8px 14px; }
  .inst .shot { grid-column: 2; margin-top: 8px; }
}

.ob__bar { position: sticky; bottom: 0; z-index: 5; margin-top: 36px; padding: 14px 0 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line-soft); background: rgba(255, 255, 255, .97); }
.ob__status { display: flex; align-items: baseline; gap: 10px; max-width: 58ch; font-size: 14.5px; color: var(--muted); }
.ob__status .dot { transform: translateY(-1px); }
.ob__status strong { color: var(--ink); font-weight: 550; }
.ob__status .linkbtn { min-height: 0; font-size: inherit; }
.ob__btns { display: flex; gap: 10px; margin-left: auto; }
.ob__btns .btn { min-width: 120px; }
@media (max-width: 600px) {
  .ob__btns { width: 100%; }
  .ob__btns .btn { flex: 1 1 0; min-width: 0; }
  .ob__btns:has(> #next[hidden]) .btn { flex: 0 1 auto; min-width: 120px; }
}

.who__row { display: flex; align-items: center; gap: 16px; }
.who__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.card .who__hint { margin-top: 16px; font-size: 14px; color: var(--muted); }
.card .who__q { margin: 0; font-size: 15px; }
.card .who__handle { margin: 0; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; font-weight: 460; letter-spacing: -0.025em; color: var(--ink); overflow-wrap: anywhere; }
.mono { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); box-shadow: inset 0 0 0 1px var(--green-line); color: var(--green-ink); font-size: 22px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.pulse { position: relative; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--amber-soft); box-shadow: inset 0 0 0 1px var(--amber-line); }
.pulse::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--amber); animation: blink 1.6s ease-in-out infinite; }
.tick { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2L18.5 7.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.who--ok { background: var(--green-soft); border-color: var(--green-line); box-shadow: none; }
.who--ok p { color: var(--ink-2); }

.pick { min-width: 0; margin: 28px 0 0; padding: 0; border: 0; }
.pick__list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip.chip--lg span { min-height: 46px; padding: 10px 18px 10px 14px; font-size: 15px; }
.chip.chip--lg span::before { width: 17px; height: 17px; }

.summary { margin: 28px 0 0; border: 1px solid var(--line-soft); border-radius: 16px; background: #fff; overflow: hidden; }
.summary > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 20px; padding: 14px 18px; }
.summary > div + div { border-top: 1px solid var(--line-soft); }
.summary dt { font-size: 14px; font-weight: 500; color: var(--muted); }
.summary dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
#honest { margin-top: 20px; }
@media (max-width: 600px) { .summary > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Chips (onboarding + dashboard) ---------- */
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px 7px 11px; border: 1px solid var(--field); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.chip:hover span { border-color: #9fb3a9; }
.chip span::before { content: ""; flex: 0 0 auto; width: 15px; height: 15px; border: 1.5px solid var(--wait); border-radius: 4px; background: #fff; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.chip input:checked + span::before { border-color: var(--green); background: var(--green) var(--check-w) center / 11px no-repeat; }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.chip.is-off span { opacity: .45; }
.chip.is-off input { cursor: not-allowed; }

/* ---------- Dashboard ---------- */
.band__row { border-bottom: 1px solid var(--line-soft); background: var(--mint-2); }
.band__row--ok { background: var(--green-soft); border-bottom-color: var(--green-line); color: var(--green-ink); font-weight: 500; }
.band__row--warn { background: var(--amber-soft); border-bottom-color: var(--amber-line); color: var(--amber-ink); font-weight: 500; }
.band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 11px; }
.band__in p { font-size: 14.5px; }
.band__trial { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; flex: 1 1 360px; }
.band__trial p { color: var(--muted); }
.band__trial strong { color: var(--ink); font-weight: 550; }
.meter--band { flex: 0 1 280px; min-width: 160px; margin: 0; background: #d9ebe1; }

.db__main { padding-block: clamp(28px, 4vw, 52px) clamp(64px, 8vw, 104px); }
.db__head { display: grid; gap: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font: 500 14px/1.2 var(--f); cursor: pointer; transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease); }
.tab:hover { border-color: #9fb3a9; }
.tab[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: var(--green-ink); }
.db__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.db__title h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 450; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.db__title h1:focus { outline: none; }
.db__title h1 a { color: var(--ink); text-decoration: none; }
.db__title h1 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line); }

.status { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px clamp(18px, 2.4vw, 26px); border: 1px solid var(--green-line); border-radius: 18px; background: var(--green-soft); }
.status[data-kind="warn"], .status[data-kind="wait"] { background: var(--amber-soft); border-color: var(--amber-line); }
.status[data-kind="paused"], .status[data-kind="idle"] { background: var(--mint-2); border-color: var(--line-soft); }
.status[data-kind="stop"] { background: var(--danger-soft); border-color: var(--danger-line); }
.status__text { flex: 1 1 420px; }
.status__h { display: flex; align-items: center; gap: 12px; font-size: 19px; line-height: 1.3; font-weight: 520; letter-spacing: -0.012em; color: var(--ink); }
.status__h .dot { width: 9px; height: 9px; }
.status__p { margin-top: 4px; max-width: 72ch; color: var(--ink-2); font-size: 15px; }
.status__act .btn { min-width: 140px; }
.status__act:has(> [hidden]) { display: none; }
@media (max-width: 600px) { .status__act, .status__act .btn { width: 100%; } }

.stats { margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: var(--line-soft); overflow: hidden; box-shadow: var(--sh-card); }
.stats > div { padding: 18px 22px 20px; background: #fff; }
.stats dt { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.stats dd { margin: 6px 0 0; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; font-weight: 440; letter-spacing: -0.025em; }
.stats dd.is-text { padding-top: 4px; font-size: 18px; line-height: 1.3; font-weight: 480; letter-spacing: -0.01em; }
.stats dd .of { font-size: 14px; font-weight: 450; color: var(--muted); letter-spacing: 0; }
.stats p { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.over { margin-top: 24px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--green-line); border-radius: 22px; background: var(--mint); }
.over h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; font-weight: 450; letter-spacing: -0.028em; }
.over > p { margin-top: 8px; max-width: 66ch; color: var(--ink-2); }
.stats--over { margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); box-shadow: none; }

.acct__grid { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.chart-box { padding: 22px 24px 18px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.chart-box h2, .niches h3 { font-size: 16.5px; font-weight: 520; letter-spacing: -0.01em; }
.chart { position: relative; margin-top: 14px; }
.chart svg { width: 100%; height: auto; touch-action: pan-y; }
.c-grid { stroke: #e9efec; stroke-width: 1; }
.c-ax { font: 400 11.5px var(--f); fill: var(--faint); }
.c-line { fill: none; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-area { fill: var(--green); opacity: .08; }
.c-end, .c-dot { fill: var(--green); stroke: #fff; stroke-width: 2; }
.c-cross { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; }
.c-hit { fill: transparent; cursor: crosshair; }
.c-tip { position: absolute; transform: translateX(-50%); padding: 7px 11px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px -6px rgba(15, 31, 25, .4); }
.c-tip strong { font-weight: 550; }
.c-tip[hidden] { display: none; }
.chart__empty { padding: 24px; border: 1.5px dashed var(--line); border-radius: var(--r-inner); color: var(--muted); font-size: 15px; }
.c-table { margin-top: 8px; font-size: 14px; }
.c-table summary { width: max-content; min-height: 40px; display: flex; align-items: center; color: var(--green); font-weight: 500; cursor: pointer; }
.c-table table { width: 100%; max-width: 360px; margin-top: 6px; border-collapse: collapse; }
.c-table th, .c-table td { padding: 6px 0; border-bottom: 1px solid var(--line-soft); text-align: left; }
.c-table th:last-child, .c-table td:last-child { text-align: right; }
.c-table th { font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 960px) { .acct__grid { grid-template-columns: minmax(0, 1fr); } }

.panel { padding: 22px 24px 24px; border: 1px solid var(--line-soft); border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-card); }
.panel > h2 { font-size: 16.5px; font-weight: 520; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.panel .niches { margin-top: 18px; }
.niches fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.niches legend { padding: 0; }
.niches h3 { font-size: 14.5px; font-weight: 550; }
.niches__hint { margin-top: 4px; font-size: 14px; color: var(--muted); }
.niches__list { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.niches__list .chip span { min-height: 36px; padding: 6px 12px 6px 10px; font-size: 13.5px; }
.niches__foot { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.niches__foot .msg { margin: 0; }

.setrow { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.switch { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; cursor: pointer; }
.switch input { position: absolute; top: 0; left: 0; width: 44px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.switch__ui { position: relative; width: 40px; height: 24px; margin-top: 1px; border-radius: 999px; background: #c5d2cb; transition: background-color .2s var(--ease); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 31, 25, .25); transition: transform .2s var(--ease); }
.switch input:checked + .switch__ui { background: var(--green); }
.switch input:checked + .switch__ui::after { transform: translateX(16px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--green); outline-offset: 2px; }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch__t strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 550; }
.switch__t span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.db__sec { margin-top: clamp(44px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-soft); }
#plans.is-lead { margin-top: 32px; margin-bottom: clamp(40px, 5vw, 56px); }
.db__sechead h2 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; font-weight: 480; letter-spacing: -0.022em; }
.db__sechead p { margin-top: 6px; max-width: 64ch; color: var(--muted); }
.alist { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-soft); }
.alist__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.alist__who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.alist__who a { font-size: 16px; font-weight: 520; color: var(--ink); text-decoration: none; }
.alist__who a:hover { text-decoration: underline; }
.alist__st { font-size: 14px; color: var(--muted); }
.alist__ask { flex: 1 1 100%; padding: 16px 18px; border: 1px solid var(--danger-line); border-radius: 14px; background: var(--danger-soft); }
.alist__ask p { font-size: 15px; color: var(--ink-2); }
.alist__btns { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.add { margin-top: 24px; max-width: 720px; }
.add h3 { font-size: 17.5px; font-weight: 520; letter-spacing: -0.01em; }
.add p { margin-top: 6px; color: var(--muted); }
.add__steps { display: grid; gap: 8px; margin: 14px 0 0; padding-left: 20px; color: var(--ink-2); }
.add__steps li::marker { color: var(--green); }
.add__steps strong { color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.plan-acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.plan-acts[hidden] { display: none; }
.db__fine { margin-top: 14px; max-width: 70ch; font-size: 14px; color: var(--muted); }

.picker { margin-top: 22px; }
.pp-list { min-width: 0; margin: 20px 0 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pp { position: relative; display: block; cursor: pointer; }
.pp input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.pp__body { position: relative; height: 100%; display: flex; flex-direction: column; padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line-soft), 0 1px 2px rgba(15, 31, 25, .04); transition: box-shadow .15s var(--ease), background-color .15s var(--ease); }
.pp:hover .pp__body { box-shadow: 0 0 0 1px #9fb3a9, 0 1px 2px rgba(15, 31, 25, .04); }
.pp__body::before { content: ""; position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; border: 1.5px solid var(--field); border-radius: 50%; background: #fff; box-sizing: border-box; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.pp input:checked + .pp__body { background: var(--mint-2); box-shadow: 0 0 0 2px var(--green), 0 16px 32px -22px rgba(14, 124, 90, .6); }
.pp input:checked + .pp__body::before { border-color: var(--green); background: var(--green) var(--check-w) center / 12px no-repeat; }
.pp input:focus-visible + .pp__body { outline: 2px solid var(--green); outline-offset: 3px; }
.pp__name { padding-right: 30px; font-size: 18px; font-weight: 520; letter-spacing: -0.012em; }
.pp__price { margin-top: 12px; font-size: 26px; line-height: 1.1; font-weight: 460; letter-spacing: -0.03em; }
.pp__price small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.pp__for { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pp__list { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.pp__list span { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.pp__list span::before { content: ""; width: 14px; height: 14px; margin-top: 2px; background: var(--green); -webkit-mask: var(--check) center / 14px no-repeat; mask: var(--check) center / 14px no-repeat; }
.picker__foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.picker__note { max-width: 52ch; font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) { .pp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .pp-list { grid-template-columns: minmax(0, 1fr); }
  .picker__foot .btn { width: 100%; }
}

/* ---------- 404 ---------- */
.lost { min-height: calc(100vh - 80px); display: grid; align-items: center; padding-block: 48px 96px; background: radial-gradient(70% 60% at 50% 45%, var(--mint) 0, rgba(239, 246, 242, 0) 70%); }
.lost__in { display: grid; justify-items: center; text-align: center; }
.lost__ring { width: 72px; height: 72px; margin-bottom: 28px; }
.lost h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 450; letter-spacing: -0.03em; }
.lost p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.lost .hero__cta { justify-content: center; }
