@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

/* Layout: Vyela house style. Warm off-white pages, plum ink and buttons,
   pastel rounded tiles; one plum section for rhythm. Single light theme by design. */
:root {
  color-scheme: light;
  --bg: #FAF8F5;
  --bg-2: #F4F0EC;
  --white: #FFFFFF;
  --text: #1F1A22;
  --text-2: #524B57;
  --text-3: #8D898B;
  --line: #E4DBD5;
  --line-2: #EFE9E4;
  --plum: #312337;
  --plum-2: #4A3852;
  --lav: #C3B0C8;
  --lav-deep: #8E7499;
  --lav-50: #F1EDF3;
  --rose: #C46F5E;
  --rose-50: #F3E3DE;
  --sky: #5F80B3;
  --sky-50: #DBE3EF;
  --mauve-50: #EAE5EA;
  --sand-50: #F2EAE3;
  --sage: #4E8B6A;
  --sage-50: #E3EFE7;

  /* legacy aliases used by component rules */
  --ember: var(--rose);
  --amber: #D9906F;
  --ice: var(--sky);
  --mint: var(--sage);
  --glass: var(--white);

  --font: "Hanken Grotesk", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 44px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; position: relative; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(50px, 7.4vw, 100px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.06; letter-spacing: -0.03em; max-width: 17ch; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 500; }
p { margin: 0; }
a { color: var(--plum); text-decoration: underline; text-decoration-color: var(--lav); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--plum); }
:focus-visible { outline: 2px solid var(--lav-deep); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--plum); color: var(--white); padding: 8px 12px; z-index: 60; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero backdrop ---------- */
.hero { position: relative; isolation: isolate; }
.mist { position: absolute; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(40% 50% at 92% 18%, rgba(241,237,243,.9), rgba(241,237,243,0) 70%),
  radial-gradient(36% 40% at 6% 90%, rgba(243,227,222,.7), rgba(243,227,222,0) 70%),
  var(--bg); }
.mist span { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(250,248,245,.86); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid var(--line-2); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.logo-dim { color: var(--lav-deep); font-weight: 500; font-size: 0.62em; letter-spacing: 0.03em; margin-left: 1px; }
.logo-mark { width: 49px; height: 38px; flex: none; color: var(--text); }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { color: var(--text-2); font-size: 15px; text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }

/* ---------- Buttons ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font: 500 17px/1 var(--font); letter-spacing: -0.005em; color: var(--white); background: var(--plum); border: 1.5px solid var(--plum); padding: 18px 28px; border-radius: 14px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.cta:hover { background: var(--plum-2); border-color: var(--plum-2); transform: translateY(-1px); }
.cta-small { padding: 12px 18px; font-size: 15px; border-radius: 12px; }
.cta-full { width: 100%; padding: 18px 24px; }
.cta-ghost { background: transparent; color: var(--text); border-color: var(--text); }
.cta-ghost:hover { background: var(--white); border-color: var(--text); }
.ghost { color: var(--text); font-size: 17px; padding: 17px 26px; border: 1.5px solid var(--text); border-radius: 14px; text-decoration: none; }
.ghost:hover { background: var(--white); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: 30px; }
.tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lav-deep); }
.hero-sub { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.6; color: var(--text-2); margin-top: 30px; max-width: 38ch; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin: 56px 0 0; padding-top: 26px; border-top: 1px solid var(--line); max-width: 600px; }
.hero-facts dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.hero-facts dd { margin: 6px 0 0; font-size: 17px; color: var(--text); }

/* ---------- Pastel tile grid behind the phone ---------- */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; isolation: isolate; }
.tile-grid { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(740px, 150%); aspect-ratio: 1; transform: translate(-48%, -53%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.5%; }
.tile-grid span { border-radius: 22%; }
.tile-grid span:nth-child(1) { background: var(--rose-50); }
.tile-grid span:nth-child(2) { background: var(--lav-50); transform: translateY(6%); }
.tile-grid span:nth-child(3) { background: #F3E1E4; }
.tile-grid span:nth-child(4) { background: var(--sky-50); }
.tile-grid span:nth-child(5) { background: transparent; }
.tile-grid span:nth-child(6) { background: var(--white); box-shadow: 0 20px 50px -24px rgba(49,35,55,.25); }
.tile-grid span:nth-child(7) { background: var(--sand-50); }
.tile-grid span:nth-child(8) { background: var(--sky-50); transform: translateY(6%); }
.tile-grid span:nth-child(9) { background: var(--mauve-50); }

/* ---------- 3D device ---------- */
.scene { --pw: 336px; --ph: 690px; position: relative; width: var(--pw); height: var(--ph); perspective: 1700px; perspective-origin: 50% 40%; }
.float { width: 100%; height: 100%; transform-style: preserve-3d; }
.phone3d { --rx: 6deg; --ry: -15deg; --rz: 1deg; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.edge i { position: absolute; inset: 0; border-radius: 58px; transform: translateZ(calc(var(--i) * -1.1px)); background: linear-gradient(90deg, #8E8A90 0%, #E9E6EA 9%, #BDB8BF 22%, #A9A4AB 50%, #C3BEC5 78%, #F1EEF2 91%, #8E8A90 100%); }
.edge i:last-child { box-shadow: 0 50px 90px -30px rgba(49,35,55,.38); }
.frame { position: absolute; inset: 0; border-radius: 58px; padding: 4px; transform: translateZ(1px); background: linear-gradient(140deg, #F6F4F7 0%, #B9B4BC 18%, #FFFFFF 40%, #ABA6AE 62%, #E6E2E8 84%, #B4AFB7 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), inset 0 0 0 2.5px rgba(49,35,55,.16); }
.bezel { height: 100%; border-radius: 54px; background: #0E0B10; padding: 9px; }
.screen { position: relative; height: 100%; border-radius: 45px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.island { position: absolute; top: 11px; left: 50%; width: 104px; height: 31px; margin-left: -52px; border-radius: 20px; background: #000; z-index: 3; }
.island::after { content: ""; position: absolute; right: 13px; top: 10px; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2B3A55, #0A0D14 70%); }
.home-bar { display: block; width: 120px; height: 5px; border-radius: 5px; background: rgba(31,26,34,.75); margin: 0 auto 9px; flex: none; }
.key { position: absolute; width: 5px; border-radius: 3px; transform: translateZ(-6px); background: linear-gradient(90deg, #A6A1A9, #F1EEF2 45%, #B2ADB4); }
.key-action { left: -4px; top: 128px; height: 30px; }
.key-up { left: -4px; top: 180px; height: 58px; }
.key-down { left: -4px; top: 250px; height: 58px; }
.key-power { right: -4px; top: 200px; height: 92px; }
.glare { position: absolute; inset: 0; border-radius: 58px; transform: translateZ(2px); pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,.08) 22%, rgba(255,255,255,0) 36%, rgba(255,255,255,0) 74%, rgba(255,255,255,.12) 100%); }
.aura { position: absolute; inset: -36px; border-radius: 90px; transform: translateZ(-60px); background: conic-gradient(from var(--a), #E9C3CF, var(--lav), #B9CBE6, #F1D2C6, #E9C3CF); filter: blur(44px); opacity: 0; transition: opacity .8s ease; }
.phone3d.is-working .aura { opacity: .9; }
.phone3d.is-done .aura { opacity: .6; background: conic-gradient(from var(--a), #B9CBE6, #CFE5D8, var(--lav), #B9CBE6); }
.ground { position: absolute; left: 14%; right: 14%; bottom: -44px; height: 40px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(49,35,55,.28), rgba(49,35,55,0) 70%); filter: blur(8px); }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 7s ease-in-out infinite; }
  .ground { animation: shadowbob 7s ease-in-out infinite; }
  .aura { animation: spin 6s linear infinite; }
}
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes shadowbob { 50% { transform: scale(.86); opacity: .7; } }
@keyframes spin { to { --a: 360deg; } }


.orb { position: relative; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: var(--lav-50); }
.orb i { position: absolute; inset: -30%; border-radius: 50%; background: conic-gradient(from 0deg, #B9CBE6, var(--lav), #F1D2C6, #B9CBE6); filter: blur(5px); }
.orb.thinking i, .orb.working i { background: conic-gradient(from 0deg, #E7A79A, #F1D2C6, var(--lav), #E7A79A); }
.orb.done i { background: conic-gradient(from 0deg, #A9D3BC, #B9CBE6, #A9D3BC); }
.orb-lg { width: 64px; height: 64px; margin: 0 auto 18px; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .orb i { animation: orbspin 6s linear infinite; }
  .orb.thinking i { animation-duration: 1.4s; }
  .orb.working i { animation-duration: 2.2s; }
  .orb { animation: breathe 3.2s ease-in-out infinite; }
}
@keyframes orbspin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); } }

.feed { list-style: none; margin: 0; padding: 18px 16px 10px; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, #000 70px); mask-image: linear-gradient(transparent 0, #000 70px); }
.feed > li { animation: in .42s cubic-bezier(.2,.8,.2,1) both; flex: none; }
@keyframes in { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.f-trace { font-family: var(--mono); font-size: 11.5px; line-height: 1.4; color: var(--text-3); display: flex; gap: 8px; align-items: baseline; }
.f-trace::before { content: "›"; color: var(--lav-deep); }
.f-trace.ok::before { content: "✓"; color: var(--sage); }
.f-trace .dots::after { content: ""; animation: dots 1s steps(4) infinite; }
.f-trace.ok .dots { display: none; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.card { border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg); padding: 13px 14px; font-size: 13.5px; }
.card-k { font-family: var(--mono); font-size: 11px; color: var(--text-3); display: flex; justify-content: space-between; margin-bottom: 8px; }
.card-title { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.card-sub { color: var(--text-2); margin-top: 2px; }
.rows { display: grid; gap: 6px; margin-top: 10px; }
.row { display: grid; grid-template-columns: 54px 1fr 50px; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); }
.row .bar { height: 6px; border-radius: 6px; background: var(--line-2); position: relative; overflow: hidden; }
.row .bar::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 6px; background: var(--lav); transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.row b { text-align: right; font-weight: 500; color: var(--text); }
.row.win .bar::after { background: var(--sage); }
.row.win b { color: var(--sage); }
.card.go .row .bar::after { transform: scaleX(1); }
.status-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); }
.progress { flex: 1; height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--sage); border-radius: 5px; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.card.go .progress i { width: 38%; }
.pill-ok { display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--sage); background: var(--sage-50); padding: 3px 8px; border-radius: 99px; }

.call-top { display: flex; align-items: center; justify-content: space-between; }
.call-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); display: inline-block; margin-right: 6px; animation: blinkdot 1.2s infinite; }
@keyframes blinkdot { 50% { opacity: .2; } }
.timer { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.wavebox { display: flex; align-items: center; gap: 3px; height: 34px; margin-top: 10px; }
.wavebox i { flex: 1; height: 20%; border-radius: 3px; background: linear-gradient(180deg, var(--lav), var(--lav-deep)); }
@media (prefers-reduced-motion: no-preference) {
  .wavebox i { animation: wave 1s ease-in-out infinite; }
  .wavebox i:nth-child(3n) { animation-delay: -.3s; } .wavebox i:nth-child(3n+1) { animation-delay: -.6s; } .wavebox i:nth-child(4n) { animation-duration: .8s; }
}
@keyframes wave { 50% { height: 100%; } }
.card.ended .wavebox i { animation: none; height: 12%; background: var(--line); }
.amount { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.amount.zero { color: var(--sage); }

.minibars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 10px; }
.minibars span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--sky-50); transform: scaleY(0); transform-origin: bottom; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.minibars span:nth-child(2) { transition-delay: .1s; } .minibars span:nth-child(3) { transition-delay: .2s; } .minibars span:nth-child(4) { transition-delay: .3s; background: var(--rose); }
.card.go .minibars span { transform: scaleY(1); }

.opts { display: grid; gap: 6px; margin-top: 8px; }
.opt { padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--text-2); background: var(--white); transition: all .35s ease; }
.opt.sel { border-color: var(--plum); color: var(--text); background: var(--lav-50); }
.consent-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; color: var(--text-2); }
.toggle { width: 38px; height: 22px; border-radius: 22px; background: var(--line); position: relative; transition: background .35s; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.card.go .toggle { background: var(--sage); }
.card.go .toggle::after { transform: translateX(16px); }
.flag { font-family: var(--mono); font-size: 11px; color: var(--rose); background: var(--rose-50); padding: 3px 8px; border-radius: 99px; }


.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; max-width: 560px; }
.chip { font: 500 15px var(--font); color: var(--text-2); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; cursor: pointer; transition: all .2s ease; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { color: var(--white); background: var(--plum); border-color: var(--plum); }

/* ---------- Phone: Messages thread, exactly what a real phone shows ---------- */
.screen-time { position: absolute; top: 17px; left: 30px; font-weight: 600; font-size: 14px; color: var(--text); z-index: 2; }
.screen-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 50px 16px 10px; background: rgba(249,249,249,.94); border-bottom: 1px solid #E6E6E8; }
.sh-back { position: absolute; left: 18px; top: 62px; width: 11px; height: 11px; border-left: 2.5px solid #0A84FF; border-bottom: 2.5px solid #0A84FF; transform: rotate(45deg); border-radius: 1px; }
.sh-contact { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sh-avatar { width: 44px; height: 44px; border-radius: 50%; display: block; }
.sh-name { font-size: 11.5px; color: var(--text); }
.f-stamp { align-self: center; font-size: 11px; color: #8E8E93; margin: 4px 0 2px; }
.f-me { align-self: flex-end; max-width: 78%; background: #34C759; color: #FFFFFF; padding: 8px 13px; border-radius: 18px 18px 5px 18px; font-size: 14.5px; line-height: 1.35; }
.f-nav { align-self: flex-start; max-width: 80%; background: #E9E9EB; color: #000000; padding: 8px 13px; border-radius: 18px 18px 18px 5px; font-size: 14.5px; line-height: 1.35; }
.f-mms { align-self: flex-start; max-width: 80%; }
.card.mms { background: #FFFFFF; border: 1px solid #E6E6E8; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.card.mms * { transition: none !important; }
.f-photos { align-self: flex-end; display: flex; gap: 4px; }
.thumb { display: block; width: 70px; height: 88px; border-radius: 12px; position: relative; overflow: hidden; }
.thumb-1 { background: #F4F1EC; border: 1px solid #E3DED6; }
.thumb-1::before { content: ""; position: absolute; left: 10px; right: 10px; top: 14px; height: 52px; background: repeating-linear-gradient(#C9C2B8 0 2px, transparent 2px 9px); }
.thumb-2 { background: linear-gradient(135deg, #6F8FC0, #3F5E8F); }
.thumb-2::before { content: ""; position: absolute; left: 9px; top: 12px; width: 22px; height: 15px; border-radius: 3px; background: rgba(255,255,255,.75); }
.thumb-2::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 16px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.6); box-shadow: 0 -8px 0 rgba(255,255,255,.4); }
.composer { display: flex; align-items: center; gap: 8px; margin: 6px 12px 16px; color: #A1A1A6; font-size: 14px; }
.cmp-plus { width: 30px; height: 30px; border-radius: 50%; background: #E9E9EB; position: relative; flex: none; }
.cmp-plus::before, .cmp-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #8E8E93; border-radius: 1px; }
.cmp-plus::after { transform: rotate(90deg); }
.cmp-field { flex: 1; border: 1px solid #D6D6D9; border-radius: 18px; padding: 6px 14px; }

/* Call screen: an ordinary iPhone call */
.callscreen { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; padding: 96px 24px 40px; color: #FFFFFF; background: linear-gradient(180deg, #4A3852, #2A1F30 60%, #1C1520); animation: in .35s ease both; }
.cs-avatar { width: 88px; height: 88px; border-radius: 50%; display: block; }
.cs-name { margin-top: 16px; font-size: 26px; font-weight: 400; letter-spacing: -0.02em; }
.cs-time { margin-top: 4px; font-size: 15px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.cs-wave { display: flex; align-items: center; gap: 4px; height: 44px; margin-top: 40px; width: 70%; }
.cs-wave i { flex: 1; height: 18%; border-radius: 3px; background: rgba(255,255,255,.55); }
@media (prefers-reduced-motion: no-preference) {
  .cs-wave i { animation: wave 1.1s ease-in-out infinite; }
  .cs-wave i:nth-child(3n) { animation-delay: -.35s; } .cs-wave i:nth-child(3n+1) { animation-delay: -.7s; } .cs-wave i:nth-child(4n) { animation-duration: .85s; }
}
.cs-buttons { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; justify-items: center; }
.cs-btn { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.cs-btn b { font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.cs-end { grid-column: 2; background: #FF3B30; }
.cs-end b { color: #FFFFFF; }

/* Behind the scenes panel: what Vyela AI agent does that the user doesn't see */
.bts { width: min(400px, 100%); margin-top: 34px; padding: 16px 18px 14px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(49,35,55,.35); }
.bts-k { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.bts-k .orb { width: 22px; height: 22px; }
.bts-state { margin-left: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; text-transform: none; color: var(--text-3); }
.bts-feed { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 136px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, #000 26px); mask-image: linear-gradient(transparent 0, #000 26px); }
.bts-feed li { flex: none; }
.bts-feed li { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; line-height: 1.4; color: var(--text-2); animation: in .35s ease both; }
.bt::before { content: "›"; color: var(--lav-deep); font-weight: 600; flex: none; }
.bt.ok::before { content: "✓"; color: var(--sage); }
.bt-say { padding-left: 10px; border-left: 2px solid var(--lav); color: var(--text) !important; font-size: 13px !important; }
.bt-call { align-items: center !important; color: var(--text) !important; font-weight: 500; }
.bt-call::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; animation: blinkdot 1.2s infinite; }
.bt-call.ended::before { content: "✓"; width: auto; height: auto; background: none; color: var(--sage); animation: none; }
.bt-clock { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--text-3); font-weight: 400; font-variant-numeric: tabular-nums; }
.bt-wave { display: inline-flex; align-items: center; gap: 2px; height: 14px; width: 30px; }
.bt-wave i { flex: 1; height: 30%; border-radius: 2px; background: var(--lav-deep); }
@media (prefers-reduced-motion: no-preference) { .bt-wave i { animation: wave .9s ease-in-out infinite; } .bt-wave i:nth-child(2n) { animation-delay: -.4s; } }
.bt-call.ended .bt-wave { display: none; }
.demo-note { max-width: 420px; margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--text-3); text-align: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 11vw, 150px) 0; position: relative; }
#heat, #track, #brakes { background: var(--white); }
.label { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--lav-deep); margin-bottom: 20px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-2); margin-top: 24px; max-width: 46ch; text-wrap: pretty; }

/* Heat list: warm pink tiles cool to blue */
.heat-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.heat-copy { position: sticky; top: 130px; }
.heat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.heat-item { display: grid; grid-template-columns: 18px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: 20px; background: var(--rose-50); transition: background .8s ease; }
.temp { width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px rgba(196,111,94,.16); transition: all .8s ease; }
.hi-body { display: flex; flex-direction: column; gap: 4px; }
.hi-task { font-size: 18px; font-weight: 500; transition: color .8s ease; }
.hi-done { font-size: 15px; color: var(--sky); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s ease .3s, opacity .6s ease .45s; }
.heat-item.cooled { background: var(--sky-50); }
.heat-item.cooled .temp { background: var(--sky); box-shadow: 0 0 0 5px rgba(95,128,179,.14); }
.heat-item.cooled .hi-task { color: var(--text-2); }
.heat-item.cooled .hi-done { max-height: 44px; opacity: 1; }

/* Stats: the one plum section */
.signal { background: var(--plum); color: var(--white); }
.signal h2 { color: var(--white); }
.signal .label { color: var(--lav); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 72px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.stat { padding: 34px 28px 40px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.stat:not(:nth-child(3n)) { border-right: 1px solid rgba(255,255,255,.16); }
.stat:not(:nth-child(3n+1)) { padding-left: 28px; }
.stat dt { font-size: clamp(46px, 5.4vw, 74px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--white); }
.stat dd { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 16px; max-width: 30ch; }
.stat sup a { font-size: 11px; color: var(--lav); margin-left: 3px; text-decoration: none; }

/* Loop */
.loop { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.loop::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--line); }
.loop::after { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: linear-gradient(90deg, var(--rose), var(--lav-deep), var(--sky), var(--sage)); transform: scaleX(0); transform-origin: left; transition: transform 2.4s cubic-bezier(.4,.1,.2,1); }
.loop.on::after { transform: scaleX(1); }
.loop li { position: relative; padding-right: 28px; }
.loop-k { position: relative; z-index: 1; display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--text-2); transition: all .5s ease; }
.loop.on li:nth-child(1) .loop-k { background: var(--rose-50); border-color: var(--rose-50); color: var(--text); transition-delay: .1s; }
.loop.on li:nth-child(2) .loop-k { background: var(--lav-50); border-color: var(--lav-50); color: var(--text); transition-delay: .7s; }
.loop.on li:nth-child(3) .loop-k { background: var(--sky-50); border-color: var(--sky-50); color: var(--text); transition-delay: 1.3s; }
.loop.on li:nth-child(4) .loop-k { background: var(--sage-50); border-color: var(--sage-50); color: var(--text); transition-delay: 1.9s; }
.loop h3 { margin-top: 30px; }
.loop p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* Capabilities */
.cool { background: var(--lav-50); }
.cool .label { color: var(--lav-deep); }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 64px; }
.cap { background: var(--white); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.cap p { color: var(--text-2); }
.cap h3 { font-size: 26px; letter-spacing: -0.02em; font-weight: 500; line-height: 1.18; }
.cap-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cap-wide > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.cap-demo { margin-top: 14px; }
.price-race { display: grid; gap: 12px; background: var(--bg); border-radius: 18px; padding: 22px; }
.pr { display: grid; grid-template-columns: 64px 1fr 60px; gap: 12px; align-items: center; font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.pr b { text-align: right; color: var(--text); font-weight: 500; }
.pr-bar { height: 8px; border-radius: 8px; background: var(--line-2); position: relative; overflow: hidden; }
.pr-bar::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--lav); border-radius: 8px; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.pr-win .pr-bar::after { background: var(--sage); }
.pr-win b { color: var(--sage); }
.go .pr-bar::after { transform: scaleX(1); }
.pr:nth-child(2) .pr-bar::after { transition-delay: .15s; } .pr:nth-child(3) .pr-bar::after { transition-delay: .3s; }
.wave { display: flex; align-items: center; gap: 4px; height: 56px; }
.wave i { flex: 1; height: 18%; border-radius: 4px; background: linear-gradient(180deg, var(--lav), var(--lav-deep)); }
@media (prefers-reduced-motion: no-preference) {
  .go .wave i, .wave.go i { animation: wave 1.1s ease-in-out infinite; }
  .wave i:nth-child(3n) { animation-delay: -.35s !important; } .wave i:nth-child(3n+1) { animation-delay: -.7s !important; }
}
.spark svg { width: 100%; height: 70px; overflow: visible; }
.spark path { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.8s ease; }
.go .spark path, .spark.go path { stroke-dashoffset: 0; }

/* What it tracks */
.parse { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 56px; padding: 26px; border-radius: 26px; background: var(--bg); }
.parse-in { align-self: start; background: var(--plum); color: var(--white); padding: 14px 18px; border-radius: 22px 22px 6px 22px; font-size: 17px; line-height: 1.5; }
.parse-out { list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 8px; position: relative; }
.parse-out::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(var(--rose), var(--sky)); }
.pchip { display: flex; justify-content: space-between; gap: 12px; padding: 11px 15px; border-radius: 12px; background: var(--white); font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.pchip b { font-weight: 500; color: var(--text); }
.pchip.hot { background: var(--rose-50); }
.pchip.hot b { color: var(--rose); }
.pchip.ok b { color: var(--sage); }
@media (prefers-reduced-motion: no-preference) {
  .parse.go .pchip { animation: in .5s cubic-bezier(.2,.8,.2,1) both; }
  .parse.go .pchip:nth-child(2) { animation-delay: .15s; }
  .parse.go .pchip:nth-child(3) { animation-delay: .3s; }
  .parse.go .pchip:nth-child(4) { animation-delay: .45s; }
}
.trackers { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.trackers li { padding: 22px 20px 24px; border-radius: 20px; background: var(--bg); }
.trackers li:nth-child(5n+1) { background: var(--rose-50); }
.trackers li:nth-child(5n+2) { background: var(--lav-50); }
.trackers li:nth-child(5n+3) { background: var(--sky-50); }
.trackers li:nth-child(5n+4) { background: var(--sand-50); }
.trackers li:nth-child(5n) { background: var(--mauve-50); }
.trackers h3 { font-size: 17px; }
.trackers p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.extra { border-radius: 24px; border: 1px solid var(--line); background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.extra-k { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--lav-deep); }
.extra h3 { font-size: 22px; letter-spacing: -0.02em; }
.extra p { color: var(--text-2); font-size: 15.5px; }
.extra .insight { margin-top: 8px; color: var(--text); font-size: 16px; padding: 14px 16px; border-radius: 14px; background: var(--sky-50); }
.programs { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.programs li { padding: 10px 14px; border-radius: 12px; background: var(--lav-50); font-size: 14.5px; }
.wearables { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wearables li { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; color: var(--text); }
.soon { font-size: 13px !important; color: var(--text-3) !important; margin-top: auto; padding-top: 6px; }
@media (max-width: 960px) {
  .parse { grid-template-columns: 1fr; }
  .trackers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .parse { padding: 18px; }
  .trackers { grid-template-columns: 1fr; }
}

/* Report */
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.report { margin: 0; border-radius: 28px; background: var(--white); padding: 30px; box-shadow: 0 30px 70px -40px rgba(49,35,55,.35); }
.rp-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-weight: 600; }
.rp-meta { font-size: 13px; color: var(--text-3); font-weight: 400; }
.rp-big { font-size: 60px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin-top: 18px; }
.rp-big span { display: block; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--text-2); margin-top: 8px; }
.rp-bars { display: flex; gap: 14px; align-items: flex-end; height: 130px; margin-top: 26px; }
.rp-bars span { flex: 1; height: var(--h); border-radius: 12px 12px 4px 4px; background: var(--sky-50); transform: scaleY(0); transform-origin: bottom; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.rp-bars span:nth-child(2) { transition-delay: .12s; } .rp-bars span:nth-child(3) { transition-delay: .24s; }
.rp-bars .hot { background: var(--rose); transition-delay: .36s; }
.report.go .rp-bars span { transform: scaleY(1); }
.rp-axis { display: flex; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.rp-axis span { flex: 1; text-align: center; }
.rp-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0 0; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.rp-rows dt { font-size: 12.5px; color: var(--text-3); }
.rp-rows dd { margin: 4px 0 0; font-size: 20px; font-weight: 500; }
.rp-qs { margin: 18px 0 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 4px; font-size: 15.5px; }

/* Guardrails */
.brakes { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brakes li { border-radius: 24px; background: var(--bg); padding: 32px; }
.never { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); background: var(--rose-50); padding: 5px 10px; border-radius: 8px; }
.brakes h3 { margin-top: 20px; font-size: 26px; letter-spacing: -0.02em; }
.brakes p { margin-top: 10px; color: var(--text-2); font-size: 16px; }

/* FAQ */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: 44px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-size: 20px; font-weight: 500; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--text-2); transition: transform .3s ease; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 0 26px; color: var(--text-2); max-width: 62ch; }

/* Join */
.join { background: var(--rose-50); }
.join-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.join h2 { font-size: clamp(46px, 6.4vw, 88px); }
.join-card { border-radius: 30px; background: var(--white); padding: clamp(26px, 4vw, 40px); box-shadow: 0 30px 70px -44px rgba(49,35,55,.4); }
.waitlist { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text); }
.optional { color: var(--text-3); font-weight: 400; }
input[type="text"], input[type="tel"], input[type="email"] { font: 17px var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: var(--text-3); }
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(49,35,55,.1); }
input[aria-invalid="true"] { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(196,111,94,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--plum); flex: none; }
.form-error { color: var(--rose); font-size: 14px; }
.form-success { text-align: center; padding: 18px 0; }
.success-big { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-success p:last-child { color: var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 13px; color: var(--text-3); background: var(--bg); }
.sources { margin: 0; padding-left: 16px; display: grid; gap: 6px; }
.sources a, .foot-row a { color: var(--text-2); }
.foot-note { margin-top: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 18px; }
.foot-row nav { display: flex; gap: 20px; }

/* Pricing page */
.value-section { background: var(--white); }
.value-section h2 { font-size: clamp(34px, 4.2vw, 54px); }
.pr-hero { position: relative; isolation: isolate; padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 110px); }
.pr-title { font-size: clamp(48px, 7vw, 92px); }
.billing { display: inline-flex; gap: 4px; padding: 4px; margin-top: 36px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.bill-btn { font: 500 15px var(--font); color: var(--text-2); background: transparent; border: 0; border-radius: 10px; padding: 10px 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.bill-btn[aria-pressed="true"] { background: var(--plum); color: var(--white); }
.save { font-size: 12px; font-weight: 500; color: var(--sage); background: var(--sage-50); padding: 2px 8px; border-radius: 99px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px 28px 34px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); }
.plan-pick { border: 2px solid var(--plum); box-shadow: 0 30px 70px -40px rgba(49,35,55,.45); }
.plan-care { background: var(--lav-50); border-color: var(--lav-50); }
.pick-flag { position: absolute; top: -14px; left: 28px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: var(--plum); padding: 5px 12px; border-radius: 8px; }
.plan-name { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; max-width: none; }
.plan-for { margin-top: 6px; color: var(--text-2); font-size: 15.5px; }
.price-main { display: flex; align-items: baseline; gap: 4px; }
.amt { font-size: 54px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.per { color: var(--text-2); font-size: 16px; }
.price-note { margin-top: 8px; font-size: 14px; color: var(--text-2); min-height: 2.6em; }
.plan-care .price-note { color: var(--sage); }
.plan-inc { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--lav-deep); }
.plan-list { list-style: none; padding: 0; margin: -6px 0 0; display: grid; gap: 11px; }
.plan-list li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 6px; height: 11px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(40deg); }
.plans-note { margin-top: 26px; max-width: 80ch; font-size: 13.5px; color: var(--text-2); }

.table-wrap { margin-top: 56px; overflow-x: auto; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.compare thead th { background: var(--bg); font-size: 15px; font-weight: 600; }
.compare tbody th { font-weight: 400; color: var(--text); width: 46%; }
.compare td { color: var(--text); width: 18%; font-variant-numeric: tabular-nums; }
.compare .col-pick { background: var(--lav-50); }
.compare .grp th { padding-top: 26px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--lav-deep); background: transparent; }
.compare tfoot th, .compare tfoot td { border-bottom: 0; font-weight: 600; }
.compare i { font-style: normal; font-size: 0; display: inline-block; width: 18px; height: 18px; position: relative; vertical-align: -3px; }
.compare i.y::before { content: ""; position: absolute; left: 6px; top: 1px; width: 5px; height: 11px; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(40deg); }
.compare i.n::before { content: ""; position: absolute; left: 3px; top: 8px; width: 12px; height: 1.5px; background: var(--text-3); }
.soon-t { font-size: 13px; color: var(--text-3); }

.value-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.value-grid sup a { font-size: 11px; color: var(--text-3); margin-left: 2px; text-decoration: none; }
.ledger { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ledger-col { border-radius: 22px; background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ledger-us { background: var(--sage-50); }
.ledger-k { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.ledger dl { margin: 0; display: grid; gap: 10px; }
.ledger dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.ledger dt { color: var(--text-2); }
.ledger dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-total { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ledger-total span { color: var(--text-2); font-size: 14px; }
.ledger-total b { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.ledger-col:not(.ledger-us) .ledger-total b { font-size: 24px; }
.ledger-us .ledger-total b { color: var(--sage); }
.ledger-note { grid-column: 1 / -1; font-size: 13px; color: var(--text-3); }
.pr-join { text-align: left; }
.pr-join .cta { margin-top: 30px; }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ledger { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px 30px; }
  .amt { font-size: 46px; }
}

/* Legal pages */
.legal { max-width: 760px; padding: 72px var(--gutter) 110px; margin: 0 auto; }
.legal h1 { font-size: 56px; }
.legal h2 { font-size: 26px; margin-top: 44px; }
.legal p { margin-top: 12px; color: var(--text-2); }
.draft-flag { background: var(--rose-50); color: var(--rose) !important; padding: 12px 16px; border-radius: 12px; font-size: 15px; margin-top: 22px; }

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed > li { animation: none; }
  .heat-item, .temp, .hi-task, .hi-done, .loop::after, .loop-k, .rp-bars span, .pr-bar::after, .spark path, .row .bar::after, .progress i, .minibars span { transition: none !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .site-header nav { display: none; }
  .hero-grid, .heat-grid, .report-grid, .join-grid { grid-template-columns: 1fr; }
  .heat-copy { position: static; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat, .stat:not(:nth-child(3n+1)) { padding: 28px 20px 32px 0; border-right: 0 !important; }
  .stat:nth-child(2n) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.16); }
  .loop { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .loop::before, .loop::after { display: none; }
  .caps, .cap-wide, .brakes { grid-template-columns: 1fr; }
  .tile-grid { width: min(680px, 130%); }
}
@media (max-width: 560px) {
  .hero-facts { display: none; }
  .hero { padding-top: 36px; }
  .hero-grid { gap: 48px; }
  .header-row { height: 64px; }
  .logo { font-size: 19px; }
  .logo-mark { width: 41px; height: 32px; }
  .scene { --pw: 300px; --ph: 618px; }
  .phone3d { --ry: -9deg; --rx: 5deg; --rz: .6deg; }
  .key-up, .key-down { height: 50px; }
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(2n) { padding-left: 0; border-left: 0; }
  .loop { grid-template-columns: 1fr; gap: 36px; }
  .loop h3 { margin-top: 16px; }
  .waitlist { grid-template-columns: 1fr; }
  .cap, .brakes li { padding: 26px 22px; }
  .heat-item { padding: 16px; gap: 14px; }
  .hi-task { font-size: 16.5px; }
  .tile-grid { display: none; }
}

/* Logo wordmark colors: AI in brand purple, "agent" in the star rose */
.logo-ai { color: #9C6FA8; }
.logo .logo-dim { color: #9C6FA8; }
