/* ELK landing page: light, glassy and calm, after VoiceOS and Jarvis.
   Wallpapers are painted in CSS so no photography is needed. */

:root {
  --bg: #f8f7f4;
  --ink: #111427;
  --fg: #151829;
  --fg-2: #5c6275;
  --fg-3: #8d92a3;
  --line: rgba(17, 20, 39, 0.08);
  --white-edge: rgba(255, 255, 255, 0.85);

  --blue: #1084fe;
  --green: #00c972;
  --orange: #ff6700;
  --purple: #9159fe;
  --magenta: #ff309b;
  --teal: #00bca6;
  --brown: #97683d;

  --bubble: linear-gradient(180deg, #4b93ff 0%, #1f63ff 100%);
  --shadow-soft: 0 1px 2px rgba(17, 20, 39, 0.05), 0 18px 40px -22px rgba(30, 45, 110, 0.35);
  --page: min(1200px, 100% - 32px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }

/* Glass */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--white-edge), 0 0 0 1px rgba(17, 20, 39, 0.06), 0 14px 34px -16px rgba(30, 45, 110, 0.3);
}
.glass-card {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17, 20, 39, 0.06), 0 12px 30px -20px rgba(30, 45, 110, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 500; white-space: nowrap; letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 15px; border-radius: 999px; }
.btn-lg { height: 50px; padding: 0 22px; font-size: 16.5px; border-radius: 16px; }
.btn-ink { background: var(--ink); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 16px -8px rgba(17,20,39,.6); }
.btn-ink:hover { filter: brightness(1.25); }
/* The glass pill, after VoiceOS: bright face, cool rim, a soft halo */
.btn-pill {
  position: relative; isolation: isolate;
  height: 60px; padding: 0 34px 0 30px; gap: 12px; border-radius: 999px;
  font-size: 19px; font-weight: 500; color: #1d1d1f;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(243,246,252,.9) 100%);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.95),
    inset 0 2px 2px rgba(255, 255, 255, 1),
    inset 0 -4px 8px rgba(150, 170, 215, 0.22),
    0 0 0 1px rgba(110, 130, 185, 0.32),
    0 1px 2px rgba(20, 30, 70, 0.08),
    0 10px 26px -12px rgba(60, 90, 180, 0.4);
}
.btn-pill::before {
  content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: inherit;
  background: radial-gradient(70% 90% at 50% 50%, transparent 60%, rgba(150, 175, 230, 0.28));
  filter: blur(6px);
}
.btn-pill:hover { box-shadow: inset 0 0 0 1px #fff, inset 0 2px 2px #fff, inset 0 -4px 8px rgba(150,170,215,.22), 0 0 0 1px rgba(80,110,200,.45), 0 1px 2px rgba(20,30,70,.08), 0 14px 30px -12px rgba(60,90,200,.5); }
@media (max-width: 720px) { .btn-pill { height: 56px; font-size: 18px; } }

/* Tinted glass, like a macOS button */
.btn-glass {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(236,238,244,.85));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(17, 20, 39, 0.06),
    0 0 0 1px rgba(17, 20, 39, 0.1),
    0 2px 4px rgba(17, 20, 39, 0.06),
    0 10px 22px -12px rgba(40, 70, 170, 0.45);
}
.btn-glass:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(17,20,39,.06), 0 0 0 1px rgba(40,90,255,.28), 0 2px 4px rgba(17,20,39,.06), 0 14px 28px -12px rgba(40,90,255,.5); }

/* Top bar: clear glass with a bright, refracting rim, after VoiceOS */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.nav-bar, .menu {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14));
  backdrop-filter: blur(8px) saturate(170%) brightness(1.04);
  -webkit-backdrop-filter: blur(8px) saturate(170%) brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
    inset 0 -10px 18px -8px rgba(255, 255, 255, 0.55),
    inset 10px 0 18px -12px rgba(255, 255, 255, 0.6),
    inset -10px 0 18px -12px rgba(255, 255, 255, 0.6),
    0 1px 1px rgba(17, 20, 39, 0.04),
    0 12px 30px -12px rgba(30, 50, 120, 0.22);
}
.nav-bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 44px;
  width: min(1240px, 100% - 32px); height: 60px; margin-top: 14px; padding: 0 10px 0 22px;
  border-radius: 999px;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, width .35s ease;
}
/* At the top of the page the bar is just words on the page, like Grok; glass arrives on scroll */
@media (min-width: 721px) {
  .nav:not(.scrolled) .nav-bar { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.scrolled .nav-bar { width: min(980px, 100% - 32px); }
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 21px; width: auto; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-cta { margin-left: auto; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.menu-btn { display: none; }
.menu[hidden] { display: none; }
@media (max-width: 720px) {
  .nav { top: 10px; }
  .nav-bar { height: 58px; margin-top: 0; border-radius: 29px; padding: 0 8px 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn {
    all: unset; cursor: pointer; margin-left: auto; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-content: center; gap: 6px;
  }
  .menu-btn span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu {
    pointer-events: auto; margin-top: 8px; width: calc(100% - 24px); padding: 10px;
    border-radius: 26px; display: flex; flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%);
    animation: drop .25s ease both;
  }
  .menu a:not(.btn) { padding: 13px 14px; font-size: 18px; font-weight: 500; border-radius: 14px; }
  .menu a:not(.btn):active { background: rgba(17, 20, 39, 0.05); }
  .menu .btn { margin-top: 6px; border-radius: 999px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Mascots */
[data-mascot] { display: inline-block; width: 36px; height: 36px; line-height: 0; flex: none; }
[data-mascot] svg { width: 100%; height: 100%; display: block; overflow: visible; }
.m.xl { width: 92px; height: 92px; }

/* Lively mascots float, and now and then hop with a little squash (classes set by mascot.js) */
[data-lively] { animation: float 6s ease-in-out infinite; transform-origin: 50% 90%; }
[data-lively].hop { animation: hop .9s cubic-bezier(.3,.7,.3,1); }
[data-lively].tilt { animation: tilt 1.4s ease-in-out; }
@keyframes float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -4%; rotate: -2deg; } }
@keyframes hop {
  0% { transform: none; }
  18% { transform: scale(1.08, .9); }
  45% { transform: translateY(-14%) scale(.95, 1.06); }
  72% { transform: scale(1.06, .94); }
  100% { transform: none; }
}
@keyframes tilt { 0%, 100% { transform: none; } 30% { transform: rotate(-9deg); } 65% { transform: rotate(6deg); } }

/* Painted wallpapers: a base colour and three soft, drifting light blooms */
.wall { position: absolute; inset: 0; overflow: hidden; background: var(--w0); pointer-events: none; }
.wall i { position: absolute; border-radius: 50%; filter: blur(64px); animation: drift 22s ease-in-out infinite alternate; }
.wall i:nth-child(1) { width: 62%; height: 85%; left: -12%; top: -25%; background: var(--w1); }
.wall i:nth-child(2) { width: 58%; height: 80%; right: -14%; top: 5%; background: var(--w2); animation-delay: -7s; }
.wall i:nth-child(3) { width: 75%; height: 65%; left: 18%; bottom: -35%; background: var(--w3); animation-delay: -14s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6%, 4%) scale(1.08); }
  100% { transform: translate(-4%, -3%) scale(.96); }
}
.wall-hero { --w0: #4f74ff; --w1: #a8d0ff; --w2: #8a52ff; --w3: #2f5cff; }
.wall-sun { --w0: #bfe0ff; --w1: #ffec5c; --w2: #6fc2ff; --w3: #fff3a3; }
.wall-mint { --w0: #eef4ff; --w1: #d7f5e8; --w2: #dfe4ff; --w3: #fff1cf; }
.wall-roster { --w0: #f3f5fb; --w1: color-mix(in srgb, var(--agent) 30%, #fff); --w2: #e4ecff; --w3: color-mix(in srgb, var(--agent) 18%, #fff); }
.wall-deep { --w0: #0c2a86; --w1: #2b66e8; --w2: #0a1553; --w3: #4f8dff; }
.wall-phone { --w0: #6d8cff; --w1: #ffd76a; --w2: #b48cff; --w3: #5cc8ff; }
.wall-footer { --w0: #f8f7f4; --w1: #ffe45a; --w2: #8b6dff; --w3: #7fa6ff; }
.wall-hero i, .wall-deep i { filter: blur(70px); }

/* Hero */
.hero { padding: 150px 16px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-size: clamp(50px, 6.6vw, 92px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 500;
  white-space: nowrap;
}
/* The mascot sits centred on the capitals; the logo's letters stand on the baseline at cap height */
.hero-mascot { width: 0.86em; height: 0.86em; vertical-align: -0.1em; margin: 0 0.02em; }
.logo-word { display: inline-block; height: 0.748em; width: auto; vertical-align: -0.024em; }
.hero-sub { margin-top: 26px; max-width: 620px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--fg-2); text-wrap: balance; }
.hero-ctas { margin-top: 36px; display: flex; justify-content: center; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .laptop.reveal { transition-delay: .26s; transform: translateY(60px); }
.hero .laptop.reveal.in { transform: none; }

/* The Mac: a black bezel with a notch, the wallpaper, the ELK window on it; the bottom melts away */
.laptop {
  position: relative; width: min(1180px, 100%); margin-top: 72px;
  padding: 14px 14px 0; border-radius: 34px 34px 0 0;
  background: #0b0b0d;
  box-shadow: inset 0 0 0 1.5px #2b2c31, 0 -2px 0 #d8dade, 0 40px 90px -40px rgba(20, 40, 140, .55);
  -webkit-mask: linear-gradient(#000 84%, transparent 100%); mask: linear-gradient(#000 84%, transparent 100%);
}
.screen {
  position: relative; overflow: hidden; border-radius: 22px 22px 0 0;
  height: clamp(520px, 56vw, 700px);
  background: url(../assets/wallpaper.jpg) center / cover;
  text-align: left;
}
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 170px; height: 30px; border-radius: 0 0 14px 14px; background: #0b0b0d; z-index: 3; }
.notch::after { content: ""; position: absolute; left: 50%; top: 11px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #1d2230; box-shadow: inset 0 0 2px #4a5a80; }
.menubar {
  position: relative; z-index: 2; height: 30px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font-size: 13px; background: rgba(20, 40, 120, .18); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mb-left { display: flex; align-items: center; gap: 18px; }
.mb-left svg { fill: #fff; }
.mb-left img { height: 10px; width: auto; }
.mb-left span { opacity: .92; }
.mb-right { font-weight: 500; }

.app-win {
  position: absolute; left: 50%; top: 58px; transform: translateX(-50%);
  width: min(1000px, 92%); height: calc(100% - 150px);
  display: flex; flex-direction: column;
  background: rgba(250, 250, 252, .9); color: #0d0d0d;
  backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%);
  border-radius: 18px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 0 0 .5px rgba(0,0,0,.2), 0 30px 70px -20px rgba(0, 10, 60, .6);
  font-size: 14px; line-height: 1.45;
}
.aw-title { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; flex: none; }
.aw-lights { position: absolute; left: 16px; display: flex; gap: 8px; }
.aw-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.aw-lights i:nth-child(2) { background: #febc2e; } .aw-lights i:nth-child(3) { background: #28c840; }
.aw-crumb { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.aw-crumb .m { width: 22px; height: 22px; }
.aw-crumb em { font-style: normal; font-weight: 500; font-size: 12px; color: #1a7f4b; background: rgba(0, 201, 114, .14); padding: 2px 9px; border-radius: 99px; }
.laptop.done .aw-crumb em { color: #5d5d5d; background: rgba(0,0,0,.06); }
.aw-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 72px 1fr 300px; }

/* A rail of faces instead of a list */
.aw-rail { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 14px 0; }
.aw-rail .m { position: relative; width: 38px; height: 38px; opacity: .72; transition: opacity .2s; }
.aw-rail .m.on { opacity: 1; }
.aw-rail .m.on::before { content: ""; position: absolute; inset: -9px; z-index: -1; border-radius: 14px; background: rgba(0, 0, 0, .07); }
.aw-rail .m.dot::after { content: ""; position: absolute; right: -1px; top: -1px; width: 10px; height: 10px; border-radius: 50%; background: #ff263c; box-shadow: 0 0 0 2px #fafafc; }
.rail-add { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 300; color: #8f8f8f; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.12); }

.aw-chat { display: flex; flex-direction: column; min-width: 0; margin: 0 0 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.aw-thread { flex: 1; overflow: hidden; padding: 22px 24px 12px; display: flex; flex-direction: column; gap: 16px; }
.aw-me { align-self: flex-end; max-width: 80%; padding: 9px 15px; border-radius: 18px 18px 6px 18px; background: #e8f3fe; color: #0c274a; }
.aw-bot { align-self: flex-start; max-width: 90%; font-size: 14.5px; line-height: 1.55; }
.aw-timeline { list-style: none; margin: 0; padding: 0 0 0 2px; display: grid; gap: 10px; position: relative; }
.aw-timeline::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1.5px; background: rgba(0,0,0,.08); }
.aw-timeline li { display: flex; align-items: center; gap: 12px; }
.lg-dot { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.aw-timeline b { display: block; font-weight: 500; font-size: 13.5px; }
.aw-timeline small { display: block; font-size: 12px; color: #8f8f8f; }
.lg { width: 15px; height: 15px; flex: none; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.aw-composer { margin: 0 16px 16px; height: 44px; padding: 0 6px 0 14px; display: flex; align-items: center; gap: 10px; border-radius: 22px; background: #f4f4f6; color: #8f8f8f; }
.aw-composer .plus { font-size: 20px; color: #5d5d5d; font-weight: 300; }
.aw-composer .ph { flex: 1; }
.aw-composer .send { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0d0d0d; color: #fff; }

/* The finished work, beside the conversation */
.aw-result { margin: 0 12px 12px; padding: 18px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 16px; }
.res-head { display: flex; align-items: center; gap: 10px; }
.res-head .lg { width: 22px; height: 22px; }
.res-head b { display: block; font-weight: 600; font-size: 14px; }
.res-head small { display: block; font-size: 12px; color: #8f8f8f; }
.res-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.res-bars li { display: grid; grid-template-columns: 84px 1fr 38px; align-items: center; gap: 8px; font-size: 12.5px; color: #5d5d5d; }
.res-bars i { height: 8px; border-radius: 99px; background: rgba(0,0,0,.06); position: relative; overflow: hidden; }
.res-bars i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) - 12%); border-radius: inherit; background: #0d0d0d; transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.2,.8,.2,1) .2s; }
.laptop.in .res-bars i::before { transform: scaleX(1); transition-delay: calc(0.9s + 3.4 * 0.55s); }
.res-bars .low i::before { background: #ff6700; }
.res-bars .low em, .res-bars .low span { color: #c24e00; font-weight: 600; }
.res-bars em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.res-note { margin-top: 4px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5d5d5d; }
.res-note i { width: 8px; height: 8px; border-radius: 50%; background: #ff6700; }

/* The conversation plays out once the Mac scrolls into view */
.laptop .step { opacity: 0; transform: translateY(8px); }
.laptop.in .step { animation: step-in .5s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(0.9s + var(--s) * 0.55s); }
@keyframes step-in { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .aw-body { grid-template-columns: 64px 1fr; }
  .aw-result { display: none; }
}
@media (max-width: 860px) {
  .mb-left span { display: none; }
}
@media (max-width: 720px) {
  .hero { padding-top: 116px; }
  .hero-ctas .btn { width: min(300px, 100%); }
  .laptop { padding: 8px 8px 0; border-radius: 26px 26px 0 0; margin-top: 48px; }
  .screen { height: 620px; border-radius: 19px 19px 0 0; }
  .notch { width: 110px; height: 24px; }
  .menubar { height: 24px; font-size: 11px; }
  .app-win { top: 40px; width: 94%; height: calc(100% - 120px); font-size: 13.5px; }
  .aw-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .aw-chat { min-height: 0; }
  .aw-thread { gap: 12px; }
  .aw-rail { flex-direction: row; justify-content: center; padding: 2px 0 10px; gap: 10px; }
  .aw-rail .m, .rail-add { width: 30px; height: 30px; }
  .aw-rail .m.on::before { inset: -6px; border-radius: 11px; }
  .aw-chat { margin: 0 8px 8px; }
  .aw-thread { padding: 16px 14px; }
  .aw-composer { margin: 0 10px 10px; }
}

/* A big agent that looks at you, after Grok */
.section-tight { padding-top: clamp(60px, 8vw, 100px); }
.big-card {
  position: relative; min-height: 440px; padding: clamp(32px, 6vw, 72px);
  display: flex; align-items: center; border-radius: 36px;
  background: linear-gradient(180deg, #f1f3f9, #e8ebf4);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.95), 0 0 0 1px rgba(17,20,39,.06), var(--shadow-soft);
  /* The mascot rises above the card but is cut off at its rounded bottom */
  clip-path: inset(-400px 0 0 0 round 36px);
}
.big-copy { max-width: 470px; position: relative; z-index: 1; }
.big-copy h2 { font-size: clamp(32px, 3.8vw, 46px); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; }
.big-copy p { margin-top: 18px; font-size: clamp(17px, 1.8vw, 19px); color: var(--fg-2); }
.big-mascot {
  position: absolute; right: -2%; bottom: -22%;
  width: clamp(300px, 46vw, 640px); height: clamp(300px, 46vw, 640px);
  filter: none;
}
@media (max-width: 820px) {
  .big-card { flex-direction: column; align-items: flex-start; justify-content: flex-start; min-height: 600px; }
  .big-mascot { right: calc(50% - 165px); bottom: -16%; width: 330px; height: 330px; }
}

/* Sections */
.section { width: var(--page); margin: 0 auto; padding-top: clamp(110px, 12vw, 160px); }
.display { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; text-align: center; text-wrap: balance; max-width: 900px; margin: 0 auto; }
.display.left { text-align: left; margin: 0; }
.soft { color: #6d7389; }
.section-sub { margin: 20px auto 0; max-width: 640px; text-align: center; font-size: clamp(17px, 2vw, 20px); color: var(--fg-2); text-wrap: balance; }
.section-sub.left { text-align: left; margin-left: 0; }

/* Jarvis-style cards */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.card { position: relative; overflow: hidden; border-radius: 36px; display: flex; flex-direction: column; min-height: 580px; }
.card:nth-child(1) { grid-column: span 7; }
.card:nth-child(2) { grid-column: span 5; }
.card:nth-child(3) { grid-column: span 5; }
.card:nth-child(4) { grid-column: span 7; }
@media (max-width: 900px) { .card { grid-column: 1 / -1 !important; min-height: 0; } }
.card header { padding: 36px 36px 0; position: relative; z-index: 1; }
.card h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.25; }
.card header p { margin-top: 12px; font-size: 17px; max-width: 460px; }
.card-light {
  background: linear-gradient(180deg, #f1f2f8, #e9ebf3);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.95), 0 0 0 1px rgba(17,20,39,.07), var(--shadow-soft);
}
.card-light header p { color: var(--fg-2); }
.card-blue {
  color: #fff;
  background: linear-gradient(160deg, #3a78ff 0%, #1f55e6 55%, #3a33d6 100%);
  box-shadow: inset 0 0 0 1.5px rgba(170, 200, 255, 0.55), 0 0 0 1px rgba(30, 70, 220, .35), 0 24px 60px -20px rgba(40, 90, 255, 0.6);
}
.card-blue h3 { color: #fff; }
.card-blue header p { color: rgba(255, 255, 255, 0.85); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: 0.06em;
  padding: 0 12px 0 9px; border-radius: 999px; line-height: 1.35;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(17,20,39,.06), 0 2px 6px -3px rgba(17,20,39,.2);
}
.chip svg { flex: none; }
.chip-on-blue { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.3); }

.art { position: relative; flex: 1; min-height: 320px; margin-top: 30px; overflow: hidden; }
.card-light .art { border-top: 1px solid rgba(255,255,255,.8); }

.art-computer { min-height: 460px; }
.mini-win { position: absolute; background: rgba(255,255,255,.94); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(17,20,39,.06), 0 24px 44px -20px rgba(20, 60, 140, .5); }
.mini-win .bar { display: flex; gap: 6px; height: 28px; align-items: center; padding: 0 10px; background: rgba(17,20,39,.04); }
.mini-win .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(17,20,39,.14); }
.mini-win .bar span { margin-left: 8px; font-size: 11.5px; font-weight: 500; color: var(--fg-3); }
.mini-win.a { left: 6%; top: 6%; width: 60%; }
.mini-win.b { right: 5%; top: 49%; width: 46%; }
.sheet { display: grid; grid-template-columns: 1.3fr 1fr 1fr; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sheet span { padding: 7px 12px; border-top: 1px solid rgba(17,20,39,.06); color: var(--fg); transition: background .25s, box-shadow .25s; }
.sheet .h { border-top: 0; color: var(--fg-3); font-weight: 500; }
.sheet .hit.on { background: rgba(255, 103, 0, .12); box-shadow: inset 0 0 0 2px #ff6700; color: #c24e00; font-weight: 600; }
.lines { padding: 14px; display: grid; gap: 10px; }
.lines span { height: 9px; border-radius: 99px; background: rgba(17,20,39,.07); }
.lines .btnish { position: relative; height: 32px; width: 124px; margin-top: 6px; border-radius: 99px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12.5px; transition: background .3s, transform .15s; }
.btnish b { font-weight: 500; grid-area: 1 / 1; transition: opacity .25s; }
.btnish .done { opacity: 0; }
.btnish.on { background: #00a862; }
.btnish.on .idle { opacity: 0; } .btnish.on .done { opacity: 1; }
.btnish.press, .sheet .press { transform: scale(.95); }

/* The agent's pointer: a big rounded cursor, with the agent riding along behind it */
.pointer { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform; }
.pointer .cursor { position: absolute; left: -7.5px; top: -6.4px; width: 48px; height: 48px; overflow: visible; filter: drop-shadow(0 3px 6px rgba(0, 20, 70, .35)); transition: transform .12s ease; transform-origin: 7.5px 6.4px; }
.pointer .cursor path { fill: #fff; stroke: #fff; stroke-width: 5; stroke-linejoin: round; }
.pointer.click .cursor { transform: scale(.85); }
.pointer .m { position: absolute; left: 24px; top: 27px; width: 46px; height: 46px; filter: drop-shadow(0 10px 14px rgba(0, 30, 90, .3)); }
.pointer::after { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); opacity: 0; transform: scale(.4); }
.pointer.click::after { animation: ripple .5s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.pill-live { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.pill-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.art-voice { display: flex; flex-direction: column; padding: 0 28px; }
.bubble-blue {
  align-self: flex-end; max-width: 86%; padding: 10px 16px; border-radius: 20px; font-size: 16px;
  background: linear-gradient(180deg, #5d9dff, #2b6bff); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.2), 0 10px 20px -10px rgba(0, 20, 120, .6);
  position: relative; z-index: 1; margin-right: 6%;
}
.voice-panel {
  margin: -12px auto 0; width: min(100%, 360px); flex: 1; padding: 34px 20px 22px;
  border-radius: 28px 28px 0 0; text-align: center;
  background: radial-gradient(120% 70% at 50% 25%, #1f2a55 0%, #0b0f22 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center;
}
.voice-panel .orb { width: 128px; height: 128px; filter: drop-shadow(0 0 40px rgba(80, 150, 255, .55)); }
.voice-panel b { margin-top: 18px; font-size: 16px; font-weight: 600; }
.voice-panel small { font-size: 13px; color: rgba(255,255,255,.6); }
.voice-controls { display: flex; gap: 16px; align-items: center; margin-top: 18px; }
.voice-controls span { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); }
.voice-controls .main { width: 54px; height: 54px; background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.voice-controls .main i { width: 3px; height: 30%; border-radius: 3px; background: #0b0f22; animation: wave 1.1s ease-in-out infinite; }
.voice-controls .main i:nth-child(2) { animation-delay: .12s; } .voice-controls .main i:nth-child(3) { animation-delay: .24s; } .voice-controls .main i:nth-child(4) { animation-delay: .36s; } .voice-controls .main i:nth-child(5) { animation-delay: .48s; }
@keyframes wave { 50% { height: 60%; } }

.art-apps { display: grid; place-items: center; padding: 20px 20px 36px; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.app { width: 72px; aspect-ratio: 1; border-radius: 22px; position: relative; background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17,20,39,.06), 0 12px 24px -12px rgba(20, 40, 120, .45); }
.app::after { content: ""; position: absolute; inset: 25%; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.card-blue .app {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.38));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 0 0 1px rgba(255,255,255,.45), 0 14px 28px -12px rgba(10, 20, 110, .55);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.card-blue .app:hover { transform: translateY(-5px); }
.card-blue .apps { gap: 16px; }
.card-blue .app { width: clamp(64px, 7.4vw, 96px); border-radius: 26%; }
.app.more { display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 300; }
.app.more::after { display: none; }
@media (max-width: 420px) { .app { width: 62px; border-radius: 19px; } .apps { gap: 11px; } }

.art-email { display: grid; place-items: center; padding: 28px 20px; }
.email { position: relative; width: min(440px, 100%); border-radius: 26px; padding: 14px; font-size: 14.5px; }
.email-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; }
.email-top b { font-size: 16px; }
.ready { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-2); background: rgba(255,255,255,.7); padding: 4px 10px; border-radius: 99px; }
.ready i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.email-box { border-radius: 18px; background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(17,20,39,.06); }
.email-box .row { display: flex; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.email-box .row span { color: var(--fg-3); }
.email-box .body { padding: 12px 14px; line-height: 1.55; }
.email-actions { display: flex; gap: 8px; margin-top: 12px; }
.email-actions .b { height: 36px; padding: 0 16px; border-radius: 99px; display: inline-flex; align-items: center; font-weight: 500; font-size: 14px; }
.email-actions .ink { background: var(--ink); color: #fff; }
.email-actions .line { background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px rgba(17,20,39,.1); }

/* Does it for you: requests typed once, the work flowing past in the right apps */
.wash {
  width: var(--page); margin: clamp(110px, 12vw, 160px) auto 0; border-radius: 36px;
  background: linear-gradient(180deg, #e3edfd 0%, #eef4fe 55%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 #fff;
  overflow: hidden;
}
.actions { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 100px); }
.actions-head { text-align: center; padding: 0 16px; }
.struck { display: inline-block; font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -0.03em; color: #9aa6c2; text-decoration: line-through; text-decoration-thickness: 2px; margin-bottom: 8px; }
.actions-stage { position: relative; margin: 48px auto 0; width: calc(100% - 32px); height: 440px; }
.lanes {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.lane { display: flex; flex-direction: column; gap: 14px; animation: lane 34s linear infinite; }
.lane:nth-child(2) { animation-duration: 42s; animation-direction: reverse; }
.lane:nth-child(3) { animation-duration: 38s; }
@keyframes lane { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.act {
  align-self: center; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px; white-space: nowrap;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  background: rgba(255,255,255,.88);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17,20,39,.05), 0 10px 22px -14px rgba(30,45,110,.45);
}
.act:nth-child(odd) { transform: translateX(-14%); }
.act:nth-child(3n) { transform: translateX(12%); }
.act .ic { width: 30px; height: 30px; border-radius: 9px; background: #fff; position: relative; box-shadow: 0 0 0 1px rgba(17,20,39,.07); }
.act .ic::after { content: ""; position: absolute; inset: 18%; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.glass-clear {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.3));
  backdrop-filter: blur(14px) saturate(170%); -webkit-backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), inset 0 1.5px 1px #fff, inset 0 -12px 20px -10px rgba(255,255,255,.6), 0 24px 50px -20px rgba(30, 50, 140, .45);
}
.ask {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(620px, 94%); height: 72px; padding: 0 12px 0 16px; border-radius: 36px;
  display: flex; align-items: center; gap: 12px; font-size: clamp(16px, 2vw, 20px); color: var(--ink);
}
.ask .m { width: 40px; height: 40px; }
.ask-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 2px; height: 1.2em; background: var(--ink); animation: caret 1s steps(1) infinite; flex: none; }
@keyframes caret { 50% { opacity: 0; } }
.ask-send { margin-left: auto; width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .lanes { grid-template-columns: 1fr 1fr; }
  .lane:nth-child(3) { display: none; }
  .act { font-size: 13.5px; padding: 8px 12px 8px 8px; }
  .act .ic { width: 26px; height: 26px; }
  .act:nth-child(odd), .act:nth-child(3n) { transform: none; }
  .actions-stage { height: 420px; }
  .ask { height: 62px; }
  .ask .m { width: 34px; height: 34px; }
  .ask-send { width: 38px; height: 38px; }
}

/* Agents */
.roster { margin-top: 56px; display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.roster-list { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 30px; }
.roster-list button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 18px;
  font-size: 16px; font-weight: 500; color: var(--fg-2);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.roster-list button:hover { color: var(--ink); }
.roster-list button[aria-selected="true"] { color: var(--ink); background: linear-gradient(180deg, #fff, #f6f7fb); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17,20,39,.07), 0 8px 18px -10px rgba(30,45,110,.4); }
.roster-list button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.roster-list .m { width: 34px; height: 34px; }
.roster-view {
  --agent: var(--blue);
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 36px; padding: clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 32px; min-height: 540px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), 0 0 0 1px rgba(17,20,39,.06), var(--shadow-soft);
}
.roster-view .wall { z-index: -1; }
.rv-head { display: flex; align-items: center; gap: 22px; }
.rv-head .m { filter: drop-shadow(0 14px 18px color-mix(in srgb, var(--agent) 40%, transparent)); }
.rv-head h3 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.035em; font-weight: 600; }
.rv-head p { margin-top: 4px; color: var(--fg-2); font-size: 17px; }
.rv-thread { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.bubble { max-width: 80%; padding: 11px 17px; border-radius: 22px; font-size: 16.5px; line-height: 1.5; }
.bubble.me { align-self: flex-end; color: #fff; background: var(--bubble); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 20px -12px rgba(20, 60, 255, .8); }
.bubble.bot { align-self: flex-start; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17,20,39,.05), 0 10px 24px -14px rgba(30,45,110,.35); }
.pop { animation: pop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.typing { display: inline-flex; gap: 5px; padding: 16px 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
@media (max-width: 860px) {
  .roster { grid-template-columns: 1fr; }
  .roster-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: 6px; }
  .roster-list::-webkit-scrollbar { display: none; }
  .roster-list button { flex: none; border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 15px; }
  .roster-view { min-height: 480px; border-radius: 30px; }
  .bubble { max-width: 92%; }
}

/* A day */
.day { list-style: none; margin: 56px auto 0; padding: 0; max-width: 780px; display: flex; flex-direction: column; gap: 12px; }
.day li { display: grid; grid-template-columns: 64px 48px 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-radius: 24px; }
.day time { font-variant-numeric: tabular-nums; color: var(--fg-3); font-size: 16px; font-weight: 500; }
.day .m { width: 48px; height: 48px; }
.day b { font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.day p { margin-top: 1px; color: var(--fg-2); font-size: 16px; }
.day li:nth-child(2) { transition-delay: .05s; } .day li:nth-child(3) { transition-delay: .1s; } .day li:nth-child(4) { transition-delay: .15s; } .day li:nth-child(5) { transition-delay: .2s; }
@media (max-width: 560px) { .day li { grid-template-columns: 44px 1fr; align-items: start; } .day time { grid-column: 1 / -1; font-size: 13.5px; } .day .m { width: 44px; height: 44px; } }

/* Privacy: deep blue */
.deep {
  position: relative; overflow: hidden; isolation: isolate;
  width: var(--page); margin: clamp(110px, 12vw, 160px) auto 0;
  padding: clamp(90px, 11vw, 140px) 20px;
  color: #fff; text-align: center;
  border-radius: 36px;
}
.deep .wall { z-index: -1; }
.deep-inner { max-width: 700px; margin: 0 auto; }
.deep h2 { color: #fff; font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.035em; font-weight: 500; text-shadow: 0 2px 30px rgba(0, 10, 40, .35); }
.deep p { margin: 20px auto 0; max-width: 560px; font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.86); }
.lock-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 6px 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lock-pill .knob { width: 46px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: flex-end; padding: 2px; }
.lock-pill .knob svg { width: 24px; height: 24px; padding: 6px; border-radius: 50%; background: #fff; color: #173a9e; }
.deep-points { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.deep-points li { padding: 9px 17px; border-radius: 999px; font-size: 15px; font-weight: 500; background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Install */
.install { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.app-icon { border-radius: 22%; box-shadow: 0 18px 34px -14px rgba(17,20,39,.55); margin-bottom: 28px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 10px; max-width: 500px; }
.steps li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 22px; }
.steps .n { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--ink); background: linear-gradient(180deg, #fff, #eef0f5); box-shadow: 0 0 0 1px rgba(17,20,39,.08); }
.steps li > div { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.steps b { font-weight: 500; color: var(--ink); }
.glyph { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #2f6bff; background: linear-gradient(180deg, #fff, #eef3ff); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(47,107,255,.2); }

.install-art { position: relative; display: flex; justify-content: center; }
.phone { width: 290px; aspect-ratio: 9 / 19.2; border-radius: 54px; padding: 11px; background: linear-gradient(145deg, #e9ebf0, #c9ccd4); box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1px rgba(17,20,39,.12), 0 40px 80px -30px rgba(30, 45, 110, .55); }
.phone-screen { position: relative; isolation: isolate; height: 100%; border-radius: 44px; overflow: hidden; padding: 14px 20px; background: #6d8cff; }
.phone-screen .wall { z-index: -1; }
.ios-status { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 600; font-size: 15px; padding: 2px 10px 0; }
.ios-icons { display: flex; gap: 4px; }
.ios-icons i { width: 16px; height: 10px; border-radius: 3px; background: #fff; }
.ios-icons i:nth-child(1) { width: 14px; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 1px; }
.ios-icons i:nth-child(3) { width: 24px; border-radius: 4px; }
.home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; margin-top: 40px; }
.hi { aspect-ratio: 1; border-radius: 24%; background: #fff; position: relative; box-shadow: 0 6px 14px -6px rgba(0, 20, 70, .5); }
.hi::after { content: ""; position: absolute; inset: 24%; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.hi.elk { background: none; box-shadow: none; animation: land 2.8s cubic-bezier(.2,.8,.2,1) infinite alternate; }
.hi.elk::after { display: none; }
.hi.elk img { width: 100%; border-radius: 24%; box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .55); }
.hi.elk small { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); color: #fff; font-size: 11px; font-weight: 500; }
@keyframes land { 0%, 30% { transform: scale(.4); opacity: 0; } 55% { transform: scale(1.08); opacity: 1; } 70%, 100% { transform: scale(1); opacity: 1; } }
.ios-dock { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 76px; border-radius: 32px; display: flex; justify-content: space-around; align-items: center; background: rgba(255,255,255,.25); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.ios-dock span { width: 50px; height: 50px; border-radius: 13px; background: rgba(255,255,255,.75); }
.qr-card { position: absolute; right: max(-12px, calc(50% - 300px)); bottom: 56px; width: 196px; padding: 16px; border-radius: 26px; text-align: center; }
.qr { display: grid; place-items: center; min-height: 132px; }
.qr img, .qr canvas { border-radius: 12px; background: #fff; padding: 8px; box-sizing: content-box; }
.qr-card p { margin-top: 10px; font-size: 13px; line-height: 1.35; color: var(--fg-2); }
.ios .qr-card { display: none; }
@media (max-width: 900px) { .install { grid-template-columns: 1fr; } .qr-card { display: none; } .phone { width: 260px; } }

/* Questions: a white card with a soft blue rim */
.faq-wrap { max-width: 900px; }
.faq {
  margin-top: 48px; padding: 8px 32px; border-radius: 30px; background: #fff;
  box-shadow: 0 0 0 1px rgba(90, 140, 255, .28), 0 0 0 6px rgba(90, 140, 255, .07), 0 30px 60px -36px rgba(40, 80, 200, .45);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: 18px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 9px; height: 9px; flex: none; border: solid var(--fg-3); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { padding: 0 0 24px; color: var(--fg-2); max-width: 700px; }
@media (max-width: 560px) { .faq { padding: 4px 20px; } .faq summary { font-size: 17px; } }

/* Footer: the wordmark glowing over a warm-to-violet bloom, after Jarvis */
.footer { margin-top: clamp(110px, 12vw, 160px); }
.footer-row { width: var(--page); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.footer-row nav { display: flex; gap: 22px; font-size: 15px; color: var(--fg-2); }
.footer-row nav a:hover { color: var(--ink); }
.footer-glow { position: relative; isolation: isolate; height: clamp(280px, 38vw, 560px); overflow: hidden; display: grid; place-items: center; }
.footer-glow .wall { z-index: -1; }
.wall-footer i:nth-child(1) { left: 20%; top: 5%; width: 60%; height: 60%; }
.wall-footer i:nth-child(2) { right: -10%; top: 40%; width: 60%; height: 90%; }
.wall-footer i:nth-child(3) { left: -15%; bottom: -30%; width: 70%; height: 80%; }
.footer-glow::before { content: ""; position: absolute; inset: 0 0 auto; height: 30%; background: linear-gradient(var(--bg), transparent); z-index: 0; }
.mark-glow { position: relative; z-index: 1; width: min(88%, 1000px); filter: drop-shadow(0 0 2px rgba(255,255,255,.9)) drop-shadow(0 0 22px rgba(255,255,255,.75)); }
.footer-mark {
  width: 100%; aspect-ratio: 1978 / 795;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.35));
  -webkit-mask: url(../assets/elk-logo.png) center / contain no-repeat;
  mask: url(../assets/elk-logo.png) center / contain no-repeat;
}

/* Phones: tighter rhythm, smaller demos, one column throughout */
@media (max-width: 720px) {
  .section { padding-top: 88px; }
  .section-tight { padding-top: 56px; }
  .wash, .deep { margin-top: 88px; border-radius: 30px; }
  .footer { margin-top: 88px; }
  .display { font-size: 34px; }
  .section-sub { margin-top: 14px; font-size: 17px; }

  /* Hero */
  .hero-title { font-size: 52px; }
  .hero-sub { margin-top: 20px; font-size: 17.5px; }
  .hero-ctas { margin-top: 28px; }
  .screen { height: 640px; }

  /* Big agent: the text on top, the mascot peeking up from the bottom edge */
  .big-card { display: flow-root; min-height: 0; padding: 32px 26px 0; border-radius: 30px; clip-path: inset(-400px 0 0 0 round 30px); }
  .big-copy h2 { font-size: 30px; }
  .big-copy p { font-size: 16.5px; }
  .big-mascot { position: relative; display: block; right: auto; bottom: auto; width: 260px; height: 260px; margin: 28px auto -96px; }

  /* Feature cards */
  .cards { margin-top: 40px; gap: 16px; }
  .card { border-radius: 30px; }
  .card header { padding: 28px 24px 0; }
  .card h3 { font-size: 24px; }
  .card header p { font-size: 16px; }
  .art { margin-top: 24px; min-height: 280px; }
  .art-computer { min-height: 420px; }
  .art-computer .pill-live { display: none; }
  .mini-win.a { width: 82%; left: 5%; top: 5%; }
  .mini-win.b { width: 68%; right: 5%; top: 52%; }
  .pointer .cursor { width: 40px; height: 40px; left: -6.2px; top: -5.3px; transform-origin: 6.2px 5.3px; }
  .pointer .m { left: 20px; top: 23px; width: 38px; height: 38px; }
  .art-voice { padding: 0 20px; }
  .voice-panel .orb { width: 104px; height: 104px; }
  .art-email { padding: 20px 14px; }

  /* Agents: chips scroll sideways, the conversation below */
  .roster { margin-top: 36px; gap: 14px; }
  .roster-view { min-height: 420px; padding: 24px 20px; gap: 24px; }
  .rv-head { gap: 16px; align-items: flex-start; }
  .m.xl { width: 64px; height: 64px; }
  .rv-head h3 { font-size: 26px; }
  .rv-head p { font-size: 15.5px; }
  .bubble { font-size: 15.5px; }

  /* Does it for you: one centred column of finished tasks */
  .actions { padding: 64px 0 40px; }
  .struck { font-size: 22px; }
  .actions-stage { margin-top: 32px; height: 380px; width: 100%; }
  .lanes { grid-template-columns: 1fr; }
  .lane:nth-child(2), .lane:nth-child(3) { display: none; }
  .act { font-size: 14.5px; }
  .ask { width: calc(100% - 28px); }
  .ask-text { font-size: 16px; }

  /* Privacy */
  .deep { padding: 72px 22px; }
  .deep h2 { font-size: 38px; }
  .deep p { font-size: 17px; }
  .deep-points { flex-direction: column; align-items: center; margin-top: 28px; }

  /* Install */
  .install { gap: 40px; }
  .app-icon { width: 64px; height: 64px; margin-bottom: 20px; }
  .steps { margin-top: 28px; }
  .steps li { padding: 12px 14px; gap: 12px; }
  .steps b { font-size: 15.5px; }
  .phone { width: 220px; border-radius: 42px; padding: 9px; }
  .phone-screen { border-radius: 34px; padding: 12px 14px; }
  .home-grid { gap: 18px 12px; margin-top: 28px; }
  .ios-dock { height: 62px; border-radius: 26px; left: 9px; right: 9px; bottom: 9px; }
  .ios-dock span { width: 40px; height: 40px; border-radius: 11px; }

  /* Questions and footer */
  .faq { margin-top: 32px; border-radius: 26px; }
  .faq summary { padding: 20px 0; }
  .footer-row nav { gap: 16px; font-size: 14.5px; }
  .footer-glow { height: 220px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 46px; }
  .display { font-size: 31px; }
  .footer-row nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scribble path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* The cursor in the "Own computer" tag, the same rounded shape as the agent's pointer */
.chip .chip-cursor path { fill: currentColor; stroke: currentColor; stroke-width: 4; stroke-linejoin: round; }

/* A tag with no icon keeps even padding on both sides */
.chip:not(:has(svg)) { padding: 0 12px; }

/* Hero, version B: ELK on his iPhone on a light stage, the agents' updates floating around it */
.hb { position: relative; width: var(--page); overflow-x: clip; margin-top: 64px; padding-top: 40px; display: flex; justify-content: center; }
.hero .hb.reveal { transition-delay: .26s; transform: translateY(50px); }
.hero .hb.reveal.in { transform: none; }
.hb-stage { position: absolute; left: 0; right: 0; top: 190px; bottom: 0; border-radius: 40px; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 30px 70px -40px rgba(40, 70, 200, .45); }
.wall-hb { --w0: #dfe9ff; --w1: #b9d4ff; --w2: #d8c9ff; --w3: #fff1c9; }

.hb-phone {
  position: relative; z-index: 2; width: 312px; aspect-ratio: 9 / 19.3; margin-bottom: 56px;
  padding: 10px; border-radius: 56px;
  background: linear-gradient(145deg, #f4f5f8, #cfd3db);
  box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 0 4px rgba(17,20,39,.06), 0 0 0 1px rgba(17,20,39,.12), 0 50px 90px -30px rgba(30, 50, 140, .55);
}
.hb-screen { position: relative; height: 100%; border-radius: 46px; overflow: hidden; background: #fcfcfc; display: flex; flex-direction: column; text-align: left; color: #0d0d0d; }
.hb-status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 26px 0 30px; font-size: 14px; font-weight: 600; }
.hb-island { position: absolute; left: 50%; top: 11px; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: #0b0b0c; }
.hb-status .ios-icons i { background: #0d0d0d; }
.hb-head { display: flex; align-items: center; gap: 8px; padding: 4px 12px 8px; }
.hb-btn { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 6px -3px rgba(0,0,0,.2); }
.hb-btn:last-child { margin-left: auto; }
.hb-who { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 7px; border-radius: 99px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 2px 6px -3px rgba(0,0,0,.2); }
.hb-who .m { width: 22px; height: 22px; }
.hb-thread { flex: 1; min-height: 0; overflow: hidden; padding: 10px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.hb-me { align-self: flex-end; max-width: 82%; padding: 8px 13px; border-radius: 18px; background: #e8f3fe; color: #0c274a; }
.hb-bot { align-self: flex-start; max-width: 94%; padding: 9px 13px; border-radius: 18px; background: #efefef; }
.hb-bot ol { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.hb-card { align-self: flex-start; width: 94%; padding: 10px; border-radius: 18px; background: #efefef; }
.hb-card-top { display: flex; justify-content: space-between; align-items: center; padding: 0 2px 6px; }
.hb-card-top b { font-size: 13.5px; font-weight: 600; }
.hb-card-top span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #5d5d5d; background: rgba(255,255,255,.7); padding: 2px 8px; border-radius: 99px; }
.hb-card-top i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.hb-card-to { padding: 7px 10px; border-radius: 12px; background: rgba(255,255,255,.75); font-size: 12px; color: #5d5d5d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-card-actions { display: flex; gap: 6px; margin-top: 8px; }
.hb-card-actions span { height: 28px; padding: 0 13px; border-radius: 99px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.hb-card-actions .ink { background: #0d0d0d; color: #fff; box-shadow: none; }
.hb-composer { margin: 6px 12px 22px; height: 42px; padding: 0 5px 0 14px; display: flex; align-items: center; gap: 10px; border-radius: 21px; background: #fff; color: #8f8f8f; font-size: 13.5px; box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 4px 14px -8px rgba(0,0,0,.25); }
.hb-composer span { font-size: 19px; font-weight: 300; color: #5d5d5d; }
.hb-composer em { flex: 1; font-style: normal; }
.hb-composer b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #0d0d0d; color: #fff; }

/* Updates from the other agents, floating beside the phone */
.hb-note {
  position: absolute; z-index: 3; width: 252px; padding: 14px 16px; border-radius: 22px; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.7));
  backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17,20,39,.06), 0 24px 44px -22px rgba(30, 50, 140, .45);
}
.hb-note-top { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.hb-note-top .m { width: 26px; height: 26px; }
.hb-note-top b { font-weight: 600; color: var(--ink); }
.hb-note-top time { margin-left: auto; font-size: 12px; color: var(--fg-3); }
.hb-note p { margin-top: 7px; font-size: 14.5px; line-height: 1.4; color: var(--ink); }
.hb-bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 10px; }
.hb-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 5px 5px 2px 2px; background: #c9d2e6; }
.hb-bars i.low { background: #ff6700; }
.hb-pill { display: inline-flex; margin-top: 10px; height: 28px; padding: 0 14px; align-items: center; border-radius: 99px; font-size: 12.5px; font-weight: 500; background: var(--ink); color: #fff; }
.hb-file { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 11px; border-radius: 14px; background: rgba(17,20,39,.04); }
.hb-file .lg { width: 20px; height: 20px; }
.hb-file b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.hb-file small { display: block; font-size: 12px; color: var(--fg-3); }
.hb-note.n1 { left: 4%; top: 250px; }
.hb-note.n2 { left: 9%; top: 470px; }
.hb-note.n3 { right: 4%; top: 290px; }
.hb-note.n4 { right: 9%; top: 470px; }
.hb .hb-note { animation: bob-soft 8s ease-in-out infinite; }
.hb .n2 { animation-delay: -2s; } .hb .n3 { animation-delay: -4s; } .hb .n4 { animation-delay: -6s; }
@keyframes bob-soft { 50% { translate: 0 -8px; } }

/* The conversation and the updates arrive in order once the hero is in view */
.hb .step { opacity: 0; transform: translateY(10px) scale(.98); }
.hb.in .step { animation: step-in .55s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(1s + var(--s) * 0.6s); }

@media (max-width: 1100px) {
  .hb-note.n2, .hb-note.n4 { display: none; }
  .hb-note { width: 230px; }
  .hb-note.n1 { left: 2%; } .hb-note.n3 { right: 2%; }
}
@media (max-width: 820px) {
  .hb { flex-direction: column; align-items: center; padding-top: 24px; margin-top: 44px; }
  .hb-stage { top: 150px; border-radius: 30px; }
  .hb-phone { width: 284px; margin-bottom: 16px; }
  .hb-note { position: relative; left: auto !important; right: auto !important; top: auto !important; width: calc(100% - 40px); max-width: 360px; margin-bottom: 12px; }
  .hb.in .hb-note { animation: step-in .55s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(1s + var(--s) * 0.6s); }
  .hb-note.n2, .hb-note.n4 { display: none; }
  .hb-note.n3 { margin-bottom: 24px; }
}

/* Hero, ASCII version: the agent and its sky drawn in characters, iOS glass resting on top */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ax {
  position: relative; width: var(--page); height: clamp(520px, 52vw, 640px); margin-top: 64px;
  border-radius: 40px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f1f4fb 55%, #e9eef9 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px rgba(17,20,39,.06), 0 40px 80px -40px rgba(30, 50, 140, .4);
}
.hero .ax.reveal { transition-delay: .26s; transform: translateY(50px); }
.hero .ax.reveal.in { transform: none; }
.ax-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Live Activity, after the Dynamic Island */
.ax-island {
  position: absolute; top: 26px; left: 50%; z-index: 2; translate: -50% 0;
  display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px 0 12px; border-radius: 99px;
  background: #0b0b0c; color: #fff; text-align: left;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 20, .55);
}
.ax-island .m { width: 32px; height: 32px; }
.ax-island-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ax-island-text b { font-size: 13px; font-weight: 600; }
.ax-island-text em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.62); white-space: nowrap; }
.ax-ring { width: 32px; height: 32px; margin-left: 10px; rotate: -90deg; flex: none; }
.ax-ring circle { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3.5; }
.ax-ring .ax-ring-fill { stroke: #30d158; stroke-linecap: round; stroke-dasharray: 88; stroke-dashoffset: 88; transition: stroke-dashoffset 3.4s cubic-bezier(.4,0,.2,1); }
.ax.in .ax-ring-fill { stroke-dashoffset: 0; transition-delay: 1.2s; }

/* Notifications and a widget, in iOS glass */
.ax-stack { position: absolute; left: 32px; bottom: 32px; z-index: 2; display: grid; gap: 10px; width: 340px; }
.ax-note, .ax-widget {
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.62));
  backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(17,20,39,.06), 0 20px 40px -22px rgba(30, 50, 140, .45);
}
.ax-note { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 22px; text-align: left; }
.ax-note .m { width: 36px; height: 36px; }
.ax-note div { flex: 1; min-width: 0; }
.ax-note b { font-size: 14px; font-weight: 600; color: var(--ink); }
.ax-note p { margin-top: 1px; font-size: 13.5px; line-height: 1.35; color: var(--fg-2); }
.ax-note time { font-size: 12px; color: var(--fg-3); }
.ax-widget { position: absolute; right: 32px; bottom: 32px; z-index: 2; width: 168px; padding: 16px 18px; border-radius: 26px; text-align: left; }
.ax-widget small { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #ff6700; }
.ax-widget b { display: block; margin-top: 2px; font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); }
.ax-widget p { font-size: 14px; color: var(--fg-2); }
.ax-dots { display: flex; gap: 5px; margin-top: 12px; }
.ax-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.ax-dots i.off { background: rgba(17,20,39,.14); }

.ax .step { opacity: 0; transform: translateY(12px) scale(.97); }
.ax.in .step { animation: step-in .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(1s + var(--s) * 0.6s); }

@media (max-width: 860px) {
  .ax-widget { display: none; }
}
@media (max-width: 720px) {
  .ax { height: 560px; margin-top: 48px; border-radius: 30px; }
  .ax-island { top: 16px; height: 50px; gap: 10px; }
  .ax-island .m { width: 28px; height: 28px; }
  .ax-island-text em { font-size: 12px; }
  .ax-ring { width: 28px; height: 28px; margin-left: 4px; }
  .ax-stack { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .ax-stack .ax-note:nth-child(2) { display: none; }
}
