/* =========================================================
   MAK AI Apps — site styles
   Palette: ink + paper, with a single "volt" accent.
   ========================================================= */

:root {
  --ink: #0A0B0D;
  --ink-2: #111317;
  --ink-3: #181B21;
  --ink-4: #22262E;
  --paper: #F6F5F1;
  --paper-2: #ECEAE3;
  --white: #FFFFFF;

  --text-d: #F3F4F6;
  --muted-d: #969CA9;
  --faint-d: #5D6370;
  --line-d: rgba(255, 255, 255, .09);
  --line-d-2: rgba(255, 255, 255, .16);

  --text-l: #0E0F12;
  --muted-l: #5A5F6B;
  --line-l: rgba(14, 15, 18, .1);
  --line-l-2: rgba(14, 15, 18, .18);

  --volt: #C6F432;
  --volt-2: #D9FF6B;
  --volt-ink: #172000;
  --iris: #8B7CFF;
  --danger: #FF7A6B;

  --mark-ink: #0A0B0D;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 26px;
  --radius-xl: 34px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 160px);
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-l);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--volt); color: var(--volt-ink); }

:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }
.section-light :focus-visible, .section-paper :focus-visible { outline-color: var(--text-l); }

.i { width: 1.15em; height: 1.15em; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--volt); color: var(--volt-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
  font-size: 1.08em;
  line-height: .9;
}
.accent { color: var(--volt); }

.eyebrow, .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.kicker { color: var(--muted-l); margin-bottom: 20px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.section-dark .kicker { color: var(--muted-d); }

.section-title {
  font-size: clamp(2.05rem, 4.4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.038em;
  font-weight: 600;
  text-wrap: balance;
}
.section-lede {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--muted-l);
  max-width: 58ch;
  text-wrap: pretty;
}
.section-dark .section-lede { color: var(--muted-d); }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 46px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease-out), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn .i { transition: transform .35s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--volt); color: var(--volt-ink); box-shadow: 0 0 0 0 rgba(198, 244, 50, 0); }
.btn-primary:hover { background: var(--volt-2); box-shadow: 0 10px 40px -10px rgba(198, 244, 50, .55); }
.btn-ghost { color: var(--text-d); border: 1px solid var(--line-d-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-4); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--text-d);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 11, 13, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line-d);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--volt); flex: none; }
.brand-mark { width: 32px; height: 32px; transition: transform .5s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-name { color: var(--text-d); font-weight: 700; font-size: 18px; letter-spacing: -.03em; }
.brand-name span { font-weight: 400; color: var(--muted-d); }

.primary-nav ul { display: flex; gap: 4px; }
.primary-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted-d);
  transition: color .2s, background-color .2s;
}
.primary-nav a:hover, .primary-nav a.is-current { color: var(--text-d); background: rgba(255, 255, 255, .06); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-d-2); position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text-d); border-radius: 2px;
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--ink);
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease-out);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul { margin-bottom: 28px; }
.mobile-menu li { border-bottom: 1px solid var(--line-d); }
.mobile-menu li a { display: block; padding: 18px 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.mobile-menu .btn { width: 100%; }
.mobile-menu-mail { margin-top: 20px; text-align: center; color: var(--muted-d); }

body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--ink); border-bottom-color: var(--line-d); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section-dark { background: var(--ink); color: var(--text-d); }
.section-light { background: var(--paper); color: var(--text-l); }
.section-paper { background: var(--white); color: var(--text-l); }

.section-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.section-head-split > div { flex: 1 1 520px; max-width: 700px; }
.section-head-split .section-lede { margin-top: 0; flex: 0 1 400px; max-width: 44ch; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease-out) var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero-glow-a { width: 520px; height: 520px; right: -80px; top: 40px; background: radial-gradient(circle, rgba(198, 244, 50, .32), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero-glow-b { width: 600px; height: 600px; right: 220px; top: 260px; background: radial-gradient(circle, rgba(139, 124, 255, .35), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-60px, 40px, 0) scale(1.1); } }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding-bottom: clamp(72px, 9vw, 120px);
}
.eyebrow {
  color: var(--text-d);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-d-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 12.5px;
  margin-bottom: 28px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--volt); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2); opacity: 0; } }

.hero-title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 600;
  text-wrap: balance;
}
.hero-title .serif { font-size: 1.1em; padding-right: .04em; }
.hero-lede {
  margin-top: 28px;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--muted-d);
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; color: var(--muted-d); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: var(--volt); }
.br-md { display: none; }

/* Device composition */
.hero-visual {
  position: relative;
  height: 600px;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  --px: 0; --py: 0;
}
.phone {
  position: absolute;
  width: 238px;
  aspect-ratio: 9 / 19.2;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #2A2E36, #0E1013 40%, #1A1D23);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background: #0D0F12; padding: 12px 14px; font-size: 10.5px; color: var(--text-d);
  display: flex; flex-direction: column; gap: 9px;
}
.phone-front { left: 50%; top: 10px; margin-left: -119px; z-index: 3; }
.phone-left { left: 0; top: 90px; transform: rotate(-9deg) scale(.86); z-index: 1; opacity: .92; }
.phone-right { right: 0; top: 110px; transform: rotate(9deg) scale(.86); z-index: 2; opacity: .92; }
[data-depth] { transition: translate .6s var(--ease-out); }

.scr-top { display: flex; justify-content: space-between; align-items: center; height: 16px; font-weight: 600; font-size: 10px; padding: 0 6px; }
.scr-icons { width: 34px; height: 8px; border-radius: 3px; background: linear-gradient(90deg, rgba(255,255,255,.6) 0 40%, transparent 40% 52%, rgba(255,255,255,.6) 52%); }
.sk { display: block; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.sk + .sk { margin-top: 5px; }
.w100 { width: 100%; } .w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }

/* store screen */
.screen-store { background: linear-gradient(180deg, #121519, #0C0E11); }
.store-head { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.store-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--volt); display: grid; place-items: center; flex: none; box-shadow: 0 8px 24px -8px rgba(198, 244, 50, .6); }
.store-icon svg { width: 34px; height: 34px; }
.store-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-meta b { font-size: 13px; letter-spacing: -.02em; }
.store-meta small { color: var(--volt); font-size: 9.5px; }
.store-tags i { font-style: normal; font-size: 8.5px; color: var(--muted-d); }
.store-install { background: var(--volt); color: var(--volt-ink); border-radius: 999px; text-align: center; font-weight: 700; padding: 7px; font-size: 11px; }
.store-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 132px; }
.shot { border-radius: 10px; padding: 8px 6px; display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; }
.shot span { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.shot span:last-child { width: 60%; background: rgba(255, 255, 255, .3); }
.shot-a { background: linear-gradient(160deg, #8B7CFF, #4B3FC0); }
.shot-b { background: linear-gradient(160deg, #C6F432, #6E9A00); }
.shot-c { background: linear-gradient(160deg, #FF8A65, #C2410C); }
.store-section b { display: block; font-size: 11px; margin-bottom: 7px; }
.store-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: auto; }
.store-chips i { font-style: normal; font-size: 9px; border: 1px solid var(--line-d-2); border-radius: 999px; padding: 3px 8px; color: var(--muted-d); }

/* ai screen */
.ai-head { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line-d); }
.ai-head b { display: block; font-size: 12px; }
.ai-head small { color: var(--muted-d); font-size: 9px; }
.ai-orb { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(from 90deg, var(--volt), var(--iris), var(--volt)); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-msg { max-width: 85%; padding: 8px 10px; border-radius: 12px; }
.ai-msg-user { align-self: flex-end; background: var(--volt); color: var(--volt-ink); font-weight: 600; border-bottom-right-radius: 4px; }
.ai-msg-bot { align-self: flex-start; background: var(--ink-3); width: 80%; border-bottom-left-radius: 4px; }
.typing { display: flex; gap: 4px; width: auto; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-d); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ai-input { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line-d-2); border-radius: 999px; padding: 6px 6px 6px 12px; color: var(--muted-d); }
.ai-input b { width: 20px; height: 20px; border-radius: 50%; background: var(--volt); }

/* stats screen */
.stats-title { font-size: 15px; letter-spacing: -.02em; margin-top: 4px; }
.stats-card, .stats-mini { background: var(--ink-3); border-radius: 12px; padding: 9px; }
.stats-card small, .stats-mini small { color: var(--muted-d); font-size: 9px; }
.spark-line { width: 100%; height: 64px; margin-top: 4px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; margin-top: 6px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--iris), rgba(139, 124, 255, .3)); border-radius: 3px; }
.donut { width: 48px; height: 48px; border-radius: 50%; margin: 6px auto 0; background: conic-gradient(var(--volt) 0 52%, var(--iris) 52% 84%, #fff 84%); -webkit-mask: radial-gradient(circle, transparent 13px, #000 14px); mask: radial-gradient(circle, transparent 13px, #000 14px); }
.stats-list { display: flex; flex-direction: column; gap: 6px; color: var(--muted-d); }
.stats-list span { display: flex; align-items: center; gap: 6px; }
.stats-list i { width: 7px; height: 7px; border-radius: 2px; }
.dot-lime { background: var(--volt); } .dot-violet { background: var(--iris); } .dot-white { background: #fff; }

/* floating chips */
.float-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: rgba(24, 27, 33, .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-d-2);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  font-size: 12.5px; line-height: 1.3; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font-weight: 600; }
.float-chip small { color: var(--muted-d); font-size: 11px; }
.chip-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--volt); color: var(--volt-ink); }
.chip-ico-violet { background: var(--iris); color: #fff; }
.chip-ico-white { background: #fff; color: var(--ink); }
.chip-ico .i { width: 16px; height: 16px; }
.chip-a { left: -14px; top: 40px; }
.chip-b { right: -10px; top: 300px; animation-delay: -2s; }
.chip-c { left: 30px; bottom: 30px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* marquee */
.marquee { border-top: 1px solid var(--line-d); overflow: hidden; padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -.02em; color: var(--muted-d); padding-right: 40px; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; margin-left: 40px; border-radius: 2px; background: var(--volt); transform: rotate(45deg); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.service-groups { display: flex; flex-direction: column; gap: 18px; }
.group-label {
  display: flex; align-items: center; gap: 12px; margin-top: 30px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-l);
}
.group-label:first-child { margin-top: 0; }
.group-label span { font-variant-numeric: tabular-nums; color: var(--text-l); border: 1px solid var(--line-l-2); border-radius: 999px; padding: 2px 9px; letter-spacing: .04em; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line-l); }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.services-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-card-feature { grid-column: span 2; }

.svc-card, .svc-wide {
  --mx: 50%; --my: 50%;
  position: relative;
  isolation: isolate;
}
.svc-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-l);
  border-radius: var(--radius-l);
  padding: 30px;
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.svc-card::before, .svc-wide::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198, 244, 50, .16), transparent 45%);
}
.svc-card:hover::before, .svc-wide:hover::before { opacity: 1; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(14, 15, 18, .35); border-color: var(--line-l-2); }
.svc-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--volt); margin-bottom: 26px;
}
.svc-icon .i { width: 22px; height: 22px; }
.svc-card h3, .svc-wide h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.svc-card p, .svc-wide p { color: var(--muted-l); font-size: 15.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.tags li { font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-l); color: var(--muted-l); }

.svc-card-feature { background: var(--ink); color: var(--text-d); border-color: var(--ink); }
.svc-card-feature::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 255, .45), transparent 65%);
}
.svc-card-feature .svc-icon { background: var(--volt); color: var(--volt-ink); }
.svc-card-feature h3 { font-size: clamp(22px, 2.4vw, 28px); }
.svc-card-feature p { color: var(--muted-d); max-width: 52ch; }
.svc-card-feature .tags li { background: rgba(255, 255, 255, .05); border-color: var(--line-d-2); color: var(--text-d); }

.svc-wide {
  display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 40px; align-items: center;
  background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius-l); padding: 34px; overflow: hidden;
}
.svc-wide .svc-icon { margin-bottom: 0; align-self: start; }
.svc-wide-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.svc-wide-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; line-height: 1.35; }
.svc-wide-list .i { color: var(--volt-ink); background: var(--volt); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

/* ---------- About ---------- */
.section-about { padding-top: 0; }
.section-about::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line-l); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.section-about .container { padding-top: var(--section-y); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-copy > p { color: var(--muted-l); font-size: 17.5px; margin-top: 22px; max-width: 60ch; }
.about-copy > h2 + p { margin-top: 28px; color: var(--text-l); font-size: 19px; }
.about-pillars { margin-top: 44px; display: grid; gap: 4px; }
.pillar { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line-l); }
.pillar-n { font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1; width: 28px; color: var(--muted-l); flex: none; }
.pillar h3 { font-size: 17px; letter-spacing: -.02em; font-weight: 600; }
.pillar p { color: var(--muted-l); font-size: 15.5px; margin-top: 2px; }

.checklist-card {
  background: var(--ink); color: var(--text-d); border-radius: var(--radius-xl);
  padding: 22px; box-shadow: 0 50px 100px -50px rgba(14, 15, 18, .6);
  position: relative; overflow: hidden;
}
.checklist-card::after { content: ""; position: absolute; left: -100px; bottom: -140px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 244, 50, .2), transparent 65%); pointer-events: none; }
.cl-head { display: flex; align-items: center; gap: 7px; padding-bottom: 16px; border-bottom: 1px solid var(--line-d); margin-bottom: 8px; }
.cl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.cl-head b { margin-left: 10px; font-weight: 500; font-size: 13px; color: var(--muted-d); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.cl-list li { display: flex; align-items: center; gap: 14px; padding: 12px 6px; font-size: 15.5px; color: var(--muted-d); border-bottom: 1px dashed var(--line-d); transition: color .4s; }
.cl-list li:last-child { border-bottom: 0; }
.cl-list i {
  width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-d-2); flex: none; position: relative;
  transition: background-color .35s var(--ease), border-color .35s;
}
.cl-list i::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px;
  border: solid var(--volt-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease-out);
}
.cl-list li.is-done { color: var(--text-d); }
.cl-list li.is-done i { background: var(--volt); border-color: var(--volt); }
.cl-list li.is-done i::after { transform: rotate(45deg) scale(1); }
.cl-foot { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.cl-progress { flex: 1; height: 6px; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.cl-progress i { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--iris), var(--volt)); border-radius: inherit; transition: width .5s var(--ease); }
.cl-status { font-size: 13px; font-weight: 600; color: var(--faint-d); transition: color .4s; }
.checklist-card.is-complete .cl-status { color: var(--volt); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.why-card { border-top: 1px solid var(--line-l-2); padding-top: 28px; }
.why-ico { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: var(--volt); color: var(--volt-ink); margin-bottom: 22px; }
.why-card h3 { font-size: 20px; letter-spacing: -.025em; font-weight: 600; margin-bottom: 10px; }
.why-card p { color: var(--muted-l); font-size: 15.5px; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.process-intro .btn { margin-top: 34px; }
.process-steps { position: relative; --progress: 0; }
.process-steps::before, .process-steps::after {
  content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px;
}
.process-steps::before { background: var(--line-l); }
.process-steps::after { background: linear-gradient(var(--volt), #8FC100); transform-origin: top; transform: scaleY(var(--progress)); }
.step { position: relative; display: flex; gap: 28px; padding-bottom: 46px; }
.step:last-child { padding-bottom: 0; }
.step-n {
  position: relative; z-index: 1; flex: none;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line-l-2);
  font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums;
  transition: background-color .4s, border-color .4s, color .4s;
}
.step.is-active .step-n { background: var(--ink); color: var(--volt); border-color: var(--ink); }
.step h3 { font-size: 22px; letter-spacing: -.025em; font-weight: 600; padding-top: 12px; margin-bottom: 8px; }
.step p { color: var(--muted-l); font-size: 16px; max-width: 52ch; }

/* ---------- Growth ---------- */
.section-growth { overflow: hidden; }
.section-growth::before { content: ""; position: absolute; left: -200px; top: 30%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 124, 255, .18), transparent 65%); pointer-events: none; }
.growth-wrap > * { min-width: 0; }
.growth-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.growth-loop { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
.loop-svg { width: 100%; height: 100%; }
.loop-runner { transform-origin: 200px 200px; animation: spin 9s linear infinite; }
.loop-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.loop-center b { font-size: 34px; letter-spacing: -.04em; }
.loop-center small { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--muted-d); margin-top: -4px; }
.loop-node {
  position: absolute; transform: translate(-50%, -50%);
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: var(--ink-3); border: 1px solid var(--line-d-2); color: var(--text-d);
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.loop-node:hover { border-color: rgba(255, 255, 255, .4); }
.loop-node.is-active { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); box-shadow: 0 0 0 8px rgba(198, 244, 50, .12); }
.n1 { left: 50%; top: 12.5%; } .n2 { left: 87.5%; top: 50%; } .n3 { left: 50%; top: 87.5%; } .n4 { left: 12.5%; top: 50%; }

.tablist { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; }
.tablist [role="tab"] {
  padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--muted-d); border: 1px solid var(--line-d-2); transition: all .25s var(--ease);
}
.tablist [role="tab"]:hover { color: var(--text-d); }
.tablist [role="tab"][aria-selected="true"] { background: var(--text-d); color: var(--ink); border-color: var(--text-d); }
.tabpanel h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.035em; font-weight: 600; line-height: 1.15; }
.tabpanel > p { color: var(--muted-d); margin-top: 14px; max-width: 54ch; }
.tabpanel:not([hidden]) { animation: panelIn .55s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.ticks { margin-top: 28px; display: grid; gap: 2px; }
.ticks li { display: flex; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line-d); font-size: 16px; }
.ticks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(198, 244, 50, .12); color: var(--volt); }

/* ---------- Stack ---------- */
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stack-col { background: var(--white); border: 1px solid var(--line-l); border-radius: var(--radius-l); padding: 28px; }
.stack-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-l); font-weight: 600; margin-bottom: 18px; }
.stack-col ul { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-col li {
  font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line-l);
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out);
}
.stack-col li:hover { background: var(--ink); color: var(--volt); border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Stats ---------- */
.section-stats { padding-block: clamp(72px, 8vw, 120px); border-top: 1px solid var(--line-d); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 8px 32px; border-left: 1px solid var(--line-d); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: block; font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 600; letter-spacing: -.055em; line-height: 1; color: var(--volt); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 16px; color: var(--muted-d); font-size: 15px; max-width: 26ch; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.faq-list { border-top: 1px solid var(--line-l-2); }
.faq-item { border-bottom: 1px solid var(--line-l-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -.02em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line-l-2);
  transition: transform .45s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.faq-item summary:hover .i { border-color: var(--text-l); }
.faq-item[open] summary .i { transform: rotate(45deg); background: var(--ink); color: var(--volt); border-color: var(--ink); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted-l); padding-bottom: 26px; max-width: 64ch; }
.faq-item[open] .faq-a { animation: faqIn .45s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Contact ---------- */
.section-contact { overflow: hidden; isolation: isolate; }
.contact-glow { position: absolute; z-index: -1; right: -10%; top: -10%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(198, 244, 50, .12), transparent), radial-gradient(closest-side at 30% 70%, rgba(139, 124, 255, .16), transparent); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.contact-points { margin-top: 40px; display: grid; gap: 4px; }
.contact-points li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line-d); }
.cp-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line-d); display: grid; place-items: center; color: var(--volt); flex: none; }
.contact-points small { display: block; color: var(--muted-d); font-size: 13px; }
.contact-points a, .contact-points span { font-weight: 500; }
.contact-points a:hover { color: var(--volt); }

.contact-form {
  background: rgba(17, 19, 23, .85);
  border: 1px solid var(--line-d);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3.5vw, 40px);
  display: grid; gap: 20px;
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .9);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--text-d); padding: 0; }
.field label span[aria-hidden], .field legend span[aria-hidden] { color: var(--volt); }
.opt { color: var(--faint-d); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-d-2);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text-d);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint-d); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 4px rgba(198, 244, 50, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid var(--muted-d); border-width: 0 1.6px 1.6px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 44px; cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--text-d); }
.field-error { color: var(--danger); font-size: 13px; min-height: 0; }
.field-error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-d-2); font-size: 14px; font-weight: 500; color: var(--muted-d); transition: all .2s var(--ease); }
.chip:hover span { color: var(--text-d); border-color: rgba(255, 255, 255, .3); }
.chip input:checked + span { background: var(--volt); color: var(--volt-ink); border-color: var(--volt); }
.chip input:focus-visible + span { outline: 2px solid var(--volt); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted-d); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-d-2); flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; margin-top: 1px; }
.check-box .i { width: 14px; height: 14px; }
.check input:checked + .check-box { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.check input:focus-visible + .check-box { outline: 2px solid var(--volt); outline-offset: 3px; }
.field-consent.has-error .check-box { border-color: var(--danger); }
.check .text-link { color: var(--text-d); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn[disabled] { opacity: .7; pointer-events: none; }
.btn.is-loading .btn-label::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.form-status { font-size: 14.5px; text-align: center; color: var(--muted-d); }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--volt); }
.form-status.is-error { color: var(--danger); }

/* ---------- Footer ---------- */
.site-footer { background: #060708; color: var(--text-d); padding-top: clamp(72px, 9vw, 130px); padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-d); }
.footer-cta h2 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); letter-spacing: -.05em; line-height: 1; font-weight: 600; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px; }
.footer-brand p { color: var(--muted-d); margin-top: 18px; max-width: 34ch; font-size: 15px; }
.footer-mail { display: inline-block; margin-top: 18px; font-weight: 600; border-bottom: 1px solid var(--line-d-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.footer-mail:hover { color: var(--volt); border-color: var(--volt); }
.footer-col h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--faint-d); margin-bottom: 18px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--muted-d); font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--text-d); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-d); color: var(--faint-d); font-size: 13.5px; }
.footer-note { flex: 1; min-width: 240px; }
.to-top { color: var(--muted-d); transition: color .2s; }
.to-top:hover { color: var(--volt); }

/* ---------- Legal pages ---------- */
.legal-hero { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 100px)); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-d); }
.legal-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -.05em; line-height: 1; font-weight: 600; }
.legal-hero p { color: var(--muted-d); margin-top: 18px; }
.legal-body { padding-block: clamp(56px, 7vw, 100px); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 14.5px; }
.legal-toc h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-l); margin-bottom: 14px; }
.legal-toc li + li { margin-top: 8px; }
.legal-toc a { color: var(--muted-l); transition: color .2s; }
.legal-toc a:hover { color: var(--text-l); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; font-weight: 600; margin: 56px 0 16px; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; letter-spacing: -.02em; font-weight: 600; margin: 28px 0 10px; }
.prose p, .prose li { color: #33363D; font-size: 16.5px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text-l); }
.prose .callout { margin: 24px 0; padding: 18px 20px; border-radius: var(--radius-m); background: var(--paper-2); border: 1px solid var(--line-l); font-size: 15.5px; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; position: relative; overflow: hidden; }
.notfound h1 { font-size: clamp(6rem, 22vw, 15rem); letter-spacing: -.07em; line-height: .9; font-weight: 600; color: var(--volt); }
.notfound p { color: var(--muted-d); font-size: 19px; margin: 18px auto 34px; max-width: 40ch; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .services-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-wide { grid-template-columns: auto minmax(0, 1fr); }
  .svc-wide-list { grid-column: 1 / -1; }
  .chip-b { right: 0; }
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 56px; text-align: left; }
  .hero-visual { height: 560px; }
  .br-md { display: inline; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card-feature { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .process-grid, .growth-wrap, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .process-intro, .faq-intro { position: static; }
  .about-visual { max-width: 520px; }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; padding: 20px; border-radius: var(--radius-m); background: var(--paper-2); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-actions .btn { display: none; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .br-md { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { margin-top: 32px; }
  .hero-visual { height: 470px; max-width: 380px; }
  .phone { width: 200px; border-radius: 32px; padding: 8px; }
  .phone-screen { border-radius: 25px; font-size: 9.5px; padding: 10px 11px; gap: 7px; }
  .phone-front { margin-left: -100px; }
  .phone-left { left: -34px; top: 70px; transform: rotate(-9deg) scale(.78); }
  .phone-right { right: -34px; top: 90px; transform: rotate(9deg) scale(.78); }
  .store-shots { height: 104px; }
  .float-chip { font-size: 11.5px; padding: 8px 12px 8px 8px; }
  .float-chip small { font-size: 10px; }
  .chip-ico { width: 26px; height: 26px; }
  .chip-a { left: -4px; top: 20px; }
  .chip-b { right: -4px; top: 250px; }
  .chip-c { left: 6px; bottom: 6px; }

  .services-grid, .services-grid-2, .services-grid-4, .why-grid, .stack-grid { grid-template-columns: 1fr; }
  .svc-card-feature { grid-column: auto; }
  .svc-card { padding: 26px; }
  .svc-wide { grid-template-columns: 1fr; padding: 26px; }
  .svc-wide-list { grid-template-columns: 1fr; }
  .why-grid { gap: 36px; }
  .step { gap: 20px; }
  .step-n { width: 48px; height: 48px; font-size: 14px; }
  .process-steps::before, .process-steps::after { left: 23px; }
  .step h3 { padding-top: 9px; font-size: 20px; }
  .growth-loop { max-width: 300px; }
  .loop-node { padding: 8px 14px; font-size: 13px; }
  .tablist { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .tablist::-webkit-scrollbar { display: none; }
  .tablist [role="tab"] { flex: none; }
  .stats-grid { grid-template-columns: 1fr; row-gap: 0; }
  .stat, .stat:first-child, .stat:nth-child(3) { border-left: 0; padding: 26px 0; border-top: 1px solid var(--line-d); }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { border-radius: var(--radius-l); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta .btn { width: 100%; }
}

@media (max-width: 380px) {
  .hero-visual { height: 430px; }
  .phone { width: 184px; }
  .phone-front { margin-left: -92px; }
  .chip-c { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .marquee, .hero-visual, .contact-form, .footer-cta { display: none !important; }
  body, .section-dark, .site-footer { background: #fff !important; color: #000 !important; }
}
