/* Kinvra AI homepage — clean, product-page aesthetic.
   System font first (renders SF Pro on Apple devices), Inter elsewhere. */

/* Inter (SIL Open Font License), self-hosted: latin subset, variable weight. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Smooth cross-page transitions where the browser supports them. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --line: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --black: #000000;
  --black-2: #161617;
  --black-3: #1d1d1f;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --green: #30d158;
  --grad: linear-gradient(90deg, #2997ff 0%, #7a5cff 45%, #ff4fd8 100%);
  /* The same gradient darkened to clear 4.5:1 on a white ground. */
  --grad-ink: linear-gradient(90deg, #1f7cf5 0%, #6f4dff 45%, #e03cc4 100%);
  --radius-xl: 30px;
  --radius-lg: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark .grad-text { background-image: var(--grad); }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 11px 22px;
  border: 0; border-radius: 980px; cursor: pointer;
  background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.pill:active { transform: scale(0.98); }
.pill:disabled { opacity: 0.55; cursor: progress; }
.pill-sm { min-height: 30px; padding: 5px 14px; font-size: 13px; }
.pill-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.pill-ghost:hover { background: rgba(0, 113, 227, 0.06); }
.chev { display: inline-flex; align-items: center; gap: 4px; font-size: 17px; color: var(--link); }
.chev::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.on-dark .chev { color: #2997ff; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); background: rgba(255, 255, 255, 0.82); }
.nav.dark { background: rgba(22, 22, 23, 0.78); border-bottom-color: rgba(255, 255, 255, 0.08); }
.nav.dark .logo { color: #f5f5f7; }
.nav.dark .nav-links a { color: #d2d2d7; }
.nav.dark .nav-links a:hover { color: #fff; }
.logo, .nav-links a { transition: color 0.3s var(--ease), fill 0.3s var(--ease), stroke 0.3s var(--ease); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 52px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 13px; letter-spacing: -0.01em; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- sections ---------- */
.section { padding-block: 110px; scroll-margin-top: 52px; }
.home .section { padding-block: 84px; }
.section.alt { background: var(--bg-2); }
.section.on-dark { background: var(--black); color: var(--on-dark); }
.kicker { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.kicker.grad-text { display: inline-block; }
.headline { font-size: clamp(2.5rem, 5.6vw, 4rem); line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.subhead { margin-top: 18px; font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.38; color: var(--ink-3); font-weight: 500; letter-spacing: -0.02em; max-width: 44ch; }
.on-dark .subhead { color: var(--on-dark-2); }
.center { text-align: center; }
.center .subhead { margin-inline: auto; }
.section-head { margin-bottom: 48px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 64px 40px; text-align: center; isolation: isolate; }
.aurora { position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1; pointer-events: none; filter: blur(70px); opacity: 0.55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: drift 18s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 520px; height: 520px; left: 12%; top: 8%; background: #8ec5ff; }
.aurora span:nth-child(2) { width: 460px; height: 460px; left: 42%; top: -4%; background: #c9b6ff; animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 420px; height: 420px; right: 8%; top: 14%; background: #ffc4ec; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 10px, 0) scale(0.96); }
}
.home .hero { padding-block: 56px 28px; }
.hero-field {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(46% 20% at 50% 25%, #fff 35%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(38% 30% at 10% 4%, rgba(41, 151, 255, 0.34), rgba(41, 151, 255, 0) 70%),
    radial-gradient(40% 28% at 52% -4%, rgba(122, 92, 255, 0.3), rgba(122, 92, 255, 0) 70%),
    radial-gradient(36% 30% at 92% 10%, rgba(255, 79, 216, 0.26), rgba(255, 79, 216, 0) 70%),
    radial-gradient(44% 22% at 22% 66%, rgba(41, 151, 255, 0.2), rgba(41, 151, 255, 0) 70%),
    radial-gradient(44% 22% at 80% 62%, rgba(122, 92, 255, 0.2), rgba(122, 92, 255, 0) 70%),
    #fff;
}
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-gl.on { opacity: 1; }
.hero.gl-on .spotlight { display: none; }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 42% at 50% 24%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 42% at 50% 24%, #000 20%, transparent 72%);
}
.spotlight { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease); background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 30%), rgba(122, 92, 255, 0.13), transparent 62%); }
.hero.lit .spotlight { opacity: 1; }

.announce {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 6px 6px 6px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 980px; cursor: pointer;
  background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.2);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.3s var(--ease), visibility 0s 0.6s;
}
.announce.show { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.announce:hover { box-shadow: 0 14px 34px -14px rgba(122, 92, 255, 0.45); }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18); animation: pulse 2s ease-in-out infinite; }
.announce-go { padding: 4px 11px; border-radius: 980px; background: var(--ink); color: #fff; font-size: 13px; }
.announce-go::after { content: " ›"; }

.hero-title { font-size: clamp(3rem, 8.6vw, 6.4rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.042em; }
.hero-title .line { display: block; }
.hero-title .grad-text { background-image: linear-gradient(90deg, #1f7cf5, #6f4dff, #e03cc4, #6f4dff, #1f7cf5); background-size: 200% auto; animation: pan 9s linear infinite; padding-bottom: 0.06em; }
@keyframes pan { to { background-position: 200% center; } }
.rotator { display: inline-grid; justify-items: start; vertical-align: top; }
.rotator.ready { transition: width 0.7s var(--ease); }
.rot-word { grid-area: 1 / 1; white-space: nowrap; transition: transform 0.7s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease); }
.rot-word.below { transform: translateY(0.45em); opacity: 0; filter: blur(10px); }
.rot-word.above { transform: translateY(-0.45em); opacity: 0; filter: blur(10px); }
.hero .subhead { margin: 22px auto 0; max-width: 34ch; font-size: clamp(1.2rem, 2.3vw, 1.65rem); color: var(--ink-2); }

/* load entrance: starts at opacity .01 so text still counts as painted for LCP */
@keyframes hero-in { from { opacity: 0.01; transform: translate3d(0, 16px, 0); } }
.home :is(.hero-title .line, .hero .subhead, .hero .grade-form, .hero-alt, .hero .stage) { animation: hero-in 0.64s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.home .hero-title .line + .line { animation-delay: 0.06s; }
.home .hero .subhead { animation-delay: 0.12s; }
.home .hero .grade-form { animation-delay: 0.18s; }
.home .hero-alt { animation-delay: 0.22s; }
.home .hero .stage { animation-delay: 0.26s; }

/* URL box that runs the grader */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.grade-form { position: relative; max-width: 640px; margin: 38px auto 0; }
.grade-form::before { content: ""; position: absolute; left: 10%; right: 10%; top: 12px; height: 46px; z-index: 0; border-radius: 99px; background: conic-gradient(from var(--angle), #2997ff, #7a5cff, #ff4fd8, #ffb340, #2997ff); filter: blur(30px); opacity: 0.4; animation: spin 6s linear infinite; pointer-events: none; }
.grade-bar { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 20px; border-radius: 980px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); transition: box-shadow 0.3s var(--ease); }
.grade-bar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), #2997ff, #7a5cff, #ff4fd8, #ffb340, #2997ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --angle: 360deg; } }
.grade-bar:focus-within { box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.14), 0 2px 8px rgba(0, 0, 0, 0.05); outline: 2px solid var(--blue); outline-offset: 3px; }
.grade-form-dark .grade-bar:focus-within { outline-color: #2997ff; }
.grade-globe { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.grade-bar input { flex: 1; min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; font-size: 18px; color: var(--ink); }
.grade-bar input::placeholder { color: #6e6e73; }
.grade-bar .pill { flex: none; min-height: 48px; padding: 12px 22px; box-shadow: 0 10px 24px -12px rgba(0, 113, 227, 0.7); translate: var(--bx, 0px) var(--by, 0px); transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.grade-bar .pill .arr { translate: calc(var(--bx, 0px) * 0.6) calc(var(--by, 0px) * 0.6); transition: transform 0.3s var(--ease), translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.arr { display: inline-block; transition: transform 0.3s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }
.grade-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 16px; font-size: 14px; color: #5c5c61; }
.grade-meta span::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%2330d158'/%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.grade-form-dark { margin: 32px 0 0; max-width: 560px; }
.grade-form-dark::before { opacity: 0.3; }
.grade-form-dark .grade-bar { background: rgba(28, 28, 30, 0.92); box-shadow: none; }
.grade-form-dark .grade-bar input { color: #fff; }
.grade-form-dark .grade-bar input::placeholder { color: #8e8e93; }
.grade-form-dark .grade-globe { stroke: #8e8e93; }
.hero-alt { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; }
.hero-alt-sep { color: #a1a1a6; }
@media (max-width: 640px) { .hero-alt-sep { display: none; } .hero-alt { flex-direction: column; } }

/* the "assistant" window */
.stage { position: relative; max-width: 780px; margin: 48px auto 0; perspective: 1600px; }
.stage .window { transform-origin: 50% 0; transform: rotateX(calc((1 - var(--tilt, 1)) * 24deg)) scale(calc(0.9 + var(--tilt, 1) * 0.1)); }
.window {
  position: relative; text-align: left;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #1c1c1e 0%, #0b0b0c 100%);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 120px -40px rgba(41, 151, 255, 0.55), 0 30px 60px -30px rgba(122, 92, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #3a3a3c; }
.window-bar .title { margin-left: 10px; font-size: 13px; color: var(--on-dark-2); letter-spacing: -0.01em; }
.window-bar .status { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--green); }
.window-bar .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(48, 209, 88, 0.05); } }
.feed { list-style: none; margin: 0; padding: 8px 12px 14px; }
.feed li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 14px; padding: 13px 10px; border-radius: 14px; opacity: 0; transform: translateY(10px); animation: rise 0.7s var(--ease) forwards; }
.feed li:nth-child(1) { animation-delay: 0.5s; }
.feed li:nth-child(2) { animation-delay: 0.9s; }
.feed li:nth-child(3) { animation-delay: 1.3s; }
.feed li:nth-child(4) { animation-delay: 1.7s; }
.feed li:nth-child(5) { animation-delay: 2.1s; }
.feed li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
@keyframes rise { to { opacity: 1; transform: none; } }
.feed .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); }
.feed .ic svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed .ic.b { background: linear-gradient(135deg, #2997ff, #0a5bd8); }
.feed .ic.p { background: linear-gradient(135deg, #a78bfa, #6d4aff); }
.feed .ic.g { background: linear-gradient(135deg, #34d399, #0e9f6e); }
.feed .ic.o { background: linear-gradient(135deg, #ffb340, #ff7a00); }
.feed .ic.k { background: linear-gradient(135deg, #ff6bd6, #d6249f); }
.feed strong { display: block; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.feed span { font-size: 13px; color: var(--on-dark-2); }
.feed time { font-family: var(--mono); font-size: 12px; color: #8e8e93; }
.window-foot { padding: 12px 22px 16px; font-size: 12px; color: #8e8e93; border-top: 1px solid rgba(255, 255, 255, 0.05); }

.stage .window { z-index: 1; }
.float {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.25);
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 13px; }
.float.f1 { left: -190px; top: 110px; }
.float.f2 { right: -200px; top: 230px; animation-delay: -2s; }
.float.f3 { left: -170px; bottom: 70px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* live feed: new events slide in on top */
.feed.settled { overflow: hidden; }
.feed.settled li { animation: none; opacity: 1; transform: none; }
.feed.settled li.fresh { animation: grow 0.8s var(--ease) both; }
@keyframes grow { from { max-height: 0; padding-block: 0; opacity: 0; transform: translateY(-8px); } to { max-height: 90px; padding-block: 13px; opacity: 1; transform: none; } }

/* ---------- scroll progress ---------- */
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.nav-progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ---------- at a glance ---------- */
.stats { padding-block: 4px 72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 26px 26px; border-radius: 24px; background: var(--bg-2); }
.stat b { display: block; font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 12px; font-size: 15px; line-height: 1.35; color: var(--ink-3); }

/* ---------- film ---------- */
.film { padding-block: 0 84px; }
.film .section-head { margin-bottom: 36px; }
.film-frame {
  position: relative; margin: 0; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; isolation: isolate;
  border-radius: 30px; background: #000;
  box-shadow: 0 60px 120px -50px rgba(41, 151, 255, 0.45), 0 40px 90px -40px rgba(122, 92, 255, 0.45);
}
.film-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 22%, transparent 58%, rgba(0, 0, 0, 0.5) 100%); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.film-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px;
  border: 0; border-radius: 980px; cursor: pointer; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
  background: rgba(20, 20, 24, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.film-play:hover { transform: translate(-50%, -50%) scale(1.04); background: rgba(255, 255, 255, 0.26); }
.film-play-ic { width: 46px; height: 46px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%231d1d1f'/%3E%3C/svg%3E") 55% 50% / 20px no-repeat; }
.film.playing .film-play { opacity: 0; pointer-events: none; }
.film-sub { position: absolute; left: 50%; bottom: 6%; z-index: 2; transform: translateX(-50%); width: max-content; max-width: 82%; margin: 0; padding: 6px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: clamp(13px, 1.7vw, 19px); font-weight: 500; line-height: 1.35; text-align: center; }
.film-sub:empty { display: none; }
.film-cap { position: absolute; top: 14px; right: 16px; z-index: 2; margin: 0; padding: 4px 10px; border-radius: 99px; background: rgba(0, 0, 0, 0.45); color: rgba(255, 255, 255, 0.85); font-size: 11px; font-weight: 500; }
.film-transcript { max-width: 720px; margin: 18px auto 0; font-size: 15px; color: var(--ink-2); }
.film-transcript summary { width: max-content; margin: 0 auto; cursor: pointer; color: var(--link); }
.film-transcript div { margin-top: 14px; padding: 20px 24px; border-radius: 18px; background: var(--bg-2); }
.film-transcript div p + p { margin-top: 8px; }
.film-transcript .film-note { font-size: 13px; color: var(--ink-3); }

/* ---------- cursor spotlight on cards ---------- */
[data-spot]::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease); background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(41, 151, 255, 0.13), transparent 60%); box-shadow: inset 0 0 0 1px rgba(122, 92, 255, 0.22); }
[data-spot]:hover::after { opacity: 1; }

/* ---------- marquee ---------- */
.marquee { padding-block: 36px 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-label { text-align: center; font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.marquee-track { display: flex; width: max-content; gap: 44px; animation: scroll 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 600; letter-spacing: -0.03em; color: #86868b; white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- bento (services) ---------- */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-xl); background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tile-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; }
.tile-body { padding: 32px 40px 34px; display: flex; flex-direction: column; flex: 1; }
.tile-wide .tile-body { justify-content: center; }
.tile .eyebrow { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.tile h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.tile p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.tile .photo { overflow: hidden; }
.tile .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1.2s var(--ease); }
.tile-wide .photo img { aspect-ratio: auto; min-height: 100%; }
.list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.home .list { margin-top: 20px; gap: 9px; }
.list li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink); }
.list li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.c-blue { color: var(--blue); }
.c-purple { color: #6b4bff; }
.c-pink { color: #c81e92; }

/* ---------- e-commerce ---------- */
.c-green { color: #1a7f3c; }
.tile-flip .photo { order: -1; }
.tile-link { margin-top: auto; padding-top: 22px; align-self: flex-start; font-weight: 500; }
.tile-link::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.commerce { position: relative; overflow: hidden; isolation: isolate; }
.commerce::before { content: ""; position: absolute; inset: -10% -20% auto; height: 700px; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 30% 30%, rgba(52, 211, 153, 0.12), transparent 70%), radial-gradient(40% 50% at 70% 25%, rgba(122, 92, 255, 0.12), transparent 70%); }
.commerce .section-head .subhead { max-width: 52ch; }

.hub { position: relative; height: 400px; margin: 0 auto 48px; max-width: 1000px; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines path { fill: none; stroke: #c7c7d1; stroke-width: 2; stroke-dasharray: 5 9; vector-effect: non-scaling-stroke; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.hub-core {
  position: absolute; left: 50%; top: 50%; width: 250px; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 6px; padding: 22px 22px 20px; text-align: center;
  border-radius: 28px; background: linear-gradient(180deg, #1c1c1f, #0f0f11); color: #fff;
  box-shadow: 0 40px 80px -30px rgba(41, 151, 255, 0.45), 0 30px 60px -30px rgba(52, 211, 153, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hub-label { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--on-dark-2); }
.hub-products { display: grid; grid-template-columns: repeat(4, 38px); gap: 8px; margin: 8px 0 6px; }
.hub-products i { height: 46px; border-radius: 10px; background: linear-gradient(160deg, #ffb340, #ff6a00); box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.12); }
.hub-products i:nth-child(2) { background: linear-gradient(160deg, #34d399, #0e9f6e); }
.hub-products i:nth-child(3) { background: linear-gradient(160deg, #a78bfa, #6d4aff); }
.hub-products i:nth-child(4) { background: linear-gradient(160deg, #ff8ad8, #d6249f); }
.hub-core strong { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.hub-sync { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #34d399; }
.hub-sync b { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin-sync 1.2s linear infinite; }
@keyframes spin-sync { to { transform: rotate(360deg); } }

.hub-node {
  position: absolute; display: flex; align-items: center; gap: 12px; width: 236px; padding: 14px 16px;
  border-radius: 20px; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.3); transform: translate(-50%, -50%);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.hub-node.n1 { left: 17%; top: 18%; }
.hub-node.n2 { left: 83%; top: 18%; }
.hub-node.n3 { left: 17%; top: 82%; }
.hub-node.n4 { left: 83%; top: 82%; }
.hub-node.ping { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.18), 0 24px 50px -24px rgba(52, 211, 153, 0.6); transform: translate(-50%, -50%) scale(1.03); }
.hub-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); }
.hub-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hub-node strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.hub-node span:not(.hub-ic) { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.hub-node span:not(.hub-ic)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hub-ticker { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; max-width: 94%; padding: 9px 16px; border-radius: 980px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.3); font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }
.hub-ticker #hub-ticker { overflow: hidden; text-overflow: ellipsis; transition: opacity 0.3s var(--ease); }
.hub-ticker.swap #hub-ticker { opacity: 0; }
.hub-tag { position: absolute; right: 0; top: -6px; padding: 3px 9px; border-radius: 99px; background: var(--bg-2); font-size: 11px; color: var(--ink-3); }

.channels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channels > li { display: flex; }
.channel { position: relative; overflow: hidden; display: flex; flex-direction: column; width: 100%; padding: 26px 24px 24px; border-radius: 24px; background: var(--bg-2); color: var(--ink); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.45s var(--ease); }
.channel:hover { text-decoration: none; }
.channel .eyebrow { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.channel h3 { margin-top: 4px; font-size: 24px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.channel p { margin-top: 8px; font-size: 15px; line-height: 1.42; color: var(--ink-2); }
.channel .chev { align-self: flex-start; margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 500; }

.commerce-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 16px; padding: 26px 32px; border-radius: 24px; background: linear-gradient(135deg, #0f0f12, #1b1b2a); color: var(--on-dark); }
.commerce-cta p { flex: 1 1 360px; max-width: 58ch; font-size: 16px; line-height: 1.45; color: #d2d2d7; }
.commerce-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.commerce-cta .chev { color: #2997ff; }
.commerce-note { margin-top: 14px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* ---------- night shift: live automation demo ---------- */
.story { overflow: hidden; }
.story .section-head { margin-bottom: 44px; }
.auto-demo { display: grid; grid-template-columns: auto minmax(0, 520px); gap: 64px; align-items: center; justify-content: center; }
.auto-phone { position: relative; display: grid; justify-items: center; }
.auto-phone::before { content: ""; position: absolute; inset: 6% -40%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(122, 92, 255, 0.32), rgba(41, 151, 255, 0.12) 55%, transparent); }

.iphone {
  position: relative; z-index: 1; width: 300px; height: 610px; margin: 0; padding: 11px;
  border-radius: 54px; background: linear-gradient(150deg, #48484a, #1c1c1e 35%, #0b0b0c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 60px 110px -50px rgba(41, 151, 255, 0.55);
}
.iphone-screen { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 44px; background: #fff; color: var(--ink); }
.iphone-status { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 6px 28px 0 34px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; transition: color 0.5s var(--ease); }
.iphone.calling .iphone-status { color: #fff; }
.island { position: absolute; top: 11px; left: 50%; width: 92px; height: 27px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.signal { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.signal i { width: 3px; border-radius: 1px; background: currentColor; }
.signal i:nth-child(1) { height: 4px; } .signal i:nth-child(2) { height: 6px; } .signal i:nth-child(3) { height: 8px; } .signal i:nth-child(4) { height: 11px; }

/* call screen */
.call-screen {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; padding-top: 110px;
  background: radial-gradient(120% 70% at 50% 0%, #3a3f5c 0%, #1b1d2b 55%, #0e0f16 100%); color: #fff;
  opacity: 0; visibility: hidden; transform: scale(1.04);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
}
.iphone.calling .call-screen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.call-rings { position: relative; width: 100px; height: 100px; display: grid; place-items: center; }
.call-rings span:not(.call-avatar) { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); animation: ring 1.8s ease-out infinite; }
.call-rings span:nth-child(2) { animation-delay: 0.9s; }
@keyframes ring { from { transform: scale(0.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.iphone.missed .call-rings span:not(.call-avatar) { animation: none; opacity: 0; }
.call-avatar, .push-ic, .thread-avatar { display: grid; place-items: center; background: linear-gradient(135deg, #ffb340, #ff6a00); }
.call-avatar { width: 88px; height: 88px; border-radius: 50%; }
.call-avatar svg, .push-ic svg, .thread-avatar svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.call-avatar svg { width: 40px; height: 40px; }
.call-name { margin-top: 20px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.call-state { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.call-state .st-missed { display: none; color: #ff453a; font-weight: 600; }
.iphone.missed .st-calling { display: none; }
.iphone.missed .st-missed { display: inline; }
.call-end { margin: auto 0 64px; width: 64px; height: 64px; border-radius: 50%; background: #ff3b30 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 14.5c5-4.7 13-4.7 18 0l-2.4 2.6-3.3-1.5v-2.4a11 11 0 0 0-4.6 0v2.4l-3.3 1.5z' fill='white'/%3E%3C/svg%3E") center/30px no-repeat; }

/* notification banner */
.push {
  position: absolute; left: 9px; right: 9px; top: 50px; z-index: 6; display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: start;
  padding: 10px 12px; border-radius: 20px; background: rgba(246, 246, 248, 0.97); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.4);
  opacity: 0; transform: translateY(-130%); transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.iphone.pushed .push { opacity: 1; transform: none; }
.push-ic { width: 34px; height: 34px; border-radius: 9px; }
.push-ic svg { width: 18px; height: 18px; }
.push strong { display: block; font-size: 12.5px; font-weight: 600; }
.push span:not(.push-ic) { display: block; margin-top: 1px; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.push small { font-size: 11px; color: var(--ink-3); }

/* messages */
.thread-head { display: grid; justify-items: center; gap: 2px; padding: 8px 0 11px; background: #f7f7f9; border-bottom: 1px solid #ececf0; }
.thread-avatar { width: 42px; height: 42px; margin-bottom: 3px; border-radius: 50%; }
.thread-avatar svg { width: 21px; height: 21px; }
.thread-head strong { font-size: 13px; font-weight: 600; }
.thread-head small { font-size: 11px; color: var(--ink-3); }
.thread { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px 12px 18px; overflow: hidden; }
.msg { max-width: 80%; margin: 0; padding: 8px 12px; border-radius: 18px; font-size: 13.5px; line-height: 1.32; letter-spacing: -0.01em; }
.msg.out { align-self: flex-end; background: linear-gradient(135deg, #2997ff, #0a64e0); color: #fff; border-bottom-right-radius: 5px; }
.msg.in { align-self: flex-start; background: #e9e9eb; color: var(--ink); border-bottom-left-radius: 5px; }
.msg.booking { display: grid; gap: 1px; padding: 10px 13px; background: #fff; border: 1px solid #e3e3e8; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, 0.25); }
.booking-top { font-size: 11px; font-weight: 700; color: #1a7f3c; }
.msg.booking strong { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.msg.booking span:last-child { font-size: 12px; color: var(--ink-3); }
.sys { align-self: center; margin: 6px 0 2px; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.sys.missed { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border-radius: 99px; background: #fff1f0; color: #d70015; font-weight: 600; }
.sys.missed::before { content: ""; width: 17px; height: 17px; border-radius: 50%; background: #ff3b30 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27%3E%3Cpath d=%27M4 5h4l2 5-3 2a11 11 0 0 0 5 5l2-3 5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 2 7a2 2 0 0 1 2-2z%27 fill=%27white%27/%3E%3C/svg%3E") center/10px no-repeat; }
.typing { display: none; align-self: flex-start; gap: 4px; margin: 0; padding: 11px 13px; border-radius: 18px; border-bottom-left-radius: 5px; background: #e9e9eb; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8e8e93; animation: blink 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
.iphone.is-typing .typing { display: inline-flex; }
.js .thread > [data-at]:not(.shown) { display: none; }
.thread > .fresh { animation: bubble 0.5s var(--ease) both; }
@keyframes bubble { from { opacity: 0; transform: translateY(14px) scale(0.96); } }

/* automation panel */
.auto-panel {
  position: relative; padding: 22px 24px 22px; border-radius: 28px;
  background: linear-gradient(180deg, #1c1c1f 0%, #111113 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 100px -50px rgba(41, 151, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.auto-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 14px; }
.auto-head strong { font-weight: 600; color: #fff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18); animation: pulse 2s ease-in-out infinite; }
.auto-clock { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.auto-tag { padding: 3px 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); font-size: 11px; color: var(--on-dark-2); }
.flow { list-style: none; margin: 0; padding: 8px 0 4px; }
.flow .story-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 12px 0; }
.flow .story-step:not(:last-child)::before, .flow .story-step:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 56px; bottom: -12px; width: 2px; border-radius: 2px; }
.flow .story-step:not(:last-child)::before { background: rgba(255, 255, 255, 0.1); }
.flow .story-step:not(:last-child)::after { background: linear-gradient(180deg, #34d399, #2997ff); transform: scaleY(0); transform-origin: top; transition: transform 0.9s var(--ease); }
.flow .story-step.done:not(:last-child)::after { transform: none; }
.node-ic { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #2c2c2e; border: 1px solid rgba(255, 255, 255, 0.08); transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.node-ic svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.story-step.active .node-ic { background: linear-gradient(135deg, #2997ff, #7a5cff); box-shadow: 0 0 0 6px rgba(41, 151, 255, 0.14), 0 0 28px rgba(122, 92, 255, 0.55); }
.story-step.done .node-ic { background: linear-gradient(135deg, #34d399, #0e9f6e); box-shadow: none; }
.story-step.done .node-ic::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #151517; background: #30d158 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.3l2.1 2.1 4.7-4.8' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.flow .story-time { display: block; font-family: var(--mono); font-size: 12px; color: #2997ff; }
.flow h3 { margin-top: 2px; font-size: 18px; line-height: 1.25; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.flow p { margin-top: 4px; max-height: 90px; overflow: hidden; font-size: 14.5px; line-height: 1.45; color: var(--on-dark-2); transition: max-height 0.6s var(--ease), opacity 0.5s var(--ease), margin 0.6s var(--ease); }
.js .flow .story-step { opacity: 0.42; transition: opacity 0.5s var(--ease); }
.js .flow .story-step.active, .js .flow .story-step.done { opacity: 1; }
.js .flow .story-step:not(.active) p { max-height: 0; margin-top: 0; opacity: 0; }
.auto-stats { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.auto-stats div { min-width: 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.auto-stats b { display: block; overflow: hidden; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #fff; white-space: nowrap; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.auto-stats b.ok { color: var(--green); }
.auto-stats span { font-size: 11.5px; color: var(--on-dark-2); }
.story-note { margin-top: 28px; text-align: center; font-size: 13px; color: #a1a1a6; }

/* ---------- our work ---------- */
.work { overflow: hidden; }
.project { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.project + .project { margin-top: 80px; }
.project.reverse .project-copy { order: 2; }
.project-tag { margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #2997ff; }
.project.reverse .project-tag { color: #ff6bd6; }
.project-shop .project-tag { color: #b18cff; }
.project-shop .devices::before { background: radial-gradient(closest-side, rgba(177, 140, 255, 0.35), transparent); }
.project h3 { font-size: clamp(2.2rem, 4.2vw, 3.1rem); line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.project-copy > p:not(.project-tag) { margin-top: 14px; max-width: 42ch; font-size: 17px; color: var(--on-dark-2); }
.on-dark .list li { color: var(--on-dark); }
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.project-links .pill { background: #f5f5f7; color: #1d1d1f; box-shadow: 0 10px 30px -14px rgba(41, 151, 255, 0.55); }
.project-links .pill:hover { background: #fff; }
.chev.ext::after { content: "\2197"; font-size: 0.85em; transform: none; }
.devices { position: relative; padding: 0 64px 64px 0; }
.project.reverse .devices { padding: 0 64px 64px 0; }
@media (min-width: 641px) { .home .project .devices { padding: 0 60px 52px 0; } }
.devices::before { content: ""; position: absolute; inset: 10% 15%; z-index: 0; background: radial-gradient(closest-side, rgba(41, 151, 255, 0.35), transparent); filter: blur(40px); }
.project.reverse .devices::before { background: radial-gradient(closest-side, rgba(255, 79, 216, 0.3), transparent); }
.browser { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 16px; background: #1c1c1e; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); transition: transform 0.8s var(--ease); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #2c2c2e; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #48484a; }
.browser-bar span { margin: 0 auto; padding: 4px 44px; border-radius: 7px; background: #1c1c1e; font-size: 12px; color: var(--on-dark-2); }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { translate: 0 var(--py, 0px); position: absolute; z-index: 2; right: 0; bottom: 0; width: 29%; margin: 0; padding: 7px; border-radius: 38px; background: #0b0b0c; border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95); transition: transform 0.8s var(--ease); }
.phone::before { content: ""; position: absolute; z-index: 1; top: 14px; left: 50%; width: 30%; height: 15px; border-radius: 99px; background: #000; transform: translateX(-50%); }
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; border-radius: 31px; }
.project:hover .browser { transform: translateY(-6px); }
.project:hover .phone { transform: translateY(-12px); }

/* ---------- industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { position: relative; display: block; min-height: 390px; border-radius: var(--radius-xl); overflow: hidden; color: #fff; isolation: isolate; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.ind:hover { text-decoration: none; }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ind-focus, 50% 50%); z-index: -2; transition: transform 1.2s var(--ease); }
.ind:hover img { transform: scale(1.05); }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.78) 100%); }
.ind-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.ind .eyebrow { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-bottom: 6px; }
.ind h3 { font-size: 1.4rem; line-height: 1.14; font-weight: 700; letter-spacing: -0.03em; }
.ind p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.ind .chev { margin-top: 14px; color: #fff; font-weight: 500; }
.chips { list-style: none; margin: 28px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; }
.chips li { display: flex; }
.chips a, .chips span { display: inline-flex; align-items: center; gap: 4px; padding: 8px 16px; border-radius: 980px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.chips span { background: var(--bg-2); color: var(--ink-2); }
.chips a { padding-right: 13px; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.25s, color 0.25s; }
.chips a::after { content: "\203A"; font-size: 1.2em; line-height: 1; color: var(--link); transform: translateY(-1px); transition: transform 0.25s var(--ease); }
.chips a:hover { text-decoration: none; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.chips a:hover::after { transform: translate(2px, -1px); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps[data-draw] { position: relative; padding-top: 24px; }
.steps[data-draw]::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left; transition: transform 1.8s var(--ease); }
.js .steps[data-draw]:not(.in-view)::before { transform: scaleX(0); }
.steps li { padding: 28px 26px 28px; border-radius: var(--radius-lg); background: var(--bg); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 40px; line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.steps h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.steps p { margin-top: 8px; font-size: 16px; color: var(--ink-3); }

/* ---------- free grader panel ---------- */
.cta-panel {
  position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: 36px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, #1b1b2a 0%, #0b0b10 55%, #000 100%); color: var(--on-dark);
}
.cta-panel::before, .cta-panel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.cta-panel::before { width: 680px; height: 680px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(122, 92, 255, 0.5), transparent); }
.cta-panel::after { width: 560px; height: 560px; left: -200px; bottom: -300px; background: radial-gradient(closest-side, rgba(41, 151, 255, 0.35), transparent); }
.cta-panel .subhead { color: var(--on-dark-2); }
.cta-note { margin-top: 18px; max-width: 52ch; font-size: 14px; color: #8e8e93; }
.report { padding: 24px 26px 28px; border-radius: 28px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.report-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--on-dark-2); }
.report-grade { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 18px; }
.ring { position: relative; width: 190px; height: 190px; margin: 10px auto 22px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 10; }
.ring-fill { fill: none; stroke: url(#ring-g); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 52.28; transition: stroke-dashoffset 1.8s var(--ease) 0.2s; }
.js .cta-panel:not(.in-view) .ring-fill { stroke-dashoffset: 326.73; }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 62px; font-weight: 700; letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; }
.report .bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.report .bars li { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 12px; font-size: 13px; color: var(--on-dark-2); }
.report .bars i { position: relative; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.report .bars i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--v) * 1%); border-radius: inherit; background: var(--grad); transform-origin: left; transition: transform 1.4s var(--ease) 0.5s; }
.js .cta-panel:not(.in-view) .report .bars i::after { transform: scaleX(0); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); margin-bottom: 12px; }
.why .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.why p { margin-top: 6px; font-size: 16px; color: var(--ink-3); }
.why-more { margin-top: 28px; text-align: center; }

/* ---------- contact ---------- */
.contact-card { max-width: 760px; margin: 0 auto; padding: 44px; border-radius: var(--radius-xl); background: var(--bg); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.18); }
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.optional { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  font-size: 17px; color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 38px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.18); }
.field [aria-invalid="true"] { border-color: #e30000; box-shadow: 0 0 0 4px rgba(227, 0, 0, 0.1); }
.form .pill { margin-top: 6px; width: 100%; }
.form-error { color: #e30000; font-size: 15px; }
.fineprint { font-size: 12px; color: var(--ink-3); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: 34px 20px; text-align: center; }
.form-success strong { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.form-success p { margin-top: 8px; color: var(--ink-3); }
.home .contact-card { padding: 40px; }
.contact-direct { margin-top: 18px; text-align: center; color: var(--ink-3); font-size: 15px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); color: var(--ink-3); font-size: 12px; letter-spacing: -0.01em; }
.footer .wrap { padding-block: 26px 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.footer h4, .footer .foot-h { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--ink); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink-2); }
.contact-direct a, .footer-bottom a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.footer-top p + p { margin-top: 6px; }
.footer-bottom { padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].in-view { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 0.1s; }
.js [data-reveal="3"] { transition-delay: 0.2s; }
.js [data-reveal="4"] { transition-delay: 0.3s; }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; padding-block: 72px 96px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; }
.legal .updated { margin: 12px 0 36px; color: var(--ink-3); font-size: 15px; }
.legal h2 { margin: 44px 0 12px; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 10px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--link); }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: grid; place-items: center; padding-block: 64px; }
.not-found h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.036em; }

/* ---------- homepage polish: hover lift, focus rings, text wrapping ---------- */
.home main .chev::after { transition: transform 0.3s var(--ease); }
/* hover lift uses `translate`, so it never fights the reveal `transform` */
.home :is(.tile, .ind, .channel) { transition-property: opacity, transform, translate, box-shadow, background-color; transition-duration: 1s, 1s, 0.45s, 0.45s, 0.45s; transition-timing-function: var(--ease); }
@media (hover: hover) {
  .home :is(.tile, .channel, .ind):hover { translate: 0 -4px; box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.35); background-color: var(--bg); transition-delay: 0s; }
  .tile:hover .tile-link::after, .channel:hover .chev::after, .ind:hover .chev::after { transform: translate(3px, -1px); }
}
.home main :is(a, button, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.home main :is(.on-dark, .cta-panel, .commerce-cta, .window) :is(a, button, summary):focus-visible { outline-color: #2997ff; }
.home .chips a:focus-visible, .home .announce:focus-visible { outline-offset: 2px; }
.home .channel:focus-visible, .home .ind:focus-visible { outline-offset: 4px; }
@supports selector(:has(*)) {
  .home .tile:has(.tile-link:focus-visible) { outline: 2px solid var(--blue); outline-offset: 4px; }
  .home .tile-link:focus-visible { outline: none; text-decoration: underline; }
}
.home main :is(h1, h2, h3) { text-wrap: balance; }
.home main p { text-wrap: pretty; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .float { display: none; }
}
@media (max-width: 1020px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ind-body { padding: 26px; }
  .ind h3 { font-size: 1.6rem; line-height: 1.12; }
  .ind img { object-position: 50% 50%; } /* wider cards show the whole scene */
}
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; gap: 40px; }
  .project.reverse .project-copy { order: 0; }
  .project + .project { margin-top: 80px; }
  .section { padding-block: 80px; }
  .home .section { padding-block: 76px; }
  .nav-links { display: none; }
  .nav-inner .pill-sm { margin-left: auto; }
  .tile-wide { grid-template-columns: 1fr; }
  .tile-wide .photo { order: -1; }
  .hub { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
  .hub-ticker { position: static; grid-column: 1 / -1; justify-self: center; transform: none; margin-top: 4px; }
  .hub-lines, .hub-tag { display: none; }
  .hub-core { position: static; grid-column: 1 / -1; justify-self: center; transform: none; margin-bottom: 8px; }
  .hub-node { position: static; width: auto; transform: none; }
  .hub-node.ping { transform: scale(1.02); }
  .channels { grid-template-columns: 1fr 1fr; }
  .tile-wide .photo img { aspect-ratio: 3 / 2; min-height: 0; }
  .story .section-head { margin-bottom: 36px; }
  .auto-demo { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .auto-panel { max-width: 560px; width: 100%; margin-inline: auto; }
  .headline br { display: none; }
  .cta-panel { grid-template-columns: 1fr; gap: 40px; padding: 48px 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .ind { min-height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .home .section { padding-block: 56px; }
  .section-head { margin-bottom: 32px; }
  .hero { padding-block: 64px 24px; }
  .home .hero { padding-block: 44px 20px; }
  .home .hero .subhead { margin-top: 16px; }
  .home .hero .grade-form { margin-top: 28px; }
  .hero-alt { margin-top: 12px; }
  .stage { margin-top: 36px; }
  .marquee { padding-block: 30px 18px; }
  .marquee-label { margin-bottom: 12px; }
  .stats { padding-block: 0 52px; }
  .stats-grid { gap: 10px; }
  .feed li { grid-template-columns: 32px 1fr; }
  .feed time { display: none; }
  .cta-panel { gap: 28px; padding: 32px 20px 22px; border-radius: 28px; }
  .cta-panel .grade-form-dark { margin-top: 24px; }
  .report { padding: 18px 18px 22px; }
  .ring { width: 150px; height: 150px; margin: 2px auto 16px; }
  .ring-num { font-size: 50px; }
  .grade-bar { flex-wrap: wrap; padding: 8px; border-radius: 26px; }
  .grade-globe { margin-left: 10px; }
  .grade-bar .pill { width: 100%; }
  .grade-meta { font-size: 13px; gap: 6px 14px; }
  .announce { font-size: 13px; }
  .announce-go { display: none; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .stat { padding: 18px 16px; border-radius: 20px; }
  .stat > span { font-size: 14px; }
  .steps[data-draw]::before { left: 0; right: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps li { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 12px; padding: 18px 18px 20px; }
  .steps li::before { grid-row: 1 / span 2; margin: 0; font-size: 30px; }
  .steps h3 { font-size: 18px; }
  .steps p { margin-top: 4px; font-size: 15px; }
  .hub { gap: 8px; margin-bottom: 28px; }
  .hub-core { width: 100%; max-width: 280px; padding: 16px 16px 14px; border-radius: 22px; }
  .hub-products { grid-template-columns: repeat(4, 32px); margin: 4px 0; }
  .hub-products i { height: 36px; border-radius: 8px; }
  .hub-node { gap: 9px; padding: 10px; border-radius: 16px; }
  .hub-ic { width: 30px; height: 30px; border-radius: 9px; }
  .hub-ic svg { width: 16px; height: 16px; }
  .hub-node strong { font-size: 13.5px; line-height: 1.2; }
  .hub-node span:not(.hub-ic) { font-size: 12px; }
  .hub-ticker { white-space: normal; text-align: left; border-radius: 16px; width: 100%; max-width: 100%; font-size: 13px; }
  .channels { gap: 10px; }
  .channel { padding: 18px 16px 16px; border-radius: 20px; }
  .channel .eyebrow { font-size: 12px; }
  .channel h3 { font-size: 19px; }
  .channel p { font-size: 14px; }
  .channel .chev { padding-top: 12px; font-size: 14px; }
  .commerce-cta { margin-top: 10px; padding: 22px 20px; border-radius: 20px; }
  .commerce-cta p { flex-basis: 100%; font-size: 15px; }
  .film { padding-block: 0 56px; }
  .film .section-head { margin-bottom: 24px; }
  .film-frame { border-radius: 20px; }
  .film-play { gap: 8px; padding: 5px 14px 5px 5px; font-size: 14px; white-space: nowrap; }
  .film-play-ic { width: 32px; height: 32px; background-size: 14px; }
  .film-sub { bottom: 5%; max-width: 92%; padding: 3px 9px; border-radius: 7px; font-size: 12px; }
  .film-cap { top: 9px; right: 10px; padding: 3px 8px; font-size: 10px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile { border-radius: 24px; }
  .tile .photo img, .tile-wide .photo img { aspect-ratio: 16 / 9; }
  .tile-body { padding: 24px 22px 24px; }
  .tile h3 { font-size: 1.6rem; }
  .tile p { margin-top: 10px; font-size: 16px; }
  .home .list { margin-top: 16px; gap: 7px; }
  .home .list li { font-size: 15px; }
  .tile-link { padding-top: 16px; }
  .row, .footer-top { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ind { min-height: 250px; border-radius: 20px; }
  .ind-body { padding: 14px 14px 15px; }
  .ind .eyebrow { margin-bottom: 4px; font-size: 12px; }
  .ind h3 { font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.02em; }
  .ind .chev { margin-top: 8px; font-size: 14px; }
  .ind::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.86) 100%); }
  .chips { margin-top: 24px; gap: 8px; }
  .chips a, .chips span { padding: 7px 12px; font-size: 14px; }
  .chips a { padding-right: 10px; }
  .why { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .why .ic { width: 40px; height: 40px; margin-bottom: 10px; }
  .why h3 { font-size: 17px; }
  .why p { font-size: 15px; }
  .why-more { margin-top: 28px; }
  .contact-card { padding: 28px 20px; }
  .home .contact-card { padding: 24px 18px; }
  .story .section-head { margin-bottom: 28px; }
  .auto-demo { gap: 28px; }
  .story-note { margin-top: 20px; }
  .project { gap: 28px; }
  .project + .project { margin-top: 64px; }
  .project h3 { font-size: 2.1rem; }
  .project-copy > p:not(.project-tag) { margin-top: 12px; font-size: 16px; }
  .project-links { margin-top: 22px; gap: 10px 20px; }
  .devices { padding: 0 34px 44px 0; }
  .project.reverse .devices { padding: 0 34px 44px 0; }
  .phone { width: 33%; padding: 5px; border-radius: 26px; }
  .phone img { border-radius: 21px; }
  .phone::before { top: 9px; height: 9px; }
  .browser-bar span { padding: 3px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .feed li { opacity: 1; transform: none; }
  .stage .window { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* small-screen polish */
.window-bar .title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 640px) {
  .aurora { opacity: 0.35; }
  .window-bar i { display: none; }
  .window-bar .title { margin-left: 0; }
}
