/* Design tokens are linked directly in the page <head> (parallel load), not
   @imported here — keeping that the single place CSS requests are declared. */

/* ============================================================
   Tiiiime — marketing homepage
   A light, native-macOS page. The product shows up as dark
   "Liquid Glass" surfaces recreated live in HTML.
   ============================================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--label);
  background: var(--page-bg, #ffffff);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent-tint-strong); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---- Display type --------------------------------------- */
.display {
  font-family: var(--font-rounded);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--label);
  text-wrap: balance;
  margin: 0;
}
.display .accent-i { color: var(--accent); }

.lead {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--label-secondary);
  font-weight: 450;
  text-wrap: pretty;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

/* ---- Layout --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}
section { position: relative; }
.band-gray { background: #f5f5f7; }
.band-ink {
  background:
    radial-gradient(120% 90% at 50% -10%, #0c2f63 0%, #06183a 45%, #02060f 100%);
  color: #fff;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: var(--border-hairline) solid var(--separator);
}
.nav-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { height: 22px; display: block; }
.nav-logo path { fill: var(--label); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--label-secondary);
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav-links a:hover { color: var(--label); }
.nav-right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-weight: 600;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition: background var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.btn:active { transform: translateY(0.5px) scale(0.99); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  padding: 12px 22px;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 28px rgba(0, 122, 255, 0.32);
}
.btn-sm { font-size: 14px; padding: 9px 16px; }
.btn-lg { font-size: 17px; padding: 15px 28px; }
.btn-secondary {
  background: var(--fill);
  color: var(--label);
  font-size: 15px;
  padding: 12px 22px;
  border: var(--border-hairline) solid var(--separator);
}
.btn-secondary:hover { background: var(--fill-secondary); }
.btn .apple { width: 17px; height: 17px; margin-top: -2px; }
.btn-lg .apple { width: 19px; height: 19px; }

.cta-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-note {
  font-size: 13px;
  color: var(--label-tertiary);
  font-weight: 500;
}
.cta-note b { color: var(--label-secondary); font-weight: 600; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 76px 0 40px; overflow: hidden; }
.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero[data-layout="split"] .hero-grid {
  grid-template-columns: 1.05fr 1fr;
}
.hero[data-layout="centered"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  gap: 44px;
}
.hero[data-layout="centered"] .hero-copy { max-width: 760px; }
.hero[data-layout="centered"] .cta-stack { align-items: center; }
.hero[data-layout="centered"] .cta-note { text-align: center; }
.hero-copy .display { font-size: clamp(48px, 7vw, 86px); }
.hero-copy .lead { margin-top: 24px; max-width: 30em; }
.hero[data-layout="centered"] .hero-copy .lead { margin-inline: auto; }
.hero-cta { margin-top: 34px; }

/* ink variant */
.hero.is-ink { color: #fff; }
.hero.is-ink .lead { color: rgba(255,255,255,0.62); }
.hero.is-ink .cta-note { color: rgba(255,255,255,0.5); }
.hero.is-ink .cta-note b { color: rgba(255,255,255,0.78); }
.hero.is-ink .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}
.hero.is-ink .btn-secondary:hover { background: rgba(255,255,255,0.16); }

@media (max-width: 860px) {
  .hero[data-layout="split"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero[data-layout="split"] .cta-stack { align-items: center; }
  .hero[data-layout="split"] .hero-copy .lead { margin-inline: auto; }
}

/* ---- macOS menu-bar strip (hero) ------------------------ */
.menubar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 28px;
  padding: 0 14px;
  border-radius: 9px 9px 0 0;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  color: rgba(255,255,255,0.9);
}
.menubar .mb-left { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.menubar .mb-right { margin-left: auto; display: flex; align-items: center; gap: 14px; opacity: 0.85; }
.menubar .mb-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.22);
  padding: 3px 9px; border-radius: var(--radius-pill);
  font-variant-numeric: tabular-nums; font-weight: 600;
}
.menubar .dot-run { width: 7px; height: 7px; border-radius: 50%; background: var(--sys-green); }

/* ============================================================
   Generic feature section
   ============================================================ */
.feature {
  padding: 110px 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature.reverse .feature-grid .feature-copy { order: 2; }
.feature.reverse .feature-grid .feature-art { order: 1; }
.feature-copy .display { font-size: clamp(34px, 4vw, 52px); }
.feature-copy .lead { margin-top: 20px; max-width: 26em; }
.feature-eyebrow-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.feature-bullets {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.feature-bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; color: var(--label-secondary); line-height: 1.45;
}
.feature-bullets svg { flex: none; margin-top: 2px; color: var(--accent); }
.feature-bullets b { color: var(--label); font-weight: 600; }

@media (max-width: 900px) {
  .feature { padding: 76px 0; }
  .feature-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature.reverse .feature-grid .feature-copy { order: 0; }
  .feature.reverse .feature-grid .feature-art { order: 0; }
}

/* integration chip */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fill); border: var(--border-hairline) solid var(--separator);
  padding: 7px 13px 7px 9px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--label);
}
.chip svg, .chip img { width: 17px; height: 17px; }
.chip-row { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

/* ============================================================
   DARK PRODUCT SURFACES (recreated app UI)
   ============================================================ */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--border-hairline) solid var(--glass-stroke);
  border-radius: var(--radius-16);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
/* art frame floats the product over a soft ink pad */
.art-pad {
  position: relative;
  border-radius: var(--radius-16);
  padding: 30px;
  background:
    radial-gradient(120% 120% at 30% 0%, #0c2f63 0%, #071a3e 55%, #03102a 100%);
  box-shadow: var(--shadow-panel);
  isolation: isolate;
}
.art-pad.soft { padding: 38px; }

/* generic dark popover/list used by menu-bar, quickstart, linear */
.pop {
  background: rgba(22, 26, 34, 0.92);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: var(--border-hairline) solid rgba(255,255,255,0.1);
  border-radius: var(--radius-16);
  box-shadow: var(--shadow-panel);
  color: rgba(255,255,255,0.92);
  overflow: hidden;
}
.pop-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px;
  font-size: 14px;
  cursor: default;
}
.pop-row .grow { flex: 1; min-width: 0; }
.pop-row .muted { color: rgba(255,255,255,0.45); }
.pop-row .kbd { color: rgba(255,255,255,0.4); font-size: 12px; }
.pop-row.sel { background: var(--accent); }
.pop-row.sel .muted { color: rgba(255,255,255,0.75); }
.pop-row.hl { background: rgba(255,255,255,0.06); }
.pop-row .ico { width: 18px; height: 18px; opacity: 0.6; flex: none; }
.pop-row .title { color: #fff; }
.pop-row .sub { font-size: 12px; color: rgba(255,255,255,0.4); }
.pop-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  font-weight: 600; font-size: 14px;
}
.pop-sep { height: var(--border-hairline); background: rgba(255,255,255,0.1); margin: 5px 0; }
.pop-section {
  padding: 8px 14px 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}

/* search field inside quickstart */
.qs-search {
  display: flex; align-items: center; gap: 11px;
  padding: 15px 16px;
  font-size: 17px; color: rgba(255,255,255,0.45);
  border-bottom: var(--border-hairline) solid rgba(255,255,255,0.08);
}
.qs-search .proj-pill {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.qs-foot {
  display: flex; align-items: center; gap: 18px;
  padding: 11px 16px;
  font-size: 12px; color: rgba(255,255,255,0.4);
  border-top: var(--border-hairline) solid rgba(255,255,255,0.08);
}
.qs-foot .right { margin-left: auto; color: var(--accent); font-weight: 600; }

.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

/* now-tracking bar */
.track-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-12);
  background: rgba(22,26,34,0.92);
  border: var(--border-hairline) solid rgba(10,132,255,0.5);
  box-shadow: 0 0 0 3px rgba(10,132,255,0.12), var(--shadow-panel);
  color: #fff;
}
.track-bar .tb-title { font-weight: 700; font-size: 17px; }
.track-bar .tb-proj { margin-left: auto; color: rgba(255,255,255,0.45); font-size: 14px; }
.track-bar .tb-time {
  font-family: var(--font-rounded); font-weight: 700; font-size: 24px;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.stop-btn {
  width: 34px; height: 34px; border-radius: 9px; border: none;
  background: var(--sys-red); cursor: pointer; display: grid; place-items: center;
}
.stop-btn .sq { width: 12px; height: 12px; border-radius: 3px; background: #fff; }

/* ============================================================
   AI chat window (light macOS window)
   ============================================================ */
.win {
  background: #fff;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
  border: var(--border-hairline) solid rgba(0,0,0,0.08);
  text-align: left;
  color: var(--label);
}
.win-bar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border-bottom: var(--border-hairline) solid var(--separator);
  background: #fbfbfd;
}
.win-bar .lights { display: flex; gap: 7px; }
.win-bar .lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.win-bar .title { font-size: 13px; font-weight: 500; color: var(--label-secondary); margin-left: 8px; }
.win-body { padding: 22px; }
.bubble-user {
  margin-left: auto; max-width: 78%;
  background: var(--fill-secondary); color: var(--label);
  padding: 11px 15px; border-radius: 16px; font-size: 15px;
  width: fit-content;
}
.ai-line { font-size: 15px; color: var(--label-secondary); margin: 16px 0 14px; }
.ai-tools { font-size: 13px; color: var(--label-tertiary); margin-bottom: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 4px 0 20px; }
.mini-stat {
  border: var(--border-hairline) solid var(--separator);
  border-radius: var(--radius-10); padding: 11px 13px;
}
.mini-stat .k { font-size: 11px; color: var(--label-tertiary); margin-bottom: 5px; }
.mini-stat .v { font-size: 16px; font-weight: 600; }
.chart { display: flex; align-items: flex-end; gap: 18px; height: 150px; padding: 0 6px; }
.chart .bar { flex: 1; border-radius: 6px 6px 0 0; position: relative; }
.chart .bar span {
  position: absolute; bottom: -22px; left: 0; right: 0; text-align: center;
  font-size: 11px; color: var(--label-tertiary); white-space: nowrap;
}
.win-input {
  display: flex; align-items: center; gap: 10px;
  margin-top: 30px; padding: 13px 16px;
  border: var(--border-hairline) solid var(--separator); border-radius: var(--radius-12);
  color: var(--label-tertiary); font-size: 15px;
}
.win-input .send { margin-left: auto; font-size: 13px; color: var(--label-tertiary); }

/* ============================================================
   STATS window (dark)
   ============================================================ */
.stats-win {
  background: #1c1c1e;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-panel);
  border: var(--border-hairline) solid rgba(255,255,255,0.08);
  overflow: hidden;
  color: rgba(255,255,255,0.92);
  text-align: left;
}
.stats-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px 14px;
}
.stats-head .h { font-size: 17px; font-weight: 700; }
.stats-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08); border-radius: var(--radius-8);
  padding: 6px 11px; font-size: 13px; color: rgba(255,255,255,0.8);
}
.stats-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 20px 18px; }
.stats-card {
  background: rgba(255,255,255,0.05); border-radius: var(--radius-10); padding: 14px 16px;
}
.stats-card .k { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.stats-card .v {
  font-family: var(--font-rounded); font-weight: 700; font-size: 30px;
  font-variant-numeric: tabular-nums; margin-top: 6px;
}
.stats-card .v.earn { color: var(--sys-green); }
.stats-list { border-top: var(--border-hairline) solid rgba(255,255,255,0.08); }
.stats-list-head {
  display: grid; grid-template-columns: 1.6fr 1.3fr 0.7fr 0.8fr; gap: 12px;
  padding: 12px 20px; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.stats-row {
  display: grid; grid-template-columns: 1.6fr 1.3fr 0.7fr 0.8fr; gap: 12px; align-items: center;
  padding: 13px 20px; border-top: var(--border-hairline) solid rgba(255,255,255,0.05);
  font-size: 14px;
}
.stats-row .proj { font-weight: 600; }
.stats-row .ses { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }
.stats-row .hrs { font-weight: 700; }
.stats-row .amt { text-align: right; color: rgba(255,255,255,0.7); }
.budget { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.bar-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.1); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 110px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .display { font-size: clamp(32px, 4vw, 48px); }
.section-head .lead { margin: 18px auto 0; }

.seg {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--fill); border-radius: var(--radius-pill);
  margin: 22px auto 0;
}
.seg button {
  border: none; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--label-secondary);
  padding: 8px 18px; border-radius: var(--radius-pill);
  transition: all var(--dur-base) var(--ease-standard);
}
.seg button.on { background: #fff; color: var(--label); box-shadow: var(--shadow-card); }
.seg .save { color: var(--sys-green); font-size: 12px; margin-left: 6px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; max-width: 780px; margin: 0 auto; }
.plan {
  background: #fff; border: var(--border-hairline) solid var(--separator);
  border-radius: var(--radius-16); padding: 34px 32px;
  display: flex; flex-direction: column;
}
.plan.feat { border: 1.5px solid var(--accent); box-shadow: 0 18px 50px rgba(0,122,255,0.14); }
.plan .pname { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.plan .pbadge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent); background: var(--accent-tint); padding: 4px 9px; border-radius: var(--radius-pill);
}
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.plan .price .amt { font-family: var(--font-rounded); font-weight: 800; font-size: 52px; letter-spacing: -0.03em; }
.plan .price .per { font-size: 15px; color: var(--label-secondary); font-weight: 500; }
.plan .pnote { font-size: 14px; color: var(--label-secondary); min-height: 20px; }
.plan ul { list-style: none; margin: 24px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--label-secondary); }
.plan li svg { flex: none; color: var(--accent); margin-top: 2px; }
.plan .btn { width: 100%; margin-top: auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 110px 0; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: var(--border-hairline) solid var(--separator); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 24px 4px; font-size: 18px; font-weight: 600; color: var(--label);
}
.faq-q .plus { margin-left: auto; flex: none; transition: transform var(--dur-base) var(--ease-standard); color: var(--label-tertiary); }
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-standard);
}
.faq-a-inner { padding: 0 4px 24px; font-size: 16px; line-height: 1.6; color: var(--label-secondary); max-width: 64ch; }

/* ============================================================
   CLOSING CTA + FOOTER
   ============================================================ */
.closer { padding: 120px 0; text-align: center; }
.closer .display { font-size: clamp(40px, 6vw, 76px); color: #fff; }
.closer .lead { color: rgba(255,255,255,0.62); margin: 22px auto 0; max-width: 30em; }
.closer .hero-cta { margin-top: 36px; display: flex; justify-content: center; }
.closer .app-icon { width: 76px; height: 76px; border-radius: 18px; margin: 0 auto 28px; display: block; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

.footer { background: #0a0a0c; color: rgba(255,255,255,0.6); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer-logo { height: 22px; }
.footer-logo path { fill: #fff; }
.footer-tag { font-size: 14px; margin-top: 16px; max-width: 26em; line-height: 1.5; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); margin: 0 0 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 10px; transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: var(--border-hairline) solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.4);
}

/* Mac App Store badge button */
.mas-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border: var(--border-hairline) solid rgba(255,255,255,0.22);
  border-radius: 12px; padding: 10px 18px; cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast);
}
.mas-badge:hover { background: #161617; }
.mas-badge .apple { width: 28px; height: 28px; }
.mas-badge .mas-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.mas-badge .mas-txt small { font-size: 11px; opacity: 0.8; }
.mas-badge .mas-txt b { font-size: 18px; font-weight: 600; letter-spacing: 0.01em; }

/* ============================================================
   MEDIA FRAMES — real product footage / screenshots
   The captures already include the macOS wallpaper, so we just
   float them in a rounded, shadowed frame.
   ============================================================ */
.media-frame {
  position: relative;
  border-radius: var(--radius-16);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  border: var(--border-hairline) solid rgba(255, 255, 255, 0.5);
  line-height: 0;
  background: #06183a;
  width: 100%;
  transform: translateZ(0);
}
.media-frame video,
.media-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Claude integration — user supplies the real screenshot */
.claude-slot {
  position: relative;
  aspect-ratio: 16 / 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  border-radius: var(--radius-16);
  border: 1.5px dashed var(--separator);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(217, 119, 87, 0.08), transparent 60%),
    var(--fill-quaternary);
  color: var(--label-tertiary);
  padding: 32px;
}
.claude-slot .cs-mark {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow-card);
}
.claude-slot .cs-title { font-size: 15px; font-weight: 600; color: var(--label-secondary); }
.claude-slot .cs-note { font-size: 13px; color: var(--label-tertiary); max-width: 30ch; line-height: 1.5; }

/* Billing toolkit sub-grid */
.bill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.bill-card {
  background: #fff;
  border: var(--border-hairline) solid var(--separator);
  border-radius: var(--radius-16);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.bill-card .bc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; line-height: 0; border-bottom: var(--border-hairline) solid var(--separator); background: #06183a; }
.bill-card .bc-media video, .bill-card .bc-media img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.bill-card .bc-body { padding: 20px 22px 24px; }
.bill-card .bc-title { font-size: 17px; font-weight: 700; color: var(--label); }
.bill-card .bc-desc { font-size: 14px; color: var(--label-secondary); line-height: 1.5; margin-top: 7px; }
@media (max-width: 900px) { .bill-grid { grid-template-columns: 1fr; } }

/* video tiles inside the Mac bento */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr; } }

/* bare transparent screenshots (window-ai, window-stats) — baked shadow */
.img-bare { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 50px rgba(0, 30, 80, 0.18)); }

/* ============================================================
   HERO QUICKVIEW — real QuickStart UI, gray glass on white
   ============================================================ */
.qv-wrap { width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; --label-tertiary: rgba(255, 255, 255, 0.5); }
.qv-card {
  background: rgba(30, 32, 38, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
  border: var(--border-hairline) solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-16);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.qv-track { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.qv-codeico { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, 0.12); display: grid; place-items: center; color: #fff; flex: none; }
.qv-title { font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-subt { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); margin-top: 2px; }
.qv-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.qv-stop { width: 30px; height: 30px; border-radius: 8px; border: none; cursor: pointer; background: rgba(255, 69, 58, 0.22); display: grid; place-items: center; transition: filter var(--dur-fast); }
.qv-stop:hover { filter: brightness(1.12); }
.qv-stop .sq { width: 11px; height: 11px; border-radius: 3px; background: var(--sys-red); }
.qv-search { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: var(--border-hairline) solid rgba(255, 255, 255, 0.12); }
.qv-search .ph { flex: 1; font-size: 16px; color: rgba(255, 255, 255, 0.55); display: flex; align-items: center; }
.qv-caret { width: 2px; height: 19px; background: #3b9bff; margin-right: 2px; border-radius: 1px; animation: qv-blink 1.1s steps(1) infinite; }
@keyframes qv-blink { 50% { opacity: 0; } }
.qv-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(0, 0, 0, 0.28); border-radius: var(--radius-pill); padding: 5px 11px; font-size: 13px; font-weight: 600; color: #fff; flex: none; }
.qv-list { padding: 6px; }
.qv-foot { display: flex; align-items: center; gap: 16px; padding: 11px 14px; border-top: var(--border-hairline) solid rgba(255, 255, 255, 0.12); flex-wrap: wrap; }
.qv-hint { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.qv-kbd { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }

/* ============================================================
   VIDEO THUMBS — pressable, open lightbox
   ============================================================ */
.video-thumb { cursor: pointer; }
.video-thumb .play-badge {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(20, 23, 29, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff; opacity: 0.92; transform: scale(1); z-index: 3;
  transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
  pointer-events: none;
}
.video-thumb:hover .play-badge { opacity: 1; transform: scale(1.06); background: rgba(20, 23, 29, 0.68); }
.bill-card .video-thumb .play-badge { width: 48px; height: 48px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; padding: 5vh 4vw;
  background: rgba(6, 12, 24, 0.78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: lb-in var(--dur-base) var(--ease-standard);
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; max-width: min(1040px, 92vw); max-height: 90vh; border-radius: var(--radius-16); overflow: hidden; box-shadow: var(--shadow-panel); line-height: 0; }
.lightbox-inner video { width: min(1040px, 92vw); max-width: 100%; height: auto; display: block; background: #06183a; }
.lightbox-inner img { max-width: min(1040px, 92vw); max-height: 90vh; width: auto; height: auto; display: block; background: #06183a; }
.lightbox-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(20, 23, 29, 0.6); color: #fff; display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background var(--dur-fast);
}
.lightbox-close:hover { background: rgba(20, 23, 29, 0.9); }

/* ============================================================
   SHOWCASE — centered head + large screenshot (AI, Billing)
   ============================================================ */
.showcase { padding: 100px 0; }
.showcase .section-head { margin-bottom: 16px; }
.showcase-media { max-width: 1000px; margin: 0 auto; }
.showcase-media .img-bare { width: 100%; }
.chip-row.center { justify-content: center; }

/* ============================================================
   PRICING — one wide card, monthly/annual switch
   ============================================================ */
.pricing-card {
  max-width: 880px; margin: 0 auto;
  background: #fff; border: var(--border-hairline) solid var(--separator);
  border-radius: var(--radius-16); box-shadow: 0 18px 50px rgba(0, 30, 80, 0.10);
  padding: 44px 48px;
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 44px; align-items: center;
}
.pc-divider { background: var(--separator); align-self: stretch; }
.pc-left { text-align: left; }
.pc-toggle { display: flex; justify-content: flex-start; }
.pc-price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; }
.pc-price .amt { font-family: var(--font-rounded); font-weight: 800; font-size: 68px; letter-spacing: -0.03em; color: var(--label); font-variant-numeric: tabular-nums; line-height: 1; }
.pc-price .per { font-size: 18px; color: var(--label-secondary); font-weight: 500; }
.pc-note { font-size: 15px; color: var(--label-secondary); margin-top: 10px; min-height: 22px; }
.pc-cta { margin-top: 26px; }
.pc-sub { font-size: 13px; color: var(--label-tertiary); margin-top: 16px; }
.pc-feats {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 15px; text-align: left;
}
.pc-feats li { display: flex; gap: 11px; font-size: 15.5px; color: var(--label-secondary); line-height: 1.4; }
.pc-feats li svg { flex: none; margin-top: 1px; }
@media (max-width: 760px) {
  .pricing-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 26px; text-align: center; }
  .pc-divider { display: none; }
  .pc-left { text-align: center; }
  .pc-toggle, .pc-price { justify-content: center; }
}

/* ============================================================
   APP STORE RATING — laurel-framed social proof
   ============================================================ */
.rating { position: relative; width: 250px; height: 135px; margin: 0 auto; display: grid; place-items: center; }
.rating-laurel {
  position: absolute; inset: 0;
  background: var(--label);
  -webkit-mask: url(assets/laurel_wreath.svg) center / contain no-repeat;
  mask: url(assets/laurel_wreath.svg) center / contain no-repeat;
}
.rating-inner { position: relative; text-align: center; z-index: 1; }
.rating-stars { color: #ffb400; font-size: 13px; letter-spacing: 2px; line-height: 1; }
.rating-num { font-family: var(--font-rounded); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--label); font-variant-numeric: tabular-nums; margin-top: 4px; }
.rating-cap { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--label-secondary); margin-top: 5px; }

/* ============================================================
   MADE FOR macOS — bento recreated responsively
   ============================================================ */
.macos-bento {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  grid-template-areas:
    "ai      ai       cloud  mcp"
    "hotkeys insights cloud  mcp"
    "light   auto     budget budget";
}
.mb-tile {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 20px;
  background: linear-gradient(160deg, #121a2e 0%, #0b101d 58%, #060810 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(0, 0, 0, 0.42);
  color: #fff;
  display: flex; flex-direction: column;
}
.mb-tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(78% 86% at 14% 4%, rgba(86, 150, 255, 0.16), transparent 58%);
}
.mb-tile > * { position: relative; z-index: 1; }
.mb-ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.30) inset, 0 0 0 0.5px rgba(255, 255, 255, 0.14);
  color: #fff; margin-bottom: 13px; flex: none;
}
.mb-ico img { width: 42px; height: 42px; border-radius: 12px; }
.t-ai .mb-ico { background: none; box-shadow: none; }
.t-ai .mb-ico img { width: 46px; height: 46px; border-radius: 0; filter: drop-shadow(0 4px 12px rgba(180, 120, 255, 0.45)); }
.mb-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.mb-sub { font-size: 13px; color: rgba(255,255,255,0.56); margin-top: 4px; line-height: 1.38; text-wrap: pretty; }
.t-ai { grid-area: ai; } .t-hotkeys { grid-area: hotkeys; } .t-cloud { grid-area: cloud; }
.t-insights { grid-area: insights; } .t-mcp { grid-area: mcp; } .t-light { grid-area: light; }
.t-auto { grid-area: auto; } .t-budget { grid-area: budget; }
.mb-spacer { flex: 1; }
/* AI auto-tag row */
.mb-airow { display: inline-flex; align-items: center; gap: 11px; margin-top: 14px; align-self: flex-start;
  background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.14);
  border-radius: 12px; padding: 11px 15px; font-size: 14px; }
.mb-airow .arrow { color: rgba(255,255,255,0.4); display: inline-flex; }
.mb-airow .tag { display: inline-flex; align-items: center; gap: 6px; background: var(--sys-blue); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 13px; }
/* keycaps */
.mb-keys { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; align-self: flex-start; }
.mb-key { min-width: 30px; height: 32px; padding: 0 9px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.13);
  box-shadow: 0 1px 0 rgba(255,255,255,0.42) inset, 0 2px 0 rgba(0,0,0,0.32), 0 0 0 0.5px rgba(255,255,255,0.2); }
/* device list */
.mb-devs { margin-top: 12px; -webkit-mask-image: linear-gradient(to bottom, #000 0 64%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0 64%, transparent 100%); }
.mb-dev { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 9px; font-size: 13px;
  color: rgba(255,255,255,0.78); background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.10); margin-top: 8px; }
.mb-dev:first-child { margin-top: 0; }
.mb-dev .ok { margin-left: auto; color: var(--sys-green); display: inline-flex; }
.mb-dev.faded { opacity: 0.45; }
/* insights */
.mb-big { font-family: var(--font-rounded); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; margin-top: auto; line-height: 1; }
.mb-big small { font-size: 22px; font-weight: 700; color: rgba(255,255,255,0.6); margin-left: 2px; }
.mb-chips { display: flex; gap: 6px; margin-top: 14px; }
.mb-chip { font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,0.10); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.12); }
/* mcp code block — bleeds to tile bottom */
.mb-cmds { margin: auto -20px -20px; padding: 14px 18px 16px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.85;
  color: rgba(255,255,255,0.62); background: rgba(0,0,0,0.26); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex; flex-direction: column; }
.mb-cmds > span { color: #6fb3ff; }
.mb-cmds .arrow { color: rgba(255,255,255,0.35); margin-right: 7px; }
.mb-cmds .conn { color: var(--sys-green); display: inline-flex; align-items: center; gap: 7px; }
.mb-cmds .conn .d { width: 7px; height: 7px; border-radius: 50%; background: var(--sys-green); box-shadow: 0 0 8px rgba(48,209,88,0.9); }
/* light & dark segmented */
.mb-seg { display: flex; gap: 2px; background: rgba(255,255,255,0.12); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.14); border-radius: 9px; padding: 3px; margin-top: 16px; align-self: stretch; }
.mb-seg span { flex: 1; justify-content: center; padding: 6px 8px; border-radius: 6px; font-size: 12px; color: rgba(255,255,255,0.62); display: inline-flex; align-items: center; }
.mb-seg span.on { background: #f4f6fa; color: #0f1830; font-weight: 700; }
/* auto-pause pill */
.mb-paused { margin-top: 16px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 0 0 0.5px rgba(255,255,255,0.32), 0 8px 18px rgba(0,0,0,0.26);
  border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 600; }
.mb-paused .d { width: 7px; height: 7px; border-radius: 50%; background: var(--sys-orange); box-shadow: 0 0 8px rgba(255,159,10,0.85); }
/* budget bar */
.mb-budget-row { display: flex; align-items: center; margin-top: auto; font-size: 12px; color: rgba(255,255,255,0.5); }
.mb-budget-row b { margin-left: auto; color: rgba(255,255,255,0.85); font-weight: 600; }
.mb-budget-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-top: 10px; overflow: hidden; }
.mb-budget-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--sys-orange), #ffb340); }
@media (max-width: 920px) {
  .macos-bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "ai ai" "hotkeys insights" "cloud mcp" "light auto" "budget budget"; }
}
@media (max-width: 560px) {
  .macos-bento { grid-template-columns: 1fr; grid-template-areas: "ai" "hotkeys" "insights" "cloud" "mcp" "light" "auto" "budget"; }
}
@media (max-width: 920px) {
  .macos-bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "ai ai" "hotkeys insights" "cloud mcp" "light auto" "budget budget"; }
}
@media (max-width: 560px) {
  .macos-bento { grid-template-columns: 1fr; grid-template-areas: "ai" "hotkeys" "insights" "cloud" "mcp" "light" "auto" "budget"; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   LEGAL — privacy policy / terms of service prose pages
   ============================================================ */
.legal {
  max-width: 760px;
  padding: clamp(56px, 9vh, 112px) 32px clamp(72px, 11vh, 140px);
}
.legal-head { margin-bottom: 40px; }
.legal-head h1 {
  font-family: var(--font-rounded); font-weight: 700; font-size: 40px;
  letter-spacing: -0.02em; margin: 0;
}
.legal-head .updated { margin-top: 10px; font-size: 14px; color: var(--ink-soft, #6b6b70); }

.legal-body { font-size: 16px; line-height: 1.7; color: #1d1d1f; }
.legal-body h2 {
  font-family: var(--font-rounded); font-weight: 700; font-size: 22px;
  margin: 40px 0 12px; letter-spacing: -0.01em;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--accent); }
