/* Pet Dog marketing site: one stylesheet for every page.
   Colors are the app's own (lib/constants/app_colors.dart) so the site and
   the product read as the same company. Type: Newsreader for headlines,
   Inter for everything else, Cinzel only for the wordmark (the app's). */
:root {
  --ink: #16181C;
  --ink-2: #272B31;
  --ink-3: #3C434D;
  --body: #3F464F;
  --muted: #6E7783;
  --faint: #9AA2AC;
  --gold: #D4A017;
  --gold-deep: #A87E0C;
  --tan: #D2B48C;
  --paper: #FBFAF7;
  --paper-2: #F4F1EA;
  --white: #FFFFFF;
  --line: #E6E1D7;
  --line-2: #D9D2C4;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--body);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ── type ─────────────────────────────────────────────────────────── */
.display, h1, h2, h3.serif { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.018em; font-optical-sizing: auto; }
h1 { font-size: clamp(44px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
h1 em, h2 em { font-style: italic; color: var(--ink-3); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 560px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--ink-3); transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(22,24,28,.6); }
.btn.light { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.light:hover { background: var(--white); box-shadow: none; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: #E0AE22; }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.link { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }
.link::after { content: " \2192"; }

/* ── header ───────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; height: 72px; gap: 40px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-cta .signin { color: var(--muted); }
.nav-cta .signin:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px auto; transition: transform .2s; }
.mobile-nav { display: none; }

/* ── sections ─────────────────────────────────────────────────────── */
section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lede { margin-top: 20px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.rule { border: 0; border-top: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #C9CED5; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark h2 em { color: var(--tan); }
.band-dark .kicker { color: var(--tan); }
.band-dark .lede, .band-dark .muted { color: #9AA3AE; }
.band-tint { background: var(--paper-2); }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { padding: 88px 0 0; overflow: hidden; }
.hero-copy { max-width: 820px; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { max-width: 600px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero-visual { position: relative; margin-top: 80px; }

/* ── screenshot slots ─────────────────────────────────────────────────
   Every .shot holds either a real <img> or a .slot placeholder. To add a
   screenshot, replace the .slot div with <img src="shots/NAME.png" alt="…">.
   Sizes: phone shots 1179×2556 (iPhone 6.1"), browser shots 2880×1800. */
.shot { position: relative; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slot {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center; padding: 24px; color: var(--faint);
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%),
    repeating-linear-gradient(135deg, #EFEBE3 0 1px, transparent 1px 11px),
    var(--paper-2);
}
.slot b { font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: -.005em; }
.slot small { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.band-dark .slot { color: #6F7782; background: repeating-linear-gradient(135deg, #2A2E35 0 1px, transparent 1px 11px), #1F2228; }
.band-dark .slot b { color: #A7AFB9; }

.phone {
  width: 300px; aspect-ratio: 1179 / 2556; border-radius: 46px; padding: 10px;
  background: #0E0F12; box-shadow: 0 50px 80px -40px rgba(22,24,28,.55), 0 0 0 1px rgba(0,0,0,.08), inset 0 0 0 1.5px #2C3038;
}
.phone > .screen { width: 100%; height: 100%; border-radius: 37px; overflow: hidden; position: relative; background: var(--paper-2); }
.phone > .screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #0E0F12; z-index: 2; }

.browser {
  border-radius: 14px; overflow: hidden; background: var(--white);
  box-shadow: 0 60px 100px -50px rgba(22,24,28,.45), 0 0 0 1px rgba(22,24,28,.08);
}
.browser .chrome { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #F1EEE8; border-bottom: 1px solid var(--line); }
.browser .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #D9D3C8; }
.browser .chrome span { margin: 0 auto; font-size: 12px; color: var(--faint); background: #fff; border-radius: 6px; padding: 3px 60px; transform: translateX(-20px); }
.browser .screen { aspect-ratio: 16 / 10; }

.hero-visual .browser { width: 88%; }
.hero-visual .phone { position: absolute; right: 0; bottom: -60px; width: 270px; }
.hero-fade { height: 60px; }

/* ── facts strip ──────────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 34px 28px 32px 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact .num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.fact p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* ── journey (numbered steps) ─────────────────────────────────────── */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border-top: 1px solid #343941; }
.journey li { list-style: none; padding: 30px 24px 0 0; position: relative; }
.journey li + li { padding-left: 24px; border-left: 1px solid #343941; }
.journey .n { font-family: var(--serif); font-size: 15px; color: var(--tan); font-style: italic; }
.journey h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 12px 0 8px; letter-spacing: -.01em; }
.journey p { font-size: 14.5px; line-height: 1.55; color: #9AA3AE; }

/* ── alternating feature rows ─────────────────────────────────────── */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.row + .row { margin-top: 140px; }
.row.flip .row-copy { order: 2; }
.row-copy h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }
.row-copy > p:not(.kicker) { font-size: 17.5px; color: var(--muted); line-height: 1.6; }
.row-media { display: flex; justify-content: center; position: relative; }
.row-media::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 32px; background: var(--paper-2); z-index: -1; }
.band-tint .row-media::before { background: var(--white); }
.row-media .browser { width: 100%; }
.points { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--body); display: grid; grid-template-columns: 170px 1fr; gap: 20px; }
.points li b { font-weight: 600; color: var(--ink); }
.row-copy .link { display: inline-block; margin-top: 28px; }

/* ── statement ────────────────────────────────────────────────────── */
.statement { max-width: 900px; }
.statement p.big { font-family: var(--serif); font-size: clamp(28px, 3.3vw, 42px); line-height: 1.22; color: var(--ink); letter-spacing: -.015em; }
.statement p.big em { color: var(--muted); }
.statement .by { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* ── plan teaser + pricing cards ──────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--white); overflow: hidden; }
.plan { padding: 40px 36px 38px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.featured { background: var(--ink); color: #C9CED5; }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan h3 { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.plan .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--tan); padding: 3px 9px; border-radius: 999px; }
.plan .price { font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--ink); margin-top: 22px; letter-spacing: -.03em; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan.featured .price small, .plan.featured .per { color: #9AA3AE; }
.plan .per { font-size: 13.5px; color: var(--muted); margin-top: 10px; min-height: 20px; }
.plan .for { margin-top: 22px; font-size: 15px; line-height: 1.5; }
.plan ul { list-style: none; margin: 26px 0 32px; border-top: 1px solid var(--line); }
.plan.featured ul { border-color: #343941; }
.plan li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; justify-content: space-between; gap: 12px; }
.plan.featured li { border-color: #343941; }
.plan li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.plan.featured li span:last-child { color: #fff; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.plan.featured .btn:hover { background: #E0AE22; }

/* ── closing CTA ──────────────────────────────────────────────────── */
.closing { text-align: center; padding: 140px 0; }
.closing h2 { font-size: clamp(38px, 5vw, 64px); max-width: 820px; margin: 0 auto; }
.closing .lede { margin: 22px auto 0; }
.closing .hero-actions { justify-content: center; }

/* ── footer ───────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 48px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--muted); max-width: 300px; margin-top: 16px; line-height: 1.55; }
.foot h4 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 9px; color: var(--muted); }
.foot li a:hover { color: var(--ink); }
.legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--faint); font-size: 13.5px; }

/* ── reveal on scroll (motion only when allowed) ──────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ── responsive ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .row { gap: 56px; }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey li, .journey li + li { padding: 26px 22px 26px 0; border-left: 0; border-bottom: 1px solid #343941; }
  .journey li:nth-child(even) { padding-left: 22px; border-left: 1px solid #343941; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  section { padding: 84px 0; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .mobile-nav.open { display: block; border-top: 1px solid var(--line); padding: 8px var(--gutter) 22px; background: var(--paper); }
  .mobile-nav a { display: block; padding: 13px 0; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 18px; width: 100%; color: #fff; border: 0; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .hero { padding-top: 56px; }
  .hero-visual { margin-top: 56px; }
  .hero-visual .browser { width: 100%; }
  .hero-visual .phone { width: 150px; right: -8px; bottom: -36px; border-radius: 26px; padding: 6px; }
  .hero-visual .phone > .screen { border-radius: 21px; }
  .hero-visual .phone > .screen::before { width: 46px; height: 13px; top: 6px; }
  .browser .chrome span { display: none; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 48px; }
  .row.flip .row-copy { order: 0; }
  .row + .row { margin-top: 96px; }
  .phone { width: 250px; }
  .points li { grid-template-columns: 1fr; gap: 2px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .legal { flex-direction: column; gap: 8px; }
  .closing { padding: 96px 0; }
}
@media (max-width: 520px) {
  .journey { grid-template-columns: 1fr; }
  .journey li:nth-child(even) { padding-left: 0; border-left: 0; }
  .fact, .fact + .fact { padding: 22px 14px 22px 0; }
  .fact:nth-child(even) { padding-left: 14px; }
  .fact .num { font-size: 30px; }
  .hero-actions .btn { width: 100%; }
}

/* ── v2 hero: copy left, the two-phone story right ────────────────── */
.hero2 { padding: 72px 0 96px; }
.hero2 .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero2 h1 { font-size: clamp(46px, 5.6vw, 76px); margin-bottom: 26px; }
.hero2 .lede { max-width: 540px; }
.platforms { margin-top: 22px; font-size: 14px; color: var(--muted); letter-spacing: .01em; }
.platforms b { color: var(--ink); font-weight: 600; }
.story { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.story figure { margin: 0; }
.story .phone { width: 100%; max-width: 250px; margin: 0 auto; }
.story figure:last-child { margin-top: 64px; }
.story figcaption { margin-top: 18px; text-align: center; font-size: 13.5px; color: var(--muted); }
.story figcaption b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-deep); font-size: 15px; }
.story .arrow { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font-size: 18px; box-shadow: 0 10px 24px -14px rgba(22,24,28,.4); z-index: 3; }

/* ── three numbered steps ─────────────────────────────────────────── */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.steps3 > div { padding: 36px 36px 8px 0; }
.steps3 > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.steps3 .n { font-family: var(--serif); font-style: italic; color: var(--gold-deep); font-size: 17px; }
.steps3 h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; color: var(--ink); margin: 12px 0 14px; letter-spacing: -.015em; }
.steps3 p { color: var(--muted); font-size: 16px; }
.steps3 ul { list-style: none; margin-top: 18px; }
.steps3 li { font-size: 14.5px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--body); }

/* ── testimonial slot ─────────────────────────────────────────────── */
.quote { max-width: 860px; margin: 0 auto; text-align: center; padding: 64px 40px; border: 1px dashed var(--line-2); border-radius: 24px; }
.quote p { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--faint); }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }

@media (max-width: 1020px) {
  .hero2 .wrap { grid-template-columns: 1fr; gap: 56px; }
  .story { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 860px) {
  .hero2 { padding: 48px 0 72px; }
  .brand span { font-size: 15px; }
  .steps3 { grid-template-columns: 1fr; }
  .steps3 > div, .steps3 > div + div { padding: 28px 0 8px; border-left: 0; }
  .steps3 > div + div { border-top: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .story { gap: 14px; }
  .story figure:last-child { margin-top: 40px; }
  .story .phone { border-radius: 30px; padding: 7px; }
  .story .phone > .screen { border-radius: 24px; }
  .story .phone > .screen::before { width: 54px; height: 16px; top: 7px; }
  .story .arrow { width: 36px; height: 36px; font-size: 15px; }
  .quote { padding: 44px 24px; }
}
#how .section-head { max-width: 820px; }
@media (max-width: 860px) { .brand span { font-size: 13px; letter-spacing: .02em; } .brand img { width: 30px; height: 30px; } }
.hero-copy { max-width: 1000px; } .hero h1 em { display: block; }
.hero h1 span { display: block; } .hero h1 em { padding-left: .06em; } .hero h1 { margin-bottom: 30px; }

/* ── features page ────────────────────────────────────────────────── */
.page-hero { padding: 96px 0 72px; }
.page-hero h1 { font-size: clamp(42px, 5.2vw, 68px); max-width: 900px; }
.page-hero .lede { margin-top: 24px; max-width: 640px; }
.feat-layout { display: grid; grid-template-columns: 210px 1fr; gap: 72px; align-items: start; }
.toc { position: sticky; top: 104px; }
.toc p { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; font-size: 14.5px; color: var(--muted); border-left: 1px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--ink); }
.feat { padding: 0 0 112px; scroll-margin-top: 96px; }
.feat + .feat { padding-top: 96px; border-top: 1px solid var(--line); }
.feat-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; margin-bottom: 56px; }
.feat-head h2 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 18px; }
.feat-head .lede { font-size: 17.5px; }
.feat-head .phone { width: 230px; margin: 0 auto; }
.feat-head.no-media { grid-template-columns: 1fr; max-width: 680px; }
.spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--line); }
.spec div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec b { display: block; font-weight: 600; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.spec span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.spec a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 1020px) {
  .feat-layout { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 860px) {
  .page-hero { padding: 56px 0 48px; }
  .feat-head { grid-template-columns: 1fr; gap: 36px; }
  .feat-head .phone { width: 220px; }
  .spec { grid-template-columns: 1fr; }
  .feat { padding-bottom: 80px; }
  .feat + .feat { padding-top: 72px; }
}
details.more { border-bottom: 1px solid var(--line); }
details.more summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15px; color: var(--ink); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: " +"; color: var(--muted); font-weight: 400; }
details.more[open] summary::after { content: " \2212"; }
details.more .spec { border-top: 0; }
details.more .spec div:last-child, details.more .spec div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.trio > div { padding: 36px 32px 0 0; }
.trio > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.trio h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); margin: 10px 0 12px; letter-spacing: -.01em; }
.trio p { color: var(--muted); font-size: 15.5px; }
.trio a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .trio { grid-template-columns: 1fr; }
  .trio > div, .trio > div + div { padding: 28px 0; border-left: 0; }
  .trio > div + div { border-top: 1px solid var(--line); }
}

/* ── pricing page ─────────────────────────────────────────────────── */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); margin-top: 32px; }
.billing-toggle button { border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(22,24,28,.12); }
.billing-toggle small { font-weight: 500; color: var(--gold-deep); margin-left: 6px; }
.plans.full .plan ul { margin-bottom: 28px; }
.plan .yearly { display: none; }
.show-yearly .plan .yearly { display: inline; }
.show-yearly .plan .monthly { display: none; }
.fine { margin-top: 22px; font-size: 14px; color: var(--muted); }
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.explain h2 { font-size: clamp(30px, 3.2vw, 42px); }
.explain .cols { display: grid; gap: 0; border-top: 1px solid var(--line); }
.explain .cols div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.explain .cols b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.explain .cols span { color: var(--muted); font-size: 15.5px; }
.roles-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
table.roles { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.roles th, table.roles td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; }
table.roles th:first-child, table.roles td:first-child { text-align: left; color: var(--body); }
table.roles thead th { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--paper); }
table.roles td.y::before { content: "\2713"; color: var(--ink); font-weight: 600; }
table.roles td.n::before { content: "\2014"; color: var(--line-2); }
table.roles tr.plan-row td { font-weight: 600; color: var(--ink); background: var(--paper); border-bottom: 0; }
table.roles tr.plan-row td.free { color: var(--gold-deep); }
@media (max-width: 860px) { .explain { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) {
  table.roles { min-width: 0; font-size: 13.5px; }
  table.roles th, table.roles td { padding: 13px 6px; }
  table.roles th:first-child, table.roles td:first-child { padding-left: 14px; }
  table.roles thead th { font-size: 10.5px; letter-spacing: .02em; }
  table.roles tr.plan-row td { font-size: 12.5px; }
  .foot > div:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .foot > div:nth-child(4) { order: 2; }
}
@media (max-width: 640px) {
  table.roles { table-layout: fixed; }
  table.roles th:first-child { width: 46%; }
  table.roles thead th { font-size: 9.5px; letter-spacing: 0; padding-left: 2px; padding-right: 2px; }
  table.roles td { padding-left: 2px; padding-right: 2px; }
}
@media (max-width: 640px) { table.roles tr.plan-row td:not(:first-child) { font-size: 10px; } }

/* ── header, flagship (Matt 2026-11-23: "make it stand out… look like a
   $100,000 app") ────────────────────────────────────────────────────
   A charcoal band in the app icon's own colors, so the gold monogram sits on
   its home ground instead of as a black sticker on cream. The lockup: the product name large, "by Taylor Kennels" small in gold
   (Matt 2026-11-23). */
.site-header { background: #15171B; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.site-header::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 160px at 12% 0%, rgba(212,160,23,.10), transparent 70%); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(212,160,23,0), rgba(212,160,23,.55) 30%, rgba(212,160,23,.55) 70%, rgba(212,160,23,0)); }
.site-header .nav { position: relative; height: 96px; gap: 48px; transition: height .25s ease; }
.site-header.scrolled .nav { height: 76px; }
.site-header .brand { gap: 18px; color: #F4EFE4; }
.site-header .brand img { width: auto; height: 58px; border-radius: 0; transition: height .25s ease;
  filter: drop-shadow(0 2px 10px rgba(212,160,23,.28)); }
.site-header.scrolled .brand img { height: 46px; }
.site-header .brand .rule { width: 1px; height: 44px; background: linear-gradient(rgba(212,160,23,0), rgba(212,160,23,.7), rgba(212,160,23,0)); }
.site-header .brand .words { display: flex; flex-direction: column; line-height: 1; }
.site-header .brand .words b { font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: 25px; letter-spacing: .06em; color: #F4EFE4; }
.site-header .brand .words i { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: .3em; color: var(--gold); margin-top: 9px; text-transform: uppercase; }
.site-header .nav-links { gap: 34px; color: rgba(244,239,228,.66); font-size: 15px; letter-spacing: .01em; }
.site-header .nav-links a { position: relative; padding: 6px 0; }
.site-header .nav-links a:hover { color: #F4EFE4; }
.site-header .nav-links a[aria-current="page"] { color: #F4EFE4; }
.site-header .nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--gold); }
.site-header .nav-cta .signin { color: rgba(244,239,228,.66); }
.site-header .nav-cta .signin:hover { color: #F4EFE4; }
.site-header .nav-cta .btn { background: var(--gold); color: #15171B; font-weight: 700; box-shadow: 0 6px 18px rgba(212,160,23,.22); }
.site-header .nav-cta .btn:hover { background: #E0AE22; }
.site-header .menu-btn span { background: #F4EFE4; }
@media (max-width: 860px) {
  .site-header .nav, .site-header.scrolled .nav { height: 72px; }
  .site-header .brand { gap: 12px; }
  .site-header .brand img, .site-header.scrolled .brand img { height: 40px; }
  .site-header .brand .rule { height: 32px; }
  .site-header .brand .words b { font-size: 15px; letter-spacing: .03em; }
  .site-header .brand .words i { font-size: 8px; letter-spacing: .24em; margin-top: 6px; }
  .mobile-nav.open { background: #15171B; border-top: 1px solid rgba(212,160,23,.3); }
  .mobile-nav a { color: #F4EFE4; border-bottom-color: rgba(244,239,228,.1); }
  .mobile-nav a[aria-current="page"] { color: var(--gold); }
  .mobile-nav .btn { background: var(--gold); color: #15171B; }
}
@media (max-width: 380px) {
  .site-header .brand .words b { font-size: 13px; }
  .site-header .brand .rule { display: none; }
}
/* The product name is long: keep every header line on one line and step the
   lockup down between desktop and phone instead of letting it wrap. */
.site-header .brand .words b, .site-header .brand .words i,
.site-header .nav-links a, .site-header .nav-cta a { white-space: nowrap; }
@media (max-width: 1140px) and (min-width: 861px) {
  .site-header .nav { gap: 28px; }
  .site-header .brand { gap: 14px; }
  .site-header .brand img { height: 48px; }
  .site-header .brand .words b { font-size: 18px; letter-spacing: .04em; }
  .site-header .brand .words i { font-size: 9px; letter-spacing: .26em; }
  .site-header .nav-links { gap: 22px; font-size: 14.5px; }
  .site-header .nav-cta { gap: 16px; }
}
@media (max-width: 860px) {
  .site-header .brand { gap: 10px; }
  .site-header .brand .words b { font-size: 13px; letter-spacing: .02em; }
}
@media (max-width: 380px) {
  .site-header .brand img, .site-header.scrolled .brand img { height: 34px; }
  .site-header .brand .words b { font-size: 11.5px; letter-spacing: .01em; }
  .site-header .brand .words i { font-size: 7.5px; letter-spacing: .2em; }
}
/* Hero label (Matt 2026-11-23): "Dog training software" moves out of the
   headline into a gold label, still inside the h1 so search reads it. */
.hero h1 .hero-kicker { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 14px; font-weight: 600; font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); line-height: 1.2; margin-bottom: 26px; }
.hero h1 .hero-kicker::before { content: ""; width: 36px; height: 2px; border-radius: 2px; background: var(--gold); }
@media (max-width: 860px) { .hero h1 .hero-kicker { font-size: 12px; letter-spacing: .2em; gap: 10px; margin-bottom: 18px; } .hero h1 .hero-kicker::before { width: 24px; } }

/* ── HERO A (Matt 2026-11-23): the charcoal header carries on into a split,
   dark hero with the product lit on the right. Placeholders stay until the
   screenshot session; each .slot is replaced by an <img> then. */
.hero-dark { position: relative; padding: 0; background: #15171B; color: #F4EFE4; overflow: hidden; }
.hero-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 42%, rgba(212,160,23,.16), transparent 62%),
    radial-gradient(700px 400px at 8% 0%, rgba(212,160,23,.07), transparent 70%); }
.hero-dark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(212,160,23,0), rgba(212,160,23,.45) 30%, rgba(212,160,23,.45) 70%, rgba(212,160,23,0)); }
.hero-dark .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; min-height: min(calc(100vh - 96px), 780px); padding-top: 72px; padding-bottom: 96px; }
.hero-dark .hero-copy { max-width: 600px; }
.hero-dark h1 { color: #F7F2E8; font-size: clamp(46px, 5.2vw, 74px); }
.hero-dark h1 em { color: var(--tan); }
.hero-dark h1 .hero-kicker { color: var(--gold); }
.hero-dark .lede { color: rgba(244,239,228,.72); max-width: 520px; }
.hero-dark .btn { background: var(--gold); color: #15171B; font-weight: 700; box-shadow: 0 10px 30px rgba(212,160,23,.25); }
.hero-dark .btn:hover { background: #E0AE22; }
.hero-dark .btn.ghost { background: transparent; color: #F4EFE4; border: 1px solid rgba(244,239,228,.28); box-shadow: none; }
.hero-dark .btn.ghost:hover { border-color: rgba(244,239,228,.6); }
.hero-dark .platforms { color: rgba(244,239,228,.55); }
.hero-dark .platforms b { color: #F4EFE4; }

.hero-dark .hero-visual { margin-top: 0; padding-bottom: 48px; }
.hero-dark .hero-visual::before { content: ""; position: absolute; inset: -10% -6% -4% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212,160,23,.22), transparent); filter: blur(10px); }
.hero-dark .browser { position: relative; width: 94%; background: #1E2127; border: 1px solid rgba(244,239,228,.10);
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(212,160,23,.08); }
.hero-dark .browser .chrome { background: #23262D; border-bottom: 1px solid rgba(244,239,228,.07); }
.hero-dark .browser .chrome i { background: #3A3F48; }
.hero-dark .browser .chrome span { background: #2B2F36; color: rgba(244,239,228,.45); }
.hero-dark .hero-visual .phone { right: -4px; bottom: 0; width: 230px; box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(212,160,23,.18); }

/* Placeholder, dressed for the dark hero: the monogram, faint, and a label. */
.hero-dark .slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: rgba(244,239,228,.42); background: radial-gradient(circle at 50% 40%, #262A31, #1B1E23); }
.hero-dark .slot .slot-mark { width: 64px; height: auto; opacity: .35; margin-bottom: 6px; }
.hero-dark .phone .slot .slot-mark { width: 44px; }
.hero-dark .slot b { color: rgba(244,239,228,.7); text-align: center; padding: 0 12px; }

@media (max-width: 960px) {
  .hero-dark .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 72px; gap: 48px; }
  .hero-dark .browser { width: 100%; }
  .hero-dark .hero-visual .phone { width: 150px; right: -6px; bottom: 0; }
}
.hero-dark .hero-visual { padding-bottom: 70px; }
.hero-dark .hero-visual .phone { width: 196px; right: 0; bottom: 0; }
.hero-dark .browser .slot { padding-right: 24%; }
@media (max-width: 960px) {
  .hero-dark .hero-visual { padding-bottom: 56px; }
  .hero-dark .hero-visual .phone { width: 128px; }
  .hero-dark .browser .slot { padding-right: 30%; }
  .hero-dark .phone .slot b, .hero-dark .phone .slot small { display: none; }
}

/* 2026-11-23 (Matt): no dash on the hero label; dark at both ends of the page
   with one dark band in the middle; the footer joins the closing band. */
.hero h1 .hero-kicker { display: block; }
.hero h1 .hero-kicker::before { content: none; }

.band-dark { background: #15171B; }
.band-glow { position: relative; overflow: hidden; }
.band-glow::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 360px at 50% 0%, rgba(212,160,23,.12), transparent 70%); }
.band-glow::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(212,160,23,0), rgba(212,160,23,.45) 30%, rgba(212,160,23,.45) 70%, rgba(212,160,23,0)); }
.band-glow > .wrap { position: relative; }
.statement-band { box-shadow: inset 0 -1px 0 rgba(212,160,23,.35); }
.statement-band .statement p.big { color: #F7F2E8; }
.statement-band .statement p.big em { color: var(--tan); }
.statement-band .kicker { color: var(--gold); letter-spacing: .24em; }
.closing.band-dark h2 { color: #F7F2E8; }
.closing .btn.gold { box-shadow: 0 10px 30px rgba(212,160,23,.25); }

.site-footer { background: #15171B; border-top: 1px solid rgba(244,239,228,.08); color: rgba(244,239,228,.6); }
.site-footer .foot p, .site-footer .foot li, .site-footer .legal { color: rgba(244,239,228,.55); }
.site-footer .foot h4 { color: var(--gold); letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; }
.site-footer .foot li a:hover { color: #F4EFE4; }
.site-footer .legal { border-top-color: rgba(244,239,228,.08); }
.site-footer .brand { gap: 14px; color: #F4EFE4; }
.site-footer .brand img { width: auto; height: 46px; border-radius: 0; }
.site-footer .brand .words { display: flex; flex-direction: column; line-height: 1; }
.site-footer .brand .words b { font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: 17px; letter-spacing: .05em; color: #F4EFE4; white-space: nowrap; }
.site-footer .brand .words i { font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 7px; }
@media (max-width: 420px) { .site-footer .brand .words b { font-size: 14px; } .site-footer .brand img { height: 38px; } }
/* Yearly note (Matt 2026-11-23): the toggle just says Monthly / Yearly; the
   saving appears between the toggle and the cards only when Yearly is on.
   It always keeps its height so the cards never jump. */
.yearly-note { min-height: 40px; margin: 0 0 18px; display: flex; align-items: center; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
.yearly-note span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(212,160,23,.12); border: 1px solid rgba(212,160,23,.35); color: var(--gold-deep); font-size: 14.5px; }
.yearly-note b { color: var(--ink); font-weight: 600; }
.show-yearly .yearly-note { opacity: 1; transform: none; }
.yearly-note { min-height: 36px; margin: -12px 0 16px; }
.yearly-note span { display: inline-block; line-height: 1.4; }
/* Yearly note, refined: no pill, a gold label and a quiet line. */
.yearly-note { gap: 14px; flex-wrap: wrap; }
.yearly-note span { display: inline; padding: 0; border: 0; border-radius: 0; background: none; }
.yearly-note .yn-tag { display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.yearly-note .yn-tag::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .7; }
.yearly-note .yn-text { font-size: 14.5px; color: var(--muted); }

/* Counts vs doesn't count (Matt 2026-11-23). "Doesn't", never "never":
   it describes today's plans without promising them forever. */
.count-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.cc-card { position: relative; border-radius: 20px; padding: 32px 34px 30px; background: var(--white); border: 1px solid var(--line); }
.cc-yes { border-color: rgba(212,160,23,.45); background: linear-gradient(180deg, rgba(212,160,23,.08), rgba(212,160,23,0) 60%), var(--white); box-shadow: 0 18px 40px rgba(22,24,28,.06); }
.cc-yes::before { content: ""; position: absolute; left: 34px; right: 34px; top: -1px; height: 2px; border-radius: 2px; background: var(--gold); }
.cc-tag { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.cc-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.cc-no .cc-tag { color: var(--muted); }
.cc-no .cc-tag i { background: transparent; border: 1.5px solid var(--faint); }
.cc-card ul { list-style: none; }
.cc-card li { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--ink); padding: 10px 0; border-top: 1px solid var(--line); letter-spacing: -.01em; }
.cc-card li:first-child { border-top: 0; padding-top: 0; }
.cc-card li:last-child { font-family: var(--sans); font-size: 15.5px; line-height: 1.5; color: var(--muted); letter-spacing: 0; padding-top: 14px; }
.cc-foot { margin-top: 26px; font-size: 15.5px; color: var(--muted); }
.cc-foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .count-compare { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  .cc-card { padding: 26px 24px 24px; }
  .cc-yes::before { left: 24px; right: 24px; }
  .cc-card li { font-size: 21px; }
}

/* Counts card v2: charcoal + gold (mirrors the Pro card), a worked example. */
.count-compare { align-items: stretch; }
.cc-card li:last-child { font-family: var(--serif); font-size: 24px; color: var(--ink); padding-top: 10px; }
.cc-card ul { margin-bottom: 18px; }
.cc-note { font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.cc-yes { background: #15171B; border: 1px solid rgba(212,160,23,.35); box-shadow: 0 30px 60px rgba(22,24,28,.18); }
.cc-yes::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  background: radial-gradient(500px 220px at 15% 0%, rgba(212,160,23,.14), transparent 70%); }
.cc-yes .cc-tag { color: var(--gold); }
.cc-yes li, .cc-yes li:last-child { color: #F7F2E8; border-top-color: rgba(244,239,228,.12); }
.cc-yes .cc-note { color: rgba(244,239,228,.62); }
.cc-grad { position: relative; display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(212,160,23,.3); font-size: 14.5px; line-height: 1.5; color: rgba(244,239,228,.78); }
.cc-grad span { color: var(--gold); font-size: 16px; line-height: 1.35; }
.cc-no { display: flex; flex-direction: column; }
.cc-example { margin-top: 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 30px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.cc-ex-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
.cc-ex-sum { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-size: 16px; color: var(--muted); }
.cc-ex-sum b { font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--ink); margin-right: 4px; }
.cc-ex-sum em { font-style: normal; font-size: 20px; color: var(--gold); }
.cc-ex-plan { font-family: var(--serif); font-size: 26px; color: var(--ink); }
.cc-ex-plan small { font-family: var(--sans); font-size: 14px; color: var(--muted); margin-left: 6px; }
@media (max-width: 860px) {
  .cc-example { padding: 20px 22px; gap: 10px; }
  .cc-ex-sum { gap: 8px 12px; }
  .cc-ex-sum b { font-size: 26px; }
}
@media (max-width: 860px) { .cc-card li, .cc-card li:last-child { font-size: 21px; } }

/* Roles table, flagship (Matt 2026-11-24): a charcoal header with what each
   role is for, rows grouped by kind of work, gold checks, Free as a pill. */
.roles-wrap { border-radius: 22px; box-shadow: 0 24px 60px rgba(22,24,28,.07); }
table.roles thead th { background: #15171B; color: #F7F2E8; font-size: 13px; letter-spacing: .14em; padding: 22px 16px 20px; border-bottom: 2px solid var(--gold); vertical-align: top; }
table.roles thead th small { display: block; margin-top: 7px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(244,239,228,.55); }
table.roles thead th:first-child { color: var(--gold); vertical-align: middle; }
table.roles tr.grp td { background: var(--paper); padding: 13px 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); text-align: left; }
table.roles td { padding: 15px 20px; }
table.roles td:first-child { color: var(--ink); }
table.roles td.y::before, table.roles td.n::before { content: none; }
table.roles td.y i { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: rgba(212,160,23,.14); position: relative; vertical-align: middle; }
table.roles td.y i::after { content: ""; position: absolute; left: 8.5px; top: 5px; width: 5px; height: 10px; border: solid var(--gold-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
table.roles td.n i { display: inline-block; width: 12px; height: 1.5px; border-radius: 2px; background: var(--line-2); vertical-align: middle; }
table.roles tr:not(.grp):not(.plan-row):hover td { background: #FCFAF5; }
table.roles tr.plan-row td { background: #15171B; color: rgba(244,239,228,.85); padding-top: 18px; padding-bottom: 18px; }
table.roles tr.plan-row td:first-child { color: #F7F2E8; }
table.roles tr.plan-row td.free span { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: #15171B; font-weight: 700; font-size: 13px; }
@media (max-width: 860px) {
  table.roles thead th { padding: 16px 4px 14px; font-size: 10px; letter-spacing: .06em; }
  table.roles thead th small { display: none; }
  table.roles tr.grp td { padding: 11px 14px; font-size: 10px; }
  table.roles td.y i { width: 20px; height: 20px; }
  table.roles td.y i::after { left: 7px; top: 4px; width: 4px; height: 8px; }
  table.roles tr.plan-row td.free span { padding: 3px 8px; font-size: 11px; }
}
@media (max-width: 640px) {
  table.roles thead th { font-size: 9px; letter-spacing: 0; padding: 14px 1px 12px; }
  table.roles thead th:first-child { padding-left: 14px; font-size: 9px; letter-spacing: .08em; }
}

/* ── FEATURES, flagship (Matt 2026-11-24) ─────────────────────────────
   Dark hero like Home, a sticky row of gold jump links, full-width sections
   that alternate sides, Owner updates as the one dark band, and the last
   section as three cards. */
.fx-hero { position: relative; background: #15171B; color: #F4EFE4; padding: 96px 0 84px; overflow: hidden; }
.fx-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 80% 0%, rgba(212,160,23,.14), transparent 65%), radial-gradient(600px 320px at 5% 100%, rgba(212,160,23,.06), transparent 70%); }
.fx-hero .wrap { position: relative; }
.fx-hero .kicker { color: var(--gold); letter-spacing: .24em; }
.fx-hero h1 { color: #F7F2E8; max-width: 980px; }
.fx-hero h1 em { color: var(--tan); }
.fx-hero .lede { color: rgba(244,239,228,.72); }

.fx-nav.toc { position: sticky; top: 76px; z-index: 40; background: rgba(251,250,247,.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.fx-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.fx-nav .wrap::-webkit-scrollbar { display: none; }
.fx-nav.toc a { flex: none; border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--white); white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.fx-nav.toc a:hover { color: var(--ink); border-color: var(--line-2); }
.fx-nav.toc a.on { color: #15171B; background: var(--gold); border-color: var(--gold); font-weight: 600; }

.fx-list { }
.feat.fx { padding: 120px 0; border-top: 0; scroll-margin-top: 140px; }
.feat.fx + .feat.fx { padding-top: 120px; border-top: 1px solid var(--line); }
.fx .feat-head { grid-template-columns: 1fr 1fr; gap: 96px; margin-bottom: 64px; }
.fx .feat-head h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.08; }
.fx .feat-head .lede { font-size: 18px; max-width: 520px; }
.fx .feat-head .phone { width: 250px; }
.fx .feat-head .browser { width: 100%; }
.fx-alt .feat-head > div:first-child { order: 2; }
.fx .spec { column-gap: 64px; border-top: 1px solid var(--line); }
.fx .spec b { position: relative; padding-left: 18px; }
.fx .spec b::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.fx .spec span { display: block; padding-left: 18px; }
.fx details.more summary { color: var(--gold-deep); }

/* Owner updates: the one dark band. */
.feat.fx.fx-dark { border-top: 0; }
.feat.fx.fx-dark + .feat.fx { border-top: 0; }
.fx-dark .kicker { color: var(--gold); letter-spacing: .24em; }
.fx-dark .feat-head h2 { color: #F7F2E8; }
.fx-dark .feat-head .lede { color: rgba(244,239,228,.7); }
.fx-dark .spec, .fx-dark .spec div { border-color: rgba(244,239,228,.1); }
.fx-dark .spec b { color: #F7F2E8; }
.fx-dark .spec span { color: rgba(244,239,228,.6); }
.fx-dark .slot { color: rgba(244,239,228,.42); background: radial-gradient(circle at 50% 40%, #262A31, #1B1E23); }
.fx-dark .slot b { color: rgba(244,239,228,.7); }
.fx-dark .phone { box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(212,160,23,.18); }

/* Team, help, data: three cards. */
.fx-more .feat-head.no-media { margin-bottom: 40px; }
.fx-more .trio { gap: 20px; border-top: 0; }
.fx-more .trio > div, .fx-more .trio > div + div { padding: 34px 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 18px 40px rgba(22,24,28,.05); }
.fx-more .trio > div:nth-child(2) { background: #15171B; border-color: rgba(212,160,23,.35); }
.fx-more .trio > div:nth-child(2) h3 { color: #F7F2E8; }
.fx-more .trio > div:nth-child(2) p { color: rgba(244,239,228,.65); }
.fx-more .trio > div:nth-child(2) .kicker { color: var(--gold); }
.fx-more .trio a { color: var(--ink); border-bottom: 1px solid var(--gold); }

@media (max-width: 860px) {
  .fx-hero { padding: 56px 0 52px; }
  .fx-nav.toc { top: 72px; display: block; }
  .feat.fx, .feat.fx + .feat.fx { padding: 72px 0; }
  .fx .feat-head { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .fx-alt .feat-head > div:first-child { order: 0; }
  .fx-more .trio { grid-template-columns: 1fr; gap: 14px; }
}
.fx .feat-head.no-media { grid-template-columns: 1fr; max-width: 760px; }

/* Features as the reference (Matt 2026-11-24): no device per section (Home
   carries the screens), a heading block and the full grid, nothing hidden. */
.feat.fx.fx-ref, .feat.fx.fx-ref + .feat.fx { padding: 96px 0; }
.fx-ref-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.fx-ref-head .kicker { grid-column: 1 / -1; margin-bottom: -48px; }
.fx-ref-head h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.12; }
.fx-ref-head .lede { font-size: 17px; max-width: 520px; }
.fx-ref .spec { grid-template-columns: repeat(3, 1fr); column-gap: 44px; }
.fx-ref .spec div { padding: 22px 0; }
@media (max-width: 1100px) { .fx-ref .spec { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .feat.fx.fx-ref, .feat.fx.fx-ref + .feat.fx { padding: 64px 0; }
  .fx-ref-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .fx-ref-head .kicker { margin-bottom: 0; }
  .fx-ref .spec { grid-template-columns: 1fr; }
}
/* Baron on his card (Matt 2026-11-24): the app's own help mascot. */
.fx-more .trio > div:nth-child(2) { position: relative; }
.fx-more .trio .baron { position: absolute; top: 18px; right: 18px; width: 76px; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
@media (max-width: 860px) { .fx-more .trio .baron { width: 64px; top: 14px; right: 14px; } }
.fx-more .trio .baron { width: 104px; top: 14px; right: 16px; }
@media (max-width: 860px) { .fx-more .trio .baron { width: 84px; } }
/* A real screenshot inside the phone: show the whole screen, never crop its
   sides (the frame's padding makes the screen a touch taller than an iPhone). */
.phone > .screen img { object-fit: contain; object-position: top; background: #F8F9FA; }
.hero-dark .hero-visual .phone { width: 184px; }
@media (max-width: 960px) { .hero-dark .hero-visual .phone { width: 124px; } }
/* Dynamic Island to real proportions (Matt 2026-11-24): a fixed 92px pill was
   oversized on small phones. iPhone 17 Pro: ~31% of the screen width, 3.4:1,
   about 1.3% from the top. */
.phone > .screen::before { width: 31%; height: auto; aspect-ratio: 3.4 / 1; top: 1.3%; border-radius: 999px; }
/* Bezel to the simulator's proportions (Matt's reference 2026-11-24): about
   3.3% of the width each side, corners about 15%. The 300px phones already
   match; the smaller hero phone needs its own numbers. */
.phone > .screen::before { top: 1.6%; }
.hero-dark .hero-visual .phone { padding: 6px; border-radius: 29px; }
.hero-dark .hero-visual .phone > .screen { border-radius: 24px; }
@media (max-width: 960px) {
  .hero-dark .hero-visual .phone { padding: 4px; border-radius: 20px; }
  .hero-dark .hero-visual .phone > .screen { border-radius: 16px; }
}
/* With a real screenshot, the phone takes the screenshot's own shape, so there
   is no blank band at the bottom (Matt 2026-11-24). Placeholders keep the
   fixed aspect ratio. */
.phone:has(> .screen > img) { aspect-ratio: auto; height: auto; }
.phone:has(> .screen > img) > .screen { height: auto; }
.phone > .screen > img { display: block; width: 100%; height: auto; }
