/* NewcombLabs — shared styles
   Palette: lab paper, ink, cobalt (Weekly), moss (MyFi), signal amber
   Type: Bricolage Grotesque (display), Albert Sans (text) */

:root {
  --paper: #f2f3ef;
  --paper-2: #e8eae4;
  --surface: #ffffff;
  --ink: #1b2130;
  --ink-2: #4d5466;
  --line: #d7dad2;
  --grid: rgba(27, 33, 48, 0.055);
  --cobalt: #3150c9;
  --cobalt-soft: #e4e9fb;
  --moss: #2c7656;
  --moss-soft: #ddefe5;
  --amber: #e2a23b;
  --ember: #b45309;
  --ember-soft: #fbecd9;
  --plum: #7a3e9d;
  --plum-soft: #f1e6f7;
  --accent: var(--ink);
  --accent-soft: var(--paper-2);
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(27,33,48,.06), 0 12px 32px -12px rgba(27,33,48,.22);
  --display: "Bricolage Grotesque", "Albert Sans", system-ui, sans-serif;
  --text: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15181f;
    --paper-2: #1d2129;
    --surface: #1f232c;
    --ink: #eef0ea;
    --ink-2: #a8adb8;
    --line: #2e333e;
    --grid: rgba(238, 240, 234, 0.045);
    --cobalt: #8ea4ff;
    --cobalt-soft: #222b4a;
    --moss: #6fc79d;
    --moss-soft: #1c3329;
    --amber: #f0b85c;
    --ember: #f2a65a;
    --ember-soft: #3a2a17;
    --plum: #cf9bf0;
    --plum-soft: #2f2140;
    --on-accent: #15181f;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -14px rgba(0,0,0,.6);
  }
}
.theme-weekly { --accent: var(--cobalt); --accent-soft: var(--cobalt-soft); }
.theme-myfi   { --accent: var(--moss);   --accent-soft: var(--moss-soft); }
.theme-homehq { --accent: var(--ember);  --accent-soft: var(--ember-soft); }
.theme-earshot { --accent: var(--plum);   --accent-soft: var(--plum-soft); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--ink-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; white-space: nowrap; color: var(--ink-2); text-decoration: none; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
.nav-links a[aria-current] { color: var(--ink); }
.nav-links .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 1rem;
  padding: 13px 22px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--accent);
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px var(--accent); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.22rem; color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding: 0; list-style: none;
  color: var(--ink-2); font-size: .95rem; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; }
.reassure svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.theme-none .reassure svg { color: var(--moss); }

/* Stacked app previews (home hero) */
.stack { position: relative; height: 500px; }
.stack .window { position: absolute; width: 88%; }
.stack .window.w1 { top: 0; right: 0; transform: rotate(2.2deg); }
.stack .window.w2 { bottom: 0; left: 0; width: 74%; transform: rotate(-2.5deg); }
@media (prefers-reduced-motion: no-preference) {
  .stack .window { animation: settle .9s cubic-bezier(.2,.8,.2,1) both; }
  .stack .window.w2 { animation-delay: .15s; }
  .single .window { animation: settle .9s cubic-bezier(.2,.8,.2,1) both; }
}
@keyframes settle { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* ---------- App window mock ---------- */
.window { background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; font-size: .86rem; }
.window-bar { display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: var(--paper-2); }
.window-bar .lights { display: flex; gap: 6px; }
.window-bar .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.window-bar .title { font-weight: 600; color: var(--ink-2); font-size: .82rem; }
.window-bar .host { margin-left: auto; color: var(--ink-2); font-size: .75rem; opacity: .8; }
.window-body { padding: 16px; }

/* Weekly mock */
.wk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 12px; }
.wk-days span { text-align: center; padding: 7px 0; border-radius: 8px; background: var(--paper);
  color: var(--ink-2); font-weight: 600; font-size: .75rem; }
.wk-days span.on { background: var(--cobalt); color: #fff; }
.wk-panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.panel h4 { margin: 0 0 8px; font-family: var(--text); font-size: .76rem; font-weight: 700; color: var(--ink-2); }
.ev { display: flex; gap: 8px; align-items: baseline; padding: 4px 0; }
.ev b { font-weight: 600; color: var(--ink-2); font-size: .72rem; width: 38px; flex: none; }
.ev span { color: var(--ink); }
.ev.hl span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber); margin-right: 6px; vertical-align: 1px; }
.dev { display: flex; justify-content: space-between; padding: 3px 0; }
.dev em { font-style: normal; color: var(--moss); font-weight: 600; font-size: .75rem; }
.dev em.off { color: var(--ink-2); }
.task { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.task i { width: 13px; height: 13px; border: 1.5px solid var(--line); border-radius: 4px; flex: none; }
.task.done i { background: var(--cobalt); border-color: var(--cobalt); }
.task.done span { text-decoration: line-through; color: var(--ink-2); }
.wx { display: flex; align-items: center; gap: 10px; }
.wx strong { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; }

/* MyFi mock */
.mf-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.mf-top small { display: block; color: var(--ink-2); font-size: .75rem; font-weight: 600; }
.mf-top strong { font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; }
.mf-top .left { color: var(--moss); font-weight: 700; font-size: .85rem; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 6px 0; }
.cat .amt { color: var(--ink-2); font-size: .78rem; }
.bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--moss); }
.bar i.warn { background: var(--amber); }
.mf-tx { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 10px; }
.tx { display: flex; justify-content: space-between; padding: 3px 0; }
.tx span:last-child { font-variant-numeric: tabular-nums; }
.tx .in { color: var(--moss); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section + .section { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.12rem; }

/* App showcase (home) */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app { position: relative; display: flex; flex-direction: column; padding: 36px; border-radius: 24px;
  background: var(--accent-soft); color: var(--ink); text-decoration: none; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform .2s ease; }
.app:hover { transform: translateY(-3px); }
.app .kind { color: var(--accent); font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.app h3 { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 14px; }
.app p { color: var(--ink-2); max-width: 30em; margin-bottom: 22px; }
.app ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.app li { display: flex; gap: 10px; align-items: flex-start; }
.app li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 3px; }
.app .foot-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.app .price { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.app .price small { font-family: var(--text); font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-left: 6px; }

/* Steps (true sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; counter-reset: step; position: relative; }
.steps li { position: relative; padding: 0 24px 0 0; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--surface); border: 1.5px solid var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 18px; position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }

/* Feature list (product pages) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-2); }

/* Requirements + pricing (product pages) */
.buy-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.reqs { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.reqs h2 { font-size: 1.8rem; margin-bottom: 8px; }
.reqs > p { color: var(--ink-2); margin-bottom: 20px; }
.reqs dl { margin: 0; }
.reqs dt { font-weight: 700; margin-top: 18px; display: flex; gap: 10px; align-items: center; }
.reqs dt svg { width: 20px; height: 20px; color: var(--accent); }
.reqs dd { margin: 4px 0 0 30px; color: var(--ink-2); }

.price-card { position: relative; background: var(--ink); color: var(--paper); border-radius: 20px; padding: 32px; overflow: hidden; }
.price-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px;
  border-radius: 50%; background: var(--accent); opacity: .55; filter: blur(40px); }
.price-card > * { position: relative; z-index: 1; }
.price-card h3 { font-size: 1.1rem; font-family: var(--text); font-weight: 600; opacity: .8; }
.price-card .amount { font-family: var(--display); font-size: 4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 10px 0 4px; }
.price-card .once { opacity: .7; margin-bottom: 22px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.price-card li.no { opacity: .6; }
.price-card .btn { width: 100%; background: var(--paper); color: var(--ink); border-color: var(--paper); }
.price-card .terms { font-size: .88rem; opacity: .7; margin-top: 14px; text-align: center; }
.price-card .terms a { color: inherit; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq .section-head { margin: 0; position: sticky; top: 100px; align-self: start; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--ink-2);
  transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin-top: 10px; max-width: 36em; }

/* Legal */
.legal { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 36px 0 8px; }
.legal p { color: var(--ink-2); line-height: 1.75; }
.note { border: 1.5px dashed var(--amber); padding: 12px 16px; border-radius: 12px; margin: 24px 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-2); font-size: .95rem; }
.site-footer .row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .apps, .buy-grid, .faq { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .steps li:nth-child(2)::after { display: none; }
  .stack { height: 420px; max-width: 560px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .nav-links .hide-sm { display: none; }
  .stack { height: 400px; }
  .stack .window { width: 94%; }
  .app { padding: 28px; }
  .wk-panels { grid-template-columns: 1fr; }
  .wk-panels .panel:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Single app preview (product pages) */
.single { position: relative; }
.single .window { transform: none; }
.single img.window { width: 100%; }
@media (prefers-color-scheme: dark) {
  .logo svg rect:first-child { fill: var(--ink); }
}

/* Centered app links in header (home) */
.nav { position: relative; }
.nav-center { position: absolute; left: 50%; transform: translateX(-50%); }
@media (max-width: 760px) {
  .nav-center { position: static; transform: none; }
  .nav-center + .nav-links { display: none; }
}
@media (max-width: 420px) {
  .nav { height: auto; padding: 12px 0; flex-wrap: wrap; justify-content: center; gap: 4px; }
}

/* Default panel list (Weekly): one row that slowly scrolls on its own, with arrows */
.panel-scroller { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.panel-list { list-style: none; padding: 4px 2px; margin: 0; display: flex; gap: 14px; overflow-x: auto;
  scrollbar-width: none; }
.panel-list::-webkit-scrollbar { display: none; }
.panel-list li { flex: 0 0 calc((100% - 28px) / 3); background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; border-left: 4px solid var(--accent); }
.panel-list strong { display: block; font-family: var(--display); font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 4px; }
.panel-list span { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .panel-list li { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 600px) { .panel-list li { flex-basis: 85%; } .panel-scroller { gap: 8px; } }

/* Rotating hero screenshots (product pages) */
.rotator { display: grid; }
.rot-slide { grid-area: 1 / 1; display: flex; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.rot-slide.is-active { opacity: 1; visibility: visible; }
.rot-slide .window { flex: 1; display: flex; flex-direction: column; }
.shot { width: 100%; border-radius: 16px; border: 1px solid var(--line); object-fit: cover; object-position: top; background: var(--surface); }
.window .shot { flex: 1; min-height: 240px; border: 0; border-radius: 0; }
.shot.placeholder { display: grid; place-items: center; color: var(--ink-2); font-weight: 600;
  background: repeating-linear-gradient(135deg, var(--accent-soft) 0 14px, var(--surface) 14px 28px); }
.shot.placeholder span { background: var(--surface); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); }
.rot-foot { grid-area: 2 / 1; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 22px; }
.rot-dots { display: flex; justify-content: center; gap: 8px; }
.rot-hint { color: var(--ink-2); font-size: .82rem; }
.rot-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer;
  transition: width .2s ease, background .2s ease; }
.rot-dots button[aria-current="true"] { width: 22px; background: var(--accent); }

/* Demo video (product pages) */
.demo-video { display: block; width: 100%; max-width: 920px; margin: 0 auto; aspect-ratio: 16 / 9; border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow); background: var(--ink); }
.demo-video.placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--paper); background: linear-gradient(140deg, var(--ink), color-mix(in srgb, var(--accent) 45%, var(--ink))); }
.demo-video .play { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--paper) 16%, transparent); border: 1.5px solid color-mix(in srgb, var(--paper) 40%, transparent); }
.demo-video .play svg { width: 28px; height: 28px; margin-left: 4px; }
.demo-video .soon { font-weight: 600; opacity: .8; }

/* Round arrow buttons */
.car-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0; }
.car-btn:hover:not([disabled]) { border-color: var(--ink-2); }
.car-btn svg { width: 18px; height: 18px; }

/* Standout features (Weekly) */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hl-card { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 24px; padding: 30px; }
.hl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.hl-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); }
.hl-card .ic svg { width: 26px; height: 26px; }
.hl-card .tag { font-size: .82rem; font-weight: 600; color: var(--accent); background: var(--surface);
  padding: 5px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.hl-card .q { font-family: var(--display); font-weight: 600; color: var(--accent); font-size: 1.05rem; margin-bottom: 6px; }
.hl-card h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); letter-spacing: -0.025em; margin-bottom: 10px; }
.hl-card p:last-child { color: var(--ink-2); }

/* Phone band: Siri/email commands + push notifications */
.phone-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 36px;
  align-items: start; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 44px; }
.phone-band::after { content: ""; position: absolute; width: 340px; height: 340px; left: -120px; bottom: -180px;
  border-radius: 50%; background: var(--accent); opacity: .5; filter: blur(60px); pointer-events: none; }
.phone-band > * { position: relative; z-index: 1; }
.phone-band .eyebrow { display: block; font-weight: 600; font-size: .9rem; opacity: .7; margin-bottom: 10px; }
.phone-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.phone-item .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--paper) 12%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 22%, transparent); }
.phone-item .ic svg { width: 22px; height: 22px; }
.phone-item h3 { margin-bottom: 8px; }
.phone-item p { opacity: .75; }
@media (max-width: 900px) {
  .highlights { grid-template-columns: 1fr; }
  .phone-band { grid-template-columns: 1fr 1fr; }
  .phone-head { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .phone-band { grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .hl-card { padding: 24px; }
}
.panel-list { -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

/* Blue reassurance line (home hero) */
.reassure.blue, .reassure.blue svg { color: var(--cobalt); }
.reassure.blue { font-weight: 600; }

/* "See all panels" link button + popup */
.link-btn { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--accent); font: inherit;
  font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn span { display: inline-block; transition: transform .15s ease; text-decoration: none; }
.link-btn:hover span { transform: translateX(3px); }
.modal { width: min(920px, calc(100% - 32px)); max-height: min(82vh, 860px); padding: 32px; border: 1px solid var(--line);
  border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(15, 18, 26, .55); backdrop-filter: blur(3px); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.modal-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.modal-sub { color: var(--ink-2); margin: 8px 0 22px; }
.modal-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.modal-list li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 14px 16px; }
.modal-list strong { display: block; font-family: var(--display); margin-bottom: 2px; }
.modal-list span { color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) { .modal-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modal { padding: 22px; } .modal-list { grid-template-columns: 1fr; } }

.panels-row { margin-top: 28px; }

/* Animated arrow pointing at "See all panels" */
.see-all { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; }
.see-all .link-btn { margin-top: 0; }
.nudge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); }
.nudge svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .nudge { animation: nudge .9s ease-in-out infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(4px); } 50% { transform: translateX(-10px); } }
.section-head p strong, .feature p strong { color: var(--ink); font-weight: 700; }
video.demo-video { aspect-ratio: auto; height: auto; background: #000; object-fit: contain; }

/* Make it yours: coding agent band (product pages) */
.agent-band { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px;
  border-radius: 28px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.agent-band .eyebrow { display: block; color: var(--accent); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.agent-band h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.agent-head p { color: var(--ink-2); }
.agent-prompt { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow);
  font-size: .97rem; }
.agent-prompt .who { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 14%, transparent); margin-bottom: 8px; }
.agent-prompt .who.agent { background: var(--accent); color: var(--on-accent); margin-top: 16px; }
.agent-prompt .muted-line { opacity: .75; }
@media (max-width: 900px) { .agent-band { grid-template-columns: 1fr; padding: 28px; gap: 24px; } }

/* Reviews (product pages) */
.reviews-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 32px; align-items: start; }
.review-list { display: grid; gap: 14px; }
.review-list .empty { color: var(--ink-2); padding: 28px; border: 1.5px dashed var(--line); border-radius: 18px; text-align: center; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-top strong { font-family: var(--display); font-size: 1.05rem; }
.review-top time { color: var(--ink-2); font-size: .85rem; }
.review p { color: var(--ink-2); white-space: pre-line; }
.rating-display { display: inline-flex; gap: 2px; color: var(--amber); margin-bottom: 6px; }
.rating-display svg { width: 17px; height: 17px; fill: currentColor; }
.rating-display svg.off { fill: var(--line); }
.review-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 16px; }
.review-form h3 { font-size: 1.35rem; }
.review-form .req { color: var(--ink-2); font-weight: 400; font-size: .85rem; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.field input, .field textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.stars { border: 0; padding: 0; margin: 0; }
.stars legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: 6px; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { cursor: pointer; color: var(--line); line-height: 0; padding: 2px; border-radius: 6px; }
.star-row label svg { width: 34px; height: 34px; fill: currentColor; transition: transform .12s ease, color .12s ease; }
.star-row label:hover svg { transform: scale(1.1); }
.star-row input:checked ~ label, .star-row label:hover, .star-row label:hover ~ label { color: var(--amber); }
.star-row input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.review-form .btn { justify-self: start; cursor: pointer; }
.review-form .btn[disabled] { opacity: .6; cursor: default; transform: none; }
.form-note { color: var(--ink-2); font-size: .88rem; }
.form-status { font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: var(--moss); }
.form-status.err { color: #c2412d; }
@media (prefers-color-scheme: dark) { .form-status.err { color: #ff8a73; } }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.rot-slide img.shot { aspect-ratio: 16 / 10; min-height: 0; height: auto; object-fit: cover; object-position: top left; }
.rot-slide img.shot.dark { background: #1b2533; }
.rot-slide img.shot.fit { object-fit: contain; object-position: center top; }

/* Click-to-enlarge screenshots */
.rot-slide img.shot { cursor: zoom-in; }
.rot-slide img.shot:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 56px 72px 24px;
  border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 13, 20, .88); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lightbox figcaption { font-size: .92rem; opacity: .8; }
.lightbox .lb-close { position: fixed; top: 16px; right: 16px; }
.lightbox .lb-nav { position: fixed; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { right: 16px; }
@media (max-width: 600px) {
  .lightbox { padding: 60px 8px 70px; }
  .lightbox .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 52px); }
  .lightbox .lb-next { right: calc(50% - 52px); }
}

/* Home page: scrolling reviews strip (kept small) */
.home-reviews { padding: 8px 0 72px; }
.hr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.hr-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.hr-head p { color: var(--ink-2); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.hr-head p .rating-display { margin: 0; }
.marquee { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; padding: 4px 0; animation: hr-scroll 40s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes hr-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none !important; }
}
.hr-card { display: flex; flex-direction: column; gap: 6px; width: 280px; flex: none; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 14px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.hr-card:hover { border-color: var(--accent); }
.hr-card .rating-display { margin: 0; }
.hr-card .rating-display svg { width: 14px; height: 14px; }
.hr-card p { color: var(--ink-2); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hr-by { font-weight: 600; font-size: .85rem; margin-top: auto; }
.hr-by em { font-style: normal; font-weight: 500; color: var(--accent); }
.app li strong { font-weight: 700; color: var(--ink); }

/* Home hero: real screenshots */
.stack .shot-link { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.stack .shot-link img.shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left;
  border: 0; border-radius: 0; }
.stack .shot-link img.shot.dark { background: #1b2533; }
.stack .shot-link:hover { z-index: 2; box-shadow: 0 1px 2px rgba(27,33,48,.08), 0 24px 48px -14px rgba(27,33,48,.4); }
.stack .window.w1 { top: 10px; }
.stack .window.w2 { bottom: 10px; }

/* FAQ link under pricing (product pages) */
.faq-link-section { padding: 0 0 72px; margin-top: -48px; }
.faq-link { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease; }
.faq-link:hover { border-color: var(--accent); transform: translateY(-1px); }
.fl-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); }
.fl-ic svg { width: 22px; height: 22px; }
.fl-text { flex: 1; color: var(--ink-2); }
.fl-text strong { color: var(--ink); margin-right: 4px; }
.fl-go { flex: none; font-weight: 600; color: var(--accent); white-space: nowrap; }
.fl-go span { display: inline-block; transition: transform .15s ease; }
.faq-link:hover .fl-go span { transform: translateX(3px); }
@media (max-width: 600px) {
  .faq-link { flex-wrap: wrap; }
  .fl-text { flex-basis: calc(100% - 58px); }
  .fl-go { margin-left: 58px; }
}
.faq-link-section + .section { padding-top: 24px; }

/* Footnotes (Plaid free tier) */
sup { font-size: .7em; line-height: 0; color: var(--accent); font-weight: 700; }
.footnote { font-size: .85rem; color: var(--ink-2); margin-top: 18px; }
details .footnote { margin-top: 8px; }
.feature p.feature-note { margin-top: 8px; font-size: .9rem; }

/* ---------- HomeHQ ---------- */
/* Hero illustration: "This week" list */
.hq-mock { display: grid; gap: 8px; }
.hq-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; }
.hq-tag { font-size: .7rem; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 99px; }
.hq-tag.people { background: var(--ember-soft); color: var(--ember); }
.hq-tag.home { background: var(--cobalt-soft); color: var(--cobalt); }
.hq-tag.family { background: var(--moss-soft); color: var(--moss); }
.hq-tag.it { background: var(--paper-2); color: var(--ink-2); }
.hq-what { font-weight: 600; color: var(--ink); }
.hq-meta { color: var(--ink-2); font-size: .78rem; font-variant-numeric: tabular-nums; }

/* Four areas */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.area-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: 20px; padding: 26px 28px; }
.area-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.area-top .ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); }
.area-top .ic svg { width: 23px; height: 23px; }
.area-top h3 { font-size: 1.4rem; margin-bottom: 2px; }
.area-top p { color: var(--ink-2); }
.area-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.area-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .98rem; line-height: 1.45; }
.area-card li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.area-note { margin-top: 14px; font-size: .9rem; color: var(--ink-2); }

.features.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } .features.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features.four { grid-template-columns: 1fr; } .area-card { padding: 22px; } .hq-meta { display: none; } }

/* Home page: three app cards */
.apps.three { display: flex; flex-wrap: wrap; justify-content: center; }
.apps.three .app { flex: 0 1 calc((100% - 48px) / 3); padding: 30px; }
.apps.three .app h3 { font-size: clamp(2.2rem, 3.6vw, 2.9rem); }
@media (max-width: 1060px) { .apps.three .app { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 700px) { .apps.three .app { flex-basis: 100%; } }
@media (max-width: 420px) {
  .nav { gap: 10px; }
  .logo { font-size: 1.08rem; gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .nav-links .btn.small { padding: 8px 16px; }
  .btn-app { display: none; }
}
@media (max-width: 600px) {
  .nav-links a.hide-sm { display: none; }
  .nav:has(.nav-center) { height: auto; padding: 12px 0; flex-wrap: wrap; justify-content: center; gap: 4px; }
  .nav-center { width: 100%; justify-content: center; }
}
@media (max-width: 600px) { .nav { height: auto; min-height: 68px; padding: 10px 0; flex-wrap: wrap; } }
.hero h1.h1-long { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }

/* Home: "the whole picture" band (3 steps under a heading) */
.picture-band { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); border-radius: 28px; padding: 44px; }
.picture-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -220px;
  border-radius: 50%; background: var(--cobalt); opacity: .45; filter: blur(70px); pointer-events: none; }
.picture-band::before { content: ""; position: absolute; width: 380px; height: 380px; left: -160px; bottom: -220px;
  border-radius: 50%; background: var(--moss); opacity: .4; filter: blur(70px); pointer-events: none; }
.picture-band > * { position: relative; z-index: 1; }
.picture-band .eyebrow { display: block; font-weight: 600; font-size: .9rem; opacity: .7; margin-bottom: 10px; }
.picture-band h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 20em; }
.picture-band .lead { opacity: .78; margin-top: 14px; max-width: 46em; font-size: 1.08rem; }
.picture-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.picture-step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-family: var(--display); font-weight: 700; margin-bottom: 14px;
  background: color-mix(in srgb, var(--paper) 12%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); }
.picture-step h3 { margin-bottom: 8px; }
.picture-step p { opacity: .75; }
.picture-step p + p { margin-top: 10px; }
.picture-band .example { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: .92rem;
  background: color-mix(in srgb, var(--paper) 8%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); }
.picture-band .example b { display: block; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
@media (max-width: 900px) { .picture-steps { grid-template-columns: 1fr; gap: 26px; } .picture-band { padding: 30px; } }

/* Home: suggestions box (compact) */
.suggest-section { padding-top: 0; }
.suggest-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; padding: 22px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.suggest-head h2 { font-size: 1.3rem; margin-bottom: 6px; }
.suggest-head p { color: var(--ink-2); font-size: .93rem; }
.suggest-form { display: grid; gap: 8px; }
.suggest-row { display: flex; gap: 8px; align-items: stretch; }
.suggest-form select, .suggest-form input, .suggest-form textarea { font: inherit; font-size: .93rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 11px; flex: 1; min-width: 0; }
.suggest-form textarea { resize: vertical; min-height: 44px; }
.suggest-form select:focus, .suggest-form input:focus, .suggest-form textarea:focus { outline: none; border-color: var(--cobalt); }
.suggest-form .btn { flex: none; cursor: pointer; align-self: flex-end; }
.suggest-form .form-status { min-height: 0; font-size: .85rem; }
@media (max-width: 800px) { .suggest-card { grid-template-columns: 1fr; gap: 14px; padding: 20px; } }
@media (max-width: 480px) { .suggest-row { flex-direction: column; } .suggest-form .btn { align-self: flex-start; } }

/* Keep anchored sections clear of the sticky header */
section[id] { scroll-margin-top: 84px; }
.connect-section { margin-top: -56px; padding-bottom: 88px; }
.connect-section + .section { padding-top: 0; }
.btn .btn-app { margin-left: -4px; }

/* Home hero: three overlapping app screenshots */
.stack.three { height: 540px; }
.stack.three .window.w1 { top: 0; right: 0; left: auto; bottom: auto; width: 76%; transform: rotate(2deg); z-index: 1; }
.stack.three .window.w2 { top: 150px; left: 0; right: auto; bottom: auto; width: 68%; transform: rotate(-2.5deg); z-index: 2; }
.stack.three .window.w3 { bottom: 0; right: 4%; left: auto; top: auto; width: 64%; transform: rotate(1.5deg); z-index: 3; }
.stack.three .shot-link:hover { z-index: 4; }
@media (max-width: 900px) { .stack.three { height: 460px; } }
@media (max-width: 600px) { .stack.three { height: 380px; } .stack.three .window.w1 { width: 84%; } .stack.three .window.w2 { top: 110px; width: 76%; } .stack.three .window.w3 { width: 72%; right: 0; } }

/* Home hero: three windows trade places every few seconds (site.js adds the slot classes) */
.stack.three .window.slot-back,
.stack.three .window.slot-mid,
.stack.three .window.slot-front { right: auto; bottom: auto;
  transition: top .9s cubic-bezier(.2,.8,.2,1), left .9s cubic-bezier(.2,.8,.2,1), width .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.stack.three .window.slot-back  { top: 0;     left: 24%; width: 76%; transform: translateY(0) rotate(2deg);       z-index: 1; }
.stack.three .window.slot-mid   { top: 150px; left: 0;   width: 68%; transform: translateY(0) rotate(-2.5deg);    z-index: 2; }
.stack.three .window.slot-front { top: 100%;  left: 32%; width: 64%; transform: translateY(-100%) rotate(1.5deg); z-index: 3; }
.stack.three .window.slot-back:hover, .stack.three .window.slot-mid:hover { z-index: 4; }
@media (max-width: 600px) {
  .stack.three .window.slot-back  { left: 16%; width: 84%; }
  .stack.three .window.slot-mid   { top: 110px; width: 76%; }
  .stack.three .window.slot-front { left: 28%; width: 72%; }
}
@media (prefers-reduced-motion: reduce) { .stack.three .window { transition: none !important; } }

/* Home: Better together (apps that connect) */
.together-section { padding-top: 0; }
.together { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 44px; }
.together-copy h2 { margin-top: 10px; }
.together-copy p { color: var(--ink-2); margin-top: 14px; font-size: 1.08rem; }
.together-copy .together-note { font-size: .98rem; }
.together-links { display: grid; gap: 16px; }
.tlink { border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.tlink h3 { font-size: 1.1rem; margin-top: 14px; }
.tlink p { color: var(--ink-2); margin-top: 6px; font-size: .98rem; }
.tlink-path { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tchip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .9rem; }
.tchip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.tarrow { color: var(--ink-2); font-weight: 700; }
@media (max-width: 900px) { .together { grid-template-columns: 1fr; gap: 28px; padding: 32px; } }
@media (max-width: 600px) { .together { padding: 24px 20px; border-radius: 20px; } }
/* Better together: one card, connections cross-fade */
.together .tlink { padding: 26px 28px 20px; }
.tlink-slides { display: grid; }
.tlink-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.tlink-slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.tlink-dots { display: flex; gap: 8px; margin-top: 18px; }
.tlink-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s ease, background .3s ease; }
.tlink-dots button.is-on { width: 22px; background: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .tlink-slide { transition: none; transform: none; } }
.steps h3 a.step-link { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color .2s; }
.steps h3 a.step-link:hover { text-decoration-color: currentColor; }

/* Home app cards: whole card opens the app page; See + Buy buttons sit on top */
.app .app-link { color: inherit; text-decoration: none; }
.app .app-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; }
.app .foot-btns { position: relative; z-index: 1; display: flex; gap: 8px; flex-wrap: wrap; }
.app .foot-btns .btn { padding: 10px 18px; }
.app .foot-btns .btn.ghost { background: var(--surface); }

/* Bundle strip under the app cards */
.bundle { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px 30px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.bundle[hidden] { display: none; }
.bundle-tag { display: inline-block; font-weight: 700; font-size: .85rem; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.bundle h3 { font-size: 1.6rem; margin-top: 10px; }
.bundle p { color: var(--ink-2); margin-top: 6px; max-width: 36em; }
.bundle-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bundle .price { font-family: var(--display); font-size: 1.6rem; font-weight: 700; }
.bundle .price small { font-family: var(--text); font-size: .85rem; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.bundle .price s { font-family: var(--text); font-size: 1rem; font-weight: 500; color: var(--ink-2); margin-left: 8px; }

/* 404 page */
.notfound { padding: 96px 0 120px; text-align: center; }
.notfound .nf-code { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .1em; color: var(--ink-2); }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 8px; }
.notfound .nf-lede { color: var(--ink-2); margin: 14px auto 36px; max-width: 32em; font-size: 1.1rem; }
.nf-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.nf-card { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; min-width: 200px;
  padding: 16px 20px; border-radius: 18px; background: var(--accent-soft); color: var(--ink); text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); transition: transform .2s ease; }
.nf-card:hover { transform: translateY(-2px); }
.nf-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); grid-row: span 2; }
.nf-card b { font-family: var(--display); font-size: 1.25rem; }
.nf-card span:last-child { color: var(--ink-2); font-size: .9rem; }
/* Bundle strip: compact */
.bundle { margin-top: 20px; padding: 18px 24px; gap: 16px 24px; border-radius: 20px; }
.bundle-tag { font-size: .78rem; padding: 3px 9px; }
.bundle h3 { font-size: 1.3rem; margin-top: 6px; }
.bundle p { font-size: .95rem; margin-top: 4px; }
.bundle .price { font-size: 1.35rem; }
.bundle .bundle-buy { gap: 14px; }
.bundle .btn { padding: 10px 18px; }

/* Buy buttons waiting on a checkout link */
.btn.is-soon { background: var(--accent-soft); color: var(--accent); border-color: transparent; cursor: default; box-shadow: none; }
.btn.is-soon:hover { transform: none; box-shadow: none; }

/* Earshot hero illustration (not a screenshot) */
.ear-visual { position: relative; padding: 18px 6px; }
.ear-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 22px 18px; transform: rotate(-1.2deg); }
@media (prefers-reduced-motion: no-preference) { .ear-card { animation: settle .9s cubic-bezier(.2,.8,.2,1) both; } }
.ear-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ear-title { display: block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.ear-meta { display: block; color: var(--ink-2); font-size: .88rem; }
.ear-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.ear-badge svg { width: 14px; height: 14px; }
.ear-wave { display: flex; align-items: center; gap: 3px; height: 46px; margin: 18px 0 14px; }
.ear-wave i { flex: 1; border-radius: 3px; background: var(--accent); opacity: .35; height: 30%; }
.ear-wave i:nth-child(3n) { height: 70%; } .ear-wave i:nth-child(4n) { height: 50%; } .ear-wave i:nth-child(5n) { height: 90%; } .ear-wave i:nth-child(7n) { height: 40%; }
.ear-wave i:nth-child(-n+12) { opacity: .9; }
.ear-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ear-lines li { display: grid; grid-template-columns: auto auto 1fr; column-gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 12px; }
.ear-lines li.is-playing { background: var(--accent-soft); }
.ear-lines .t { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .82rem; }
.ear-lines .who { font-weight: 700; font-size: .9rem; }
.ear-lines .who.s1 { color: var(--cobalt); } .ear-lines .who.s2 { color: var(--accent); } .ear-lines .who.s3 { color: var(--moss); }
.ear-lines p { margin: 0; font-size: .95rem; }
.ear-action { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.ear-action .box { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--accent); flex: none; }
@media (max-width: 600px) { .ear-lines li { grid-template-columns: auto 1fr; } .ear-lines li p { grid-column: 1 / -1; } }

/* Home: four app cards together (4 across, then 2x2, then 1) */
.apps.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.apps.four .app { padding: 24px 22px; border-radius: 22px; }
.apps.four .app h3 { font-size: clamp(1.9rem, 2.6vw, 2.3rem); margin-bottom: 10px; }
.apps.four .app p { font-size: .98rem; margin-bottom: 18px; }
.apps.four .app ul { gap: 8px; margin-bottom: 24px; font-size: .95rem; }
.apps.four .app li svg { width: 18px; height: 18px; }
.apps.four .app .foot-row { flex-direction: column; align-items: flex-start; gap: 12px; }
.apps.four .app .foot-btns .btn { padding: 9px 16px; font-size: .95rem; }
@media (max-width: 1080px) { .apps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .apps.four .app { padding: 28px; } }
@media (max-width: 640px) { .apps.four { grid-template-columns: 1fr; } }

/* Four app links in the header: tighten on phones, wrap if still too wide */
@media (max-width: 600px) {
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 2px; }
  .nav-links a:not(.btn) { padding: 6px 7px; }
  .nav-links .dot { margin-right: 5px; }
}
@media (max-width: 420px) {
  .nav-links a:not(.btn) { font-size: .95rem; padding: 6px 6px; }
}
.btn.is-soon { border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); }
.phone-band .band-note { grid-column: 1 / -1; margin: -8px 0 0; font-size: .9rem; opacity: .7; font-style: italic; }
.phone-item h3 sup { font-size: .75em; margin-left: 2px; color: inherit; }
.bundle h3 sup { font-size: .6em; margin-left: 2px; color: var(--ink-2); }
.bundle .bundle-note { font-size: .82rem; font-style: italic; margin-top: 4px; }

/* Home hero with four windows (Weekly, MyFi, HomeHQ, Earshot) */
.stack.four .window.w4 { top: auto; bottom: 0; left: 0; right: auto; width: 60%; transform: rotate(-1.5deg); z-index: 4; }
.stack.four .window.slot-mid2 { right: auto; bottom: auto;
  transition: top .9s cubic-bezier(.2,.8,.2,1), left .9s cubic-bezier(.2,.8,.2,1), width .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.stack.four .window.slot-back  { top: 0;     left: 24%; width: 76%; transform: translateY(0) rotate(2deg);       z-index: 1; }
.stack.four .window.slot-mid2  { top: 80px;  left: 0;   width: 68%; transform: translateY(0) rotate(-2.5deg);    z-index: 2; }
.stack.four .window.slot-mid   { top: 170px; left: 32%; width: 66%; transform: translateY(0) rotate(1.5deg);     z-index: 3; }
.stack.four .window.slot-front { top: 100%;  left: 6%;  width: 64%; transform: translateY(-100%) rotate(-1.5deg); z-index: 4; }
.stack.four .window.slot-back:hover, .stack.four .window.slot-mid2:hover, .stack.four .window.slot-mid:hover { z-index: 5; }
@media (max-width: 600px) {
  .stack.four .window.slot-back  { left: 16%; width: 84%; }
  .stack.four .window.slot-mid2  { top: 55px; width: 76%; }
  .stack.four .window.slot-mid   { top: 110px; left: 24%; width: 76%; }
  .stack.four .window.slot-front { left: 0; width: 76%; }
  .stack.four .window.w4 { width: 70%; }
}
.stack.four .window.slot-back, .stack.four .window.slot-mid2, .stack.four .window.slot-mid, .stack.four .window.slot-front { right: auto; bottom: auto; }

/* Earshot: compact "who it's for" strip */
.uses-section { padding: 36px 0 0; }
.uses { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.2fr; align-items: stretch;
  background: var(--accent-soft); border-radius: 20px; padding: 22px 26px; gap: 0; }
.uses-label { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--accent); margin: 0; padding-right: 20px; align-self: center; }
.use { padding: 2px 22px; border-left: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.use h3 { font-size: 1rem; margin: 0 0 4px; }
.use p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
  .uses { grid-template-columns: 1fr; padding: 20px 22px; }
  .uses-label { padding: 0 0 12px; }
  .use { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); padding: 12px 0; }
  .use:last-child { padding-bottom: 0; }
}

/* Earshot: Ask + coding agent combined in one dark band */
.uses-section { padding: 0; margin-top: -40px; }
.phone-band.combo { row-gap: 32px; padding: 48px; }
.phone-band.combo .band-note { margin-top: -12px; }
.combo-agent { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding-top: 36px; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); }
.combo-agent .eyebrow { opacity: .7; }
.combo-agent h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 12px; }
.combo-agent .agent-head p { color: inherit; opacity: .75; }
.combo-agent .agent-prompt { background: color-mix(in srgb, var(--paper) 8%, transparent); border: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); box-shadow: none; color: var(--paper); }
@media (max-width: 900px) { .combo-agent { grid-template-columns: 1fr; gap: 22px; } .phone-band.combo { padding: 30px; } }
.steps h3 a.step-link { color: var(--cobalt); text-decoration-color: color-mix(in srgb, var(--cobalt) 40%, transparent); }
.steps h3 a.step-link:hover { text-decoration-color: var(--cobalt); }

/* HomeHQ: import tip under the IT card */
.area-stack { display: grid; gap: 20px; align-content: start; }
.import-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 18px;
  background: var(--accent-soft); border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.import-card .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--surface); color: var(--accent); }
.import-card .ic svg { width: 20px; height: 20px; }
.import-card h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.import-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* "Check these before you buy" in red so it stands out */
:root { --alert: #c0392b; }
@media (prefers-color-scheme: dark) { :root { --alert: #ff7b6e; } }
.reqs > p { color: var(--alert); font-weight: 600; }
.reqs .req-sub { display: block; margin-top: 8px; padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); font-size: .92rem; font-style: italic; }
.reqs dt sup { font-size: .7em; }

/* Home apps heading with a small coding-agent note beside it */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-head-row .section-head { margin-bottom: 0; }
.head-aside { display: flex; gap: 12px; align-items: flex-start; max-width: 340px; flex: none; padding: 16px 18px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.5;
  transition: border-color .2s ease, transform .2s ease; }
.head-aside:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.head-aside strong { color: var(--ink); }
.head-aside .ha-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--paper-2); color: var(--ink); }
.head-aside .ha-ic svg { width: 18px; height: 18px; }
.head-aside .ha-go { color: var(--cobalt); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .section-head-row { flex-direction: column; align-items: stretch; gap: 20px; } .head-aside { max-width: none; } }
/* Tilted, sticker-style coding-agent note */
.head-aside { transform: rotate(-3deg); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--cobalt) 35%, var(--line)); }
.head-aside:hover { transform: rotate(-1.5deg) translateY(-2px); }
@media (max-width: 900px) { .head-aside { transform: rotate(-1.5deg); margin: 0 6px; } .head-aside:hover { transform: rotate(-.5deg); } }
@media (prefers-reduced-motion: reduce) { .head-aside:hover { transform: rotate(-3deg); } }

/* Customize guide page */
.legal.guide { max-width: 980px; }
.guide .guide-lede { font-size: 1.12rem; margin-top: 14px; }
.guide .guide-lede strong { color: var(--ink); }
.guide ul, .guide ol { color: var(--ink-2); line-height: 1.7; padding-left: 22px; }
.guide li { margin: 6px 0; }
.guide li strong { color: var(--ink); }
.guide code { font-size: .92em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.guide-before { margin-top: 32px; padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.guide-before h2 { margin-top: 0; }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.guide-card { padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--cobalt); }
.guide-card + .guide-card { border-top-color: var(--moss); }
.guide-card h2 { margin: 8px 0 4px; font-size: 1.5rem; }
.guide-tag { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.guide .guide-sub { font-size: .95rem; margin-bottom: 8px; }
.guide-tips { margin-top: 4px; }
.guide .guide-note { margin-top: 32px; font-size: .92rem; font-style: italic; }
@media (max-width: 800px) { .guide-grid { grid-template-columns: 1fr; } }

/* About page */
.legal.about { max-width: 780px; }
.about-eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 8px; }
.about .about-lede { font-size: 1.2rem; color: var(--ink); margin-top: 14px; }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 32px 0 8px; }
.about-principles div { padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.about-principles strong { font-family: var(--display); font-size: 1.05rem; }
.about-principles span { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.about-apps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.about-apps a { display: grid; grid-template-columns: auto auto 1fr; column-gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 14px;
  background: var(--accent-soft); color: var(--ink); text-decoration: none; border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); transition: transform .2s ease; }
.about-apps a:hover { transform: translateY(-1px); }
.about-apps .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); align-self: center; }
.about-apps b { font-family: var(--display); font-size: 1.1rem; }
.about-apps span:last-child { color: var(--ink-2); font-size: .95rem; }
.about-idea { margin-top: 40px; padding: 28px; border-radius: 22px; background: var(--ink); color: var(--paper); }
.about-idea h2 { margin-top: 0; color: var(--paper); }
.about .about-idea p { color: inherit; opacity: .8; }
.about-idea-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.about-idea .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.about-idea .btn.ghost { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 35%, transparent); }
@media (max-width: 700px) { .about-principles { grid-template-columns: 1fr; } .about-apps a { grid-template-columns: auto 1fr; } .about-apps span:last-child { grid-column: 2; } }
/* Home header: hide How it works / FAQ / About before they collide with the centered app links */
@media (max-width: 1080px) { .nav-center + .nav-links { display: none; } }
