/* watchbird.app — one stylesheet, no framework. Colours and type follow the app (Perch.App/Theme/Colors.xaml, Geist). */

@font-face { font-family: Geist; src: url(/media/fonts/Geist-Regular.woff?v=6f259a4583) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/media/fonts/Geist-Medium.woff?v=6f259a4583) format('woff'); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/media/fonts/Geist-SemiBold.woff?v=6f259a4583) format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url(/media/fonts/Geist-Bold.woff?v=6f259a4583) format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/media/fonts/GeistMono-Regular.woff?v=6f259a4583) format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/media/fonts/GeistMono-Medium.woff?v=6f259a4583) format('woff'); font-weight: 500; font-display: swap; }

:root {
  --paper: #E6E2DA;
  --desk: #D6D2CA;
  --ink: #0B0B0C;
  --ink-2: #2A2A2E;
  --muted: #6D6860;
  --line: rgba(11, 11, 12, 0.12);
  --night: #0B0B0C;
  --night-2: #161618;
  --night-line: rgba(237, 237, 239, 0.1);
  --text-on-night: #EDEDEF;
  --muted-on-night: #A1A1A8;
  --amber: #FFB224;
  --green: #5EE0A0;
  --blue: #6CB6FF;
  --red: #FF7A7A;
  --radius: 22px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.55 Geist, system-ui, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }
.mono { font-family: var(--mono); }
.label {
  font: 500 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
}
.label::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; }
h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 0.98; letter-spacing: -0.042em; max-width: 14ch; }
h2.wide { max-width: 20ch; }
p { margin: 0; }
.body { color: var(--ink-2); font-size: clamp(17px, 1.35vw, 19px); max-width: 34em; margin-top: 26px; }

/* ---- Film grain over everything (a still SVG noise, nudged in steps) ---------------------------------- */
.grain {
  position: fixed; inset: -60px; z-index: 150; pointer-events: none; opacity: 0.075; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(3) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-22px, 14px); } 66% { transform: translate(16px, -20px); } 100% { transform: translate(0, 0); } }

/* ---- The monitor edge and the live notch ------------------------------------------------------------------ */
.bezel { position: fixed; top: 0; left: 0; right: 0; height: 6px; background: var(--night); z-index: 120; }
.notch {
  --glow: transparent;
  position: fixed; top: 6px; left: 50%; z-index: 121; transform: translateX(-50%);
  height: 38px; min-width: 132px; padding: 0 18px;
  background: var(--night); color: var(--text-on-night);
  border-radius: 0 0 18px 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -6px var(--glow);
  transition: width 0.55s var(--ease), box-shadow 0.6s ease;
  cursor: pointer; user-select: none;
}
.notch::before, .notch::after { content: ''; position: absolute; top: 0; width: 14px; height: 14px; pointer-events: none; }
.notch::before { left: -14px; background: radial-gradient(circle at 0 100%, transparent 13.5px, var(--night) 14px); }
.notch::after { right: -14px; background: radial-gradient(circle at 100% 100%, transparent 13.5px, var(--night) 14px); }
.notch__inner { display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 500 13.5px/1 Geist; transition: opacity 0.22s ease, transform 0.3s var(--ease); }
.notch__inner.is-leaving { opacity: 0; transform: translateY(-4px); }
.notch__icon { width: 15px; height: 15px; display: grid; place-items: center; }
.notch__icon svg { width: 15px; height: 15px; }
.notch__detail { font: 400 12.5px/1 var(--mono); color: var(--muted-on-night); }
.notch__badge { font: 600 11.5px/1 Geist; color: var(--amber); background: rgba(255, 178, 36, 0.16); padding: 5px 8px; border-radius: 999px; }
.notch__badge:empty, .notch__detail:empty, .notch__text:empty { display: none; }
.notch[data-state='waiting'], .notch[data-state='question'] { --glow: rgba(255, 178, 36, 0.55); }
.notch[data-state='done'] { --glow: rgba(94, 224, 160, 0.45); }
.notch[data-state='working'] { --glow: rgba(108, 182, 255, 0.28); }
.notch[data-state='idle'] { min-width: 120px; }
.idle-dot { width: 7px; height: 7px; border-radius: 50%; background: #5C5C63; }
.spin { animation: spin 1s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); animation: dot 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ---- Header -------------------------------------------------------------------------------------------------- */
.site-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; padding-top: 6px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
/* Home: two links left and two right of the notch, the notch's widest state fits in the gap between them. */
.site-nav .nav { display: grid; grid-template-columns: 1fr var(--notch-gap, 420px) 1fr; align-items: center; }
.nav__side { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__side--left .nav__links { justify-content: flex-end; }
.nav .btn { color: #F2F2F4; }
@media (max-width: 1220px) {
  .site-nav .nav { grid-template-columns: 1fr auto; }
  .nav__gap, .nav__links { display: none; }
}
@media (max-width: 720px) { .site-nav .wrap { height: 72px; } .brand span { display: none; } .nav .btn { display: none; } }

/* ---- Buttons and keys -------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 999px;
  font: 500 16px/1 Geist; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { background: var(--ink); color: #F2F2F4; box-shadow: 0 10px 30px -10px rgba(11, 11, 12, 0.55); }
.btn--primary:hover { background: #1E1E21; box-shadow: 0 14px 34px -10px rgba(11, 11, 12, 0.6), 0 0 0 4px rgba(255, 178, 36, 0.22); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(11, 11, 12, 0.35); }
.btn--small { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--light { background: #F2F2F4; color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.3); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.keys { display: flex; align-items: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.key {
  font: 500 17px/1 var(--mono); color: var(--ink); background: #F2F2F4; padding: 12px 16px; border-radius: 12px;
  box-shadow: 0 5px 0 #A9A398, 0 10px 22px -8px rgba(40, 32, 20, 0.4); transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s;
}
.keys.is-pressed .key { transform: translateY(4px); box-shadow: 0 1px 0 #A9A398, 0 4px 10px -6px rgba(40, 32, 20, 0.4); background: #fff; }
.key-plus { color: var(--muted); font: 500 16px/1 Geist; }
.dark .key-plus { color: var(--muted-on-night); }

/* ---- Screens: a slice of desktop with the monitor edge, holding a real app render ---------------------------- */
.screen {
  position: relative; background: var(--desk); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  box-shadow: 0 50px 90px -40px rgba(40, 32, 20, 0.45), 0 0 0 1px rgba(11, 11, 12, 0.07);
}
.screen::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 6px; background: #1A1A1C; z-index: 2; }
.screen img { width: 100%; }
.screen--window { background: transparent; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06); border-radius: 14px; }
.screen--window::before { display: none; }
.screen--fade img { -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.js [data-expand] img { clip-path: inset(0 37% 88% 37% round 0 0 26px 26px); transition: clip-path 1.25s var(--ease); }
.js [data-expand].is-open img { clip-path: inset(0 0 0 0 round 0 0 0 0); }
.ring { position: absolute; border-radius: 16px; pointer-events: none; opacity: 0; z-index: 3; }
.ring.is-on { animation: ring 0.9s var(--ease); }
@keyframes ring {
  0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 178, 36, 0.95), 0 0 0 0 rgba(255, 178, 36, 0.5); }
  100% { opacity: 0; box-shadow: 0 0 0 10px rgba(255, 178, 36, 0), 0 0 50px 20px rgba(255, 178, 36, 0); }
}

/* ---- Reveal on scroll ------------------------------------------------------------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Hero ------------------------------------------------------------------------------------------------ */
.hero { position: relative; padding: 170px 0 0; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 20%), rgba(255, 178, 36, 0.10), transparent 60%);
  transition: background 0.2s;
}
.rain { position: absolute; inset: 0; z-index: 0; display: flex; justify-content: space-between; gap: 40px; padding: 0 2vw;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
  opacity: 0.3; pointer-events: none; }
.rain__col { flex: 1; overflow: hidden; font: 400 12.5px/2 var(--mono); color: rgba(11, 11, 12, 0.14); white-space: nowrap; }
.rain__col > div { animation: rain var(--dur, 70s) linear infinite; }
.rain__col:nth-child(2) > div { animation-direction: reverse; }
@keyframes rain { to { transform: translateY(-50%); } }
.hero__copy { position: relative; z-index: 2; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 178, 36, 0.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 178, 36, 0); } }
.hero h1 { font-size: clamp(46px, 8.6vw, 128px); line-height: 0.9; letter-spacing: -0.052em; }
.hero h1 .eyebrow { display: flex; margin-bottom: 26px; letter-spacing: 0.08em; line-height: 1.4; white-space: normal; }
.hero h1 .l1, .hero h1 .l2 { display: block; }
.hero h1 .l2 { color: #7A746B; }
.hero .lead { margin-top: 34px; max-width: 36em; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.meta { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font: 400 14px/1.4 var(--mono); color: var(--muted); }
.meta li + li::before { content: '/'; margin-right: 22px; opacity: 0.5; }
.hero__shot { position: relative; z-index: 2; margin: clamp(64px, 8vw, 110px) auto 0; }
.hero__shot .screen { border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -1px 0 rgba(11, 11, 12, 0.06), 0 60px 120px -50px rgba(40, 32, 20, 0.6); }
@media (max-width: 720px) {
  .hero { padding-top: 130px; }
  .meta li + li::before { display: none; }
  .rain { opacity: 0.16; }
  .btn { height: 50px; padding: 0 20px; }
}

/* ---- Sections -------------------------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(110px, 13vw, 190px) 0; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split > .copy { grid-column: span 5; }
.split > .visual { grid-column: span 7; position: relative; }
.split--flip > .copy { order: 2; }
.split--flip > .visual { order: 1; }
.split > .half { grid-column: span 6; }
@media (max-width: 960px) {
  .split > .copy, .split > .visual { grid-column: 1 / -1; }
  .split--flip > .copy { order: 0; } .split--flip > .visual { order: 1; }
}
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: var(--muted-on-night); }
.points li::before { content: ''; width: 14px; height: 1px; background: var(--amber); margin-top: 12px; }

/* Dark sections open with a notch-shaped tab that carries the section label. */
.dark { background: var(--night); color: var(--text-on-night); }
.dark .body { color: var(--muted-on-night); }
.dark .label { color: var(--muted-on-night); }
.tab {
  position: absolute; top: -46px; left: 50%; transform: translateX(-50%); height: 46px; padding: 0 22px;
  display: flex; align-items: center; gap: 10px; background: var(--night); border-radius: 18px 18px 0 0;
  font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-night); white-space: nowrap;
}
.tab::before, .tab::after { content: ''; position: absolute; bottom: 0; width: 16px; height: 16px; }
.tab::before { left: -16px; background: radial-gradient(circle at 0 0, transparent 15.5px, var(--night) 16px); }
.tab::after { right: -16px; background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--night) 16px); }
.tab i { width: 7px; height: 7px; border-radius: 50%; background: var(--tab-dot, var(--amber)); box-shadow: 0 0 12px var(--tab-dot, var(--amber)); }
.glow {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.glow::before {
  content: ''; position: absolute; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; left: 50%; top: 10%;
  background: radial-gradient(circle, var(--glow-color, rgba(255, 178, 36, 0.13)), transparent 62%);
  transform: translate(-50%, 0); animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(-70%, -6%) scale(1); } to { transform: translate(-30%, 12%) scale(1.15); } }
.dark .wrap { position: relative; z-index: 1; }

/* Tour */
.tour { padding-top: clamp(90px, 10vw, 140px); }
.tour__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.tour__head h2 { max-width: none; }
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--desk); box-shadow: 0 60px 120px -50px rgba(40, 32, 20, 0.55), 0 0 0 1px rgba(11, 11, 12, 0.07); cursor: pointer; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__sound, .video__play {
  position: absolute; right: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(11, 11, 12, 0.82); color: #F2F2F4;
  font: 500 14px/1 Geist; cursor: pointer; backdrop-filter: blur(6px);
}
.video__play { left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); height: 64px; padding: 0 26px; font-size: 16px; display: none; }
.video.is-paused .video__play { display: inline-flex; }
.bars { display: inline-flex; gap: 2px; align-items: end; height: 12px; }
.bars i { width: 2px; background: currentColor; height: 4px; }
.video.is-audible .bars i { animation: bars 0.9s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: 0.2s !important; } .bars i:nth-child(3) { animation-delay: 0.4s !important; }
@keyframes bars { 50% { height: 12px; } }

/* Approve */
.approve .visual { perspective: 1400px; }

/* Questions */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 7vw, 90px); align-items: start; }
.duo > :first-child { margin-top: clamp(40px, 7vw, 110px); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } .duo > :first-child { margin-top: 0; } }

/* Sessions: a specimen sheet of the collapsed notch */
.specimen { display: grid; gap: 22px; background: var(--desk); border-radius: var(--radius); padding: 0 0 46px; position: relative; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(40, 32, 20, 0.45), 0 0 0 1px rgba(11, 11, 12, 0.07); }
.specimen::before { content: ''; height: 6px; background: #1A1A1C; }
.specimen__row { display: flex; justify-content: center; }
.pill {
  --g: transparent; position: relative; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px;
  background: var(--night); color: var(--text-on-night); border-radius: 16px; font: 500 14.5px/1 Geist; white-space: nowrap;
  box-shadow: 0 16px 36px -8px var(--g);
}
.pill .d { font: 400 13px/1 var(--mono); color: var(--muted-on-night); }
.pill--working { --g: rgba(108, 182, 255, 0.35); }
.pill--waiting { --g: rgba(255, 178, 36, 0.6); }
.pill--done { --g: rgba(94, 224, 160, 0.5); }
.pill--error { --g: rgba(255, 122, 122, 0.5); }
.pill svg { width: 16px; height: 16px; }
.pill .tag { font: 600 12px/1 Geist; padding: 5px 9px; border-radius: 999px; }
.specimen__row:nth-child(2) .pill { animation: float 6s ease-in-out infinite; }
.specimen__row:nth-child(3) .pill { animation: float 6s ease-in-out -1.5s infinite; }
.specimen__row:nth-child(4) .pill { animation: float 6s ease-in-out -3s infinite; }
.specimen__row:nth-child(5) .pill { animation: float 6s ease-in-out -4.5s infinite; }
@keyframes float { 50% { transform: translateY(-4px); } }

/* Agents */
.agents-grid { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 64px); }
.agent { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--night-line); transition: padding 0.3s var(--ease); }
.agent:hover { padding-left: 8px; }
.agents-grid li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--night-line); }
.mono-badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 500 15px/1 var(--mono); }
.agent__name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.level { display: inline-flex; align-items: center; gap: 8px; font: 400 13px/1 var(--mono); color: var(--muted-on-night); }
.level::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.level--full { --c: var(--green); } .level--shell, .level--optional { --c: var(--amber); } .level--status { --c: var(--blue); }
.fineprint { margin-top: 34px; font-size: 14px; color: #74747B; max-width: 60em; }
@media (max-width: 860px) {
  .agents-grid { grid-template-columns: 1fr; }
  .agents-grid li:nth-last-child(2) { border-bottom: 0; }
  .agent { grid-template-columns: 40px 1fr; } .mono-badge { width: 40px; height: 40px; }
  .level { grid-column: 2; }
}

/* Usage */
.pair { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(56px, 7vw, 90px); align-items: start; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }

/* Privacy */
.privacy-title { font-size: clamp(44px, 7vw, 104px); line-height: 0.94; letter-spacing: -0.05em; max-width: none; }
.privacy-title span { display: block; }
.privacy-title span:nth-child(2) { color: #8A8A92; } .privacy-title span:nth-child(3) { color: #5C5C63; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 26px 0; border-top: 1px solid var(--night-line); display: grid; grid-template-columns: 34px 1fr; gap: 6px 18px; }
.facts li:last-child { border-bottom: 1px solid var(--night-line); }
.facts .n { font: 500 13px/1.9 var(--mono); color: var(--amber); }
.facts h3 { font-size: 21px; letter-spacing: -0.02em; font-weight: 500; }
.facts p { grid-column: 2; color: var(--muted-on-night); font-size: 16px; }
.setup { margin-top: clamp(60px, 8vw, 110px); }

/* Price */
.price-card {
  position: relative; margin: clamp(48px, 6vw, 80px) auto 0; max-width: 720px; border-radius: 28px; background: var(--night); color: var(--text-on-night);
  padding: clamp(36px, 5vw, 64px); overflow: hidden; box-shadow: 0 60px 120px -50px rgba(11, 11, 12, 0.7);
}
.price-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(255, 178, 36, 0.9) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: sweep 7s linear infinite;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes sweep { to { --a: 360deg; } }
.amount { font-size: clamp(64px, 10vw, 128px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.unit { margin-top: 14px; font: 400 14px/1 var(--mono); color: var(--muted-on-night); letter-spacing: 0.04em; }
.price-list { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; gap: 14px; }
.price-list li { display: flex; gap: 14px; align-items: baseline; font-size: 17px; }
.price-list li::before { content: ''; flex: none; width: 16px; height: 9px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-3px); }
.price-note { margin-top: 18px; font-size: 14px; color: var(--muted-on-night); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor 0 0) center / 14px 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 14px no-repeat;
  transition: transform 0.35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 26px; color: var(--ink-2); max-width: 44em; font-size: 17px; }

/* Footer */
.footer { padding: 70px 0 60px; border-top: 1px solid var(--line); font-size: 15px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__tagline { margin-top: 14px; color: var(--muted); max-width: 30em; }
.langs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.langs a { text-decoration: none; padding: 7px 12px; border-radius: 999px; font: 500 13px/1 var(--mono); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.langs a[aria-current] { background: var(--ink); color: #F2F2F4; box-shadow: none; }
.footer__small { margin-top: 44px; color: var(--muted); font-size: 13px; display: grid; gap: 8px; }

/* Agent pages */
.hero--agent { padding-bottom: clamp(40px, 6vw, 80px); }
.hero--agent h1 { font-size: clamp(44px, 7.4vw, 108px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font: 400 13px/1.4 var(--mono); color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.agent-mark {
  position: absolute; z-index: 2; top: 190px; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  width: 172px; height: 172px; border-radius: 44px; display: grid; place-items: center; font: 500 58px/1 var(--mono);
  box-shadow: 0 40px 80px -30px rgba(40, 32, 20, 0.5), 0 0 0 1px rgba(11, 11, 12, 0.06); animation: float 7s ease-in-out infinite;
}
@media (max-width: 1100px) { .agent-mark { display: none; } }
.cap-table { width: 100%; border-collapse: collapse; margin-top: 34px; font-size: 16px; }
.cap-table th, .cap-table td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--line); }
.cap-table tr:last-child th, .cap-table tr:last-child td { border-bottom: 1px solid var(--line); }
.cap-table th { width: 42%; padding-right: 18px; font-weight: 500; color: var(--ink); }
.cap-table td { color: var(--ink-2); padding-left: 22px; position: relative; }
.cap-table td::before { content: ''; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 50%; }
.tone--full::before { background: var(--green); box-shadow: 0 0 0 3px rgba(94, 224, 160, 0.2); }
.tone--partial::before { background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 36, 0.2); }
.tone--none::before { background: #B4AEA4; }
.steps-title { margin-top: 64px; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; color: var(--muted-on-night); font-size: 17px; }
.steps .n { font: 500 13px/1.9 var(--mono); color: var(--amber); }
.dark .points li { font-size: 16.5px; }
.agent-links { display: flex; flex-wrap: wrap; gap: 12px; }
.agent-link {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 14px; background: var(--night); color: #EDEDEF;
  text-decoration: none; font: 500 16px/1 Geist; transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.agent-link:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(11, 11, 12, 0.6); }
.agent-link .mono-badge { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }
a.agent__name { text-decoration: none; }
a.agent__name:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* Legal pages */
.legal { padding: 150px 0 110px; }
.legal article { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.045em; margin: 22px 0 40px; }
.legal h2 { font-size: clamp(26px, 3vw, 34px); max-width: none; margin: 64px 0 18px; letter-spacing: -0.03em; }
.legal h3 { font-size: 21px; letter-spacing: -0.02em; margin: 40px 0 12px; font-weight: 600; }
.legal p, .legal li { color: var(--ink-2); font-size: 17px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin: 6px 0; }
.legal code { font: 400 0.88em/1 var(--mono); background: rgba(11, 11, 12, 0.06); padding: 2px 6px; border-radius: 6px; word-break: break-word; }
.legal .table { overflow-x: auto; margin: 10px 0 24px; }
.legal table { border-collapse: collapse; font-size: 15px; min-width: 640px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.legal th { font: 500 12.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.back { font: 500 14px/1 var(--mono); color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }

/* ---- Motion preferences ---------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-expand] img { clip-path: none; }
}
