/* =========================================================
   EMBLEME — Design v3
   Palette & horizon taken from embleme.app
   ========================================================= */
:root {
  /* brand (embleme.app) */
  --void: #000000;
  --deep: #0a1a4a;
  --blue: #2a5ee8;
  --haze: #c4cad4;
  --sky: #4f73d8;
  --mark: #d2d4d8;

  --ink: #eef0f4;
  --ink-2: rgba(238, 240, 244, .66);
  --ink-3: rgba(238, 240, 244, .38);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --blue-soft: #8fa9f0;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --r: 28px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;

  /* the embleme horizon — same stops as embleme.app, extended to a dark sky */
  --horizon-stops:
    var(--void) 76%, var(--deep) 80%, var(--blue) 86%, var(--haze) 93%,
    #b9c4da 97%, var(--sky) 110%, #1d3a9c 126%, #08133a 148%, #000 175%;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--void); color: var(--ink);
  font-family: var(--f-sans); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html.js body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--blue); color: #fff; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* logo (stroke-drawn wordmark) */
.logo, .footer__giant {
  display: block; overflow: visible; fill: none;
  stroke: var(--mark); stroke-width: 12; stroke-linejoin: round; stroke-linecap: butt;
}

/* ---------- Primitives ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font: 500 15px/1 var(--f-sans); letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, box-shadow .5s var(--ease);
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 64px; padding: 0 34px; font-size: 17px; }
.btn--primary {
  background: linear-gradient(180deg, #5a82f0 0%, var(--blue) 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 30px -8px rgba(42, 94, 232, .8);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 14px 40px -8px rgba(42, 94, 232, 1); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

.arrow {
  display: inline-block; width: 9px; height: 9px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .4s var(--ease);
}
.btn:hover .arrow, .roles a:hover .arrow { transform: translateX(4px) rotate(45deg); }

.eyebrow { display: inline-block; font: 500 13px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 22px; }
.h2 { font-size: clamp(40px, 6vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.h2 em { font-size: 1.06em; color: var(--blue-soft); }
.chip { font: 500 12px/1 var(--f-mono); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }

/* =========================================================
   MOCKUPS — real hand photos (cut out) with a live screen
   layers: photo → our screen → fingertips that sit on the glass
   ========================================================= */
.mock { position: relative; width: var(--mw); aspect-ratio: var(--ar); flex: none; }
.mock__img, .mock__fingers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.mock__img { z-index: 0; }
.mock__screen { position: absolute; z-index: 1; overflow: hidden; background: #000; container-type: inline-size; }
.mock__fingers { z-index: 2; }

/* straight phone (intro) — photo 1000×1296, glass at 246,91 518×1118 */
.mock--front { --ar: 1000 / 1296; }
.mock--front .mock__screen { left: 23.9%; top: 6.88%; width: 52.65%; height: 86.75%; border-radius: 12.8% / 5.95%; }
.mock__screen::after { content: ""; position: absolute; inset: 0; z-index: 20; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1.5cqw #000, inset 0 0 0 2.1cqw rgba(0,0,0,.3); }
.mock--front .mock__img, .mock--front .mock__fingers {
  -webkit-mask-image: linear-gradient(#000 91%, transparent 99.5%);
          mask-image: linear-gradient(#000 91%, transparent 99.5%);
}

/* tilted phone (hero) — photo 844×1060; the 300×855 screen is mapped onto the glass with a matrix3d (js) */
.mock--tilt { --ar: 844 / 1060; }
.mock--tilt .mock__screen { left: 0; top: 0; width: 300px; height: 855px; border-radius: 46px; transform-origin: 0 0; visibility: hidden; }
.mock--tilt .mock__screen.is-mapped { visibility: visible; }
.mock--tilt .mock__img, .mock--tilt .mock__fingers {
  -webkit-mask-image: linear-gradient(#000 70%, transparent 94%);
          mask-image: linear-gradient(#000 70%, transparent 94%);
}

.island { position: absolute; top: 3.3cqw; left: 50%; z-index: 6; width: 31cqw; height: 9cqw; border-radius: 99px; background: #000; transform: translateX(-50%); }
.sbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 6.4cqw 10cqw 0 13cqw; font: 600 4.4cqw/1 var(--f-sans); color: #fff;
}
.sbar__icons { display: flex; gap: 1.3cqw; align-items: center; }
.sbar__icons i { display: block; width: 4cqw; height: 2.6cqw; border-radius: .7cqw; background: #fff; }
.sbar__icons i:first-child { width: 4.4cqw; clip-path: polygon(0 100%, 100% 0, 100% 100%); border-radius: 0; }
.sbar__icons i:last-child { width: 6.2cqw; }

/* =========================================================
   INTRO
   A · cinematic words (blur-in, letter by letter)
   B · a hand raises the phone, embleme.app splash on screen
   C · the camera pushes through the glass into the site
   ========================================================= */
.intro { display: none; }
html.js .intro { display: block; }
.intro {
  position: fixed; inset: 0; z-index: 100; background: #000; overflow: hidden;
  transition: opacity .8s ease;
}
.intro.is-out { opacity: 0; pointer-events: none; }
.intro.is-gone { display: none !important; }

.intro__floor {
  position: absolute; left: -20%; right: -20%; bottom: -38%; height: 75%;
  background: radial-gradient(50% 50% at 50% 100%, rgba(79, 115, 216, .6), rgba(196, 202, 212, .14) 45%, transparent 72%);
  filter: blur(30px); opacity: 0;
  transition: opacity 1.6s ease, transform 2s var(--ease);
}
.intro.a .intro__floor { opacity: 1; }
.intro.b .intro__floor { opacity: .8; transform: translateY(-8%); }
.intro.c .intro__floor { opacity: 0; }

/* words now play INSIDE the phone, after the embleme splash */
.splash__words { position: absolute; left: 0; right: 0; top: 44%; display: grid; place-items: center; z-index: 4; pointer-events: none; }
.intro__word {
  grid-area: 1 / 1; display: flex;
  font: 500 18cqw/1 var(--f-sans); letter-spacing: -.055em; color: #fff;
}
.intro__word--serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: #c9d6ff; font-size: 22cqw; }
.intro__word span { display: inline-block; opacity: 0; filter: blur(3cqw); transform: translateY(.12em); transition: opacity .5s ease, filter .6s ease, transform .7s var(--ease); white-space: pre; }
.intro__word.is-in span { opacity: 1; filter: blur(0); transform: none; }
.intro__word.is-out span { opacity: 0; filter: blur(2cqw); transform: translateY(-.08em); transition-duration: .3s; transition-delay: 0s !important; }

/* after the logo is drawn: logo blurs away, the horizon sets */
.splash__glow { transition: translate 1.4s var(--ease-io); }
.splash.is-words .splash__glow { translate: 0 22%; }
.splash__glow::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 40%; background: #2f55c9; }
.splash__logo { transition: opacity .6s ease, filter .6s ease, transform .9s var(--ease); }
.splash.is-words .splash__logo { opacity: 0; filter: blur(6px); transform: translateY(-12%); }

.intro__device {
  --mh: min(88vh, 980px, 140vw); --mw: calc(var(--mh) * 1000 / 1296);
  position: absolute; left: 50%; top: 9vh; margin-left: calc(var(--mw) / -2 - var(--mw) * .005);
  transform: translateY(70vh); opacity: 0;
  transition: transform 1.5s var(--ease), opacity 1s ease;
  will-change: transform;
}
.intro.b .intro__device { transform: none; opacity: 1; }
.intro__device.is-zooming { transition: transform 1.5s cubic-bezier(.75, 0, .2, 1); }

/* splash = embleme.app */
.splash { position: absolute; inset: 0; background: #000; }
.splash__glow {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(ellipse 175% 44% at 50% 100%,
    var(--void) 76%, var(--deep) 80%, var(--blue) 86%, var(--haze) 93%,
    #b9c4da 97%, var(--sky) 110%, #2f55c9 130%);
}
.splash.is-on .splash__glow { animation: splashDawn 2s var(--ease) .2s both; }
@keyframes splashDawn { from { opacity: 0; transform: translateY(-14%); } to { opacity: 1; transform: none; } }
.splash__sweep {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.3) 50%, transparent 60%) 0 0 / 250% 100%;
  -webkit-mask: radial-gradient(ellipse 175% 44% at 50% 100%, transparent 84%, #000 90%, transparent 98%);
          mask: radial-gradient(ellipse 175% 44% at 50% 100%, transparent 84%, #000 90%, transparent 98%);
}
.splash.is-on .splash__sweep { animation: sweep 1.6s ease-in-out 1s both; }
@keyframes sweep {
  0% { opacity: 0; background-position: 120% 0; }
  20%, 80% { opacity: 1; }
  100% { opacity: 0; background-position: -20% 0; }
}
.splash__logo {
  position: absolute; left: 16%; width: 68%; top: 72%; height: auto; overflow: visible;
  fill: none; stroke: var(--mark); stroke-width: 12; stroke-linejoin: round;
}
.splash__logo .s { stroke-dasharray: 1; stroke-dashoffset: 1; }
.splash.is-on .splash__logo .s { animation: draw .8s var(--ease) both; animation-delay: calc(1s + var(--i) * .08s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.intro__meta {
  position: absolute; bottom: 32px; z-index: 2;
  display: flex; flex-direction: column; gap: 4px;
  font: 400 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3);
  animation: fadeIn 1s ease .4s both; transition: opacity .5s;
}
.intro__meta--left { left: var(--gutter); }
.intro__meta--right { right: var(--gutter); }
.intro__count { font: 300 clamp(40px, 6vw, 72px)/1 var(--f-sans); color: var(--ink); letter-spacing: -.04em; }
.intro__skip {
  position: absolute; top: 28px; right: var(--gutter); z-index: 3;
  background: none; border: 0; color: var(--ink-3); cursor: pointer; padding: 8px;
  font: 400 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; transition: opacity .5s, color .3s;
}
.intro__skip:hover { color: var(--ink); }
.intro.c .intro__meta, .intro.c .intro__skip { opacity: 0; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes breathe { to { filter: brightness(1.08) saturate(1.12); } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 50;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 48px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.nav.is-scrolled { background: rgba(6, 9, 20, .6); border-color: var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }

.brand { display: inline-flex; align-items: center; }
.nav .logo { width: 108px; height: auto; }

.nav .brand, .nav__links, .nav__actions { transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
html.js body:not(.is-ready) .nav .brand,
html.js body:not(.is-ready) .nav__links,
html.js body:not(.is-ready) .nav__actions { opacity: 0; transform: translateY(-8px); }

.nav__links { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.nav__links a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .3s, background .3s; }
.nav__links a:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; }

/* =========================================================
   HERO — split: copy left, real hand + live phone right
   ========================================================= */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__sky {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse max(160vw, 1500px) 760px at 62% calc(100% + 420px), var(--horizon-stops));
  animation: breathe 9s ease-in-out infinite alternate;
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 8) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 60%, transparent 85%);
          mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 60%, transparent 85%);
  opacity: .45;
}
.hero__inner {
  position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  min-height: max(100svh, 760px);
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
}
.hero__content { position: relative; z-index: 4; padding: 120px 0 6vh; }
.hero__title {
  margin: 0; font-size: clamp(56px, 7.4vw, 118px); line-height: .92; letter-spacing: -.055em; font-weight: 500;
  background: linear-gradient(180deg, #fff 35%, rgba(205, 216, 245, .78) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title em { font-size: 1.1em; padding-right: .05em; }
.hero__sub { margin: 28px 0 0; max-width: 480px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }
.hero__ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

.hero__in { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--d) * .1s + .15s); }
html.js body:not(.is-ready) .hero__in { opacity: 0; transform: translateY(30px); filter: blur(8px); }
.hero__title .hero__in { display: block; }
html.js body:not(.is-ready) .hero__title .hero__in { transform: translateY(105%); filter: none; }

.hero__stage { position: relative; align-self: stretch; min-height: 600px; }
.hero__device {
  --mh: clamp(760px, 112vh, 1120px); --mw: calc(var(--mh) * 844 / 1060);
  position: absolute; top: max(112px, 13vh); left: calc(50% - var(--mw) * .38);
  translate: var(--dx, 0) var(--dy, 0);
  transition: transform 1.6s var(--ease) .3s, opacity 1.2s ease .3s;
}
html.js body:not(.is-ready) .hero__device { transform: translateY(160px) rotate(4deg); opacity: 0; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 5; pointer-events: none; background: linear-gradient(transparent, #000 88%); }

/* ---------- the Embleme site running on the tilted phone (300×855 flat) ---------- */
.site { position: absolute; inset: 0; background: #05070d; color: #fff; font-family: var(--f-sans); }
.site__scroll { animation: siteScroll 14s var(--ease-io) 2.5s infinite; }
@keyframes siteScroll {
  0%, 38% { transform: none; }
  50%, 80% { transform: translateY(-330px); }
  92%, 100% { transform: none; }
}
.site__hero {
  position: relative; height: 590px; overflow: hidden;
  background: linear-gradient(180deg, #7086c4 0%, #33437a 22%, #121b3d 52%, #05070d 80%);
}
.dashes { position: absolute; left: 0; top: 70px; width: 300px; height: 330px; }
.site__bar { position: absolute; top: 52px; left: 24px; right: 24px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.site__bar .logo { width: 74px; stroke-width: 13; stroke: #fff; }
.site__menu { display: flex; flex-direction: column; gap: 4px; }
.site__menu i { display: block; width: 16px; height: 1.5px; background: #fff; }
.site__copy { position: absolute; left: 0; right: 0; bottom: 46px; text-align: center; padding: 0 20px; }
.site__copy h4 { margin: 0; font-size: 36px; line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.site__copy h4 em { color: #a8bdf5; font-size: 1.08em; }
.site__copy p { margin: 12px auto 0; max-width: 230px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.72); }
.site__hint { display: block; margin-top: 18px; font-size: 10px; color: rgba(255,255,255,.45); }
.site__strip { height: 58px; display: flex; align-items: center; overflow: hidden; background: #0b0e16; border-top: 1px solid rgba(255,255,255,.06); }
.site__track { display: flex; gap: 22px; align-items: center; width: max-content; animation: marquee 12s linear infinite; padding-left: 20px; }
.site__track span { font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.site__track i { font-style: normal; color: #5a82f0; font-size: 11px; }
.site__white { background: #fff; color: #0b0d12; padding: 24px 22px 40px; min-height: 420px; border-radius: 0; }
.site__eyebrow { font: 500 10px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #2a5ee8; }
.site__white h5 { margin: 10px 0 18px; font-size: 25px; line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.site__white h5 em { color: #2a5ee8; }
.site__white ul { list-style: none; margin: 0; padding: 0; }
.site__white li { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid #e6e8ee; font-size: 15px; letter-spacing: -.02em; }
.site__white li b { font: 500 10px/1 var(--f-mono); color: #8a90a0; }

/* ---------- floating glass cards ---------- */
.fcard {
  position: absolute; z-index: 3; width: 230px; padding: 16px;
  border-radius: 20px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 30px 60px -20px rgba(0,0,0,.7);
  translate: var(--tx, 0) var(--ty, 0);
  animation: bob 6s ease-in-out infinite;
  transition: opacity 1s ease, scale 1.2s var(--ease);
}
.fcard--left { left: -6%; top: 58%; animation-delay: -3s; transition-delay: 1s; }
.fcard--right { right: -8%; top: 22%; transition-delay: 1.2s; }
html.js body:not(.is-ready) .fcard { opacity: 0; scale: .85; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.fcard__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.fcard__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 99px; border: 1px solid rgba(255,255,255,.25); font: 500 11px/1 var(--f-mono); color: var(--ink-2); }
.pdot { width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 8px #6ee7a8; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.fcard__big { margin-top: 10px; font-size: 32px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.fcard__big small { font-size: .55em; color: var(--ink-2); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 76px; margin-top: 14px; }
.bars i {
  flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #a8c0ff, rgba(42, 94, 232, .35));
  transform-origin: bottom; animation: barPulse 3.6s ease-in-out infinite;
  animation-delay: calc(var(--k) * -.45s);
}
.bars i:last-child { background: linear-gradient(180deg, #fff, #2a5ee8); box-shadow: 0 0 18px rgba(42,94,232,.8); }
@keyframes barPulse { 50% { transform: scaleY(.72); } }
.bars__days { display: flex; gap: 7px; margin-top: 8px; }
.bars__days span { flex: 1; text-align: center; font: 400 10px/1 var(--f-mono); color: var(--ink-3); }
.seg { display: flex; gap: 3px; height: 10px; margin: 16px 0 6px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.08); }
.seg i { width: var(--w); background: #8fa9f0; animation: segGrow 4s var(--ease) infinite; transform-origin: left; }
.seg i:nth-child(2) { background: #2a5ee8; animation-delay: .2s; }
.seg i:nth-child(3) { background: #c4cad4; animation-delay: .4s; }
@keyframes segGrow { 0% { transform: scaleX(0); } 30%, 100% { transform: scaleX(1); } }
.fcard__rows { list-style: none; margin: 8px 0 0; padding: 0; }
.fcard__rows li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: var(--ink-2); }
.fcard__rows li:first-child { border-top: 0; }
.fcard__rows b { margin-left: auto; font: 500 12px/1 var(--f-mono); color: var(--ink); }
.dot { width: 3px; height: 14px; border-radius: 2px; background: var(--c); }

/* =========================================================
   DISCIPLINES strip
   ========================================================= */
.disc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; z-index: 2; background: #000; }
.disc__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.disc__col { padding: 40px 28px 40px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.disc__col:first-child { border-left: 0; padding-left: 0; }
.disc__num { font: 500 12px/1 var(--f-mono); color: var(--blue-soft); margin-bottom: 16px; }
.disc__title { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.disc__text { font-size: 14.5px; color: var(--ink-2); }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__content { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 130px 0 32px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__stage { min-height: 0; height: min(150vw, 820px); }
  .hero__device { --mh: min(180vw, 1100px); top: 0; }
  .hero__sky { background: radial-gradient(ellipse max(160vw, 1200px) 640px at 50% calc(100% + 300px), var(--horizon-stops)); }
  .fcard { width: 170px; padding: 12px; border-radius: 16px; }
  .fcard__head { font-size: 12px; }
  .fcard__chip, .bars__days { display: none; }
  .fcard__big { font-size: 24px; margin-top: 6px; }
  .bars { height: 50px; gap: 4px; margin-top: 8px; }
  .fcard__rows li { font-size: 11px; padding: 7px 0; }
  .fcard--left { left: 0; top: 58%; }
  .fcard--right { right: 0; top: 16%; }
}
@media (max-width: 768px) {
  .fcard { width: 140px; padding: 10px; }
}
@media (max-width: 600px) {
  .fcard { display: none; }
  .hero__stage { height: 140vw; }
  .disc__row { grid-template-columns: 1fr 1fr; }
  .disc__col { padding: 26px 0 26px 18px; }
  .disc__col:nth-child(3) { border-left: 0; padding-left: 0; }
  .disc__col:nth-child(n+3) { border-top: 1px solid var(--line); }
  .disc__title { font-size: 18px; }
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { padding: clamp(120px, 18vw, 220px) 0; }
.manifesto__text { margin: 0; max-width: 1120px; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; }
.manifesto__text .w { color: rgba(255,255,255,.14); transition: color .4s; }
.manifesto__text .w.on { color: var(--ink); }
.manifesto__text .w.accent.on { color: var(--blue-soft); font-family: var(--f-serif); font-style: italic; font-weight: 400; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.section-head__sub { max-width: 380px; margin: 0; color: var(--ink-2); font-size: 17px; }

/* =========================================================
   WHAT WE DO (bento)
   ========================================================= */
.what { padding: 20px 0 140px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 300px; padding: 32px; border-radius: var(--r);
  background: linear-gradient(180deg, #0a0e1b, #05070e);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(42, 94, 232, .28), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { border-color: var(--line-2); }
.card:hover::before { opacity: 1; }

.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.02));
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.card__title { margin: auto 0 0; padding-top: 56px; font-size: 28px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.card__desc { margin: 10px 0 0; color: var(--ink-2); max-width: 400px; font-size: 15.5px; }

.card--feature { grid-column: span 2; grid-row: span 2; flex-direction: row; gap: 24px; padding: 40px; }
.card--feature::after {
  content: ""; position: absolute; right: -15%; bottom: -35%; width: 75%; aspect-ratio: 1; z-index: -2;
  background: radial-gradient(closest-side, rgba(42, 94, 232, .55), transparent); filter: blur(30px);
}
.card--feature .card__body { display: flex; flex-direction: column; flex: 0 1 40%; min-width: 0; }
.card--feature .card__title { font-size: clamp(36px, 4vw, 54px); }
.card--feature .card__visual { flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: 520px; min-width: 0; }
.card--wide { grid-column: span 2; }
.card__split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; height: 100%; }
.card__split > div:first-child { display: flex; flex-direction: column; }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 100%; min-height: 200px; padding-top: 20px; border-bottom: 1px solid var(--line-2); }
.chart span {
  flex: 1; height: var(--h); border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #8fa9f0, rgba(42, 94, 232, .25));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1.2s var(--ease);
}
.card.in .chart span { transform: scaleY(1); }
.chart span:last-child { background: linear-gradient(180deg, #fff, var(--blue)); box-shadow: 0 0 30px rgba(42, 94, 232, .7); }

/* code editor — native iOS & Android, typed live */
.code { min-width: 0;
  position: relative; width: 100%; max-width: 540px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 18, 30, .92), rgba(6, 8, 14, .96));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 90px -30px rgba(42, 94, 232, .55), 0 30px 60px -25px rgba(0,0,0,.9);
  font: 400 12.5px/1.75 var(--f-mono); color: #c9d1e4;
}
.code__bar { display: flex; align-items: center; gap: 16px; padding: 0 14px; height: 44px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.code__dots { display: flex; gap: 6px; }
.code__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.code__tabs { display: flex; gap: 4px; height: 100%; min-width: 0; }
.code__tab { display: flex; align-items: center; gap: 7px; padding: 0 12px; font-size: 12px; white-space: nowrap; color: var(--ink-3); border-bottom: 1.5px solid transparent; transition: color .4s, border-color .4s; }
.code__tab.is-on { color: var(--ink); border-color: var(--blue-soft); }
.code__lang { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 4px; font: 700 9px/1 var(--f-sans); color: #fff; }
.code__lang--swift { background: linear-gradient(135deg, #f88a36, #f05138); }
.code__lang--kt { background: linear-gradient(135deg, #7f52ff, #c711e1); }
.code__body { margin: 0; padding: 18px 0; min-height: calc(14 * 1.75em + 36px); white-space: pre; overflow: hidden; counter-reset: ln; font: inherit; }
.code__body .l { display: block; padding-right: 18px; }
.code__body .l::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 30px; margin-right: 16px; text-align: right; color: rgba(255,255,255,.18); }
.code__body .l.is-cur { background: rgba(143, 169, 240, .06); }
.t-kw { color: #c79bff; } .t-ty { color: #8fd3ff; } .t-st { color: #f2c98b; } .t-at { color: #ff9b7a; } .t-fn { color: #a8bdf5; }
.caret { display: inline-block; width: 7px; height: 1.2em; margin-left: 1px; vertical-align: -.22em; background: var(--blue-soft); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code__status { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 16px; height: 34px; border-top: 1px solid rgba(255,255,255,.07); font-size: 11px; color: var(--ink-3); }
.code__state { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.code__dot { width: 7px; height: 7px; border-radius: 50%; background: #f2c98b; box-shadow: 0 0 8px #f2c98b; transition: background .3s, box-shadow .3s; }
.code__state.is-ok .code__dot { background: #6ee7a8; box-shadow: 0 0 10px #6ee7a8; }
.code__state.is-busy .code__dot { background: var(--blue-soft); box-shadow: 0 0 10px var(--blue-soft); animation: pulse 1s infinite; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 28px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(28px, 3.6vw, 48px); letter-spacing: -.04em; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--blue); font-size: 22px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   APPROACH + CAPABILITIES — editorial cards (serif titles)
   ========================================================= */
.approach, .caps { padding: 140px 0; }
.caps { padding-bottom: 60px; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 64px; max-width: 900px; }
.center-head p { max-width: 620px; margin: 24px 0 0; color: var(--ink-2); font-size: 17.5px; }
.starpill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 26px; }
.starpill svg { width: 15px; height: 15px; fill: var(--blue-soft); }
.serif-h2 { margin: 0; font: 400 clamp(46px, 6.4vw, 92px)/.98 var(--f-serif); letter-spacing: -.025em; color: var(--ink); }
.serif-h2 em { font-style: italic; color: var(--blue-soft); }
.serif-title { margin: 0; font: 400 clamp(30px, 2.8vw, 40px)/1.05 var(--f-serif); letter-spacing: -.02em; color: var(--ink); }

/* how we work — 2×2 feature cards with a live widget */
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fcard2 { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border: 1px solid var(--line); }
.tagpill { align-self: flex-start; padding: 8px 16px; border-radius: 99px; background: rgba(143,169,240,.1); border: 1px solid rgba(143,169,240,.25); font: 500 12.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--blue-soft); }
.fcard2 .serif-title { margin-top: 22px; }
.fcard2 p { margin: 26px 0 0; color: var(--ink-2); font-size: 17px; max-width: 460px; }
.fcard2__stage {
  position: relative; display: flex; justify-content: center; margin-top: 44px; height: 300px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%);
}
.w { position: relative; width: min(380px, 88%); padding: 22px 22px 0; border-radius: 22px 22px 0 0; background: #fff; color: #10131c; box-shadow: 0 30px 60px -20px rgba(42,94,232,.35); transform: translateY(40px); transition: transform 1.2s var(--ease); }
.fcard2.in .w { transform: none; }
.w__head { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.w__sel { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: #f2f3f6; font-size: 12px; font-weight: 400; color: #6b7080; }
.w__sel i { width: 6px; height: 6px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.w__big { margin-top: 16px; font-size: 56px; font-weight: 400; letter-spacing: -.04em; line-height: 1; color: #2f6bff; }
.w__bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; margin-top: 18px; }
.w__bars i { flex: 1; height: var(--h); border-radius: 99px 99px 0 0; background: linear-gradient(180deg, #e3e9fb, #f4f6fd); position: relative; overflow: hidden; }
.w__bars i.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 75%; border-radius: 99px 99px 0 0; background: linear-gradient(180deg, #2f6bff, #9ab6ff); transform: scaleY(0); transform-origin: bottom; transition: transform 1.2s var(--ease) .3s; }
.fcard2.in .w__bars i.on::after { transform: none; }
.w__sw { display: flex; gap: 10px; margin-top: 20px; }
.w__sw i { flex: 1; height: 64px; border-radius: 14px; background: var(--c); border: 1px solid #e6e9f0; }
.w__comp { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-bottom: 40px; }
.w__btn { padding: 11px 18px; border-radius: 99px; background: #2f6bff; color: #fff; font-size: 14px; font-weight: 500; }
.w__tg { position: relative; width: 44px; height: 26px; border-radius: 99px; background: #2f6bff; }
.w__tg i { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.w__chip { padding: 8px 14px; border-radius: 99px; border: 1px solid #dde1ea; font-size: 13px; color: #4b5160; }
.gauge { display: block; width: 100%; margin-top: 10px; overflow: visible; }
.gauge line { stroke: #e6ecfb; stroke-width: 22; stroke-linecap: round; }
.gauge line.on { stroke: #2f6bff; opacity: 0; transition: opacity .3s ease; transition-delay: calc(var(--k) * 70ms + .3s); }
.fcard2.in .gauge line.on { opacity: 1; }
.w__gnum { margin-top: -78px; text-align: center; font-size: 46px; letter-spacing: -.04em; color: #6b7080; padding-bottom: 60px; }
.w__line { display: block; width: 100%; height: 120px; margin-top: 20px; overflow: visible; }
.w__line path { fill: none; stroke: #2f6bff; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.fcard2.in .w__line path { stroke-dashoffset: 0; }

/* capabilities — icon cards */
.capgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cap { display: flex; flex-direction: column; padding: clamp(26px, 2.6vw, 38px); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border: 1px solid var(--line); transition: border-color .4s, background .4s; }
.cap:hover { border-color: var(--line-2); background: linear-gradient(180deg, rgba(143,169,240,.1), rgba(255,255,255,.03)); }
.cap__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.cap__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap .serif-title { margin-top: 64px; }
.cap p { margin: 16px 0 0; color: var(--ink-2); font-size: 16.5px; }
.cap__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.cap__chips span { padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); font: 400 11.5px/1 var(--f-mono); color: var(--ink-3); }
.pillbtn { align-self: flex-start; margin-top: auto; padding: 15px 28px; border-radius: 99px; background: var(--ink); color: #0a0c12; font-size: 15px; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.cap__chips + .pillbtn { margin-top: 32px; }
.pillbtn:hover { background: #fff; transform: translateY(-2px); }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 160px 0 240px; text-align: center; }
.cta__sky {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse max(160vw, 110vh) 70vh at 50% calc(100% + 40vh), var(--horizon-stops));
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
          mask-image: linear-gradient(to bottom, transparent, #000 45%);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title { margin: 0; font-size: clamp(48px, 8vw, 112px); line-height: .95; letter-spacing: -.055em; font-weight: 500; }
.cta__title em { color: var(--blue-soft); }
.cta__sub { color: var(--ink-2); margin: 24px 0 48px; font-size: 18px; }

.contact { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; width: 100%; max-width: 1040px; text-align: left; }
.cform, .contact__side {
  padding: clamp(24px, 3vw, 36px); border-radius: calc(var(--r) + 4px);
  background: linear-gradient(180deg, rgba(10, 14, 27, .82), rgba(5, 8, 16, .9));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 40px 80px -40px rgba(0,0,0,.9);
}
.cform { display: grid; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.field small { text-transform: none; letter-spacing: 0; color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35); color: var(--ink); font: 400 15px/1.4 var(--f-sans);
  transition: border-color .3s, background .3s, box-shadow .3s; outline: none; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #0a0e1b; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-soft); background: rgba(0,0,0,.5); box-shadow: 0 0 0 4px rgba(42,94,232,.25); }
.field.is-bad input, .field.is-bad textarea { border-color: #ff8a7a; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.cform__status { margin: 0; font-size: 14px; color: var(--ink-2); }
.cform__status.is-ok { color: #6ee7a8; }
.cform__status.is-err { color: #ffa395; }
.cform__send[disabled] { opacity: .6; cursor: progress; }
.cform.is-sent .field, .cform.is-sent .cform__row { opacity: .45; pointer-events: none; transition: opacity .5s; }

.contact__side { display: flex; flex-direction: column; }
.contact__label { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.contact__mail { margin-top: 12px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; font-weight: 500; word-break: break-all; }
.contact__mail:hover { color: var(--blue-soft); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: 40px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .logo { width: 104px; height: auto; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__copy { font-size: 13px; color: var(--ink-3); }
.footer__giant {
  width: calc(100% - 2 * var(--gutter)); height: auto; margin: 64px auto -2vw;
  stroke: rgba(255, 255, 255, .14); stroke-width: 8;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
          mask-image: linear-gradient(180deg, #000, transparent 90%);
}

/* =========================================================
   REVEAL
   ========================================================= */
html.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .capgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature, .card--wide, .bento > .card:last-child { grid-column: span 2; }
  .card--feature { grid-row: auto; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 8px 8px 8px 18px; }
  .nav .logo { width: 96px; }
  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 10px; border-radius: 24px; background: rgba(6, 9, 20, .94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  html.js body .nav__links { opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .4s var(--ease); }
  html.js body .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a { padding: 16px; font-size: 18px; }
  .nav.is-open { background: rgba(6, 9, 20, .8); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  .nav__toggle {
    display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

  .dock { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .dock__col { padding: 18px; }
  .dock__col:nth-child(3) { border-left: 0; }
  .dock__col:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .dock__num { margin-bottom: 8px; }
  .dock__title { font-size: 17px; }
  .dock__text { font-size: 13px; }

  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card--feature .card__body { flex: none; }
  .card--feature, .card--wide, .bento > .card:last-child { grid-column: auto; }
  .card--feature { flex-direction: column; padding: 28px; }
  .card--feature .card__visual { min-height: 0; margin-top: 28px; }
  .card__split { grid-template-columns: 1fr; }
  .code { font-size: 10px; }
  .code__body .l::before { width: 22px; margin-right: 10px; }
  .code__tab { padding: 0 8px; }
  .code__body { min-height: 0; }
  .fgrid, .capgrid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fcard2, .cap { border-radius: 22px; padding: 24px; }
  .fcard2__stage { height: 260px; margin-top: 32px; }
  .cap .serif-title { margin-top: 36px; }
  .center-head { margin-bottom: 40px; }
  .cform__row { grid-template-columns: 1fr; }
  .cform__foot { flex-direction: column-reverse; align-items: stretch; }
  .cform__send { justify-content: center; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
