/* Shayr site styles. One file for every page on shayrapp.com.
   Look: cream paper, ink text, pine green, Fraunces headings, Inter body. Matches the App Store slides.
   Light is the default. Dark follows the system, or the data-theme attribute on <html>. */

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --paper: #F7F2E6; --paper-alt: #EFE8D6; --surface: #FFFFFF; --surface-2: #FBF8F0;
  --ink: #1F1D18; --ink-70: #4A463C; --ink-45: #655D4E;
  --line: #E2D9C2; --line-strong: #CFC3A5;
  --green: #1F6F52; --green-deep: #17573F; --green-tint: #E3EFE5; --green-tint-strong: #CFE3D5;
  --terracotta: #9C4A28; --terracotta-tint: #F3E1D3;
  --link: #1F6F52; --on-green: #FFFFFF; --glow: #E3F0E6;
  --shadow-sm: 0 1px 2px rgba(31, 29, 24, .05), 0 8px 24px -14px rgba(31, 29, 24, .22);
  --shadow-lg: 0 2px 6px rgba(31, 29, 24, .05), 0 32px 70px -28px rgba(31, 29, 24, .38);
  /* deep green bands, as on the dark App Store slides */
  --band-bg: #0D1A14; --band-glow: #1D5C42; --band-ink: #F3EFE3; --band-sub: #A9CDBB;
  --band-pine: #6FD0A4; --band-card: #17251E; --band-line: rgba(243, 239, 227, .12);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 20px; --radius-sm: 12px;
  --maxw: 1160px; --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0D1A14; --paper-alt: #112219; --surface: #17251E; --surface-2: #1B2C24;
    --ink: #F3EFE3; --ink-70: #CFCCBD; --ink-45: #A3B5AA;
    --line: #25382F; --line-strong: #35493F;
    --green: #6FD0A4; --green-deep: #8FDDB9; --green-tint: #15291F; --green-tint-strong: #1F3A2C;
    --terracotta: #E39A74; --terracotta-tint: #2E2118;
    --link: #6FD0A4; --on-green: #0D1A14; --glow: #143826;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -14px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 32px 70px -28px rgba(0, 0, 0, .8);
    --band-bg: #091510; --band-glow: #1D5A40;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0D1A14; --paper-alt: #112219; --surface: #17251E; --surface-2: #1B2C24;
  --ink: #F3EFE3; --ink-70: #CFCCBD; --ink-45: #A3B5AA;
  --line: #25382F; --line-strong: #35493F;
  --green: #6FD0A4; --green-deep: #8FDDB9; --green-tint: #15291F; --green-tint-strong: #1F3A2C;
  --terracotta: #E39A74; --terracotta-tint: #2E2118;
  --link: #6FD0A4; --on-green: #0D1A14; --glow: #143826;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 32px 70px -28px rgba(0, 0, 0, .8);
  --band-bg: #091510; --band-glow: #1D5A40;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible { outline-color: var(--band-pine); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 10px; color: var(--paper); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-weight: 700; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); line-height: 1.06; letter-spacing: -.02em; }
h3 { font-size: 1.3rem; line-height: 1.2; }
.kicker { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); line-height: 1.55; color: var(--ink-70); max-width: 38em; }
.muted { color: var(--ink-45); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--green); color: var(--on-green); text-decoration: none; cursor: pointer;
  font: 600 1rem/1.2 var(--sans); padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid var(--green);
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--on-green); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--sm { font-size: .9rem; padding: .6em 1.15em; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.band .btn { background: var(--band-pine); border-color: var(--band-pine); color: #0D1A14; }
.band .btn:hover { background: #8FDDB9; border-color: #8FDDB9; color: #0D1A14; }
.band .btn--ghost { background: transparent; color: var(--band-ink); border-color: rgba(243, 239, 227, .35); }
.band .btn--ghost:hover { background: transparent; color: var(--band-ink); border-color: var(--band-ink); }
@media (prefers-reduced-motion: no-preference) { .btn:active { transform: translateY(1px); } }

/* ------------------------------------------------------------------ header and footer */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header__in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); min-height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.brand__word { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.brand__word i { font-style: normal; color: var(--green); }
.site-nav { display: flex; gap: 6px; margin-left: 12px; }
.site-nav a { color: var(--ink-70); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.site-nav a:hover { color: var(--ink); background: var(--green-tint); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--green-tint); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme-toggle, .nav-toggle { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--ink); }
.nav-toggle { display: none; }
.nav-toggle .cross { display: none; }
.is-open .nav-toggle .bars { display: none; }
.is-open .nav-toggle .cross { display: block; }
@media (max-width: 880px) {
  .site-header__in { gap: 12px; flex-wrap: wrap; }
  .site-header__actions { gap: 8px; }
  .btn--get { padding: .55em 1em; }
  /* Without JavaScript the links stay in a wrapped row. With it they collapse into a menu. */
  .site-nav { order: 3; flex-basis: 100%; margin: 0 -8px 8px; flex-wrap: wrap; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; flex-direction: column; gap: 2px; margin: 0 -8px 12px; padding-top: 4px; }
  .js .is-open .site-nav { display: flex; }
  .js .site-nav a { padding: 12px 14px; font-size: 1.02rem; border-radius: 12px; }
}
@media (max-width: 380px) { .btn--get { display: none; } }

.site-footer { margin-top: 0; background: var(--paper-alt); border-top: 1px solid var(--line); color: var(--ink-70); font-size: .94rem; }
.site-footer__in { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter) 28px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 48px; }
.site-footer__brand p { max-width: 24em; margin: 14px 0 18px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-h { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-45); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a:not(.btn) { color: var(--ink-70); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--ink); text-decoration: underline; }
.site-footer__copy { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter) 32px; border-top: 1px solid var(--line); color: var(--ink-45); font-size: .85rem; }
.site-footer__in + .site-footer__copy { margin-top: 0; }
@media (max-width: 760px) {
  .site-footer__in { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
}
@media (max-width: 440px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------------------------ sections and bands */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: var(--paper-alt); }
.section__head { max-width: 46em; margin: 0 0 clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lede { margin-inline: auto; }
.band {
  --paper: var(--band-bg); --ink: var(--band-ink); --ink-70: var(--band-sub); --ink-45: var(--band-sub);
  --green: var(--band-pine); --link: var(--band-pine); --green-deep: #8FDDB9; --surface: var(--band-card); --surface-2: #1C2D25;
  --line: var(--band-line); --line-strong: rgba(243, 239, 227, .22); --green-tint: rgba(111, 208, 164, .12); --green-tint-strong: rgba(111, 208, 164, .2);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -20px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 80px -30px rgba(0, 0, 0, .8);
  background: radial-gradient(90% 60% at 15% 0%, var(--band-glow) 0%, transparent 62%), var(--band-bg);
  color: var(--band-ink);
}
.band .kicker { color: #8FDDB9; }
.wave { position: relative; }
.wave::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none; opacity: .4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0 45 Q300 -5 600 45 T1200 45' fill='none' stroke='%236FD0A4' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero.wave::after { opacity: .35; }

/* ------------------------------------------------------------------ hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 128px); background: radial-gradient(90% 60% at 85% 0%, var(--glow) 0%, transparent 62%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.hero__note { font-size: .92rem; color: var(--ink-45); margin: 0; }
.hero__visual { position: relative; padding: 0 0 12% 6%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; width: 100%; margin: 0 auto; }
}

/* devices: percent based so they scale with their wrapper */
.device-wrap { container-type: inline-size; }
.device { background: #0B0C10; box-shadow: 0 0 0 1px rgba(128, 128, 128, .28), var(--shadow-lg); }
.device img { display: block; width: 100%; height: auto; background: var(--surface); }
.device--phone { padding: 14px; border-radius: 44px; padding: 1.8cqw; border-radius: 12cqw; }
.device--phone img { border-radius: 30px; border-radius: 10.3cqw; }
.device--ipad { padding: 8px; border-radius: 26px; padding: .95cqw; border-radius: 3.6cqw; }
.device--ipad img { border-radius: 18px; border-radius: 2.7cqw; }
.device-wrap--phone { width: min(100%, 320px); margin-inline: auto; }
.hero__phone { position: absolute; left: -1%; bottom: 0; width: 30%; margin: 0; }
.hero__visual .device-wrap--ipad { width: 100%; }

/* ------------------------------------------------------------------ proof strip */
.proof { border-block: 1px solid var(--line); background: var(--surface-2); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof__item { padding: 28px 24px; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item h3 { font-family: var(--sans); font-size: .98rem; font-weight: 700; letter-spacing: 0; margin: 0 0 6px; }
.proof__item p { margin: 0; font-size: .92rem; color: var(--ink-70); line-height: 1.5; }
@media (max-width: 880px) {
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof__item { padding: 22px 18px; }
}
@media (max-width: 520px) {
  .proof__grid { grid-template-columns: 1fr; }
  .proof__item, .proof__item:nth-child(3) { border-left: 0; padding: 18px 0; }
  .proof__item + .proof__item { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------------ how it works */
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps-row li { position: relative; counter-increment: step; padding-top: 56px; }
.steps-row li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--on-green); font: 700 1rem/40px var(--sans); text-align: center;
}
.steps-row li::after { content: ""; position: absolute; top: 19px; left: 52px; right: -16px; height: 2px; background: var(--line-strong); }
.steps-row li:last-child::after { display: none; }
.steps-row h3 { font-size: 1.2rem; margin-bottom: .35em; }
.steps-row p { margin: 0; color: var(--ink-70); font-size: .97rem; line-height: 1.55; }
@media (max-width: 880px) {
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .steps-row li { padding: 0 0 28px 60px; }
  .steps-row li::after { top: 46px; bottom: 6px; left: 19px; right: auto; width: 2px; height: auto; }
}

/* ------------------------------------------------------------------ feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 96px); align-items: center; }
.feature--flip .feature__media { order: -1; }
.feature__copy h2 { margin-bottom: .4em; }
.feature__copy .lede { margin-bottom: 1.2em; }
.feature__media { display: flex; justify-content: center; }
.ticks { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-70); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.textlink:hover { color: var(--green-deep); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { margin-top: 8px; }
}

/* ------------------------------------------------------------------ cards and mocks */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.grid-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-cards .card { padding: 24px 22px; box-shadow: none; }
.grid-cards .card h3 { font-size: 1.12rem; }
.grid-cards .card p { font-size: .95rem; color: var(--ink-70); line-height: 1.55; }
.ic { width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-cards { grid-template-columns: 1fr; } }

.mock { font-size: .98rem; line-height: 1.5; }
.mock__label { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-45); margin: 0 0 16px; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #D97757; flex: none; }
.mock__dot--sheets { background: #34A853; }
.bubble { background: var(--green-tint-strong); border-radius: 22px 22px 6px 22px; padding: 14px 18px; margin: 0 0 16px auto; max-width: 86%; }
.pill { display: inline-block; background: var(--green-tint); color: var(--green); border-radius: 999px; padding: .2em .85em; font-size: .85rem; font-weight: 600; margin: 0 0 12px; }
.mock__note { font-size: .85rem; color: var(--ink-45); margin: 14px 0 0; }
.code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .85rem; background: var(--green-tint); color: var(--green); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; overflow-wrap: anywhere; }
.rows { margin: 0 0 4px; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.rows div:first-child { border-top: 0; }
.rows span:nth-child(2) { color: var(--ink-45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--green-tint); color: var(--green); border-radius: 999px; padding: .3em .9em; font-size: .88rem; font-weight: 600; }
.ai-stack { display: grid; gap: 16px; width: 100%; max-width: 520px; }
.example-tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-45); margin: 0 0 8px; }

/* connectors */
.connectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.connector { display: flex; flex-direction: column; }
.connector h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; }
.connector .lede { font-size: 1rem; }
.toolslist { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toolslist li { font-size: .84rem; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: .25em .8em; color: var(--ink); }
.connector .mock { margin-bottom: 1em; }
.connector__foot { margin-top: auto; padding-top: 12px; }
@media (max-width: 860px) { .connectors { grid-template-columns: 1fr; } }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust .card { box-shadow: none; display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; align-items: start; }
.trust .card .ic { margin: 0; grid-row: span 2; }
.trust .card h3 { font-size: 1.12rem; margin: 2px 0 4px; }
.trust .card p { color: var(--ink-70); font-size: .95rem; line-height: 1.55; margin: 0; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trust { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ plans (home and plans page) */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan--bussin { border: 2px solid var(--green); }
.plan--goated { border: 2px solid var(--terracotta); }
.plan h3 { font-size: 1.5rem; margin-bottom: .2em; }
.plan__price { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.1; }
.plan__price .amt { font-size: 2.4rem; letter-spacing: -.02em; }
.plan__price .per { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--ink-45); margin-left: 4px; }
.plan--bussin .amt { color: var(--green); }
.plan--goated .amt { color: var(--terracotta); }
.plan__annual { font-size: .9rem; color: var(--ink-45); margin: 6px 0 0; min-height: 1.5em; }
.plan__tag { color: var(--ink-70); font-size: .95rem; margin: 14px 0 16px; }
.plan__list { list-style: none; margin: 0 0 22px; padding: 0; font-size: .94rem; display: grid; gap: 8px; }
.plan__list li { position: relative; padding-left: 26px; line-height: 1.45; }
.plan__list .feat-check, .plan__list .feat-x { position: absolute; left: 0; top: .1em; width: 18px; height: 18px; color: var(--green); }
.plan__list .feat-check.is-muted { color: var(--ink-45); }
.plan__list .feat-x { color: var(--ink-45); }
.plan__list svg { width: 18px; height: 18px; display: block; }
.plan__list .off { color: var(--ink-45); }
.plan__list .plan__not { padding-left: 0; margin-top: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-45); }
.plan .btn { margin-top: auto; }
.plan--goated .btn { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.plan--goated .btn:hover { filter: brightness(.9); }
:root[data-theme="dark"] .plan--goated .btn { color: #1A0F08; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan--goated .btn { color: #1A0F08; } }
.plan--trial .btn { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.plan--trial .btn:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.plans-note { margin: 28px 0 0; font-size: .95rem; color: var(--ink-70); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ------------------------------------------------------------------ faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details, .answer-list details { border-top: 1px solid var(--line); }
.faq details:last-child, .answer-list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary, .answer-list summary {
  cursor: pointer; list-style: none; padding: 20px 4px; font-weight: 600; font-size: 1.05rem; line-height: 1.4;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker, .answer-list summary::-webkit-details-marker { display: none; }
.faq summary::after, .answer-list summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; font-weight: 400; color: var(--green); }
.faq details[open] summary::after, .answer-list details[open] summary::after { content: "\2212"; }
.faq summary:hover, .answer-list summary:hover { color: var(--green-deep); }
.faq .faq-a, .answer-list .answer { padding: 0 4px 12px; color: var(--ink-70); max-width: 44em; }
.faq .faq-a p, .answer-list .answer p { margin: 0 0 .9em; }

/* ------------------------------------------------------------------ closing cta */
.cta { text-align: center; padding: clamp(72px, 10vw, 128px) 0; }
.cta h2 { margin-bottom: .3em; }
.cta .lede { margin: 0 auto 28px; }

/* ------------------------------------------------------------------ plans page */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); background: radial-gradient(90% 80% at 85% 0%, var(--glow) 0%, transparent 62%); }
.page-hero h1 { font-size: clamp(2.2rem, 1.2rem + 4vw, 3.8rem); }
.page-main { padding-bottom: clamp(56px, 8vw, 96px); }
.page-main h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); margin: clamp(48px, 7vw, 80px) 0 20px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--paper-alt); font-weight: 600; }
.compare .plan-col { text-align: center; min-width: 120px; }
.compare .th-name { display: block; font-family: var(--serif); font-size: 1.1rem; }
.compare .th-price { display: block; font-size: .8rem; font-weight: 500; color: var(--ink-45); }
.compare td { text-align: center; }
.compare .group-row th { background: var(--green-tint); color: var(--green-deep); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.f-name { display: block; font-weight: 600; }
.f-desc { display: block; font-weight: 400; color: var(--ink-70); font-size: .86rem; margin-top: 2px; max-width: 460px; }
.f-note { display: block; font-weight: 400; color: var(--ink-45); font-size: .82rem; margin-top: 4px; max-width: 460px; }
.cell { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.cell.yes { background: var(--green-tint); color: var(--green-deep); }
.cell.no { background: transparent; color: var(--ink-45); border: 1px solid var(--line-strong); font-weight: 500; }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; }
.note h3 { font-size: 1.1rem; margin-bottom: 6px; }
.note p { color: var(--ink-70); font-size: .95rem; margin: 0; }
.cta-card { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--paper-alt); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-card p { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; max-width: 520px; margin: 0; }
@media (max-width: 820px) {
  .notes { grid-template-columns: 1fr; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr:not(.group-row) { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:not(.group-row) th, .compare td { border: 0; padding: 6px 16px; text-align: left; }
  .compare td { display: flex; justify-content: space-between; align-items: center; }
  .compare td::before { content: attr(data-label); color: var(--ink-70); font-size: .88rem; font-weight: 500; }
  .f-desc, .f-note { max-width: none; }
}

/* ------------------------------------------------------------------ prose pages: legal, support */
.doc { max-width: 800px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(64px, 8vw, 104px); }
.doc .page-label { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin: 0 0 12px; }
.doc h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.4rem); margin-bottom: .3em; }
.doc h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem); margin: 2.2em 0 .6em; font-weight: 700; scroll-margin-top: 80px; }
.doc h3 { font-size: 1.2rem; margin: 1.8em 0 .5em; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.doc li { margin-bottom: .4em; }
.doc p, .doc li { color: var(--ink-70); }
.doc strong { color: var(--ink); }
.doc .effective { font-size: .9rem; color: var(--ink-45); margin-bottom: 2em; padding-bottom: 1.6em; border-bottom: 1px solid var(--line); }
.doc .contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; margin-top: 2.4em; }
.doc .contact-box p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .94rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-45); white-space: nowrap; }
.doc code, .code-inline { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .88em; background: var(--paper-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.doc .prompt { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 10px; padding: 12px 16px; margin: 0 0 10px; color: var(--ink); font-size: .94rem; overflow-wrap: anywhere; }
.doc .answer-list details > .answer .prompt { margin-top: 8px; }
.doc ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.4em; }
.doc ol.steps > li { counter-increment: s; position: relative; padding: 0 0 18px 46px; }
.doc ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--on-green); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.doc .callout { background: var(--green-tint); border: 1px solid var(--green-tint-strong); border-radius: var(--radius-sm); padding: 16px 18px; margin: 1.4em 0; }
.doc .callout p { margin: 0; color: var(--ink); }
.doc-hero { margin-bottom: 8px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 8px; max-width: 560px; }
.search-form input { flex: 1 1 240px; min-width: 0; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 13px 20px; }
.search-form input::placeholder { color: var(--ink-45); }
.topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.topic-links li { margin: 0; }
.topic-links a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 600; }
.topic-links a small { display: block; font-weight: 400; color: var(--ink-70); font-size: .88rem; margin-top: 2px; }
.topic-links a:hover { border-color: var(--green); color: var(--ink); }
@media (max-width: 560px) { .topic-links { grid-template-columns: 1fr; } }
/* Support landing: compact topic cards that link to guides */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.card--link { display: block; text-decoration: none; color: var(--ink); padding: 20px 20px 18px; box-shadow: none; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--green); transform: translateY(-1px); color: var(--ink); }
.card--link .ic { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 12px; }
.card--link h3 { font-size: 1.08rem; margin: 0 0 4px; }
.card--link p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-70); }
.doc .card--link p { color: var(--ink-70); }
@media (max-width: 860px) { .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .support-grid { grid-template-columns: 1fr; gap: 10px; }
  .card--link { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 14px 16px; align-items: start; }
  .card--link .ic { grid-row: 1 / span 2; margin: 0; }
  .card--link h3 { margin: 0 0 2px; }
}
.doc .old-links { padding-left: 0; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.old-links a { padding: 10px 14px; font-weight: 500; font-size: .95rem; }

/* ------------------------------------------------------------------ blog */
.blog-header { max-width: 900px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) 0; }
.blog-header h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.6rem); }
.blog-header h1 em { color: var(--green); }
.blog-header p { color: var(--ink-70); font-size: 1.05rem; margin-bottom: 28px; max-width: 36em; }
.blog-header p.kicker { color: var(--green); font-size: .75rem; margin-bottom: 1rem; }
.search-bar { width: 100%; padding: 13px 20px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font: inherit; font-size: .95rem; }
.search-bar::placeholder { color: var(--ink-45); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px auto 0; max-width: 900px; padding: 0 var(--gutter); }
.filter-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-70); font: 600 .84rem var(--sans); cursor: pointer; }
.filter-btn:hover { border-color: var(--green); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.posts-grid { max-width: 900px; margin: 32px auto 0; padding: 0 var(--gutter) 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
@media (prefers-reduced-motion: no-preference) { .post-card { transition: border-color .15s, transform .15s; } .post-card:hover { transform: translateY(-2px); } }
.post-card:hover { border-color: var(--green); }
.post-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.category-badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--green-tint); color: var(--green-deep); }
.badge-competitor_teardown { background: var(--terracotta-tint); color: var(--terracotta); }
.badge-money_mindset, .badge-finance_tip { background: var(--paper-alt); color: var(--ink-70); }
.post-date, .article-date { font-size: .78rem; color: var(--ink-45); }
.post-card h2 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; line-height: 1.3; letter-spacing: -.01em; }
.post-card .desc { font-size: .9rem; color: var(--ink-70); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.post-tags, .article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.post-tags span, .article-tags span { font-size: .72rem; color: var(--ink-70); background: var(--paper-alt); padding: 3px 10px; border-radius: 6px; }
.read-link { color: var(--green); font-weight: 700; font-size: .9rem; text-decoration: none; }
.read-link:hover { color: var(--green-deep); text-decoration: underline; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--ink-70); }
.crumb-row { max-width: 720px; margin: 0 auto; padding: 24px var(--gutter) 0; font-size: .88rem; color: var(--ink-45); }
.crumb-row a { color: var(--ink-70); text-decoration: none; }
.crumb-row a:hover { color: var(--ink); text-decoration: underline; }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 28px var(--gutter) 96px; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.article-title { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); line-height: 1.1; margin-bottom: 18px; }
.article-tags { margin-bottom: 32px; }
.article-body { line-height: 1.75; font-size: 1.06rem; color: var(--ink-70); }
.article-body h2 { font-size: 1.6rem; margin: 2em 0 .5em; color: var(--ink); }
.article-body h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; color: var(--ink); }
.article-body p { margin-bottom: 1.1em; }
.article-body strong { color: var(--ink); font-weight: 700; }
.cta-box { margin-top: 52px; padding: 32px; border: 1px solid var(--green-tint-strong); border-radius: var(--radius); background: var(--green-tint); text-align: center; }
.cta-box p { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.cta-btn { display: inline-block; padding: .85em 1.6em; border-radius: 999px; background: var(--green); color: var(--on-green); font-weight: 600; text-decoration: none; }
.cta-btn:hover { background: var(--green-deep); color: var(--on-green); }
.back-link { display: inline-block; margin-top: 40px; color: var(--green); font-weight: 700; text-decoration: none; }
.back-link:hover { color: var(--green-deep); text-decoration: underline; }
.not-found { text-align: center; padding: 120px 20px; }
.not-found h2 { font-size: 1.8rem; margin-bottom: 12px; }
.not-found p { color: var(--ink-70); margin-bottom: 24px; }
.not-found a { font-weight: 700; }

/* ------------------------------------------------------------------ plaid return page */
.return-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.return-page h1 { font-size: 1.8rem; }
.return-page p { color: var(--ink-70); }

@media print { .site-header, .site-footer, .skip { display: none; } }
