/* =========================================================
   Bethel Apps — Light 3D design system
   ========================================================= */
:root {
  --bg: #f5f7fc;
  --bg-2: #eef2fb;
  --surface: #ffffff;
  --ink: #0a1428;
  --ink-2: #3e4a66;
  --muted: #74809a;
  --line: rgba(10, 20, 40, 0.08);
  --line-2: rgba(10, 20, 40, 0.14);
  --brand: #1d4ef5;
  --brand-2: #3b6bff;
  --brand-deep: #0b2a9e;
  --brand-soft: #e7edff;
  --sky: #7cc4ff;
  --gold: #f4b740;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 40, .06), 0 2px 6px rgba(10, 20, 40, .04);
  --shadow-md: 0 1px 1px rgba(10, 20, 40, .04), 0 4px 10px rgba(10, 20, 40, .05), 0 18px 40px -12px rgba(10, 30, 90, .14);
  --shadow-lg: 0 2px 4px rgba(10, 20, 40, .04), 0 12px 24px rgba(10, 20, 40, .06), 0 40px 80px -24px rgba(20, 50, 160, .28);
  --shadow-brand: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .12) inset, 0 6px 14px -4px rgba(29, 78, 245, .55), 0 18px 34px -12px rgba(29, 78, 245, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --maxw: 1240px;
  --font-display: 'Geist', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(29, 78, 245, .45); outline-offset: 3px; border-radius: 8px; }

.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal; font-style: normal; font-size: 22px; line-height: 1;
  display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400;
}
.icon.fill { font-variation-settings: 'FILL' 1, 'wght' 500; }

/* ---------- ambient page background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
}
.ambient::before { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, #dbe6ff 0%, transparent 70%); }
.ambient::after { width: 50vw; height: 50vw; right: -14vw; top: 30vh; background: radial-gradient(circle, #e6f3ff 0%, transparent 70%); }
.grid-bg {
  background-image:
    linear-gradient(to right, rgba(10, 20, 40, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 20, 40, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 14px 7px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }

.display { font-size: clamp(44px, 7.2vw, 92px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.h2 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.04em; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.025em; line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; }
.grad-text {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 45%, #4f8bff 75%, var(--sky) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head .lead { margin-top: 20px; }

/* ---------- nav ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 1180px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--shadow-md);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.nav.scrolled { background: rgba(255, 255, 255, .88); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, var(--shadow-lg); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; background: #fff; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 9px 16px; border-radius: 12px; transition: background .25s, color .25s;
}
.nav-links a:hover { background: rgba(10, 20, 40, .05); color: var(--ink); }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-sm); cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; top: 88px; left: 16px; right: 16px; z-index: 99;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 10px; display: grid; gap: 2px;
  opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: .35s var(--ease);
}
.mobile-menu a { padding: 14px 16px; border-radius: 14px; font-weight: 500; font-size: 17px; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--brand-soft); color: var(--brand); }
.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- buttons (3D) ---------- */
.btn {
  --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 16px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  transform: translateY(var(--by));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  position: relative; isolation: isolate;
}
.btn .icon { font-size: 20px; transition: transform .3s var(--ease); }
.btn:hover { --by: -2px; }
.btn:hover .icon.arrow { transform: translateX(3px); }
.btn:active { --by: 1px; transition-duration: .08s; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3d6bff 0%, #1d4ef5 55%, #1640d8 100%);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 10px 20px -4px rgba(29,78,245,.55), 0 26px 44px -14px rgba(29,78,245,.5); }
.btn-primary:active { box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 2px 6px -2px rgba(29,78,245,.6); }
.btn-ghost {
  color: var(--ink); background: linear-gradient(180deg, #fff, #f6f8fc);
  box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--line-2), 0 2px 4px rgba(10,20,40,.05), 0 10px 22px -10px rgba(10,20,40,.18);
}
.btn-ghost:hover { box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--line-2), 0 6px 10px rgba(10,20,40,.06), 0 18px 32px -12px rgba(10,20,40,.22); }
.btn-sm { height: 42px; padding: 0 18px; border-radius: 12px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 32px; border-radius: 18px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link-arrow .icon { font-size: 20px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.center .chips { justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.chip .icon { font-size: 18px; color: var(--brand); }
.chip.soon { color: var(--muted); background: rgba(255,255,255,.6); }
.chip.soon .icon { color: var(--muted); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand);
}
.badge.gold { background: #fff4dc; color: #a36a00; }
.badge.green { background: #e2f7ec; color: #11804a; }

/* ---------- cards (3D) ---------- */
.card {
  position: relative; background: var(--surface); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
  padding: 32px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card.hover:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.tilt { transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .5s var(--ease); }
.tilt .pop { transform: translateZ(40px); }
.tilt .pop-sm { transform: translateZ(20px); }
.card .glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.8), transparent 45%);
  mix-blend-mode: soft-light;
}
.card.is-tilting .glare { opacity: 1; }

.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, #5a85ff 0%, #1d4ef5 55%, #0f36c4 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 -3px 0 rgba(0,0,0,.14) inset, 0 10px 20px -6px rgba(29,78,245,.55);
}
.icon-tile .icon { font-size: 28px; }
.icon-tile.soft { background: linear-gradient(160deg, #ffffff 0%, #eef3ff 100%); color: var(--brand); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--line), 0 10px 20px -8px rgba(20,50,160,.25); }
.icon-tile.gold { background: linear-gradient(160deg, #ffd27a, #f4a91f); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 -3px 0 rgba(0,0,0,.1) inset, 0 10px 20px -6px rgba(244,169,31,.55); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature h3 { margin: 22px 0 10px; }
.feature p { color: var(--ink-2); font-size: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; }
.hero .grid-bg { position: absolute; inset: 0; z-index: -1; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy .lead { margin: 28px 0 36px; max-width: 540px; }
.hero-copy .chips { margin-top: 36px; }
.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: center; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-stage .fallback { position: absolute; inset: 8%; display: grid; place-items: center; }
.hero-stage.ready .fallback { opacity: 0; transition: opacity .8s; }
.hero-stage .floor { position: absolute; left: 12%; right: 12%; bottom: 4%; height: 12%; border-radius: 50%; background: radial-gradient(ellipse, rgba(20,50,160,.22), transparent 70%); filter: blur(12px); }
.page-hero { padding: 180px 0 90px; position: relative; overflow: hidden; }
.page-hero .grid-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .display { font-size: clamp(42px, 6vw, 80px); }
.page-hero .lead { margin: 26px auto 0; max-width: 680px; }
.page-hero .eyebrow { margin-bottom: 26px; }

/* floating glass pills around the hero */
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.95); border-radius: 18px; box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600; animation: bob 7s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.float-card .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.float-card .icon-tile .icon { font-size: 22px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- product rows ---------- */
.product { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.product.flip { grid-template-columns: 1.15fr 1fr; }
.product.flip .product-copy { order: 2; }
.product-copy .badge { margin-bottom: 20px; }
.product-copy .h2 { margin-bottom: 20px; }
.product-copy .lead { margin-bottom: 30px; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .icon { color: var(--brand); font-size: 22px; background: var(--brand-soft); border-radius: 8px; padding: 3px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.mini { padding: 20px; border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.mini .icon { color: var(--brand); margin-bottom: 10px; }
.mini div { font-weight: 600; font-size: 15px; }
.mini p { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- 3D scene wrapper for mockups ---------- */
.scene { perspective: 1600px; position: relative; display: grid; place-items: center; padding: 30px 0; }
.scene .halo { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(59,107,255,.22), transparent 65%); filter: blur(30px); z-index: 0; }

/* Monitor */
.monitor { position: relative; z-index: 1; width: min(100%, 600px); transform-style: preserve-3d; transform: rotateY(-16deg) rotateX(6deg); transition: transform .8s var(--ease); }
.scene:hover .monitor { transform: rotateY(-8deg) rotateX(3deg); }
.monitor-screen {
  aspect-ratio: 16 / 10; border-radius: 18px; padding: 12px;
  background: linear-gradient(145deg, #1b2233, #0b0f1a);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 2px 2px 0 #c8cfdd, 4px 4px 0 #b9c1d2, 6px 6px 0 #aab3c6, 50px 60px 80px -30px rgba(10,30,90,.45), 20px 30px 40px -20px rgba(10,20,40,.3);
}
.monitor-stand { width: 26%; height: 70px; margin: -2px auto 0; background: linear-gradient(90deg, #cfd6e4, #eef2f8 45%, #c3cbdb); clip-path: polygon(22% 0, 78% 0, 88% 100%, 12% 100%); }
.monitor-base { width: 46%; height: 12px; margin: 0 auto; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #eef2f8, #c3cbdb); box-shadow: 0 20px 30px -10px rgba(10,20,40,.35); }
.app-ui { width: 100%; height: 100%; border-radius: 9px; overflow: hidden; background: #f4f6fb; display: grid; grid-template-columns: 30% 1fr; font-size: 10px; }
.app-side { background: #fff; border-right: 1px solid #e6eaf2; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.app-side .row { height: 22px; border-radius: 6px; background: #f1f4fa; display: flex; align-items: center; padding: 0 8px; color: #5a6680; font-weight: 500; font-size: 9px; }
.app-side .row.on { background: var(--brand-soft); color: var(--brand); }
.app-side .search { height: 24px; border-radius: 7px; border: 1px solid #e3e8f1; display: flex; align-items: center; gap: 4px; padding: 0 6px; color: #9aa5ba; font-size: 9px; margin-bottom: 4px; }
.app-side .search .icon { font-size: 12px; }
.app-main { padding: 12px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }
.app-top { display: flex; justify-content: space-between; align-items: center; color: #5a6680; font-weight: 600; font-size: 9px; }
.live { display: inline-flex; align-items: center; gap: 4px; color: #e5484d; font-weight: 700; font-size: 8px; letter-spacing: .1em; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(229,72,77,0); } }
.slide {
  border-radius: 8px; display: grid; place-items: center; text-align: center; padding: 14px; color: #fff;
  background: radial-gradient(ellipse at 30% 20%, #3d6bff 0%, #1437b8 45%, #0a1a5c 100%);
  box-shadow: 0 8px 20px -8px rgba(10,30,120,.6);
}
.slide q { font-family: var(--font-display); font-size: clamp(11px, 1.7vw, 19px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; quotes: "\201C" "\201D"; }
.slide small { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 8px; letter-spacing: .15em; opacity: .75; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.thumbs span { aspect-ratio: 16/9; border-radius: 5px; background: linear-gradient(135deg, #dfe6f5, #c7d2ea); }
.thumbs span.on { background: linear-gradient(135deg, #3d6bff, #1437b8); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--brand); }

/* Phone */
.phone { position: relative; z-index: 1; width: 290px; aspect-ratio: 9 / 19; transform-style: preserve-3d; transform: rotateY(18deg) rotateX(4deg) rotateZ(-2deg); transition: transform .8s var(--ease); }
.scene:hover .phone { transform: rotateY(8deg) rotateX(2deg) rotateZ(-1deg); }
.phone-body {
  position: absolute; inset: 0; border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #f7f9fc, #d5dbe7);
  box-shadow: 0 0 0 1px rgba(10,20,40,.08), inset 0 0 0 2px #fff, -2px 2px 0 #c2cad9, -4px 4px 0 #b3bccd, -6px 6px 0 #a7b0c3, -50px 60px 80px -30px rgba(10,30,90,.45), -20px 30px 40px -20px rgba(10,20,40,.3);
}
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fbfcff; position: relative; box-shadow: inset 0 0 0 1px rgba(10,20,40,.08); }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 20px; background: #0a0f1a; z-index: 2; }
.p-ui { padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.p-top { display: flex; justify-content: space-between; align-items: center; }
.p-top b { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.03em; }
.p-streak { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: #c7730a; background: #fff3dd; padding: 4px 8px; border-radius: 999px; }
.p-streak .icon { font-size: 15px; }
.p-hero { border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(150deg, #4a78ff, #1d4ef5 55%, #0b2a9e); box-shadow: 0 12px 24px -10px rgba(29,78,245,.6); }
.p-hero small { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; opacity: .8; }
.p-hero h4 { font-size: 18px; margin: 6px 0 10px; letter-spacing: -0.02em; }
.p-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.25); overflow: hidden; }
.p-bar i { display: block; height: 100%; width: 68%; background: #fff; border-radius: 6px; }
.p-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.p-week span { aspect-ratio: 1; border-radius: 9px; background: #eef2fa; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #8591a8; }
.p-week span.done { background: var(--brand); color: #fff; box-shadow: 0 4px 8px -3px rgba(29,78,245,.6); }
.p-card { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #edf0f6, 0 6px 14px -8px rgba(10,20,40,.2); padding: 12px; display: flex; gap: 10px; align-items: center; }
.p-card .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.p-card .ic .icon { font-size: 18px; }
.p-card b { font-size: 12px; display: block; }
.p-card small { font-size: 10px; color: var(--muted); }
.p-verse { font-family: var(--font-display); font-size: 13px; line-height: 1.45; color: var(--ink-2); padding: 4px 2px; }

/* floating chips on mockups */
.tag3d { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); font-size: 13px; font-weight: 600; animation: bob 6s ease-in-out infinite; }
.tag3d small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; }
.tag3d .icon-tile { width: 36px; height: 36px; border-radius: 11px; }
.tag3d .icon-tile .icon { font-size: 20px; }

/* ---------- roadmap / progress ---------- */
.progress { height: 10px; border-radius: 10px; background: #eaeef7; box-shadow: inset 0 1px 2px rgba(10,20,40,.08); overflow: hidden; margin-top: 22px; }
.progress i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, #5a85ff, #1d4ef5); box-shadow: 0 0 12px rgba(29,78,245,.5); width: 0; transition: width 1.6s var(--ease) .2s; }
.revealed .progress i { width: var(--p); }
.progress-meta { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); font-family: var(--font-mono); }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 80px 40px; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 20% 0%, #5a85ff 0%, transparent 55%), radial-gradient(ellipse at 90% 100%, #7cc4ff 0%, transparent 50%), linear-gradient(135deg, #1d4ef5, #0b2a9e);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 40px 80px -30px rgba(20,50,160,.6);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%); }
.cta > * { position: relative; }
.cta .h2 { color: #fff; }
.cta .lead { color: rgba(255,255,255,.82); margin: 18px auto 36px; max-width: 600px; }
.cta .btn-ghost { color: var(--brand-deep); }
.btn-glass { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 1px 0 rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 30px 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; letter-spacing: -0.025em; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; letter-spacing: -0.015em; font-weight: 600; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* ---------- footer ---------- */
.footer { margin-top: 40px; padding: 72px 0 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.6), #fff); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer p { color: var(--ink-2); font-size: 15px; margin-top: 16px; max-width: 320px; }
.footer h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--brand); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); color: var(--ink-2); transition: .3s var(--ease); }
.socials a:hover { color: var(--brand); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom a:hover { color: var(--brand); }

/* ---------- toast ---------- */
#toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: grid; gap: 10px; pointer-events: none; }
.toast { background: #fff; border-radius: 14px; padding: 14px 18px; font-size: 14px; font-weight: 500; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); opacity: 0; transform: translateY(12px) scale(.97); transition: .4s var(--ease); max-width: 320px; }
.toast.show { opacity: 1; transform: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.revealed { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .product, .product.flip { grid-template-columns: 1fr; gap: 48px; }
  .product.flip .product-copy { order: 0; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .btn-row, .hero-copy .chips { justify-content: center; }
  .hero-stage { max-width: 480px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-right .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 40px; min-height: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .mini-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .phone { width: 240px; }
  .float-card, .tag3d { transform: scale(.85); }
  .cta { padding: 56px 22px; }
  .btn-row .btn { flex: 1 1 100%; }
  .page-hero { padding: 140px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Inner-page components
   ========================================================= */
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .icon { font-size: 18px; opacity: .6; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 500; }

.hero-visual { margin-top: 64px; position: relative; }
.hero-3d { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; margin: 0 auto; }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-3d .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-3d.ready .fallback { opacity: 0; transition: opacity .8s; }
.split-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; text-align: left; }
.split-hero .lead { margin-left: 0; }
.split-hero .breadcrumb { justify-content: flex-start; }

.tagline { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.03em; color: var(--brand); margin-top: 18px; }

/* feature tiles (icon + label) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); font-weight: 600; font-size: 15.5px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.tile .icon-tile { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; }
.tile .icon-tile .icon { font-size: 22px; }

.checks.two { grid-template-columns: 1fr 1fr; column-gap: 20px; }

/* setlist mockup */
.panel3d { position: relative; z-index: 1; width: min(100%, 460px); transform: rotateY(14deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .8s var(--ease); }
.scene:hover .panel3d { transform: rotateY(6deg) rotateX(3deg); }
.scene.left .panel3d { transform: rotateY(-14deg) rotateX(6deg); }
.scene.left:hover .panel3d { transform: rotateY(-6deg) rotateX(3deg); }
.panel { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 0 0 1px var(--line), -2px 2px 0 #e3e8f2, -4px 4px 0 #d7ddea, -6px 6px 0 #ccd3e2, -40px 50px 80px -30px rgba(10,30,90,.35); }
.scene.left .panel { box-shadow: 0 0 0 1px var(--line), 2px 2px 0 #e3e8f2, 4px 4px 0 #d7ddea, 6px 6px 0 #ccd3e2, 40px 50px 80px -30px rgba(10,30,90,.35); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 600; }
.panel-head small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.song { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: #f5f7fc; margin-top: 10px; }
.song b { display: block; font-size: 15px; }
.song small { font-size: 12px; color: var(--muted); }
.song .num { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 1px var(--line); font-weight: 700; color: var(--muted); flex-shrink: 0; }
.song.on { background: linear-gradient(135deg, #3d6bff, #1437b8); color: #fff; box-shadow: 0 14px 28px -12px rgba(29,78,245,.7); transform: translateZ(30px); }
.song.on small { color: rgba(255,255,255,.75); }
.song.on .num { background: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.song .state { margin-left: auto; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.song.on .state { color: #fff; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; margin-left: auto; }
.eq i { width: 3px; background: #fff; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* language pair */
.lang-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; perspective: 1400px; }
.lang-pair .slide { aspect-ratio: 16/9; border-radius: 22px; padding: 28px; transform: rotateY(8deg); box-shadow: 0 30px 60px -24px rgba(10,30,120,.55), 0 0 0 1px rgba(255,255,255,.1) inset; }
.lang-pair .slide + .slide { transform: rotateY(-8deg); }
.lang-pair .slide q { font-size: clamp(16px, 2vw, 24px); }
.lang-pair .slide small { font-size: 11px; }
.lang-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.7); margin-bottom: 12px; display: block; }

/* font tiles */
.font-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1200px; }
.font-tile { aspect-ratio: 1.25; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.font-tile b { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; letter-spacing: 0; color: var(--ink); }
.font-tile small { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.font-tile.blue { background: linear-gradient(150deg, #4a78ff, #1d4ef5 55%, #0b2a9e); box-shadow: var(--shadow-brand); }
.font-tile.blue b, .font-tile.blue small { color: #fff; }
.font-count { grid-column: 1 / -1; text-align: center; font-weight: 600; color: var(--brand); padding-top: 6px; }

/* NDI flow diagram */
.flow { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: 100%; max-width: 560px; }
.flow-src { padding: 26px 20px; border-radius: 24px; text-align: center; color: #fff; background: linear-gradient(150deg, #4a78ff, #1d4ef5 55%, #0b2a9e); box-shadow: var(--shadow-brand), 0 30px 50px -20px rgba(29,78,245,.5); }
.flow-src .icon { font-size: 36px; }
.flow-src b { display: block; font-family: var(--font-display); font-size: 18px; margin-top: 8px; }
.flow-src small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; opacity: .75; }
.flow-line { width: 60px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 14px); background-size: 28px 4px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 28px 0; } }
.flow-targets { display: grid; gap: 10px; }
.flow-targets span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); font-weight: 600; font-size: 14px; }
.flow-targets .icon { color: var(--brand); font-size: 20px; }

/* reader screen */
.reader { padding: 50px 20px 20px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.reader .r-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }
.reader h5 { font-family: var(--font-display); font-size: 22px; margin: 0; letter-spacing: -0.03em; }
.reader p { font-family: var(--font-display); font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.reader sup { color: var(--brand); font-weight: 700; margin-right: 3px; font-size: 9px; }
.reader .hl { background: linear-gradient(transparent 55%, #ffe7a8 55%); color: var(--ink); }
.reader .r-nav { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 16px; background: #f3f6fc; font-size: 12px; font-weight: 600; }
.reader .r-nav .icon { font-size: 18px; color: var(--brand); }

/* big "free" block */
.free { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; }
.price-3d { perspective: 1000px; display: grid; place-items: center; }
.price-3d .coin {
  width: min(100%, 300px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #6f95ff, #1d4ef5 50%, #0b2a9e);
  box-shadow: inset 0 4px 0 rgba(255,255,255,.35), inset 0 -10px 0 rgba(0,0,0,.18), 0 2px 0 #1437b8, 0 4px 0 #1234a8, 0 6px 0 #0f2f98, 0 8px 0 #0d2a88, 0 50px 80px -30px rgba(29,78,245,.7);
  transform: rotateY(-18deg) rotateX(10deg); animation: coin 8s ease-in-out infinite;
}
.price-3d .coin b { display: block; font-family: var(--font-display); font-size: clamp(56px, 7vw, 88px); letter-spacing: -0.05em; line-height: 1; }
.price-3d .coin small { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; opacity: .85; }
@keyframes coin { 0%, 100% { transform: rotateY(-18deg) rotateX(10deg); } 50% { transform: rotateY(14deg) rotateX(6deg) translateY(-10px); } }
.nos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.nos span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #f5f7fc; font-weight: 600; font-size: 15px; }
.nos .icon { color: #11804a; font-size: 20px; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
.bento .card h3 { margin: 22px 0 10px; }
.bento .card p { color: var(--ink-2); font-size: 16px; }
.num-label { font-family: var(--font-mono); font-size: 13px; color: var(--brand); letter-spacing: .1em; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.specs div { padding: 14px; border-radius: 14px; background: #f5f7fc; }
.specs small { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.specs b { font-size: 15px; font-weight: 600; }
.card.dark { background: radial-gradient(ellipse at 20% 0%, #4a78ff 0%, transparent 55%), linear-gradient(145deg, #1d4ef5, #0b2a9e); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand), var(--shadow-lg); }
.card.dark p { color: rgba(255,255,255,.82) !important; }
.card.dark .num-label { color: #bcd0ff; }
.card.dark .specs div { background: rgba(255,255,255,.1); }
.card.dark .specs small { color: rgba(255,255,255,.65); }
.meter { margin-top: 22px; }
.meter .progress { margin-top: 10px; }

/* quote */
.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote .qmark { font-family: var(--font-display); font-size: 120px; line-height: .6; color: var(--brand); opacity: .2; display: block; height: 60px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 48px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; color: var(--muted); }

/* isometric slabs (3D stack) */
.iso { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; perspective: 2000px; display: grid; place-items: center; }
.iso-stack { position: relative; width: 62%; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-40deg); animation: isospin 14s ease-in-out infinite; }
@keyframes isospin { 0%, 100% { transform: rotateX(58deg) rotateZ(-40deg); } 50% { transform: rotateX(54deg) rotateZ(-30deg); } }
.slab { position: absolute; inset: 0; border-radius: 28px; transform-style: preserve-3d; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.slab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateZ(-18px); background: inherit; filter: brightness(.82); z-index: -1; }
.slab.s1 { transform: translateZ(0); background: linear-gradient(135deg, #ffffff, #e6ecf8); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line), 40px 40px 60px rgba(10,30,90,.18); }
.slab.s2 { transform: translateZ(70px); background: linear-gradient(135deg, #b9ccff, #7ea0ff); color: #0b2a9e; }
.slab.s3 { transform: translateZ(140px); background: linear-gradient(135deg, #4a78ff, #1d4ef5 60%, #0b2a9e); color: #fff; box-shadow: inset 0 2px 0 rgba(255,255,255,.35); }
.slab .icon { font-size: 34px; }
.slab span.lbl { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.slab small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; font-weight: 500; opacity: .75; }
.iso .halo { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(59,107,255,.2), transparent 65%); filter: blur(30px); }

/* platform device tiles */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1400px; }
.device { text-align: center; padding: 34px 20px 26px; }
.device .icon-tile { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 18px; }
.device .icon-tile .icon { font-size: 38px; }
.device b { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.02em; margin-bottom: 10px; }
.device.soon .icon-tile { background: linear-gradient(160deg, #fff, #eef2fa); color: var(--muted); box-shadow: 0 1px 0 #fff inset, 0 0 0 1px var(--line), 0 10px 20px -8px rgba(10,20,40,.15); }
.plat h3 { margin: 18px 0 10px; }
.plat .top { display: flex; justify-content: space-between; align-items: center; }
.plat ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.plat li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.plat li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.plat.soon li::before { background: var(--muted); box-shadow: 0 0 0 3px #eef1f6; }

/* app showcase cards */
.app-card { display: block; padding: 0; overflow: hidden; }
.app-card .shot { position: relative; height: 340px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, rgba(59,107,255,.28), transparent 60%), linear-gradient(180deg, #f3f6fd, #e8eefb); }
.app-card .shot .monitor { width: 88%; transform: rotateX(8deg) translateY(30px); }
.app-card .shot .phone { width: 220px; transform: rotateX(8deg) rotateY(0) translateY(80px); }
.app-card:hover .shot .monitor { transform: rotateX(4deg) translateY(18px); }
.app-card:hover .shot .phone { transform: rotateX(4deg) translateY(62px); }
.app-card .shot .phone-body { border-radius: 34px; padding: 8px; }
.app-card .shot .phone-screen { border-radius: 27px; }
.app-card .body { padding: 32px; }
.app-card .h3 { margin: 16px 0 10px; font-size: 30px; }
.app-card p { color: var(--ink-2); margin-bottom: 24px; }

/* principles */
.principle .big { font-family: var(--font-display); font-size: 64px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(29,78,245,.35); }
.principle .mono { color: var(--muted); margin-top: 20px; display: block; font-size: 11.5px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; }

.editorial { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.editorial .lead + .lead { margin-top: 20px; }

/* legal */
.legal { padding: 44px 52px; }
.legal .updated { display: inline-flex; margin-bottom: 8px; }

@media (max-width: 1024px) {
  .split-hero, .editorial, .free { grid-template-columns: 1fr; }
  .split-hero { text-align: center; }
  .split-hero .breadcrumb, .split-hero .btn-row, .split-hero .chips { justify-content: center; }
  .split-hero .lead { margin-left: auto; }
  .tiles, .devices { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .span-2, .span-3, .span-4, .span-6 { grid-column: span 2; }
  .bento .half { grid-column: span 1; }
  .free { padding: 40px; }
}
@media (max-width: 640px) {
  .tiles, .devices, .lang-pair, .checks.two, .nos { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .span-2, .span-3, .span-4, .span-6, .bento .half { grid-column: auto; }
  .specs { grid-template-columns: 1fr 1fr; }
  .lang-pair .slide, .lang-pair .slide + .slide { transform: none; }
  .flow { grid-template-columns: 1fr; justify-items: center; }
  .flow-line { width: 4px; height: 40px; background: repeating-linear-gradient(180deg, var(--brand) 0 8px, transparent 8px 14px); background-size: 4px 28px; }
  .flow-targets { width: 100%; }
  .free, .legal { padding: 28px 22px; }
  .app-card .shot { height: 260px; }
  .app-card .body { padding: 24px; }
}
.legal > h2:first-child { margin-top: 0; }
.grid > *, .bento > *, .product > *, .editorial > *, .hero-inner > *, .split-hero > *, .tiles > * { min-width: 0; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.split-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 1024px) { .tiles-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tiles-3, .split-card { grid-template-columns: 1fr; } }
