/* SPAQI LABS – Web · AI · Automation
   Dark, quiet, precise. One accent (cool ion blue) used sparingly; motion only with transform/opacity. */

:root {
  --bg: #07080a;
  --bg-2: #0b0c0f;
  --surface: #0f1014;
  --surface-2: #14161b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f4f6;
  --muted: #8d929c;
  --dim: #5d626c;
  --ion: #b9c5ff;
  --ion-rgb: 150, 168, 255;
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --font: "Inter", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: var(--font);   /* labels: the same clean sans in caps – no typewriter fallback on machines without a good mono font */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
p { margin: 0; }
::selection { background: rgba(var(--ion-rgb), .35); color: #fff; }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; }
.skip:focus { top: 16px; }

/* film grain – adds depth to the flat black without any image request */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: #f5f6f8; color: #0a0b0d; border-color: transparent; box-shadow: 0 0 0 0 rgba(var(--ion-rgb), 0); }
.btn-primary:hover { background: #fff; box-shadow: 0 10px 40px -10px rgba(var(--ion-rgb), .55); }
.btn-ghost { background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .24); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-large { height: 60px; padding: 0 34px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ navigation */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 32px;
  height: 72px; padding: env(safe-area-inset-top, 0) max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 0;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { height: 62px; background: rgba(7, 8, 10, .72); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-weight: 600; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-word { font-size: 15px; letter-spacing: .14em; }
.brand-word span { color: var(--muted); }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.is-current { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 90px var(--gutter) 40px; background: rgba(7, 8, 10, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mobile-menu[hidden], [hidden] { display: none !important; }
.mobile-menu a:not(.btn) { font-size: 34px; font-weight: 600; letter-spacing: -.03em; padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); animation: menuIn .6s var(--ease) forwards; }
.mobile-menu a:nth-child(2) { animation-delay: .05s; } .mobile-menu a:nth-child(3) { animation-delay: .1s; } .mobile-menu a:nth-child(4) { animation-delay: .15s; }
.mobile-menu .btn { margin-top: 28px; height: 56px; background: #f5f6f8; color: #0a0b0d; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.kicker { font: 500 12.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .6; }
.muted { color: var(--dim); }
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 560px; margin-top: 22px; }
section { position: relative; z-index: 2; }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head h2, .contact-copy h2 { font-size: clamp(38px, 5.6vw, 72px); }
.compare-copy h3 { font-size: clamp(34px, 3.8vw, 52px); }

/* ------------------------------------------------------------------ hero */
.hero { padding-top: clamp(140px, 19vh, 200px); overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120vh; pointer-events: none; z-index: -1; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.hero-glow i:first-child { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; left: 50%; top: 4%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(var(--ion-rgb), .20), transparent 70%); animation: drift 18s var(--ease-in-out) infinite alternate; }
.hero-glow i:last-child { width: 38vw; height: 38vw; max-width: 600px; max-height: 600px; left: 64%; top: 26%; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent 70%); animation: drift2 22s var(--ease-in-out) infinite alternate; }
@keyframes drift { to { transform: translate(-42%, 6%) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-30%, -8%) scale(.92); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c9cdd6; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ion); box-shadow: 0 0 12px rgba(var(--ion-rgb), .9); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero-title { margin-top: 30px; font-size: clamp(46px, 9vw, 124px); line-height: .98; letter-spacing: -.055em; font-weight: 600; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero-title .line > span { transform: none; }
.hero-title em { font-style: normal; background: linear-gradient(100deg, #ffffff 10%, #c7cfff 45%, #7f8ab0 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 30px; max-width: 640px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.is-loaded .hero-inner .reveal { opacity: 1; transform: none; }

/* browser mockup (wow moment 1): tilted in space, unfolds while scrolling */
.stage-wrap { --t: 1; margin-top: clamp(56px, 8vw, 96px); perspective: 1800px; padding-bottom: clamp(80px, 12vw, 160px); }
.device {
  position: relative; max-width: 1080px; margin: 0 auto; border-radius: 20px; padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 -20px 120px -40px rgba(var(--ion-rgb), calc(.15 + (1 - var(--t)) * .25));
  transform: rotateX(calc(var(--t) * 24deg)) scale(calc(1 - var(--t) * .1)) translateY(calc(var(--t) * -10px));
  transform-origin: 50% 0; will-change: transform;
}
.device-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.url { flex: 1; max-width: 360px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 7px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .05); font: 12.5px/1 var(--mono); color: var(--muted); }
.url svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.demo-tag { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 999px; }
.device-screen { position: relative; overflow: hidden; border-radius: 0 0 19px 19px; aspect-ratio: 16 / 9.2; background: #f4f3ef; }
.site { position: absolute; inset: 0; padding: 3.2% 4.5%; color: #121316; font-size: clamp(7px, 1.12vw, 13.5px); transform: translateY(calc((1 - var(--t)) * -6%)); transition: transform .1s linear; }
.site-nav { display: flex; align-items: center; gap: 2.4em; font-size: .95em; color: #5b5d63; }
.site-nav b { color: #111; font-weight: 650; letter-spacing: -.01em; margin-right: auto; font-size: 1.1em; }
.site-nav em { font-style: normal; color: #fff; background: #111; padding: .7em 1.3em; border-radius: 999px; }
.site-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 6%; align-items: center; margin-top: 6%; }
.site-hero small { font-size: .85em; letter-spacing: .08em; text-transform: uppercase; color: #8a7a5c; }
.site-hero h3 { font-size: 3.6em; line-height: .98; letter-spacing: -.045em; margin: .35em 0 .4em; color: #0d0e10; }
.site-hero p { color: #5d5f64; font-size: 1.12em; max-width: 26em; }
.site-btns { display: flex; gap: .8em; margin-top: 1.6em; }
.site-btns i { font-style: normal; padding: .85em 1.4em; border-radius: 999px; background: #111; color: #fff; font-size: .95em; }
.site-btns i + i { background: transparent; color: #111; border: 1px solid #cfccc4; }
.site-visual { position: relative; aspect-ratio: 1 / .86; border-radius: 1.4em; overflow: hidden; background: linear-gradient(140deg, #d9d2c3, #b9ae98 60%, #8e836f); }
.site-visual span { position: absolute; border-radius: 1em; background: rgba(255, 255, 255, .55); backdrop-filter: blur(4px); }
.site-visual span:nth-child(1) { left: 8%; bottom: 9%; width: 52%; height: 22%; }
.site-visual span:nth-child(2) { right: 8%; top: 9%; width: 30%; height: 30%; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.site-visual span:nth-child(3) { left: 8%; top: 10%; width: 22%; height: 6%; background: rgba(0, 0, 0, .18); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2%; margin-top: 6%; }
.site-cards div { height: 7em; border-radius: 1.1em; background: #fff; box-shadow: 0 .4em 1.6em rgba(0, 0, 0, .06); }
.site-rows div { height: 1.1em; margin-top: 1.2em; border-radius: 1em; background: #e6e3dc; }
.site-rows div + div { width: 70%; }
.float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(20, 22, 27, .72); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.float b { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.float small { display: block; font-size: 12.5px; color: var(--muted); }
.float-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(var(--ion-rgb), .14); border: 1px solid rgba(var(--ion-rgb), .3); }
.float-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--ion); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.float-ai { left: -4%; bottom: 9%; }
.float-auto { right: -4%; top: 30%; transition-delay: .25s; }
.device.is-live .float { opacity: 1; transform: none; }
.device.is-live .float-ai { animation: bob 6s ease-in-out 1s infinite; }
.device.is-live .float-auto { animation: bob 7s ease-in-out 1.6s infinite reverse; }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* ------------------------------------------------------------------ value / statement */
.value { padding: clamp(60px, 10vw, 140px) 0; }
.statement { font-size: clamp(28px, 4.2vw, 56px); line-height: 1.14; letter-spacing: -.035em; font-weight: 500; max-width: 1080px; }
.statement .w { color: #2e3138; transition: color .5s var(--ease); }
.statement .w.on { color: var(--text); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(64px, 9vw, 120px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.value-item { padding: clamp(28px, 3.4vw, 44px); background: var(--bg); }
.value-item .num { font: 500 12.5px/1 var(--mono); color: var(--dim); letter-spacing: .1em; }
.value-item h3 { font-size: 23px; letter-spacing: -.025em; margin: 34px 0 12px; }
.value-item p { color: var(--muted); font-size: 15.5px; }

/* ------------------------------------------------------------------ services (spotlight cards) */
.services { padding: clamp(80px, 12vw, 160px) 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { position: relative; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--ion-rgb), .10), transparent 60%); }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--ion-rgb), .55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.service-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: #e7e9f0; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-icon .draw { stroke: var(--ion); stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.4s var(--ease) .3s; }
.service.is-in .draw { stroke-dashoffset: 0; }
.service h3 { font-size: 28px; margin: 34px 0 14px; }
.service p { color: var(--muted); font-size: 15.5px; }
.service ul { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.service li { position: relative; padding-left: 22px; font-size: 14.5px; color: #c3c7cf; }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--ion); }

/* ------------------------------------------------------------------ showcase (wow moment 2) */
.showcase { padding: clamp(80px, 12vw, 160px) 0; }
.flow { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.flow-tabs { display: grid; gap: 10px; align-content: start; }
.flow-tab {
  position: relative; display: flex; gap: 18px; align-items: flex-start; text-align: left; padding: 22px 22px 26px; border-radius: 18px;
  background: transparent; border: 1px solid var(--line); cursor: pointer; overflow: hidden;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.flow-tab:hover { background: rgba(255, 255, 255, .025); }
.flow-tab.is-active { background: var(--surface-2); border-color: var(--line-2); }
.flow-num { font: 500 12px/1.6 var(--mono); color: var(--dim); }
.flow-tab.is-active .flow-num { color: var(--ion); }
.flow-text b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.flow-text small { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.flow-bar { position: absolute; left: 22px; right: 22px; bottom: 12px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; transition: opacity .3s; }
.flow-bar i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(var(--ion-rgb), .5), var(--ion)); border-radius: inherit; }
.flow-tab.is-active .flow-bar { opacity: 1; }
.flow-tab.is-active .flow-bar i { animation: progress var(--dur, 7s) linear forwards; }
.flow.is-paused .flow-tab.is-active .flow-bar i { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px -30px rgba(0, 0, 0, .7); }
.flow-stage { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; display: grid; padding: clamp(18px, 3vw, 36px); padding-top: 56px; }
.flow-stage::before { content: ""; position: absolute; inset: auto -20% -50% -20%; height: 80%; background: radial-gradient(closest-side, rgba(var(--ion-rgb), .14), transparent); pointer-events: none; }
.stage-label { position: absolute; top: 18px; left: 22px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.panel { grid-area: 1 / 1; position: relative; display: grid; align-items: center; }
.panel[hidden] { display: none; }
.panel.is-active { animation: panelIn .8s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(6px); } }

/* web panel */
.mini-site { border-radius: 16px; background: #f5f4f0; color: #121316; padding: 20px 22px 26px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.mini-nav { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.mini-nav b { margin-right: auto; font-weight: 650; }
.mini-nav span { width: 46px; height: 6px; border-radius: 4px; background: #dedbd3; }
.mini-nav em { font-style: normal; font-size: 12px; padding: 7px 14px; border-radius: 999px; background: #111; color: #fff; }
.mini-body { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; align-items: center; }
.mini-copy small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8a7a5c; }
.mini-copy h4 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1; margin: 10px 0 16px; color: #0d0e10; }
.mini-lines i { display: block; height: 7px; border-radius: 4px; background: #e2dfd8; margin-top: 9px; }
.mini-lines i + i { width: 70%; }
.mini-form { display: grid; gap: 12px; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .07); position: relative; }
.mini-form label { display: grid; gap: 6px; font-size: 11.5px; color: #7b7d83; }
.mini-form .type { display: block; min-height: 36px; padding: 9px 11px; border-radius: 9px; border: 1px solid #e3e1db; color: #111; font-size: 13px; white-space: nowrap; overflow: hidden; }
.mini-form .type.is-typing::after { content: ""; display: inline-block; width: 1px; height: 14px; margin-left: 2px; vertical-align: -2px; background: #111; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mini-send, .mini-sent { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 999px; font-size: 13px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.mini-send { background: #111; color: #fff; }
.mini-send.is-press { transform: scale(.96); }
.mini-sent { position: absolute; left: 18px; right: 18px; bottom: 18px; background: #e9f6ee; color: #1b6b3c; opacity: 0; transform: translateY(6px); }
.mini-sent svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mini-form.is-sent .mini-sent { opacity: 1; transform: none; }
.mini-form.is-sent .mini-send { opacity: 0; }

/* ai panel */
.chat { display: grid; gap: 14px; max-width: 560px; width: 100%; margin: 0 auto; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { display: block; font-size: 12.5px; color: var(--muted); }
.chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(var(--ion-rgb), .14); border: 1px solid rgba(var(--ion-rgb), .3); }
.chat-avatar svg { width: 18px; height: 18px; fill: none; stroke: var(--ion); stroke-width: 1.6; stroke-linejoin: round; }
.msg { max-width: 86%; padding: 13px 17px; border-radius: 18px; font-size: 15px; line-height: 1.55; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.msg.is-shown { opacity: 1; transform: none; }
.msg-user { justify-self: end; background: #f2f3f5; color: #0d0e10; border-bottom-right-radius: 6px; }
.msg-ai { justify-self: start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-bottom-left-radius: 6px; color: #e6e8ee; }
.typing { display: flex; gap: 5px; padding: 16px 18px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-4px); opacity: 1; } 0%, 60%, 100% { opacity: .35; } }
.typing.is-gone { display: none; }
.chat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.chat-tags span { font: 500 11.5px/1 var(--mono); padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(var(--ion-rgb), .3); color: var(--ion); background: rgba(var(--ion-rgb), .06); opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chat-tags span.is-shown { opacity: 1; transform: none; }

/* automation panel */
.pipeline { position: relative; display: grid; gap: 12px; max-width: 520px; width: 100%; margin: 0 auto; padding-left: 26px; --p: 0; }
.pipeline::before, .pipeline::after { content: ""; position: absolute; left: 44px; top: 30px; bottom: 30px; width: 1px; background: var(--line-2); }
.pipeline::after { background: linear-gradient(180deg, var(--ion), rgba(var(--ion-rgb), .4)); transform-origin: top; transform: scaleY(var(--p)); transition: transform .9s var(--ease); box-shadow: 0 0 12px rgba(var(--ion-rgb), .8); }
.node { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr; column-gap: 16px; align-items: center; padding: 12px 16px 12px 0; }
.node span { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--dim); transition: all .6s var(--ease); }
.node b { font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--muted); transition: color .6s var(--ease); }
.node small { font-size: 13.5px; color: var(--dim); }
.node.is-on span { color: #0a0b0d; background: var(--ion); border-color: transparent; box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .1), 0 0 24px rgba(var(--ion-rgb), .6); }
.node.is-on b { color: var(--text); }

/* before / after */
.compare-block { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(100px, 14vw, 180px); }
.compare-copy p:not(.kicker) { color: var(--muted); margin-top: 22px; }
.compare-copy .note { font: 500 12.5px/1.5 var(--mono); color: var(--dim); letter-spacing: .02em; }
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); user-select: none; touch-action: pan-y; }
.cmp { position: absolute; inset: 0; font-size: clamp(8px, 1vw, 13px); }
.cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #f0e8c8; color: #000; font-family: "Times New Roman", Times, serif; }
.old-inner { padding: 3%; height: 100%; }
.old-head { background: #1f3f8f; color: #ffef5a; font-size: 1.5em; font-weight: 700; padding: .6em; text-align: center; border: 3px ridge #8aa0d8; }
.old-menu { margin: .6em 0; font-size: .95em; color: #0000ee; text-decoration: underline; text-align: center; }
.old-body { display: grid; grid-template-columns: 26% 1fr; gap: 3%; margin-top: 1em; }
.old-side { background: #c7d6ef; border: 2px inset #8797b5; padding: .6em; font-size: .9em; color: #a00; }
.old-main { font-size: 1em; line-height: 1.35; }
.old-main b { font-size: 1.3em; color: #800000; }
.old-pics { display: flex; gap: 4%; margin-top: 1em; }
.old-pics span { width: 34%; aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, #b9a77a 0 6px, #a8956a 6px 12px); border: 3px outset #ccc; }
.old-foot { margin-top: 1.4em; text-align: center; font-size: .85em; color: #555; font-style: italic; }
.cmp-after { background: #0f1013; color: #f3f4f6; padding: 4% 5%; }
.new-nav { display: flex; align-items: center; gap: 2em; font-size: 1em; color: #9a9ea8; }
.new-nav b { margin-right: auto; color: #fff; font-size: 1.15em; letter-spacing: -.01em; }
.new-nav em { font-style: normal; color: #0a0b0d; background: #f3f4f6; padding: .6em 1.2em; border-radius: 999px; }
.new-hero { margin-top: 9%; max-width: 70%; }
.new-hero small { font-size: .9em; letter-spacing: .14em; text-transform: uppercase; color: #c6a77a; }
.new-hero h4 { font-size: 4em; line-height: .98; letter-spacing: -.05em; margin: .3em 0 .35em; }
.new-hero p { color: #9a9ea8; font-size: 1.15em; }
.new-btns { display: flex; gap: .8em; margin-top: 1.6em; }
.new-btns i { font-style: normal; padding: .8em 1.4em; border-radius: 999px; background: #f3f4f6; color: #0a0b0d; }
.new-btns i + i { background: transparent; color: #f3f4f6; border: 1px solid rgba(255, 255, 255, .2); }
.new-tiles { position: absolute; left: 5%; right: 5%; bottom: 6%; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3%; height: 22%; }
.new-tiles span { border-radius: 1em; background: linear-gradient(135deg, #3a2f24, #6b5641 60%, #a07f5a); }
.new-tiles span:nth-child(2) { background: linear-gradient(135deg, #2a2d33, #4a4f58); }
.new-tiles span:nth-child(3) { background: linear-gradient(135deg, #51402f, #8b6c4b); }
.cmp-label { position: absolute; bottom: 14px; z-index: 3; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.cmp-label-before { left: 14px; }
.cmp-label-after { right: 14px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(255, 255, 255, .6); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.compare.is-dragging .cmp-handle span, .compare:hover .cmp-handle span { transform: scale(1.08); }
.cmp-handle svg { width: 22px; height: 22px; fill: none; stroke: #0a0b0d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-range:focus-visible + .cmp-handle, .compare:focus-within .cmp-handle span { outline: 2px solid var(--ion); outline-offset: 3px; }

/* ------------------------------------------------------------------ demo concepts */
.concepts { padding: clamp(80px, 12vw, 160px) 0; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.concept { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), border-color .4s; transform-style: preserve-3d; }
.concept:hover { border-color: var(--line-2); }
.concept.is-in { transition: opacity 1s var(--ease) var(--d, 0s), transform .6s var(--ease), border-color .4s; }
.concept-visual { position: relative; aspect-ratio: 4 / 3; margin: 14px 14px 0; border-radius: 14px; overflow: hidden; padding: 7%; }
.concept-visual > div { border-radius: 6px; }
.cv-nav { height: 6%; width: 100%; opacity: .5; }
.cv-title { height: 10%; width: 64%; margin-top: 12%; }
.cv-sub { height: 5%; width: 46%; margin-top: 4%; opacity: .55; }
.cv-btn { height: 9%; width: 26%; margin-top: 7%; border-radius: 999px !important; }
.cv-img { position: absolute; right: 7%; bottom: 8%; width: 36%; height: 46%; border-radius: 12px !important; transition: transform .8s var(--ease); }
.concept:hover .cv-img { transform: translateY(-6%) scale(1.03); }
.cv-1 { background: #f2efe8; } .cv-1 .cv-nav, .cv-1 .cv-title { background: #1d1d1f; } .cv-1 .cv-sub { background: #8c8576; } .cv-1 .cv-btn { background: #c24f2d; } .cv-1 .cv-img { background: linear-gradient(150deg, #e9b48f, #c24f2d); }
.cv-2 { background: #efe7e2; } .cv-2 .cv-nav, .cv-2 .cv-title { background: #3c2f2a; } .cv-2 .cv-sub { background: #a8968c; } .cv-2 .cv-btn { background: #3c2f2a; } .cv-2 .cv-img { background: linear-gradient(150deg, #e7cfc4, #b08d80); border-radius: 50% 50% 12px 12px !important; }
.cv-3 { background: #121417; } .cv-3 .cv-nav, .cv-3 .cv-title { background: #f1f2f4; } .cv-3 .cv-sub { background: #6f747d; } .cv-3 .cv-btn { background: #ffb020; } .cv-3 .cv-img { background: linear-gradient(150deg, #2c3038, #50565f); }
.concept-meta { padding: 24px 26px 30px; }
.tag { display: inline-block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.concept-meta h3 { font-size: 24px; margin: 18px 0 10px; }
.concept-meta p { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ why */
.why { padding: clamp(80px, 12vw, 160px) 0; }
.why-inner { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.sticky-head { position: sticky; top: 120px; margin-bottom: 0; }
.why-list { display: grid; }
.why-item { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .4s, background .4s; }
.why-icon svg { width: 22px; height: 22px; fill: none; stroke: #e7e9f0; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.why-item:hover .why-icon { border-color: rgba(var(--ion-rgb), .5); background: rgba(var(--ion-rgb), .08); }
.why-item h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 15.5px; }

/* ------------------------------------------------------------------ process timeline */
.process { padding: clamp(80px, 12vw, 160px) 0; }
.timeline { --progress: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 880px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--line-2); }
.timeline::after { background: linear-gradient(180deg, var(--ion), rgba(var(--ion-rgb), .3)); transform-origin: top; transform: scaleY(var(--progress)); box-shadow: 0 0 10px rgba(var(--ion-rgb), .6); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 28px; padding: 22px 0; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--muted); transition: all .6s var(--ease); }
.step.is-reached .step-num { color: #0a0b0d; background: var(--ion); border-color: transparent; box-shadow: 0 0 0 7px rgba(var(--ion-rgb), .08); }
.step h3 { font-size: clamp(22px, 2.4vw, 28px); padding-top: 12px; }
.step p { color: var(--muted); margin-top: 10px; max-width: 560px; }

/* ------------------------------------------------------------------ CTA */
.cta { padding: clamp(110px, 16vw, 220px) 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-glow { position: absolute; left: 50%; top: 50%; width: min(1100px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(var(--ion-rgb), .16), transparent 70%); pointer-events: none; z-index: -1; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(42px, 7.4vw, 104px); letter-spacing: -.05em; line-height: 1; }
.cta-title em { font-style: normal; background: linear-gradient(100deg, #fff 10%, #c7cfff 50%, #7f8ab0 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta .lead { margin: 28px auto 44px; }

/* ------------------------------------------------------------------ contact */
.contact { padding: clamp(90px, 12vw, 160px) 0 clamp(70px, 9vw, 120px); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.mail-card { margin-top: 40px; padding: 26px; border-radius: var(--radius); display: grid; gap: 10px; justify-items: start; }
.mail-card small { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.mail { display: inline-block; padding: 8px 0; font-size: clamp(17px, 2vw, 22px); font-weight: 500; letter-spacing: -.015em; word-break: break-all; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.mail:hover { background-size: 100% 1px; }
.copy { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: color .25s, border-color .25s; }
.copy:hover { color: var(--text); border-color: rgba(255, 255, 255, .28); }
.copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.contact-form { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); display: grid; gap: 20px; }
.field { display: grid; gap: 9px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 13.5px; color: #c3c7cf; padding: 0; }
.opt { color: var(--dim); font-size: 12px; margin-left: 4px; }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); font-size: 16px; resize: vertical;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: rgba(var(--ion-rgb), .6); box-shadow: 0 0 0 4px rgba(var(--ion-rgb), .12); background: rgba(0, 0, 0, .5); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e2797b; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 9px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .25s var(--ease); }
.chips input:checked + span { color: #0a0b0d; background: #f3f4f6; border-color: transparent; }
.chips input:focus-visible + span { outline: 2px solid var(--ion); outline-offset: 2px; }
.form-note { font-size: 13px; color: var(--dim); line-height: 1.5; }
.form-note.is-error { color: #ec9a9c; }

/* ------------------------------------------------------------------ footer + toast */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-claim { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer-copy { margin-left: auto; font-size: 13.5px; color: var(--dim); }
.footer-copy a { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--text); }
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 999px; background: #f3f4f6; color: #0a0b0d; font-size: 14px; font-weight: 500; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .flow { grid-template-columns: 1fr; }
  .flow-tabs { grid-template-columns: repeat(3, 1fr); }
  .flow-text small { display: none; }
  .flow-tab { padding: 18px 18px 22px; }
  .compare-block { grid-template-columns: 1fr; }
  .float-ai { left: 2%; } .float-auto { right: 2%; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .value-grid, .service-grid, .concept-grid { grid-template-columns: 1fr; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .sticky-head { position: static; margin-bottom: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 124px; }
  .hero-title { font-size: clamp(42px, 12.4vw, 64px); }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .device { border-radius: 14px; }
  .device-bar { height: 34px; padding: 0 10px; gap: 8px; }
  .lights i { width: 8px; height: 8px; }
  .url { height: 22px; font-size: 10.5px; }
  .demo-tag { font-size: 9px; padding: 5px 7px; }
  .device-screen { aspect-ratio: 4 / 5; border-radius: 0 0 13px 13px; }
  .site { font-size: 2.7vw; padding: 6% 6%; }
  .site-nav span { display: none; }
  .site-hero { grid-template-columns: 1fr; gap: 1.6em; margin-top: 9%; }
  .site-hero h3 { font-size: 3.3em; }
  .site-visual { aspect-ratio: 16 / 9; }
  .site-cards div { height: 5em; }
  .float { padding: 9px 13px 9px 9px; gap: 9px; border-radius: 13px; max-width: 78%; }
  .float b { font-size: 12.5px; } .float small { font-size: 11px; }
  .float-icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-ai { left: -3%; bottom: 20%; }
  .float-auto { right: -3%; top: auto; bottom: -22px; }
  .stage-wrap { padding-bottom: 110px; }
  .stage-wrap { perspective: 1200px; }
  .flow-tabs { gap: 6px; }
  .flow-tab { flex-direction: column; gap: 4px; padding: 14px 14px 20px; }
  .flow-text b { font-size: 16px; }
  .flow-bar { left: 14px; right: 14px; bottom: 10px; }
  .flow-stage { min-height: 520px; padding: 50px 16px 20px; }
  .mini-body { grid-template-columns: 1fr; gap: 18px; margin-top: 20px; }
  .mini-nav span { display: none; }
  .msg { max-width: 94%; font-size: 14.5px; }
  .compare { aspect-ratio: 1 / 1.08; }
  .cmp { font-size: 2.3vw; }
  .old-body { grid-template-columns: 1fr; }
  .old-side { display: none; }
  .new-hero { max-width: 100%; margin-top: 18%; }
  .new-hero h4 { font-size: 4.6em; }
  .new-tiles { height: 18%; }
  .why-item { grid-template-columns: 40px 1fr; gap: 16px; }
  .why-icon { width: 40px; height: 40px; }
  .timeline::before, .timeline::after { left: 21px; }
  .step { grid-template-columns: 44px 1fr; gap: 18px; }
  .step-num { width: 44px; height: 44px; font-size: 12px; }
  .step h3 { padding-top: 8px; }
  .footer-copy { margin-left: 0; width: 100%; }
}

/* ------------------------------------------------------------------ reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .stage-wrap, .device { --t: 0 !important; }
  .float { opacity: 1; transform: none; }
  .statement .w { color: var(--text); }
}

/* =================================================================== premium round: transformation, before/after stage,
   potential check, realistic concepts, light trust section */

/* hero: assurances + hint labels + old site that turns into the new one while scrolling */
.assure { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgba(var(--ion-rgb), .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23b9c5ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.stage-hint { position: relative; height: 32px; margin: 0 auto 18px; display: grid; place-items: center; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.stage-hint span { grid-area: 1 / 1; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.hint-old { color: var(--muted); opacity: clamp(0, calc((var(--t) - .66) * 9), 1); }
.hint-new { color: var(--ion); border-color: rgba(var(--ion-rgb), .35) !important; background: rgba(var(--ion-rgb), .07) !important; opacity: clamp(0, calc((.7 - var(--t)) * 9), 1); }
.site { z-index: 1; }
.site-old {
  position: absolute; inset: 0; z-index: 2; background: #efe6c6; color: #000; font-family: "Times New Roman", Times, serif;
  font-size: clamp(7px, 1.12vw, 14px); clip-path: inset(clamp(0%, calc((1 - var(--t)) * 135%), 100%) 0 0 0);
}
.site-old .old-pics span { width: 30%; }
.scan { position: absolute; left: 0; right: 0; z-index: 3; height: 2px; top: clamp(0%, calc((1 - var(--t)) * 135%), 100%); pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--ion) 20%, #fff 50%, var(--ion) 80%, transparent);
  box-shadow: 0 0 18px 2px rgba(var(--ion-rgb), .8), 0 0 60px 8px rgba(var(--ion-rgb), .35);
  opacity: clamp(0, calc(min((1 - var(--t)) * 10, var(--t) * 3.5)), 1); }

/* section rhythm */
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lead { margin-inline: auto; }
.note.center { text-align: center; margin-top: 34px; font-size: 13px; color: var(--dim); }

/* before / after: the stage */
.ba { padding: clamp(100px, 14vw, 190px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #10121a 0%, var(--bg) 60%); }
.ba-spot { position: absolute; left: 50%; top: 38%; width: min(1400px, 140vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--ion-rgb), .13), transparent 72%); }
.ba .section-head h2 { font-size: clamp(42px, 6.4vw, 88px); }
.compare-xl { max-width: 1120px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 26px;
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04), 0 0 120px -30px rgba(var(--ion-rgb), .35); }
.compare-xl .cmp { font-size: clamp(7px, 1.04vw, 14.5px); }
.compare-xl .cmp-after { padding: 3.6% 5%; background: radial-gradient(90% 90% at 80% 20%, #1b1916, #0e0f11 70%); }
.compare-xl .new-nav { gap: 2.2em; }
.compare-xl .new-hero { margin-top: 8%; max-width: 50%; position: relative; z-index: 1; }
.compare-xl .new-hero h4 { font-size: 4.6em; }
.compare-xl .new-hero p { max-width: 26em; line-height: 1.5; }
.new-trust { display: flex; flex-wrap: wrap; gap: .6em; margin-top: 2.2em; }
.new-trust span { font-size: .85em; padding: .5em .9em; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: #c9c3b8; }
.new-photo { position: absolute; right: 5%; top: 16%; width: 40%; height: 68%; border-radius: 1.4em; overflow: hidden;
  background: linear-gradient(180deg, #2a241d 0%, #3b3127 55%, #5a4632 56%, #6e5539 100%); box-shadow: 0 2em 4em -1.5em rgba(0, 0, 0, .7); }
.new-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 20%, rgba(255, 220, 170, .28), transparent 70%); }
.np-shelf { position: absolute; left: 10%; right: 10%; top: 28%; height: 4%; border-radius: .3em; background: linear-gradient(90deg, #a07a52, #c79a68); box-shadow: 0 .6em 1em rgba(0, 0, 0, .35); }
.np-shelf.s2 { top: 46%; left: 18%; }
.np-lamp { position: absolute; right: 18%; top: 0; width: 1px; height: 14%; background: #8d7a62; }
.np-lamp::after { content: ""; position: absolute; left: -1.1em; top: 100%; width: 2.2em; height: 1.2em; border-radius: 1.2em 1.2em .2em .2em; background: #e9d7b8; box-shadow: 0 1em 3em 1em rgba(255, 214, 150, .35); }
.np-vase { position: absolute; left: 24%; top: 17%; width: 7%; height: 11%; border-radius: 40% 40% 30% 30%; background: linear-gradient(180deg, #d8cfc3, #a99d8e); }
.new-phone { position: absolute; right: 8%; bottom: -6%; width: 15%; aspect-ratio: 9 / 18; border-radius: 1.3em; padding: 1.6em .9em .9em; background: #f4f1ec; color: #111;
  border: .35em solid #1d1e22; box-shadow: 0 2em 3em -1em rgba(0, 0, 0, .8); display: flex; flex-direction: column; gap: .6em; z-index: 2; }
.new-phone i { position: absolute; top: .45em; left: 50%; width: 30%; height: .45em; margin-left: -15%; border-radius: 1em; background: #1d1e22; }
.new-phone b { font-size: 1.05em; line-height: 1.05; letter-spacing: -.03em; }
.new-phone em { font-style: normal; font-size: .7em; text-align: center; padding: .6em; border-radius: 999px; background: #111; color: #fff; }
.new-phone span { flex: 1; border-radius: .6em; background: linear-gradient(135deg, #5a4632, #a07a52); }
.new-phone span + span { flex: .6; background: #e3ddd3; }
.hs { position: absolute; z-index: 4; display: grid; place-items: center; width: 2.1em; height: 2.1em; margin: -1.05em 0 0 -1.05em; border-radius: 50%;
  font: 600 1em/1 var(--font); }
.hs::after { content: ""; position: absolute; inset: -.35em; border-radius: 50%; border: 1px solid currentColor; opacity: .5; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.hs-good { color: #0a0b0d; background: var(--ion); box-shadow: 0 0 1.4em rgba(var(--ion-rgb), .7); }
.hs-good::after { border-color: var(--ion); }
.hs-bad { color: #fff; background: #c4473f; box-shadow: 0 0 1.2em rgba(196, 71, 63, .5); font-family: var(--font); }
.ba-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1120px; margin: 28px auto 0; }
.ba-col { padding: 26px 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); transition: opacity .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease); }
.ba-col h3 { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ba-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ba-col li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; font-size: 15.5px; color: #c9ccd3; }
.ba-col li b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12.5px; }
.ba-col-before li b { background: rgba(196, 71, 63, .18); color: #ef8f88; }
.ba-col-after li b { background: rgba(var(--ion-rgb), .16); color: var(--ion); }
.ba-col.is-focus { border-color: var(--line-2); background: rgba(255, 255, 255, .045); }
.ba-col-after.is-focus { border-color: rgba(var(--ion-rgb), .35); }
.ba-col.is-dim { opacity: .45; }

/* potential check */
.check { padding: clamp(90px, 12vw, 170px) 0; }
.check-panel { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 28px; overflow: hidden; }
.check-form { padding: clamp(26px, 3.6vw, 48px); display: grid; gap: 30px; align-content: start; }
.check-field label { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 14px; }
.check-field .hint { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; color: var(--dim); }
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row output { min-width: 58px; text-align: center; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"]:not(.cmp-range) { -webkit-appearance: none; appearance: none; flex: 1; height: 28px; background: transparent; cursor: pointer; --fill: 20%; }
input[type="range"]:not(.cmp-range)::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ion) var(--fill), rgba(255, 255, 255, .12) var(--fill)); }
input[type="range"]:not(.cmp-range)::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ion) var(--fill), rgba(255, 255, 255, .12) var(--fill)); }
input[type="range"]:not(.cmp-range)::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .18), 0 4px 12px rgba(0, 0, 0, .5); transition: transform .2s var(--ease); }
input[type="range"]:not(.cmp-range)::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(var(--ion-rgb), .18); }
input[type="range"]:not(.cmp-range):active::-webkit-slider-thumb { transform: scale(1.12); }
.check-questions { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-questions legend { font-size: 16px; font-weight: 500; margin-bottom: 14px; padding: 0; }
.switch { display: flex; align-items: center; gap: 14px; min-height: 44px; cursor: pointer; font-size: 15px; color: #c9ccd3; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255, 255, 255, .12); transition: background .3s var(--ease); }
.switch .track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.switch input:checked + .track { background: var(--ion); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--ion); outline-offset: 3px; }
.check-result { padding: clamp(26px, 3.6vw, 48px); background: rgba(0, 0, 0, .28); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.check-result > small { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.check-hours { margin-top: 14px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.check-hours b { font-size: clamp(56px, 6vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff 20%, #c7cfff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.check-hours span { font-size: 17px; color: var(--muted); }
.check-basis { margin-top: 10px; font-size: 13.5px; color: var(--dim); }
.modules { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; gap: 10px; }
.module { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); opacity: .38; transition: opacity .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease); }
.module b { display: block; font-size: 15.5px; }
.module small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.m-dot { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--dim); transition: background .5s, box-shadow .5s; }
.module.is-on { opacity: 1; border-color: rgba(var(--ion-rgb), .35); background: rgba(var(--ion-rgb), .06); }
.module.is-on .m-dot { background: var(--ion); box-shadow: 0 0 12px rgba(var(--ion-rgb), .9); }
.check-none { margin: -8px 0 22px; font-size: 14.5px; color: var(--muted); }
.check-result .btn { margin-top: auto; white-space: normal; text-align: center; height: auto; min-height: 52px; padding: 14px 22px; }

/* realistic concept sites */
.concept { cursor: default; }
.cf { margin: 14px 14px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #1a1b1f; }
.cf-bar { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.cf-bar .lights i { width: 8px; height: 8px; }
.cf-url { flex: 1; text-align: center; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-right: 34px; }
.cf-screen { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; container-type: inline-size; }
.cs { position: absolute; left: 0; right: 0; top: 0; font-size: 2.55cqw; padding: 5% 6% 7%; transition: transform 6s cubic-bezier(.45, 0, .2, 1); }
.concept:hover .cs, .concept:focus-visible .cs { transform: translateY(var(--scroll, -42%)); transition-duration: 5s; }
.cs-nav { display: flex; align-items: center; gap: 1.6em; font-size: .92em; }
.cs-nav b { margin-right: auto; font-size: 1.15em; letter-spacing: -.02em; }
.cs-nav em { font-style: normal; padding: .65em 1.15em; border-radius: 999px; }
.cs-hero { margin-top: 9%; max-width: 54%; position: relative; z-index: 1; }
.cs-hero small { font-size: .82em; letter-spacing: .12em; text-transform: uppercase; }
.cs-hero h4 { font-size: 3.1em; line-height: 1; letter-spacing: -.045em; margin: .35em 0 .4em; }
.cs-hero p { font-size: 1.02em; line-height: 1.45; }
.cs-btns { display: flex; gap: .6em; margin-top: 1.3em; }
.cs-btns i { font-style: normal; font-size: .9em; padding: .75em 1.2em; border-radius: 999px; }
.cs-art { position: absolute; right: 6%; top: 15%; width: 38%; height: 44%; border-radius: 1.2em; overflow: hidden; }
.cs-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; margin-top: 30%; }
.cs-row div { padding: 1em; border-radius: .9em; }
.cs-row b { display: block; font-size: 1em; }
.cs-row span { display: block; font-size: .82em; margin-top: .25em; opacity: .7; }
.cs-form, .cs-book, .cs-status { margin-top: 1.2em; padding: 1.2em; border-radius: 1em; display: grid; gap: .7em; }
.cs-form span { padding: .8em 1em; border-radius: .6em; font-size: .9em; }
.cs-form i, .cs-book i { font-style: normal; text-align: center; padding: .8em; border-radius: 999px; font-size: .92em; }
/* painter: warm, light */
.cs-paint { background: #f3efe7; color: #1d1c1a; }
.cs-paint .cs-nav span { color: #6f6a61; } .cs-paint .cs-nav em, .cs-paint .cs-btns i:first-child, .cs-paint .cs-form i { background: #b4482b; color: #fff; }
.cs-paint .cs-hero small { color: #b4482b; } .cs-paint .cs-hero p { color: #5d584f; }
.cs-paint .cs-btns i + i { border: 1px solid #cfc7b9; }
.paint-art { background: linear-gradient(160deg, #e6ddcf, #d6c8b3); }
.paint-art .wall { position: absolute; inset: 0 0 auto 0; height: 68%; background: linear-gradient(90deg, #7d8f86 0 52%, #e9e2d6 52%); }
.paint-art .sw { position: absolute; bottom: 10%; width: 18%; aspect-ratio: 1; border-radius: .4em; box-shadow: 0 .4em .8em rgba(0, 0, 0, .15); }
.paint-art .s1 { left: 10%; background: #7d8f86; } .paint-art .s2 { left: 32%; background: #c9a77c; } .paint-art .s3 { left: 54%; background: #b4482b; }
.paint-art .roller { position: absolute; right: 10%; top: 22%; width: 14%; height: 40%; border-radius: .5em .5em .2em .2em; background: linear-gradient(90deg, #6f8078, #94a59c); transform: rotate(-12deg); }
.cs-paint .cs-row div { background: #fff; box-shadow: 0 .4em 1.2em rgba(0, 0, 0, .05); }
.cs-paint .cs-form { background: #fff; } .cs-paint .cs-form span { border: 1px solid #e4ddd1; color: #8b857a; }
/* beauty: calm, editorial */
.cs-beauty { background: #f2ebe5; color: #3b2f2a; }
.cs-beauty .cs-nav b, .cs-beauty .cs-hero h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.02em; }
.cs-beauty .cs-nav span { color: #8d7c73; } .cs-beauty .cs-nav em, .cs-beauty .cs-btns i:first-child, .cs-beauty .cs-book i { background: #3b2f2a; color: #f2ebe5; }
.cs-beauty .cs-hero small { color: #a07d6a; } .cs-beauty .cs-hero p { color: #7a6a61; }
.cs-beauty .cs-btns i + i { border: 1px solid #d6c7bc; }
.beauty-art { background: linear-gradient(180deg, #e7d6cb, #d9c0b1); }
.beauty-art .arch { position: absolute; left: 18%; right: 18%; bottom: 0; height: 82%; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #f6eee8, #ead9ce); }
.beauty-art .sun { position: absolute; right: 14%; top: 12%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #c99f86; opacity: .8; }
.beauty-art .leaf { position: absolute; left: 10%; bottom: 8%; width: 16%; height: 38%; border-radius: 0 100% 0 100%; background: #9aa58c; }
.cs-beauty .cs-book { background: #fff; } .cs-beauty .cs-book b { font-size: 1em; }
.cs-book div { display: flex; gap: .5em; }
.cs-book span { flex: 1; text-align: center; padding: .7em .3em; border-radius: .6em; border: 1px solid #e3d6cc; font-size: .85em; }
.cs-book span.on { background: #3b2f2a; color: #fff; border-color: transparent; }
.cs-beauty .cs-row div { background: rgba(255, 255, 255, .6); }
.cs-beauty .cs-row { margin-top: 1.2em; }
/* car: dark, precise */
.cs-car { background: #111316; color: #f1f2f4; }
.cs-car .cs-nav span { color: #8a9099; } .cs-car .cs-nav em, .cs-car .cs-btns i:first-child { background: #ffb020; color: #111; }
.cs-car .cs-hero small { color: #ffb020; } .cs-car .cs-hero p { color: #9aa0a9; }
.cs-car .cs-btns i + i { border: 1px solid #343840; }
.car-art { background: radial-gradient(80% 70% at 70% 30%, #2b2f36, #15171a); }
.car-art .road { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, #1d2024, #0f1113); }
.car-art .beam { position: absolute; left: 6%; bottom: 22%; width: 60%; height: 30%; background: radial-gradient(closest-side, rgba(255, 210, 120, .45), transparent); }
.car-art .car { position: absolute; left: 22%; right: 14%; bottom: 24%; height: 22%; border-radius: 40% 46% 12% 12% / 70% 70% 20% 20%; background: linear-gradient(180deg, #4b525c, #2b3036); box-shadow: 0 .6em 1.2em rgba(0, 0, 0, .6); }
.car-art .car::after { content: ""; position: absolute; left: 6%; top: 46%; width: 10%; height: 16%; border-radius: 40%; background: #ffd27a; box-shadow: 0 0 1em #ffd27a; }
.cs-car .cs-status { background: #1a1d21; border: 1px solid #2a2e34; margin-top: 30%; }
.st { display: flex; gap: .4em; }
.st span { flex: 1; text-align: center; padding: .6em .2em; border-radius: .5em; font-size: .78em; background: #24282e; color: #8a9099; }
.st .done { color: #d4d7dc; }
.st .now { background: #ffb020; color: #111; font-weight: 600; }
.cs-chat { margin-top: 1em; display: grid; gap: .5em; }
.cs-chat span { max-width: 80%; padding: .7em 1em; border-radius: 1em; font-size: .88em; line-height: 1.4; }
.cs-chat span:first-child { justify-self: end; background: #f1f2f4; color: #111; }
.cs-chat span:last-child { background: #22262c; border: 1px solid #30353c; }
@media (hover: none) { .concept.is-in .cs { animation: pagescroll 11s cubic-bezier(.45, 0, .2, 1) 1.2s infinite alternate; } }
@keyframes pagescroll { 0%, 18% { transform: none; } 82%, 100% { transform: translateY(var(--scroll, -42%)); } }

/* light trust section – the calm counterpoint */
.why.light { margin: 0 clamp(8px, 1.4vw, 20px); border-radius: clamp(24px, 3vw, 40px); background: #f4f3ef; color: #0c0d10; padding: clamp(90px, 11vw, 150px) 0; }
.light .kicker { color: #6b6e75; }
.light .muted { color: #9a9ca2; }
.light ::selection { background: rgba(80, 96, 200, .25); color: #000; }
.why-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.why-top .section-head { margin-bottom: 0; }
.why.light .section-head h2 { font-size: clamp(36px, 4.8vw, 64px); }
.metrics { padding: 28px; border-radius: 24px; background: #0c0d10; color: var(--text); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.metrics > small { font: 500 11.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 18px; }
.metric-grid div { padding: 14px 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.metric-grid b { display: block; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.metric-grid span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.3; }
.metrics p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3vw, 48px); }
.light .why-item { border-top: 1px solid rgba(0, 0, 0, .1); padding: 30px 0 34px; }
.light .why-item:last-child { border-bottom: 0; }
.light .why-icon { border-color: rgba(0, 0, 0, .12); background: #fff; }
.light .why-icon svg { stroke: #16171b; }
.light .why-item:hover .why-icon { border-color: rgba(80, 96, 200, .4); background: #eef0fb; }
.light .why-item p { color: #5f626a; }

/* contact form row */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 1080px) {
  .why-top { grid-template-columns: 1fr; align-items: start; }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .check-panel { grid-template-columns: 1fr; }
  .check-result { border-left: 0; border-top: 1px solid var(--line); }
  .ba-legend { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .assure { gap: 8px 16px; font-size: 13px; }
  .stage-hint { font-size: 10.5px; }
  .site-old { font-size: 2.4vw; }
  .site-old .old-body { grid-template-columns: 1fr; }
  .site-old .old-side { display: none; }
  .compare-xl { aspect-ratio: 3 / 4; border-radius: 20px; }
  .compare-xl .cmp { font-size: 2.35vw; }
  .compare-xl .new-hero { max-width: 100%; margin-top: 12%; }
  .compare-xl .new-hero h4 { font-size: 4.4em; }
  .new-photo { left: 5%; right: 5%; top: auto; bottom: 5%; width: auto; height: 30%; }
  .new-phone { width: 24%; right: 7%; bottom: 9%; }
  .compare-xl .new-nav span { display: none; }
  .ba-col { padding: 22px; }
  .why-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .range-row output { min-width: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs::after { animation: none; }
  .site-old, .scan { display: none; }
  .hint-old { opacity: 0; } .hint-new { opacity: 1; }
  .concept.is-in .cs { animation: none; }
}
/* before/after layers: each its own stacking context – nothing from the new site may paint over the old one */
.cmp { isolation: isolate; }
.cmp-after { z-index: 0; }
.cmp-before { z-index: 1; }

/* phone: hotspots placed for the portrait layout of the comparison */
@media (max-width: 640px) {
  .cmp-after > .hs:nth-of-type(1) { left: 92% !important; top: 22% !important; }
  .cmp-after > .hs:nth-of-type(2) { left: 64% !important; top: 6% !important; }
  .cmp-after > .hs:nth-of-type(3) { left: 82% !important; top: 51% !important; }
  .cmp-after > .hs:nth-of-type(4) { left: 40% !important; top: 74% !important; }
  .cmp-before > .hs:nth-of-type(3) { left: 50% !important; top: 61% !important; }
  .cmp-before > .hs:nth-of-type(4) { left: 20% !important; top: 47% !important; }
}
.metric-grid { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }

/* links to the complete demo websites */
.demo-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #f3f4f6; color: #0a0b0d; font-size: 14.5px; font-weight: 500; transition: background .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.demo-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.demo-link:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(var(--ion-rgb), .6); }
.demo-link:hover svg { transform: translate(2px, -2px); }
.demo-soon { display: inline-flex; align-items: center; margin-top: 20px; min-height: 44px; font-size: 13.5px; color: var(--dim); }
.demo-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; align-items: stretch; margin-top: 28px; }
.demo-row-copy { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 6px 4px; }
.demo-row-copy b { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.demo-row-copy span { font-size: 14px; color: var(--muted); }
.demo-tile { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; min-height: 84px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .35s, background .35s, transform .45s var(--ease); }
.demo-tile:hover { border-color: rgba(var(--ion-rgb), .45); background: rgba(255, 255, 255, .06); transform: translateY(-3px); }
.dt-swatch { width: 52px; height: 52px; border-radius: 14px; }
.dt-paint { background: linear-gradient(135deg, #8a9a8b 0 50%, #c4532f 50%); }
.dt-beauty { background: radial-gradient(circle at 70% 30%, #b98673 0 22%, transparent 23%), linear-gradient(180deg, #ecdcd0, #d7bdad); border-radius: 26px 26px 14px 14px; }
.demo-tile b { display: block; font-size: 16px; font-weight: 600; }
.demo-tile small { display: block; font-size: 13px; color: var(--muted); }
.demo-tile em { font-style: normal; font-size: 13.5px; color: var(--ion); white-space: nowrap; }
@media (max-width: 900px) { .demo-row { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .demo-tile { grid-template-columns: 44px 1fr; } .demo-tile em { grid-column: 2; } .dt-swatch { width: 44px; height: 44px; } }