/* kayro.capula.co. The app's own brand: ink, canvas, lime, agent blue.
   CSP: this file is the only stylesheet (plus lenis.css); no inline styles anywhere. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-wght.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-wght.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-wght-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }

:root {
  --canvas: #F7F7F8; --elev: #FBFBFC; --surface: #FFFFFF; --inset: #F2F3F5; --line: #E6E7EA;
  --ink: #15171C; --text: #16181D; --muted: #636973; --faint: #98A0AB;
  --lime: #9AD74B; --lime-deep: #6FA82B; --blue: #3B82F6; --green: #4CCF72; --red: #E55353;
  --night: #0E0F12; --night-2: #17191E; --night-3: #22252B; --night-line: #2B2E35; --night-text: #EEF0F3; --night-muted: #9AA1AC;
  --sh-dark: rgba(163, 170, 184, .34); --sh-light: rgba(255, 255, 255, .98);
  --raise: 10px 10px 24px var(--sh-dark), -10px -10px 24px var(--sh-light);
  --raise-sm: 5px 5px 12px var(--sh-dark), -5px -5px 12px var(--sh-light);
  --press: inset 4px 4px 10px var(--sh-dark), inset -4px -4px 10px var(--sh-light);
  --display: "Bricolage", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --app: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1320px, calc(100vw - 2 * var(--gut)));
  --gut: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
.wrap { width: var(--wrap); margin-inline: auto; }

/* ------------------------------------------------------------------ type */
.d1, .d2, .d3, .d4 { font-family: var(--display); font-weight: 640; letter-spacing: -.048em; line-height: .93; text-wrap: balance; }
.d1 { font-size: clamp(54px, 9.4vw, 164px); }
.d2 { font-size: clamp(42px, 6.2vw, 104px); }
.d3 { font-size: clamp(32px, 3.9vw, 62px); line-height: .98; letter-spacing: -.04em; }
.d4 { font-size: clamp(24px, 2.2vw, 34px); line-height: 1.06; letter-spacing: -.03em; }
.d1 .soft, .d2 .soft, .d3 .soft { color: var(--faint); }
.s-ink .soft { color: #5E646E; }
.lede { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.45; color: var(--muted); max-width: 34em; text-wrap: pretty; }
.s-ink .lede { color: var(--night-muted); }
.kick { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--muted); margin: 0 0 22px; }
.kick::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(154, 215, 75, .22); }
.s-ink .kick { color: var(--night-muted); }
.fine { font-size: 14px; line-height: 1.5; color: var(--faint); max-width: 46em; }
.s-ink .fine { color: #757C87; }
.body { max-width: 36em; color: var(--muted); }
.s-ink .body { color: var(--night-muted); }
.body strong, .lede strong { color: var(--text); font-weight: 650; }
.s-ink .body strong, .s-ink .lede strong { color: var(--night-text); }

/* ------------------------------------------------------------------ buttons and links */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 999px; border: 0; font: 650 17px/1 var(--sans); text-decoration: none; cursor: pointer; background: var(--canvas); color: var(--text); box-shadow: var(--raise-sm); transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.btn:hover { box-shadow: var(--raise); transform: translateY(-1px); }
.btn:active { box-shadow: var(--press); transform: none; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(21, 23, 28, .55); }
.btn--ink:hover { box-shadow: 0 20px 40px -14px rgba(21, 23, 28, .6); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 14px 34px -12px rgba(154, 215, 75, .55); }
.s-ink .btn:not(.btn--lime):not(.btn--ink) { background: var(--night-2); color: var(--night-text); box-shadow: inset 0 0 0 1px var(--night-line); }
.btn .ar { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.tlink { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.tlink:hover { background-size: 100% 2px; }
.tlink .ar { width: 16px; height: 16px; }

/* ------------------------------------------------------------------ nav */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; pointer-events: none; }
.nav__bar { width: min(1360px, calc(100vw - 28px)); margin-inline: auto; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(247, 247, 248, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 30px -18px rgba(21, 23, 28, .35), 0 0 0 1px rgba(21, 23, 28, .05); pointer-events: auto; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.is-dark .nav__bar { background: rgba(23, 25, 30, .78); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 10px 30px -18px rgba(0, 0, 0, .8); color: var(--night-text); }
.nav.is-hidden .nav__bar { transform: translateY(-120%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 23px/1 var(--display); letter-spacing: -.06em; margin-right: auto; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a, .nav__more > summary { display: block; padding: 10px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 560; text-decoration: none; color: inherit; cursor: pointer; transition: background .25s; }
.nav__links a:hover, .nav__more > summary:hover, .nav__links a[aria-current="page"] { background: rgba(21, 23, 28, .06); }
.nav.is-dark .nav__links a:hover, .nav.is-dark .nav__more > summary:hover, .nav.is-dark .nav__links a[aria-current="page"] { background: rgba(255, 255, 255, .08); }
.nav__more { position: relative; }
.nav__more > summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav__more > summary::-webkit-details-marker { display: none; }
.nav__more > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); }
.nav__panel { position: absolute; right: -8px; top: calc(100% + 12px); width: 520px; padding: 14px; border-radius: 26px; background: var(--surface); color: var(--text); box-shadow: 0 30px 70px -30px rgba(21, 23, 28, .45), 0 0 0 1px rgba(21, 23, 28, .06); display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav__panel h3 { grid-column: span 2; font: 600 13px/1 var(--sans); color: var(--faint); padding: 8px 12px 4px; }
.nav__panel h3 + h3 { display: none; }
.nav__panel a { display: grid; gap: 2px; padding: 12px; border-radius: 16px; text-decoration: none; }
.nav__panel a:hover { background: var(--inset); }
.nav__panel b { font-weight: 650; font-size: 15.5px; }
.nav__panel span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.nav__cta { margin-left: 6px; padding: 12px 20px; font-size: 15px; }
.nav__menu { display: none; }
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .nav__menu > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; font-size: 15px; }
  .nav.is-dark .nav__menu > summary { background: var(--night-text); color: var(--ink); }
  .nav__menu > summary::-webkit-details-marker { display: none; }
  .nav__menu[open] > summary { background: var(--lime); color: var(--ink); }
  .nav__sheet { position: fixed; left: 14px; right: 14px; top: 84px; max-height: calc(100dvh - 100px); overflow: auto; padding: 18px; border-radius: 28px; background: var(--surface); color: var(--text); box-shadow: 0 40px 80px -30px rgba(21, 23, 28, .5), 0 0 0 1px rgba(21, 23, 28, .06); }
  .nav__sheet h3 { font: 600 13px/1 var(--sans); color: var(--faint); margin: 14px 10px 8px; }
  .nav__sheet ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
  .nav__sheet a { display: block; padding: 12px 10px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 17px; }
  .nav__sheet a:hover { background: var(--inset); }
  .nav__sheet .btn { width: 100%; justify-content: center; margin-top: 14px; }
}

/* ------------------------------------------------------------------ sections */
.s { position: relative; padding: clamp(96px, 13vw, 200px) 0; }
.s-light { background: var(--canvas); }
.s-white { background: var(--surface); }
.s-ink { background: var(--night); color: var(--night-text); }
.s-ink a { color: inherit; }
.s-tight { padding: clamp(72px, 9vw, 130px) 0; }
.s + .s.s-continue { padding-top: 0; }
.head { display: grid; gap: 22px; max-width: 980px; margin-bottom: clamp(52px, 6vw, 96px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 40px 80px; }
.head--split .lede { margin: 0; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; padding: 150px 0 80px; display: flex; align-items: center; overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__copy .lede { margin-top: 30px; }
.hero--tool .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--canvas); box-shadow: var(--raise-sm); font-size: 14.5px; font-weight: 600; color: var(--muted); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.pill--blue i { background: var(--blue); }
.s-ink .pill { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-muted); }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 128px 0 72px; }
  .hero__grid, .hero--tool .hero__grid { grid-template-columns: 1fr; gap: 64px; }
}

/* home hero: the fan */
.fan { position: relative; height: min(76vh, 780px); min-height: 560px; }
.fan .phone { position: absolute; top: 50%; left: 50%; width: clamp(210px, 17vw, 290px); }
.fan .phone--a { transform: translate(-128%, -46%) rotate(-9deg) scale(.88); }
.fan .phone--b { transform: translate(-50%, -54%); z-index: 2; }
.fan .phone--c { transform: translate(28%, -46%) rotate(9deg) scale(.88); }
.fan__card { position: absolute; z-index: 3; width: clamp(250px, 20vw, 330px); right: -2%; bottom: 3%; }
.fan__ring { position: absolute; inset: 6% 2% 2% 2%; border-radius: 50%; background: radial-gradient(closest-side, #FFFFFF 0, #FFFFFF 55%, rgba(255,255,255,0) 100%); }
.fan__caps { position: absolute; left: 0; right: 0; bottom: -8px; display: flex; justify-content: center; gap: 24px; font-size: 14px; font-weight: 600; color: var(--faint); }
@media (max-width: 900px) {
  .fan { height: 520px; min-height: 0; margin-inline: -10px; }
  .fan .phone { width: 196px; }
  .fan .phone--a { transform: translate(-118%, -48%) rotate(-8deg) scale(.86); }
  .fan .phone--c { transform: translate(18%, -48%) rotate(8deg) scale(.86); }
  .fan__card { width: 250px; right: 50%; transform: translateX(50%); bottom: -36px; }
}

/* ------------------------------------------------------------------ devices */
.phone { position: relative; aspect-ratio: 1320 / 2868; border-radius: 15% / 7%; padding: 3.4%; background: linear-gradient(145deg, #3A3D44, #121318 40%, #2B2E34); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 40px 80px -36px rgba(21, 23, 28, .55), 0 18px 30px -20px rgba(21, 23, 28, .35); }
.phone::before { content: ""; position: absolute; right: -2px; top: 24%; width: 3px; height: 10%; border-radius: 2px; background: #2A2C31; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 12.4% / 5.8%; overflow: hidden; background: #000; }
.phone__screen > img, .phone__screen > picture, .phone__screen > picture > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__screen > .stack { position: absolute; inset: 0; }
.phone__screen > .stack > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--light { background: linear-gradient(145deg, #F4F5F7, #D7DADF 45%, #EEF0F2); box-shadow: 0 0 0 1px rgba(21, 23, 28, .08), inset 0 0 0 1.5px rgba(255, 255, 255, .8), 0 40px 80px -36px rgba(21, 23, 28, .45); }
.phone--light::before { background: #CDD0D5; }
.s-ink .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 50px 100px -40px rgba(0, 0, 0, .9); }
.tablet { position: relative; aspect-ratio: 2064 / 2752; border-radius: 5.5%; padding: 2.6%; background: linear-gradient(145deg, #F4F5F7, #D3D6DB 50%, #ECEEF0); box-shadow: 0 0 0 1px rgba(21, 23, 28, .08), 0 50px 90px -40px rgba(21, 23, 28, .45); }
.tablet__screen { width: 100%; height: 100%; border-radius: 3.4%; overflow: hidden; background: #fff; }
.tablet__screen img { width: 100%; height: 100%; object-fit: cover; }
.shot-cap { margin-top: 22px; font-size: 14px; color: var(--faint); text-align: center; }
.s-ink .shot-cap { color: #6E7580; }

/* ------------------------------------------------------------------ layouts */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__visual { display: flex; justify-content: center; align-items: flex-start; position: relative; }
.split__visual .phone { width: min(330px, 74vw); }
.split__visual .phone + .phone { margin-left: -60px; margin-top: 90px; }
.split__copy .d3 { margin-bottom: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.pair { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 40px); }
.pair .phone { width: min(300px, 44vw); }
.pair .phone:nth-child(2) { margin-top: 80px; }

.list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; max-width: 34em; }
.list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; line-height: 1.45; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li strong { color: var(--text); font-weight: 650; }
.list li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: radial-gradient(circle, var(--lime) 0 4px, transparent 5px), var(--canvas); box-shadow: var(--raise-sm); }
.s-ink .list li { border-color: var(--night-line); color: var(--night-muted); }
.s-ink .list li strong { color: var(--night-text); }
.s-ink .list li::before { background: radial-gradient(circle, var(--lime) 0 4px, transparent 5px), var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }

/* feature tiles: a grid of soft raised surfaces, varied sizes */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.tile { grid-column: span 4; position: relative; padding: 34px 32px 32px; border-radius: 30px; background: var(--canvas); box-shadow: var(--raise); display: flex; flex-direction: column; gap: 12px; min-height: 240px; text-decoration: none; overflow: hidden; }
.s-white .tile { background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 26px 50px -36px rgba(21, 23, 28, .35); }
.tile--wide { grid-column: span 8; }
.tile--half { grid-column: span 6; }
.tile--full { grid-column: span 12; }
.tile h3 { font: 640 25px/1.08 var(--display); letter-spacing: -.03em; }
.tile p { color: var(--muted); font-size: 16.5px; line-height: 1.5; margin: 0; }
.tile .ico { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--canvas); box-shadow: var(--raise-sm); margin-bottom: 10px; }
.tile .ico svg { width: 22px; height: 22px; }
.tile__go { margin-top: auto; padding-top: 18px; font-weight: 650; font-size: 15.5px; display: inline-flex; align-items: center; gap: 8px; }
a.tile { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
a.tile:hover { transform: translateY(-4px); }
.s-ink .tile { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.s-ink .tile p { color: var(--night-muted); }
.s-ink .tile .ico { background: var(--night-3); box-shadow: none; }
@media (max-width: 1000px) { .tile, .tile--wide, .tile--half { grid-column: span 6; } }
@media (max-width: 640px) { .tile, .tile--wide, .tile--half { grid-column: span 12; min-height: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; font-weight: 600; color: var(--text); }
.s-ink .chip { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-text); }
.chip--lime { background: var(--lime); box-shadow: none; color: var(--ink); }

/* ------------------------------------------------------------------ media bands (generated atmosphere) */
.band { position: relative; height: min(88vh, 900px); min-height: 520px; overflow: hidden; background: var(--night); }
.band picture, .band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__img { will-change: transform; }
.band__copy { position: absolute; left: 0; right: 0; bottom: clamp(48px, 7vw, 110px); z-index: 2; }
.band__copy .d2 { max-width: 9.5em; }
.band__copy .lede { margin-top: 24px; max-width: 26em; }
.band--light .band__copy { color: var(--text); }
.band--dark .band__copy { color: var(--night-text); }
.band--dark .band__copy .lede { color: #B9C0CA; }
.band--dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,15,18,.72) 0, rgba(14,15,18,.2) 55%, rgba(14,15,18,0) 100%); }
.band--light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,247,248,.7) 0, rgba(247,247,248,.12) 52%, rgba(247,247,248,0) 100%); }
.band__label { position: absolute; right: var(--gut); bottom: 18px; z-index: 2; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.band--light .band__label { color: rgba(21, 23, 28, .45); }
@media (max-width: 700px) {
  .band { height: 92svh; }
  .band--dark::after { background: linear-gradient(0deg, rgba(14,15,18,.9) 0, rgba(14,15,18,.35) 55%, rgba(14,15,18,0) 100%); }
  .band--light::after { background: linear-gradient(0deg, rgba(247,247,248,.94) 0, rgba(247,247,248,.4) 50%, rgba(247,247,248,0) 100%); }
}
.reveal-clip { clip-path: inset(0 0 0 0 round 0); }

/* ------------------------------------------------------------------ agent cards: rebuilt from the Messenger
   card component (32 px radius, 3 px agent-blue top rule, ink avatar, pill buttons), light and dark */
.kc { --c-bg: #FFFFFF; --c-text: #16181D; --c-muted: #636973; --c-inset: #F7F7F8; --c-btn2: #F2F3F5; --c-pri: #15171C; --c-pri-t: #FFFFFF; --c-line: #E6E7EA;
  position: relative; font-family: var(--app); color: var(--c-text); background: var(--c-bg); border-radius: 28px; padding: 22px 22px 22px; box-shadow: inset 0 3px 0 var(--blue), 0 0 0 1px var(--c-line), 0 24px 50px -30px rgba(21, 23, 28, .35); text-align: left; letter-spacing: -.005em; }
.kc-dark .kc, .kc.kc--dark { --c-bg: #202227; --c-text: #F3F4F6; --c-muted: #A3A9B3; --c-inset: #191B1F; --c-btn2: #15171C; --c-pri: #EDEEF1; --c-pri-t: #15171C; --c-line: #2C2F35; box-shadow: inset 0 3px 0 #7FA8F8, 0 0 0 1px var(--c-line), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.kc__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.kc__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #15171C; color: #fff; font: 700 13px/1 var(--app); letter-spacing: .02em; }
.kc-dark .kc__av, .kc--dark .kc__av { background: #0F1013; }
.kc__who { display: grid; line-height: 1.25; }
.kc__who b { font-size: 14px; font-weight: 650; }
.kc__who span { font-size: 13.5px; color: var(--c-muted); }
.kc__time { font-size: 13px; color: var(--c-muted); }
.kc__title { font: 700 21px/1.18 var(--app); letter-spacing: -.02em; margin: 16px 0 10px; }
.kc__body { font-size: 15.5px; line-height: 1.5; color: var(--c-muted); margin: 0 0 12px; }
.kc__risk { font-size: 13px; font-weight: 600; color: var(--c-muted); margin: 0 0 12px; }
.kc__params { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--c-inset); display: grid; gap: 8px; }
.kc__params div { display: grid; gap: 1px; }
.kc__params dt { font-size: 12.5px; font-weight: 650; color: var(--c-muted); }
.kc__params dd { margin: 0; font-size: 15px; }
.kc__status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-muted); margin: 0 0 14px; }
.kc__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-muted); flex: none; }
.kc__status span { margin-left: auto; }
.kc__status--ok i { background: var(--lime); }
.kc__status--run i { background: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .2); }
.kc__status--done { color: #4B78C8; }
.kc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kc__actions--1 { grid-template-columns: 1fr; }
.kc__btn { display: grid; place-items: center; min-height: 46px; padding: 0 14px; border-radius: 15px; background: var(--c-btn2); color: var(--c-text); font: 650 15px/1.1 var(--app); border: 0; }
.kc__btn--pri { background: var(--c-pri); color: var(--c-pri-t); }
.kc__btn--wide { grid-column: span 2; }
.kc__opts { display: grid; gap: 8px; }
.kc__opt { display: block; padding: 14px 14px; border-radius: 13px; background: var(--c-btn2); font: 650 15px/1.2 var(--app); }
.kc__opt:first-child { background: var(--c-pri); color: var(--c-pri-t); }
.kc__sources { margin: 4px 0 14px; }
.kc__sources b { display: block; font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.kc__src { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 8px 0; }
.kc__src span { display: grid; font-size: 14.5px; line-height: 1.3; }
.kc__src small { font-size: 12.5px; color: var(--c-muted); }
.kc__src svg { width: 16px; height: 16px; color: var(--c-muted); }
.kc__sec { margin: 12px 0 6px; font-size: 13.5px; font-weight: 650; }
.kc__ul { margin: 0; padding: 0; list-style: none; }
.kc__ul li { position: relative; padding-left: 14px; font-size: 15px; line-height: 1.45; color: var(--c-muted); }
.kc__ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }
.kc__meta { font-size: 13px; color: var(--c-muted); margin: 0 0 12px; }
.kc.is-approved .kc__actions { display: none; }
.kc .kc__status--after { display: none; }
.kc.is-approved .kc__status--before { display: none; }
.kc.is-approved .kc__status--after { display: flex; }

/* ------------------------------------------------------------------ the Simone chat (rebuilt Messenger DM) */
.dm { position: absolute; inset: 0; background: linear-gradient(180deg, #ECEDF0 0, #F7F7F8 22%, #F4F5F7 100%); font-family: var(--app); color: #16181D; display: flex; flex-direction: column; }
.dm__status { display: flex; justify-content: space-between; align-items: center; padding: 6.2% 9% 0; font: 650 clamp(12px, 1.05vw, 15px)/1 var(--app); }
.dm__status i { display: inline-block; width: 22px; height: 11px; border-radius: 3px; background: #16181D; margin-left: 6px; vertical-align: -1px; }
.dm__island { position: absolute; top: 2.3%; left: 50%; transform: translateX(-50%); width: 33%; height: 3.6%; border-radius: 999px; background: #000; }
.dm__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 6% 5% 0; }
.dm__btns { display: flex; align-items: center; gap: 8%; }
.dm__btns--r { justify-content: flex-end; }
.dm__round { width: clamp(28px, 2.6vw, 38px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px -4px rgba(21, 23, 28, .25); }
.dm__round svg, .dm__ic { width: 46%; height: 46%; }
.dm__ic { width: clamp(14px, 1.2vw, 18px); height: auto; }
.dm__tile { position: relative; width: clamp(52px, 4.8vw, 68px); aspect-ratio: 1; border-radius: 30%; background: #15171C; color: #fff; display: grid; place-items: center; font: 650 clamp(16px, 1.5vw, 22px)/1 var(--app); box-shadow: 0 0 0 3px #F4F5F7, 0 0 0 5px var(--green); }
.dm__name { text-align: center; margin-top: 8px; font: 750 clamp(16px, 1.45vw, 21px)/1.1 var(--app); letter-spacing: -.02em; }
.dm__online { text-align: center; font-size: clamp(11px, .95vw, 13px); color: #636973; margin-top: 3px; }
.dm__feed { position: relative; flex: 1; overflow: hidden; margin-top: 4%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 100%); mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 100%); }
.dm__track { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 4% 8px; }
.dm__composer { margin: 0 4% 6%; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: clamp(38px, 3.4vw, 48px); border-radius: 999px; background: #fff; box-shadow: 0 8px 22px -12px rgba(21, 23, 28, .3); color: #98A0AB; font-size: clamp(12px, 1.05vw, 15px); }
.dm__composer span { flex: 1; }
.dm__composer svg { width: 16px; height: 16px; color: #16181D; }
.dm .kc { border-radius: 22px; padding: 14px 14px 14px; max-width: 88%; font-size: 13px; box-shadow: inset 0 2.5px 0 var(--blue), 0 0 0 1px #E3E5E9; }
.dm .kc__av { width: 28px; height: 28px; font-size: 10px; }
.dm .kc__who b { font-size: 11.5px; } .dm .kc__who span { font-size: 11px; } .dm .kc__time { font-size: 10.5px; }
.dm .kc__title { font-size: 15.5px; margin: 10px 0 6px; }
.dm .kc__body { font-size: 12px; margin-bottom: 8px; }
.dm .kc__risk { font-size: 10.5px; margin-bottom: 8px; }
.dm .kc__params { padding: 8px 10px; border-radius: 12px; margin-bottom: 9px; gap: 5px; }
.dm .kc__params dt { font-size: 10px; } .dm .kc__params dd { font-size: 12px; }
.dm .kc__status { font-size: 10.5px; margin-bottom: 9px; }
.dm .kc__btn { min-height: 34px; border-radius: 11px; font-size: 12px; }
.dm .kc__opt { padding: 10px; border-radius: 10px; font-size: 12px; }
.dm .kc__sources b { font-size: 11.5px; } .dm .kc__src span { font-size: 12px; } .dm .kc__src small { font-size: 10.5px; }
.bub { max-width: 80%; padding: 9px 13px; border-radius: 18px; font-size: clamp(12px, 1vw, 14px); line-height: 1.38; }
.bub--me { align-self: flex-end; background: #15171C; color: #fff; border-bottom-right-radius: 6px; }
.bub--me q { display: block; quotes: none; margin: 0 0 7px; padding: 7px 10px; border-radius: 11px; background: #2E3036; color: #C9CDD4; font-size: .88em; }
.bub--me q::before, .bub--me q::after { content: none; }
.bub--me q b { display: block; color: #fff; font-weight: 650; }
.bub--me small { display: inline-flex; gap: 4px; align-items: center; margin-left: 10px; font-size: .78em; color: #9AA1AC; }
.bub--me small i { color: var(--lime); font-style: normal; font-weight: 700; letter-spacing: -.2em; }
.bub--ai { align-self: flex-start; background: #fff; box-shadow: 0 0 0 1px #E6E7EA; border-bottom-left-radius: 6px; }
.bub--typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.bub--typing i { width: 6px; height: 6px; border-radius: 50%; background: #98A0AB; }
.dm__day { align-self: center; font-size: 10.5px; font-weight: 650; letter-spacing: .08em; color: #98A0AB; margin: 4px 0; }

/* the pinned conversation scene */
.convo { position: relative; }
.convo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; min-height: 100svh; padding: 110px 0 60px; }
.convo__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: beat; }
.convo__steps li { counter-increment: beat; display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; padding: 16px 0; border-top: 1px solid var(--line); transition: opacity .4s; }
.convo__steps li:last-child { border-bottom: 1px solid var(--line); }
.convo__steps li::before { content: counter(beat, decimal-leading-zero); grid-row: span 2; font: 600 14px/1.6 var(--sans); color: var(--faint); font-variant-numeric: tabular-nums; }
.convo__steps b { font: 640 clamp(20px, 1.8vw, 26px)/1.15 var(--display); letter-spacing: -.03em; }
.convo__steps span { font-size: 16px; color: var(--muted); line-height: 1.45; }
.js-scene .convo__steps li { opacity: .3; }
.js-scene .convo__steps li.is-on { opacity: 1; }
.js-scene .convo__steps li.is-on::before { color: var(--lime-deep); }
.convo__phone { display: flex; justify-content: center; }
.convo__phone .phone { width: min(380px, 80vw); }
.convo__progress { height: 3px; border-radius: 3px; background: var(--line); margin-top: 26px; overflow: hidden; }
.convo__progress i { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 900px) {
  .convo__grid { grid-template-columns: 1fr; min-height: 0; padding: 0; gap: 48px; }
  .convo__phone { order: -1; }
}

/* ------------------------------------------------------------------ the four themes track */
.themes { position: relative; background: var(--night); color: var(--night-text); overflow: hidden; }
.themes__intro { padding: clamp(96px, 12vw, 180px) 0 clamp(40px, 5vw, 70px); }
.themes__track { display: flex; gap: 24px; padding: 0 var(--gut) clamp(96px, 10vw, 150px); width: max-content; }
.theme { position: relative; width: min(78vw, 1060px); min-height: min(76vh, 700px); border-radius: 40px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); padding: clamp(30px, 3.4vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; overflow: hidden; text-decoration: none; }
.theme__n { font: 600 15px/1 var(--sans); color: var(--night-muted); font-variant-numeric: tabular-nums; }
.theme__copy { display: flex; flex-direction: column; gap: 20px; }
.theme__copy .d3 { margin-top: auto; }
.theme__copy p { color: var(--night-muted); max-width: 28em; margin: 0; }
.theme__go { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; color: var(--lime); }
.theme__vis { position: relative; display: grid; place-items: center; }
.theme--privacy { background: radial-gradient(120% 100% at 90% 10%, #1F2A1A 0, var(--night-2) 55%); }
.theme--localai { background: radial-gradient(120% 100% at 85% 20%, #16223A 0, var(--night-2) 55%); }
.theme--security { background: radial-gradient(120% 100% at 85% 20%, #241C1C 0, var(--night-2) 55%); }
.theme--custom { background: radial-gradient(120% 100% at 85% 20%, #1D2230 0, var(--night-2) 55%); }
@media (max-width: 900px) {
  .themes__track { flex-direction: column; width: auto; }
  .theme { width: 100%; grid-template-columns: 1fr; min-height: 0; border-radius: 30px; }
  .theme__copy .d3 { margin-top: 10px; }
}

/* small proof widgets used in theme panels and pages */
.vram { width: 100%; max-width: 480px; }
.vram__bar { display: flex; height: 64px; border-radius: 18px; overflow: hidden; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); }
.vram__bar i { display: block; height: 100%; }
.vram__bar .v1 { flex: 0 0 40%; background: var(--lime); }
.vram__bar .v2 { flex: 0 0 21.25%; background: var(--blue); }
.vram__bar .v3 { flex: 0 0 7.5%; background: #8FB7FA; }
.vram__bar .v4 { flex: 0 0 6.9%; background: #DCE8FD; }
.vram__legend { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 14.5px; color: var(--night-muted); }
.vram__legend li { display: flex; gap: 10px; align-items: center; }
.vram__legend b { color: var(--night-text); font-weight: 650; margin-left: auto; font-variant-numeric: tabular-nums; }
.vram__legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.vram__legend .v1 { background: var(--lime); } .vram__legend .v2 { background: var(--blue); } .vram__legend .v3 { background: #8FB7FA; } .vram__legend .v4 { background: #DCE8FD; } .vram__legend .v5 { background: var(--night-3); box-shadow: inset 0 0 0 1px #3A3E46; }
.vram__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: #6E7580; margin-top: 8px; font-variant-numeric: tabular-nums; }
.s-light .vram__bar, .s-white .vram__bar { background: var(--inset); box-shadow: inset 0 0 0 1px var(--line); }
.s-light .vram__legend, .s-white .vram__legend { color: var(--muted); }
.s-light .vram__legend b, .s-white .vram__legend b { color: var(--text); }

.dial { width: min(420px, 100%); }
.dial__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; border-radius: 22px; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); }
.dial__row button { border: 0; border-radius: 15px; padding: 14px 6px; background: transparent; color: var(--night-muted); font-weight: 650; font-size: 15px; cursor: pointer; display: grid; gap: 2px; }
.dial__row button small { font-weight: 500; font-size: 12.5px; color: #6E7580; }
.dial__row button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.dial__row button[aria-pressed="true"] small { color: rgba(21, 23, 28, .7); }
.dial__out { margin-top: 18px; display: flex; gap: 8px; min-height: 36px; }
.dial__out i { width: 34px; height: 34px; border-radius: 11px; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); }
.dial__out i.on { background: var(--blue); box-shadow: none; }
.dial__note { margin-top: 12px; font-size: 14.5px; color: var(--night-muted); }
.s-light .dial__row, .s-white .dial__row { background: var(--inset); box-shadow: var(--press); }
.s-light .dial__row button, .s-white .dial__row button { color: var(--muted); }
.s-light .dial__out i, .s-white .dial__out i { background: var(--inset); box-shadow: inset 0 0 0 1px var(--line); }
.s-light .dial__out i.on, .s-white .dial__out i.on { background: var(--blue); box-shadow: none; }
.s-light .dial__note, .s-white .dial__note { color: var(--muted); }

/* hash-bound approval diagram */
.seal { width: 100%; max-width: 520px; display: grid; gap: 12px; font-family: var(--app); }
.seal__row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); font-size: 14.5px; }
.seal__row dt { color: var(--night-muted); font-size: 13px; }
.seal__row dd { margin: 0; color: var(--night-text); }
.seal__hash { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(154, 215, 75, .12); box-shadow: inset 0 0 0 1px rgba(154, 215, 75, .45); color: var(--lime); font: 600 14px/1.3 ui-monospace, "SF Mono", Menlo, monospace; }
.seal__hash span { color: var(--night-muted); font: 600 13px/1 var(--sans); }
.seal__rules { display: flex; flex-wrap: wrap; gap: 8px; }
.s-light .seal__row, .s-white .seal__row { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.s-light .seal__row dt, .s-white .seal__row dt { color: var(--muted); }
.s-light .seal__row dd, .s-white .seal__row dd { color: var(--text); }
.s-light .seal__hash, .s-white .seal__hash { color: var(--lime-deep); background: rgba(154, 215, 75, .14); }

/* key grid (recovery key, drawn from the real card) */
.keygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(420px, 100%); }
.keygrid span { padding: 16px 8px; border-radius: 14px; text-align: center; font: 600 17px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .08em; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-text); }

/* ------------------------------------------------------------------ diagrams (inline SVG, DrawSVG) */
.diagram { width: 100%; }
.diagram svg { width: 100%; height: auto; overflow: visible; }
.dg-node rect { fill: var(--night-2); stroke: var(--night-line); stroke-width: 1.5; }
.dg-node--hi rect { stroke: var(--lime); }
.dg-node--blue rect { stroke: var(--blue); }
.dg-node text { fill: var(--night-text); font: 650 17px var(--sans); }
.dg-node .sub { fill: var(--night-muted); font: 500 13.5px var(--sans); }
.dg-line { fill: none; stroke: #3A3F48; stroke-width: 2; }
.dg-flow { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; }
.dg-flow--blue { stroke: var(--blue); }
.dg-zone { fill: rgba(154, 215, 75, .05); stroke: rgba(154, 215, 75, .35); stroke-dasharray: 6 8; stroke-width: 1.5; }
.dg-zone-label { fill: var(--lime); font: 650 14px var(--sans); }
.dg-dot { fill: var(--lime); }
.s-light .dg-node rect, .s-white .dg-node rect { fill: var(--surface); stroke: var(--line); }
.s-light .dg-node text, .s-white .dg-node text { fill: var(--text); }
.s-light .dg-node .sub, .s-white .dg-node .sub { fill: var(--muted); }
.s-light .dg-line, .s-white .dg-line { stroke: #CDD1D7; }
.s-light .dg-node--hi rect, .s-white .dg-node--hi rect { stroke: var(--lime-deep); }
.s-light .dg-flow, .s-white .dg-flow { stroke: var(--lime-deep); }
.s-light .dg-zone-label, .s-white .dg-zone-label { fill: var(--lime-deep); }
.s-light .dg-zone, .s-white .dg-zone { fill: rgba(154, 215, 75, .07); stroke: rgba(111, 168, 43, .5); }
.diagram--m { display: none; }
@media (max-width: 760px) { .diagram--d { display: none; } .diagram--m { display: block; } }

/* ------------------------------------------------------------------ networks */
.nets { display: flex; flex-wrap: wrap; gap: 14px; }
.netc { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 20px; background: var(--canvas); box-shadow: var(--raise-sm); font-weight: 650; }
.netc .net { width: 30px; height: 30px; color: var(--ink); }
.s-ink .netc { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.s-ink .netc .net { color: var(--night-text); }

/* ------------------------------------------------------------------ app stack (home) */
.apps { position: relative; }
.app { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 70px; border-radius: 44px 44px 0 0; overflow: hidden; }
.app + .app { margin-top: -44px; }
.app--msg { background: var(--surface); }
.app--cloud { background: #EEF0F3; }
.app--mail { background: radial-gradient(110% 80% at 88% 18%, rgba(154, 215, 75, .16), rgba(154, 215, 75, 0) 62%), var(--canvas); }
.app + .app { box-shadow: 0 -30px 60px -34px rgba(21, 23, 28, .22); }
.app__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.app__vis { display: flex; justify-content: center; align-items: flex-start; gap: 26px; }
.app__vis .phone { width: min(300px, 40vw); }
.app__vis .phone:nth-child(2) { margin-top: 90px; }
.app__icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 26px; box-shadow: var(--raise-sm); }
@media (max-width: 900px) { .app__grid { grid-template-columns: 1fr; } .app { min-height: 0; } .app__vis .phone { width: 44vw; } }

/* ------------------------------------------------------------------ photo search demo (Cloud) */
.psearch { width: min(560px, 100%); }
.psearch__bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 16px 40px -26px rgba(21, 23, 28, .4); font: 500 17px/1 var(--app); }
.psearch__bar svg { width: 18px; height: 18px; color: var(--muted); }
.psearch__q { flex: 1; color: var(--text); min-height: 1em; }
.psearch__q::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--blue); vertical-align: -2px; }
.psearch__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.psearch__chips button { border: 0; padding: 9px 15px; border-radius: 999px; background: var(--canvas); box-shadow: var(--raise-sm); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.psearch__chips button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.psearch__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-radius: 22px; overflow: hidden; }
.psearch__grid figure { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--inset); }
.psearch__grid figure.is-out { display: none; }
.psearch__grid img { width: 100%; height: 100%; object-fit: cover; }
.psearch__note { margin-top: 14px; font-size: 14px; color: var(--faint); }


/* ------------------------------------------------------------------ mail: tone menu demo and spam flow */
.tone { width: min(520px, 100%); }
.tone__card { border-radius: 26px; background: #16181D; color: #EEF0F3; padding: 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px #2B2E35; font-family: var(--app); }
.tone__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #9AA1AC; margin-bottom: 14px; }
.tone__ai { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #C9A56A; color: #E0C08A; font-weight: 650; font-size: 13px; }
.tone__ai svg { width: 14px; height: 14px; }
.tone__text { min-height: 7.6em; font-size: 16.5px; line-height: 1.55; color: #EEF0F3; }
.tone__text p { margin: 0; }
.tone__menu { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #2B2E35; }
.tone__menu button { border: 0; padding: 8px 13px; border-radius: 999px; background: #22252B; color: #C9CDD4; font: 600 13.5px/1 var(--app); cursor: pointer; }
.tone__menu button[aria-pressed="true"] { background: #E0C08A; color: #16181D; }
.tone__cap { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* ------------------------------------------------------------------ voice */
.duplex { width: 100%; }
.duplex svg { width: 100%; height: auto; }
.wave { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.wave--you { stroke: var(--lime); }
.wave--ai { stroke: var(--blue); }
.duplex__lbl { fill: var(--night-muted); font: 600 14px var(--sans); }
.duplex__tick { stroke: #2B2E35; stroke-width: 1; }
.duplex__barge { fill: rgba(154, 215, 75, .1); stroke: rgba(154, 215, 75, .5); stroke-dasharray: 4 6; }
.stat { display: grid; gap: 6px; }
.stat b { font: 640 clamp(48px, 5.4vw, 88px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .42em; letter-spacing: -.02em; margin-left: 4px; color: var(--night-muted); }
.stat span { font-size: 15.5px; color: var(--night-muted); max-width: 20em; }
.s-light .stat b small, .s-white .stat b small { color: var(--faint); }
.s-light .stat span, .s-white .stat span { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--night-line); }
.s-light .stats, .s-white .stats { border-color: var(--line); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; gap: 30px; } }

/* ------------------------------------------------------------------ goal timeline (agents) */
.goal { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; max-width: 980px; margin-inline: auto; }
.goal__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; }
.goal__line svg { width: 2px; height: 100%; overflow: visible; }
.goal__line path { stroke: var(--lime); stroke-width: 2; fill: none; }
.goal__line .base { stroke: var(--night-line); }
.goal__step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 340px); gap: 28px; padding: 34px 0; align-items: center; }
.goal__dot { width: 64px; height: 64px; border-radius: 22px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); display: grid; place-items: center; color: var(--lime); position: relative; z-index: 1; }
.goal__dot svg { width: 26px; height: 26px; }
.goal__step h3 { font: 640 clamp(26px, 2.4vw, 36px)/1.05 var(--display); letter-spacing: -.035em; margin-bottom: 10px; }
.goal__step p { color: var(--night-muted); margin: 0; max-width: 30em; }
.goal__step .kc { width: 100%; }
@media (max-width: 900px) { .goal__step { grid-template-columns: 64px 1fr; } .goal__step .kc, .goal__step .bub { grid-column: 2; } .goal__line { left: 31px; } }

/* card gallery with light/dark toggle */
.gallery__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--inset); box-shadow: var(--press); }
.seg button { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 650; font-size: 15px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--raise-sm); }
.gallery { columns: 3 340px; column-gap: 22px; padding: 30px; border-radius: 40px; background: #ECEDF0; transition: background .5s var(--ease); }
.gallery .kc { break-inside: avoid; margin: 0 0 22px; }
.gallery.kc-dark { background: #1C1D21; }
@media (max-width: 640px) { .gallery { padding: 14px; border-radius: 28px; } }

/* memory panel */
.memory { border-radius: 30px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(21, 23, 28, .45); padding: 10px; width: min(520px, 100%); }
.memory__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 16px; border-radius: 20px; align-items: center; }
.memory__row + .memory__row { box-shadow: 0 -1px 0 var(--line); }
.memory__row b { font-weight: 650; font-size: 16px; }
.memory__row small { grid-column: 1; font-size: 13.5px; color: var(--faint); }
.memory__acts { grid-row: span 2; display: flex; gap: 6px; }
.memory__acts span { padding: 8px 12px; border-radius: 999px; background: var(--inset); font-size: 13px; font-weight: 650; }
.memory__acts span.del { background: #FDECEC; color: #B4282E; }
.memory__never { margin-top: 10px; padding: 16px; border-radius: 20px; background: var(--inset); font-size: 14px; color: var(--muted); }
.memory__never b { color: var(--text); }

/* coding-agent flow */
.forge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: f; }
.forge li { list-style: none; counter-increment: f; padding: 26px 22px; border-radius: 26px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); display: grid; gap: 10px; align-content: start; }
.forge li::before { content: counter(f); width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--night-3); color: var(--lime); font-weight: 700; }
.forge li.yes::before { background: var(--lime); color: var(--ink); }
.forge b { font: 640 21px/1.1 var(--display); letter-spacing: -.03em; }
.forge span { font-size: 15px; color: var(--night-muted); line-height: 1.45; }
@media (max-width: 900px) { .forge { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .forge { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ CTA and footer */
.cta { position: relative; overflow: hidden; }
.cta__box { position: relative; border-radius: 48px; padding: clamp(48px, 7vw, 110px); background: var(--ink); color: var(--night-text); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 50px; align-items: end; overflow: hidden; }
.cta__box::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(154, 215, 75, .28), rgba(154, 215, 75, 0)); }
.cta__box .d2 { position: relative; }
.cta__side { position: relative; display: grid; gap: 22px; }
.cta__side p { color: var(--night-muted); margin: 0; }
.cta__side .btns { margin-top: 0; }
.cta__box .btn:not(.btn--lime) { background: var(--night-3); color: var(--night-text); box-shadow: inset 0 0 0 1px #33373F; }
@media (max-width: 900px) { .cta__box { grid-template-columns: 1fr; border-radius: 32px; } }

.foot { background: var(--canvas); padding: 90px 0 40px; font-size: 15.5px; }
.foot__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.foot__brand p { color: var(--muted); margin-top: 18px; max-width: 18em; }
.foot h2 { font: 600 14px/1 var(--sans); color: var(--faint); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__word { font: 700 clamp(120px, 25vw, 420px)/.74 var(--display); letter-spacing: -.075em; color: #ECEDF0; margin: 0 0 30px -.04em; user-select: none; white-space: nowrap; }
.foot__base { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; color: var(--faint); font-size: 14px; border-top: 1px solid var(--line); padding-top: 26px; }
.foot__base a { color: var(--muted); }
.foot__inception { display: inline-block; margin: 14px 0 0 -8px; line-height: 0; }
.foot__inception img { display: block; height: 64px; width: auto; }
.foot__inception:focus-visible { outline-offset: 2px; }
@media (max-width: 1000px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: span 2; } }

/* ------------------------------------------------------------------ docs, contact, downloads */
.prose { max-width: 44em; }
.prose h2 { font: 640 clamp(30px, 3vw, 44px)/1.05 var(--display); letter-spacing: -.035em; margin: 0 0 20px; }
.prose h3 { font: 650 20px/1.3 var(--sans); margin: 34px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 10px; }
.prose li strong { color: var(--text); }
.docs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 70px; align-items: start; }
.docs__nav { position: sticky; top: 110px; display: grid; gap: 2px; padding: 12px; border-radius: 24px; background: var(--canvas); box-shadow: var(--raise); }
.docs__nav a { padding: 11px 14px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--muted); }
.docs__nav a:hover { background: var(--inset); color: var(--text); }
.docs__body > section { padding: 0 0 70px; margin-bottom: 70px; border-bottom: 1px solid var(--line); }
.docs__body > section:last-child { border: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } .docs__nav { position: static; grid-template-columns: 1fr 1fr; } }

.dl { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; border-radius: 44px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 50px 100px -60px rgba(21, 23, 28, .5); }
.dl__copy { padding: clamp(32px, 4.5vw, 68px); display: grid; gap: 18px; align-content: start; }
.dl__art { position: relative; background: #ECEDF0; display: grid; place-items: center; padding: 60px 30px; overflow: hidden; }
.dl__art .phone { width: min(300px, 62vw); position: relative; z-index: 1; }
.dl__word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 700 clamp(90px, 12vw, 190px)/1 var(--display); letter-spacing: -.07em; color: #DFE1E5; white-space: nowrap; }
.dl__cap { position: relative; z-index: 1; margin-top: 22px; font-size: 14px; color: var(--muted); text-align: center; }
.apps-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.app-choice { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; text-align: left; padding: 18px; border-radius: 24px; border: 0; background: var(--canvas); box-shadow: var(--raise-sm); cursor: pointer; }
.app-choice[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: 0 20px 40px -20px rgba(21, 23, 28, .6); }
.app-choice img { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; }
.app-choice strong { font: 650 18px/1.1 var(--display); letter-spacing: -.02em; }
.app-choice .choice-copy { display: contents; }
.app-choice .choice-copy span { font-size: 13.5px; color: var(--muted); }
.app-choice[aria-selected="true"] .choice-copy span { color: #B5BBC4; }
.platform-selector { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--inset); box-shadow: var(--press); width: max-content; }
.platform-selector button { display: inline-flex; gap: 8px; align-items: center; border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font-weight: 650; cursor: pointer; color: var(--muted); }
.platform-selector button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.platform-selector button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: var(--raise-sm); }
.platform-selector button:disabled { opacity: .35; cursor: not-allowed; }
.platform-note, .download-catalog-status, .download-security-status, .download-filename { font-size: 14.5px; color: var(--muted); margin: 0; }
.release-information { padding: 18px 20px; border-radius: 20px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); }
.release-state { margin: 0; font-weight: 650; }
.release-state.ready::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; }
#release-details { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; margin: 12px 0 0; }
#release-details[hidden] { display: none; }
#release-details dt { font-size: 12.5px; color: var(--faint); }
#release-details dd { margin: 0; font-weight: 650; font-size: 15px; }
.download-action { justify-content: center; }
.download-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.download-action[aria-disabled="true"] { opacity: .5; cursor: progress; }
.download-verification { min-height: 66px; }
.download-secondary { display: flex; flex-wrap: wrap; gap: 22px; }
.download-secondary a { font-weight: 650; text-decoration: none; }
.download-checksum { border-radius: 18px; background: var(--canvas); padding: 14px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.download-checksum summary { cursor: pointer; font-weight: 650; }
.download-checksum code { display: block; word-break: break-all; font-size: 13px; padding: 10px 0; color: var(--muted); }
.download-checksum button { border: 0; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; cursor: pointer; margin-right: 10px; }
.download-retry { margin-top: 14px; border: 0; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 650; cursor: pointer; }
.download-nojs { margin-top: 20px; padding: 24px; border-radius: 20px; background: var(--inset); }
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.install__go { margin: 18px 0 0; }
.install article { padding: 36px; border-radius: 30px; background: var(--canvas); box-shadow: var(--raise); }
.install h3 { font: 640 26px/1.1 var(--display); letter-spacing: -.03em; margin: 10px 0 16px; }
.install ol { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 10px; }
.install .tag { font-size: 13.5px; font-weight: 650; color: var(--faint); }
@media (max-width: 900px) { .dl, .install { grid-template-columns: 1fr; } .apps-tabs { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.contact__panel { padding: clamp(32px, 4vw, 60px); border-radius: 40px; background: var(--ink); color: var(--night-text); display: grid; gap: 20px; }
.contact__panel p { color: var(--night-muted); margin: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ motion helpers (only with JS + motion) */
.js-motion [data-rise] { opacity: 0; transform: translateY(36px); }
.js-motion .split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ scene frames */
.phone__screen > .stack > .frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__screen > .stack > .frame:first-child { z-index: 2; }
.convo__fig { margin: 0; }
.convo .shot-cap { max-width: 30em; margin-inline: auto; }

/* the rebuilt Simone chat in Messenger's dark theme (matches the real capture set) */
.dm--dark { background: #17191E; color: #F3F4F6; }
.dm--dark .dm__round { background: #2A2D33; color: #E8EAEE; box-shadow: none; }
.dm--dark .dm__ic { color: #E8EAEE; }
.dm--dark .dm__tile { background: #2E3137; box-shadow: none; border-radius: 26%; color: #F3F4F6; }
.dm--dark .dm__name { color: #F3F4F6; }
.dm--dark .dm__status i { background: #F3F4F6; }
.dm--dark .dm__composer { background: #111317; color: #8A919C; box-shadow: none; }
.dm--dark .dm__composer svg { color: #C9CDD4; }
.dm--dark .bub--me { background: #2E3036; }
.dm--dark .bub--me q { background: #3A3D44; }
.dm--dark .bub--ai { background: #23262B; color: #EEF0F3; box-shadow: none; }
.dm--dark .kc { box-shadow: 0 0 0 1px #2C2F35; }
.dm--dark .kc__av { background: #2E3137; }
.dm .kc__head { grid-template-columns: auto 1fr auto; }


/* ------------------------------------------------------------------ hero visuals for inner pages */
.hero__vis { position: relative; display: flex; justify-content: center; align-items: center; gap: 22px; }
.hero__vis .phone { width: min(330px, 70vw); }
.hero__vis .phone + .phone { width: min(280px, 56vw); margin-top: 120px; margin-left: -70px; }
.hero__vis .tablet { width: min(560px, 100%); }
.hero--ink { background: var(--night); color: var(--night-text); }
.hero--ink .lede { color: var(--night-muted); }
.hero--ink .kick { color: var(--night-muted); }
.hero--ink .pill { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-muted); }
.hero--ink .btn:not(.btn--lime):not(.btn--ink) { background: var(--night-2); color: var(--night-text); box-shadow: inset 0 0 0 1px var(--night-line); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 10%, rgba(14, 15, 18, .55) 55%, rgba(14, 15, 18, .2)); }
.hero .wrap { position: relative; z-index: 1; }
.p-cloud .phone__screen img, .p-messenger .phone__screen img { background: #fff; }
.tile--shot { grid-row: span 2; padding-bottom: 0; }
.tile__phone { margin-top: auto; display: flex; justify-content: center; padding-top: 24px; height: 380px; overflow: hidden; }
.tile__phone .phone { width: 250px; align-self: flex-start; }
@media (max-width: 1000px) { .tile--shot { grid-row: auto; } }
.tiles--after { margin-top: 70px; }
.pair--3 .phone { width: min(280px, 30vw); }
.pair--3 .phone:nth-child(2) { margin-top: 80px; }
.pair--3 .phone:nth-child(3) { margin-top: 160px; }
.pair--tab { align-items: flex-start; }
.pair--tab .tablet { width: min(520px, 46vw); }
.pair--tab .tablet:nth-child(2) { margin-top: 90px; }
@media (max-width: 700px) {
  .pair--3 { flex-wrap: wrap; } .pair--3 .phone { width: 44vw; } .pair--3 .phone:nth-child(3) { margin-top: 0; }
  .pair--tab { flex-direction: column; align-items: center; } .pair--tab .tablet { width: 92vw; } .pair--tab .tablet:nth-child(2) { margin-top: 0; }
  .split__visual .phone + .phone { margin-left: -40px; }
}
.hero--stack { flex-direction: column; justify-content: center; }
.hero__copy--center { text-align: center; display: grid; justify-items: center; max-width: 1000px; margin: 0 auto; }
.hero__copy--center .lede { margin-inline: auto; }
.hero__copy--center .btns { justify-content: center; }
.s-gap { margin-top: clamp(60px, 8vw, 120px); }
.forge--light li { background: var(--canvas); box-shadow: var(--raise); }
.forge--light li::before { background: var(--inset); color: var(--lime-deep); }
.forge--light li.yes::before { background: var(--lime); color: var(--ink); }
.forge--light span { color: var(--muted); }
.forge { padding: 0; margin: 0 0 40px; }
.bridges__note { margin-top: 26px; }
.hero__copy--narrow { max-width: 760px; }
.vram-light { width: 100%; max-width: 520px; }
.make { max-width: 860px; margin-inline: auto; text-align: center; display: grid; justify-items: center; }
.make .chips, .make .btns { justify-content: center; }
.make .lede { margin-inline: auto; }
.goal__shot { margin: 0; display: flex; justify-content: center; }
.goal__shot .phone { width: min(260px, 60vw); }
.bub--big { font-size: 17px; padding: 14px 18px; border-radius: 22px; max-width: 340px; justify-self: start; }
.goal__step > .bub { align-self: center; }
.hero--agents .hero__vis .phone + .phone { margin-top: 160px; }
.hero__cap { position: relative; z-index: 1; margin-top: 30px; }
.stats--light { border-color: var(--line); margin-top: 0; margin-bottom: 40px; }
.stats--light .stat span { color: var(--muted); }
.choice-ico { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.app-choice[aria-selected="true"] .choice-ico { background: var(--lime); color: var(--ink); }
.choice-ico svg { width: 24px; height: 24px; }
.panel-device[hidden] { display: none; }
.dl__copy .d3 { margin-bottom: 4px; }
.fan--dl { height: min(64vh, 640px); }

/* ---- fixes after first visual pass */
.hero--home .d1 { font-size: clamp(54px, 7.4vw, 132px); }
.hero--home .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.fan { height: min(80vh, 760px); }
.fan .phone--b { transform: translate(-50%, -52%); }
.themes__intro { padding: clamp(96px, 9vw, 120px) 0 26px; }
.themes__intro .head { margin-bottom: 0; }
.themes__intro .d2 { font-size: clamp(38px, 4.4vw, 72px); }
.theme { min-height: 0; height: max(440px, calc(100svh - 270px)); max-height: 640px; }
.theme .d3 { font-size: clamp(28px, 3vw, 48px); }
.theme__copy p { font-size: 16.5px; line-height: 1.5; }
.theme__vis .keygrid span { padding: 12px 6px; font-size: 15px; }
@media (max-width: 900px) { .theme { height: auto; max-height: none; } .theme__vis { padding: 10px 0 0; } }
svg.ar { width: 18px; height: 18px; flex: none; }
.fan .phone { width: clamp(220px, 19.5vw, 330px); }
.theme__go { margin-top: 4px; }
.hero { flex-direction: column; justify-content: center; align-items: stretch; }
.stat b span { font: inherit; color: inherit; max-width: none; }
.hero--agents .d1 { font-size: clamp(50px, 6.4vw, 112px); }
.stat b.stat__w { font-size: clamp(34px, 3.4vw, 54px); }
figure.diagram, figure.duplex, figure.tz { margin: 0; }
figure.desk { margin: 0 auto; }
@media (max-width: 900px) {
  .hero__grid, .hero--tool .hero__grid, .hero--home .hero__grid, .split, .app__grid, .convo__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__vis .phone { width: min(260px, 58vw); }
  .hero__vis .phone + .phone { width: min(220px, 46vw); margin-left: -60px; margin-top: 90px; }
  .split__visual .phone { width: min(280px, 64vw); }
  .split__visual .phone + .phone { width: min(230px, 50vw); }
  .fan { overflow: hidden; margin-inline: 0; }
}
.psearch__grid { grid-template-columns: repeat(4, 1fr); }
.d1 { font-size: clamp(48px, 6.6vw, 116px); }
.hero--home .d1 { font-size: clamp(52px, 7vw, 124px); }
.fan--dl .phone { width: clamp(190px, 16vw, 270px); }
.hero--theme .hero__copy--narrow { max-width: 900px; }
.split__copy .d2 { margin-bottom: 26px; }

/* ------------------------------------------------------------------ live iPhone captures (round 3) */
/* Live frames are sized from their own width (a padding % would follow the parent's width and crop the
   capture): the screen sits at a 3.4%-of-width bezel and keeps the capture's exact 1290:2796 ratio. */
.phone--live { aspect-ratio: 1 / 2.0879; padding: 0; }
.phone--live .phone__screen { position: absolute; inset: 1.628% 3.4%; width: auto; height: auto; }
/* the captures carry no Dynamic Island: the frame draws one, aligned with the status bar */
.phone--live .phone__screen::after { content: ""; position: absolute; top: 1%; left: 50%; width: 29%; height: 2.9%; translate: -50% 0; border-radius: 999px; background: #000; }
/* a capture cut short (room list above the broadcast rows, 1290:1770): the device dips into the page */
.phone--cut { aspect-ratio: 1 / 1.3128; border-radius: 15% 15% 0 0 / 11.4% 11.4% 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to bottom, #000 80%, rgba(0, 0, 0, 0) 100%); }
.phone--cut::before { top: 37%; height: 15%; }
.phone--cut .phone__screen { inset: 2.59% 3.4% 0; border-radius: 12.4% 12.4% 0 0 / 9% 9% 0 0; }
.phone--cut.phone--live .phone__screen::after { top: 1.5%; height: 4.4%; }
/* Mail Track zoom: the real inbox rows, enlarged, open counters ringed */
.tz { width: min(560px, 100%); }
.tz__img { position: relative; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 50px 90px -50px rgba(21, 23, 28, .5), 0 18px 34px -24px rgba(21, 23, 28, .3); }
.tz__img img { width: 100%; height: auto; border-radius: 24px; }
.tz__ring { position: absolute; width: 11%; aspect-ratio: 1.5; translate: -50% -50%; border-radius: 999px; box-shadow: 0 0 0 3px var(--lime), 0 0 0 10px rgba(154, 215, 75, .24); }
.tz__ring--a { left: 95.6%; top: 17.6%; }
.tz__ring--b { left: 89.7%; top: 84%; }
.tz__ring::after { content: attr(data-l); position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%; white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 650 13px/1 var(--sans); box-shadow: 0 10px 20px -10px rgba(21, 23, 28, .5); }
.tz__cap { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; font-size: 15px; color: var(--muted); text-align: center; }
.tz__cap svg { width: 20px; height: 20px; flex: none; color: var(--lime-deep); }
.hero__vis--track { padding-bottom: 20px; }
.hero__vis--track .tz { position: absolute; z-index: 2; left: -4%; bottom: 10%; width: min(400px, 64%); }
.tz--float .tz__cap { display: none; }
@media (max-width: 900px) {
  .hero__vis--track { flex-direction: column; }
  .hero__vis--track .tz { position: relative; left: auto; bottom: auto; width: 94%; margin: -90px auto 0; }
}
@media (max-width: 480px) { .tz__ring::after { font-size: 11.5px; padding: 6px 9px; right: calc(100% + 8px); } }

/* ------------------------------------------------------------------ live macOS windows (chrome is in the image) */
.desk { position: relative; width: 100%; max-width: 1120px; margin-inline: auto; }
.desk__win img { width: 100%; height: auto; filter: drop-shadow(0 44px 60px rgba(21, 23, 28, .26)) drop-shadow(0 10px 18px rgba(21, 23, 28, .12)); }
.s-ink .desk__win img { filter: drop-shadow(0 50px 80px rgba(0, 0, 0, .75)) drop-shadow(0 0 1px rgba(255, 255, 255, .18)); }
.desk__phone { position: absolute; z-index: 2; }
.desk .desk__phone .phone { width: 100%; margin: 0; }
.desk--hero .desk__phone { right: -2%; bottom: -14%; width: 20%; }
.desk--msg .desk__phone { left: 53%; top: 16%; width: 24%; }
.hero__desk { margin-top: clamp(50px, 6vw, 90px); padding-bottom: 9%; }
.split__visual .desk { width: 100%; }
@media (max-width: 700px) { .desk--hero .desk__phone { width: 30%; right: -1%; bottom: -22%; } .hero__desk { padding-bottom: 18%; } }
