/* Agent Dock website: a dark, calm page over a slowly moving wallpaper, with Liquid
   Glass panels (frosted, a light rim, a soft top highlight). Serif headlines, a clean sans
   for everything else. */
:root {
  --ink: #f5f5f7;
  --soft: rgba(245, 245, 247, 0.68);
  --faint: rgba(245, 245, 247, 0.45);
  --night: #07080c;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --rim: rgba(255, 255, 255, 0.16);
  --blue: #5aa9ff;
  --green: #4cd6a0;
  --amber: #ffb347;
  --grey: #8a8f9c;
  --accent: #e9edff;
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 26px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--ink);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font: 500 0.88em var(--mono); background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 6px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: rgba(233,237,255,.7); }

/* Sky: the page sits on the visitor's own sky. main.js sets these colours from the local
   time (where the sun is) and the weather; registered colours let it fade between them. */
@property --sky-top { syntax: "<color>"; inherits: true; initial-value: #0b1030; }
@property --sky-mid { syntax: "<color>"; inherits: true; initial-value: #2a2f6b; }
@property --sky-low { syntax: "<color>"; inherits: true; initial-value: #6a5a8f; }
@property --sun { syntax: "<color>"; inherits: true; initial-value: #ffb27a; }
:root { --sun-x: 70%; --sun-y: 80%; --sun-size: 70vmax; --sun-glow: .55; --cloud: 0; --fog: 0; }
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden;
       background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-low) 100%);
       transition: --sky-top 3s ease, --sky-mid 3s ease, --sky-low 3s ease, --sun 3s ease; }
.sun { position: absolute; left: var(--sun-x); top: var(--sun-y); width: var(--sun-size); height: var(--sun-size); transform: translate(-50%, -50%);
       border-radius: 50%; background: radial-gradient(circle, var(--sun) 0%, transparent 62%); opacity: var(--sun-glow); filter: blur(30px);
       transition: left 3s ease, top 3s ease, opacity 3s ease; }
.cloud { position: absolute; width: 80vmax; height: 30vmax; border-radius: 50%; background: radial-gradient(ellipse, rgba(220,226,240,.55), transparent 65%);
         filter: blur(40px); opacity: var(--cloud); animation: drift 60s ease-in-out infinite alternate; transition: opacity 3s ease; will-change: transform; }
.cloud.one { top: 8%; left: -20%; }
.cloud.two { top: 34%; right: -30%; animation-duration: 80s; }
/* Soft cloud texture across the whole sky, like Hark's: always a few wisps, thicker
   when it's cloudy. Drawn once as noise, then only slid sideways, so it costs nothing. */
.wisps { position: absolute; inset: -10% -50% -10% -10%; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'><filter id='c' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.0028 0.0065' numOctaves='5' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 2.4 -1.15'/></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>") 0 0 / 1200px 800px repeat;
          opacity: calc(0.22 + var(--cloud) * 0.45); filter: blur(6px); mix-blend-mode: soft-light; transition: opacity 3s ease;
          -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), #000 40%, #000 80%, rgba(0,0,0,.6)); mask-image: linear-gradient(180deg, rgba(0,0,0,.5), #000 40%, #000 80%, rgba(0,0,0,.6));
          animation: wisps 240s linear infinite; will-change: transform; }
.wisps.near { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='800'><filter id='c' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.0028 0.0065' numOctaves='5' seed='23' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 2.4 -1.15'/></filter><rect width='100%25' height='100%25' filter='url(%23c)'/></svg>"); background-size: 1800px 1200px; opacity: calc(0.16 + var(--cloud) * 0.4);
               mix-blend-mode: screen; filter: blur(14px); animation-duration: 160s; }
@keyframes wisps { to { transform: translateX(-1200px); } }
@keyframes drift { to { transform: translate(8vmax, 3vmax); } }
.sky-label { margin: 6px 0 0; padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--soft); }

/* Liquid Glass: frosted, a hairline rim, a soft light catching the top edge. */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  border: 1px solid var(--rim);
  backdrop-filter: blur(28px) saturate(170%); -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.35);
}

/* Buttons */
.button { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 500; transition: transform .15s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .mascot:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.button.small { padding: 8px 16px; font-size: 14px; }
.button.primary { padding: 14px 26px; background: var(--ink); color: #0b0c10; font-size: 16px; box-shadow: 0 10px 30px rgba(255,255,255,.12); }
.button.primary svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero: a big rounded card with the app on the left, a calm column on the right. */
.hero { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 0; min-height: 100vh; min-height: 100svh; padding: 22px; }
.stage-card { position: relative; border-radius: 30px; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 560px;
              background: radial-gradient(circle at 18% 22%, rgba(255,150,80,.55), transparent 45%), radial-gradient(circle at 80% 15%, rgba(110,130,255,.6), transparent 48%),
                          radial-gradient(circle at 45% 105%, rgba(50,200,160,.45), transparent 52%), #1a2036;
              box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.corner-logo { position: absolute; top: 24px; left: 26px; z-index: 2; }
.corner-logo img { filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.learn { position: absolute; left: 22px; bottom: 22px; padding: 11px 22px; font-size: 16px; z-index: 2; }
.pitch { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 40px 30px 110px; }
.mascot { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50%; }
.mascot canvas { width: 150px; height: auto; aspect-ratio: 1; }
h1 { font-size: clamp(52px, 5.4vw, 76px); letter-spacing: -0.02em; }
.lede { max-width: 30em; text-wrap: balance; color: var(--ink); font-size: clamp(19px, 1.75vw, 25px); line-height: 1.3; margin: 0; font-weight: 500; letter-spacing: -0.02em; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 30px; width: min(100%, 440px); }
.button.wide { width: 100%; justify-content: center; padding: 17px 22px; font-size: 18px; font-weight: 500; }
.button.glass.wide { color: var(--ink); }
.fine { color: rgba(245,245,247,.6); font-size: 13px; }
.sky-label { margin: 8px 0 0; font-size: 13px; color: rgba(245,245,247,.5); }
.legal { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: min(90%, 360px); margin: 0; font-size: 13px; line-height: 1.45; color: rgba(245,245,247,.5); }
.legal a { color: rgba(245,245,247,.9); }
.legal a:hover { text-decoration: underline; }

/* Section dots on the right edge: the app's notch, with one light per section. */
.edge { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 12px;
        padding: 14px 9px 14px 11px; border-radius: 16px 0 0 16px; border-right: 0; }
.edge a { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background .3s ease, box-shadow .3s ease; }
.edge a.on { background: var(--green); box-shadow: 0 0 10px var(--green); }

/* Slim bar that appears once the hero has scrolled away */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between;
          padding: calc(14px + env(safe-area-inset-top, 0px)) 30px 14px; transform: translateY(-110%); transition: transform .35s ease; pointer-events: none; }
.topbar.on { transform: none; pointer-events: auto; }
.topbar .word { font: 500 40px/1 var(--serif); letter-spacing: -0.02em; }
.topbar .word em { font-style: italic; font-weight: 300; color: rgba(233,237,255,.7); }
.button.dark { padding: 14px 28px; background: rgba(12,13,18,.82); color: var(--ink); font-size: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.14); }


/* The hero film: teams in flow, everything moving and everything in order. */
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.reel video.on { opacity: 1; }
/* One line over the film, like Hark's wordmark over theirs; a soft shade keeps it readable. */
.stage-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(8,10,20,.55)); }
.video-line { position: absolute; z-index: 2; left: 0; right: 0; bottom: 110px; margin: 0; text-align: center; color: #fff;
              font: 400 clamp(40px, 4.6vw, 76px)/1.05 var(--serif); letter-spacing: -0.02em; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.video-line em { font-style: italic; font-weight: 300; }

/* Status lights */
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.blue { background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.dot.green { background: var(--green); box-shadow: 0 0 12px var(--green); }
.dot.amber { background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.dot.grey { background: var(--grey); }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255,179,71,.25), 0 0 18px var(--amber); } }

/* Features, laid out like Hark: words on the left, the app working on the right. */
.features { position: relative; z-index: 1; padding: 14vh clamp(16px, 3vw, 60px) 0; margin-top: -6vh;
            background: linear-gradient(180deg, rgba(14,15,22,0) 0, rgba(14,15,22,.85) 22vh, #0e0f16 40vh); }
.feature { max-width: 1900px; margin: 0 auto; min-height: 100vh; display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: center; padding: 100px 0; }
.feature:nth-child(even) { grid-template-columns: 1fr 0.8fr; }
.feature:nth-child(even) .demo { order: -1; }
.feature .text { display: flex; flex-direction: column; gap: 18px; padding-left: clamp(0px, 4vw, 90px); }
.feature h2 { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 12px; }
.feature .text p { color: var(--ink); margin: 0; max-width: 28em; font-size: 19px; line-height: 1.5; }
.demo { position: relative; height: min(800px, 78vh); min-height: 520px; border-radius: 40px; overflow: hidden; padding: clamp(28px, 4vw, 64px) clamp(28px, 6vw, 140px); display: flex; flex-direction: column; gap: 16px; justify-content: center;
        background: linear-gradient(180deg, #34479a 0%, #5361ad 45%, #8b7ba3 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 80px rgba(5,8,25,.3); }
.demo.bottom { justify-content: flex-end; }
.demo p { margin: 0; }

/* Steps appear in order; data-at says when. */
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@keyframes blink { 50% { opacity: .2; } }

/* The message field. */

/* The edge notch and its dots. */

/* Mascot */
.belief, footer { position: relative; z-index: 1; background: #0e0f16; }
.belief { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 120px 24px; text-align: center; }
.belief h2 { max-width: 13em; font: 400 clamp(48px, 7.4vw, 128px)/1.05 var(--serif); letter-spacing: -0.02em; }
.belief h2 em { font-style: italic; font-weight: 300; color: var(--soft); }
.belief p { margin: 0; color: var(--soft); font-size: 20px; }

footer { padding: 70px clamp(20px, 2vw, 40px) 40px; color: var(--ink); }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-logo { filter: drop-shadow(0 0 1px rgba(255,255,255,.55)); }
.cols { display: flex; gap: clamp(40px, 8vw, 110px); flex-wrap: wrap; }
.cols div { display: flex; flex-direction: column; gap: 10px; }
.cols p { margin: 0 0 12px; color: var(--soft); font-size: 18px; }
.cols a { font-size: 18px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 40px; font-size: 18px; }

/* Phones */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 12px; }
  .stage-card { min-height: 520px; order: 2; }
  .topbar .word { font-size: 30px; }
  .edge { display: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .demo { height: 480px; padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud, .wisps, .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* Terms and Privacy */
/* Legal pages, laid out like hark.com/terms: a big ruled title, numbered ruled sections, numbered clauses. */
.legal-page { background: #0e0f16; }
.legal-doc { max-width: 860px; margin: 0 auto; padding: 150px clamp(20px, 5vw, 40px) 100px; }
.legal-doc h1 { font: 400 clamp(44px, 7vw, 76px)/1.05 var(--serif); letter-spacing: -0.02em; margin: 0; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.22); }
.legal-doc .updated { margin: 18px 0 30px; color: var(--soft); font-size: 15px; }
.legal-doc .intro { font-size: 19px; line-height: 1.55; color: var(--ink); margin: 0 0 20px; }
.legal-doc section { margin-top: 46px; }
.legal-doc h2 { font: 600 21px/1.3 var(--sans); letter-spacing: -0.01em; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14); }
.legal-doc h2 span { color: var(--soft); margin-right: 4px; }
.legal-doc p, .legal-doc li { color: rgba(245,245,247,.82); font-size: 16.5px; line-height: 1.65; }
.legal-doc ol { margin: 0; padding-left: 1.6em; display: grid; gap: 10px; }
.legal-doc li::marker { color: var(--soft); }
.legal-doc b { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }

@media (max-width: 820px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; min-height: 0; padding: 60px 0; }
  .feature:nth-child(even) .demo { order: 0; }
  .feature .text { padding-left: 0; }
}
.foot-bottom .button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; }
.foot-bottom .button svg { width: 20px; height: 20px; fill: currentColor; }
.belief .button { padding: 16px 30px; font-size: 18px; }
.learn { background: rgba(20,22,30,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; }

/* "This is Agent Dock": the real look, in a feature card. */
.demo.product-demo { padding: 0; background: linear-gradient(180deg, #6f93d6 0%, #a9bde6 50%, #f0d6c2 100%); }   /* the same soft sky as the other cards */
.feature .steps { grid-template-columns: 1fr; gap: 18px; margin: 18px 0 0; max-width: 30em; }
/* The desktop is drawn at 1440×900 (a real Mac's points) and scaled to fit, so it stays crisp and true to size. */
.desk { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; transform-origin: 0 0; transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--fit, .7));
        font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter Tight", system-ui, sans-serif; color: #fff; text-align: left; }
.desk p { margin: 0; }
/* Liquid Glass: light, frosted, the wallpaper showing through. */
.desk .lg { position: absolute; border-radius: 22px; color: #fff; background: rgba(44,52,78,.5);
         backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%);
         box-shadow: 0 30px 60px rgba(0,0,0,.25), inset 0 0 0 .5px rgba(255,255,255,.35); }
.sub { color: rgba(255,255,255,.65); font-size: 13px; }
.cb { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 16px; color: rgba(255,255,255,.85); }
.pv { width: 22px; height: 22px; flex: none; }
.rail2 { position: absolute; right: 8px; top: 170px; display: flex; flex-direction: column; gap: 6px; }
.rail2 .pill { width: 30px; padding: 6px 0; border-radius: 15px; display: flex; flex-direction: column; align-items: center; background: rgba(120,135,150,.4);
               backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.4); transition: box-shadow .3s, background .3s; }
.rail2 .pill i { width: 9px; height: 9px; margin: 6px 0; border-radius: 50%; }
.rail2 .g { background: #30d158; } .rail2 .b { background: #0a84ff; } .rail2 .i { background: rgba(255,255,255,.4); }
.rail2 .a { background: #ff9f0a; box-shadow: 0 0 8px #ff9f0a; animation: pulse 1.6s ease-in-out infinite; }
.rail2 .more { font-size: 10px; letter-spacing: 1px; padding: 8px 0; color: #fff; }
.desk.hover .rail2 .pill:first-child { background: rgba(160,175,190,.55); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.6), 0 0 0 3px rgba(255,255,255,.2); }
.alist { right: 50px; top: 150px; width: 440px; padding: 18px 14px 12px; opacity: 0; transform: translateX(18px); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.9,.25,1); }
.desk.hover .alist, .desk.open .alist { opacity: 1; transform: none; }
.ahead { display: flex; align-items: flex-start; gap: 8px; padding: 0 6px 6px; } .ahead > div { flex: 1; } .at { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.grp { margin: 12px 8px 4px !important; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; }
.arow { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; transition: background .25s; } .arow > div { flex: 1; }
.arow.hot { background: rgba(255,255,255,.1); } .desk.clicked .arow.hot { background: rgba(255,255,255,.22); }
.an { font-size: 16px; font-weight: 500; } .as { font-size: 13px; color: rgba(255,255,255,.65); }
.as .amber { color: #ffb340; } .as .done { color: #30d158; } .amb { color: #ff9f0a; font-style: normal; font-size: 9px; } .ok { color: #30d158; font-style: normal; } .spin { font-style: normal; }
.chev { color: rgba(255,255,255,.55); font-size: 18px; }
.usage { display: flex; align-items: center; gap: 18px; margin-top: 10px; padding: 12px 8px 4px; border-top: .5px solid rgba(255,255,255,.2); font-size: 14px; }
.usage b { color: #ffb340; } .usage .chev { margin-left: auto; }
.ring { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border-radius: 50%; background: conic-gradient(#ff9f0a var(--p), rgba(255,255,255,.25) 0); -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px); mask: radial-gradient(circle, transparent 4px, #000 4.5px); }
.convo { left: 466px; top: 150px; width: 470px; height: 560px; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .3s ease, transform .4s cubic-bezier(.2,.9,.25,1); }
.desk.open .convo { opacity: 1; transform: none; }
.chead { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; border-bottom: .5px solid rgba(255,255,255,.2); } .chead > div { flex: 1; }
.ct { font-size: 17px; font-weight: 600; } .dots { color: rgba(255,255,255,.8); margin-right: 4px; }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 16px; font-size: 15.5px; line-height: 1.4; }
.msgs small { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.5); }
.msgs .me { align-self: flex-end; padding: 8px 14px; border-radius: 18px; background: rgba(255,255,255,.2); } .msgs .me small { text-align: right; }
.permit { padding: 12px; border-radius: 18px; background: rgba(30,32,40,.5); box-shadow: inset 0 0 0 1px rgba(255,159,10,.4); display: flex; flex-direction: column; gap: 10px; }
.ph { display: flex; gap: 8px; font-size: 15px; font-weight: 500; } .ph small { display: block; margin: 0; font-weight: 400; }
.permit pre { margin: 0; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.08); font: 13px ui-monospace, "SF Mono", Menlo, monospace; }
.pc { display: flex; gap: 8px; } .pc span { height: 30px; padding: 0 14px; display: grid; place-items: center; border-radius: 99px; background: rgba(255,255,255,.14); font-size: 13px; font-weight: 600; }
.pc .yes { background: #0a84ff; } .desk.answered .pc .yes { animation: tap .3s ease; box-shadow: 0 0 0 4px rgba(10,132,255,.35); }
.composer { display: flex; align-items: center; gap: 10px; margin: 0 14px; } .field { flex: 1; padding: 9px 16px; border-radius: 99px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.55); font-size: 15px; }
.clip, .send { color: rgba(255,255,255,.7); font-size: 16px; }
.cfoot { display: flex; gap: 18px; padding: 10px 16px 14px; color: rgba(255,255,255,.55); font-size: 12.5px; }
.desk .cursor { position: absolute; z-index: 9; width: 22px; left: 50%; top: 60%; transition: left 1s cubic-bezier(.45,0,.2,1), top 1s cubic-bezier(.45,0,.2,1); filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.desk.click .cursor { animation: tap .25s ease; }
@keyframes tap { 50% { transform: scale(.82); } }
.steps { list-style: none; margin: 44px auto 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1100px; text-align: left; }
.steps li { position: relative; padding: 18px 0 0 46px; color: var(--soft); font-size: 18px; line-height: 1.4; border-top: 1px solid rgba(255,255,255,.14); transition: color .4s, border-color .4s; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
                    background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 600; transition: background .4s, color .4s; }
.steps li b { color: var(--ink); font-weight: 600; }
.steps li.on { color: var(--ink); border-color: #fff; } .steps li.on::before { background: #fff; color: #1d1d1f; }

/* The answer and steer demos. Things marked data-show/data-hide fade in and out (main.js). */
.demo.product-demo.midday { background: linear-gradient(180deg, #4a83d8 0%, #8db6ec 55%, #d8e7f6 100%); }
.demo.product-demo.evening { background: linear-gradient(180deg, #3d3f7a 0%, #9a6a8c 55%, #eba37a 100%); }
.desk [data-show], .desk [data-hide] { transition: opacity .35s ease, max-height .45s ease, margin .45s ease, padding .45s ease, transform .4s ease; }
.desk .msgs [data-show]:not(.shown), .desk .msgs [data-hide]:not(.shown) { opacity: 0; max-height: 0; margin: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; transform: translateY(8px); }
.desk .msgs .shown { max-height: 400px; }
.desk .msgs { justify-content: flex-end; overflow: hidden; }
.desk .note { align-self: center; padding: 5px 12px; border-radius: 99px; background: rgba(0,0,0,.22); font-size: 13px; color: rgba(255,255,255,.8); }
.desk .work { display: inline-flex; gap: 4px; margin-left: 8px; } .desk .work i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
.desk .work i:nth-child(2) { animation-delay: .2s; } .desk .work i:nth-child(3) { animation-delay: .4s; }
.desk:not(.run) .work { display: none; }
/* Claude's question card (QuestionCard). */
.quest { padding: 12px; border-radius: 18px; background: rgba(30,32,40,.5); box-shadow: inset 0 0 0 1px rgba(10,132,255,.45); display: flex; flex-direction: column; gap: 8px; }
.qh { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; } .qh small { margin: 0 0 0 auto !important; font-size: 12px; }
.qi { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #0a84ff; font-size: 12px; font-weight: 700; }
.chiplet { align-self: flex-start; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.12); font-size: 10px; font-weight: 600; color: rgba(255,255,255,.75); }
.qt { font-size: 15px; }
.qo { display: flex; gap: 10px; padding: 7px 10px; border-radius: 10px; } .qo b { display: block; font-weight: 500; } .qo small { margin: 0 !important; font-size: 12px; }
.qo1 { background: rgba(10,132,255,.22); }
.radio { width: 14px; height: 14px; margin-top: 3px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); transition: border .2s, box-shadow .2s; }
.desk.chosen .qo1 .radio { border: 4px solid #0a84ff; box-shadow: inset 0 0 0 2px #fff; }
.permit .instead { height: 30px; display: flex; align-items: center; padding: 0 12px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 13px; color: rgba(255,255,255,.45); }
.desk.yesdown .pc .yes { animation: tap .3s ease; box-shadow: 0 0 0 4px rgba(10,132,255,.35); }
/* The message field, with the Stop button while an agent is working. */
.field { display: flex; align-items: center; } .typed { color: #fff; } .desk.typing .field .plc, .desk .typed:not(:empty) + .plc { display: none; }
.stopb { display: none; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #fff; color: #1d1d1f; font-size: 10px; }
.desk.run .stopb { display: grid; } .desk.run .send { display: none; }

/* Accuracy pass against the real app (screenshot, 9 Oct). */
.desk .lg { background: rgba(110,122,140,.42); box-shadow: 0 24px 50px rgba(0,0,0,.22), inset 0 0 0 .5px rgba(255,255,255,.3); border-radius: 24px; }
.alist { width: 380px; padding: 18px 12px 10px; } .convo { width: 500px; }
.desk.open .alist, .desk.hover .alist { right: 60px; }
.at { font-size: 26px; font-weight: 700; letter-spacing: -.02em; } .ahead .sub { font-size: 14px; margin-top: 2px; }
.grp { display: flex; align-items: center; gap: 7px; margin: 14px 10px 4px !important; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.62); }
.grp svg { width: 15px; height: 15px; color: rgba(255,255,255,.55); }
.arow { padding: 8px 10px; gap: 12px; } .arow.hot { background: rgba(255,255,255,.14); }
.an { font-size: 17px; font-weight: 500; letter-spacing: -.01em; } .as { display: flex; align-items: center; gap: 5px; font-size: 14px; color: rgba(255,255,255,.62); }
.as b { font-weight: 600; color: #fff; } .as .done { color: #30d158; }
.ico { position: relative; width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.ico .pv { width: 28px; height: 28px; }
.badge { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; background: #1c1d22; box-shadow: 0 0 0 1.5px rgba(110,122,140,.9); }
.badge::after { content: ""; position: absolute; inset: 3.5px; border-radius: 2px; background: #fff; }
.st { width: 14px; height: 14px; flex: none; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 9px; font-weight: 800; }
.st.ok { background: #30d158; color: #fff; } .st.need { background: #fff; color: #1c1d22; }
.st.spin { border: 1.5px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.usage { font-size: 14px; } .usage b { color: #ffd60a; }
.chead { padding: 18px 18px 14px; } .chead .ico { width: 34px; height: 34px; } .chead .ico .pv { width: 32px; height: 32px; }
.ct { font-size: 19px; font-weight: 600; letter-spacing: -.01em; } .chead .sub { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); } .dot.amber { background: #ff9f0a; } .dot.blue { background: #0a84ff; }
.msgs { font-size: 16.5px; padding: 18px; } .msgs .me { padding: 9px 16px; border-radius: 20px; background: rgba(255,255,255,.24); }
.composer { gap: 12px; margin: 0 16px; padding-top: 12px; border-top: .5px solid rgba(255,255,255,.18); }
.composer .clip { width: 18px; height: 18px; color: rgba(255,255,255,.7); }
.field { padding: 10px 16px; font-size: 16px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.25); }
.send { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 14px; }
.cfoot { gap: 16px; padding: 12px 18px 16px; font-size: 13px; } .cfoot span { display: flex; align-items: center; gap: 5px; }
.cfoot svg { width: 13px; height: 13px; } .cfoot .gear { margin-left: auto; }

/* Each card starts from the problem it solves. */
.feature .text p.problem { color: var(--soft); font-size: 18px; line-height: 1.5; padding-left: 16px; border-left: 2px solid rgba(255,159,10,.7); margin-bottom: 6px; }
.problem span { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ffb340; }
/* Screenshot chips in the field and in the sent message. */
.achip, .att { display: inline-flex; align-items: center; padding: 3px 9px; margin-right: 8px; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 13px; color: #fff; }
.desk .field [data-show]:not(.shown) { display: none; }
.att { display: flex; width: max-content; margin: 0 0 6px; }

/* Narrow screens: the demo's list sits above its conversation, both full width (main.js sizes the card). */
.desk.narrow .alist { left: 20px; right: auto; top: 20px; width: 520px; }
.desk.narrow .convo { left: 20px; width: 520px; height: 540px; }
.desk.narrow .rail2 { left: 552px; right: auto; top: 40px; }
.demo.product-demo:has(.desk.narrow) { min-height: 0; }
@media (max-width: 820px) {
  /* The bar melts into the page instead of ending on a hard line: its blur and tint fade out below it. */
  .topbar.on::before { content: ""; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none;
    background: linear-gradient(rgba(14,15,22,.85), rgba(14,15,22,.6) 60%, rgba(14,15,22,0));
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  /* The same soft fade at the bottom, under Safari's toolbar. */
  body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: calc(90px + env(safe-area-inset-bottom, 0px));
    z-index: 14; pointer-events: none; background: linear-gradient(transparent, rgba(14,15,22,.75)); }
  .topbar .word { font-size: 26px; } .button.dark { padding: 10px 20px; font-size: 16px; }
  .feature .text p.problem { font-size: 16px; } .feature .steps li { font-size: 16px; }
  .belief h2 { font-size: clamp(40px, 11vw, 64px); }
}
