/* DevOpZone — static site styles (v5, dark only). No JavaScript, no inline styles. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-v4.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-v24.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #060709;
  --bg-raise: #0a0b0f;
  --panel-top: #0e1016;
  --panel-bottom: #08090c;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .12);
  --line-3: rgba(255, 255, 255, .2);
  --text: #f4f5f7;
  --soft: #d2d5dc;
  --muted: #a2a8b5;
  --faint: #9299a8;

  --accent: #7b8fff;
  --accent-2: #a9b6ff;
  --accent-rgb: 112 136 255;
  --accent-ink: #060709;
  --glow: 112 136 255;

  --live: #5fd394;   --live-bg: rgba(95, 211, 148, .12);
  --rc: #f0bf62;     --rc-bg: rgba(240, 191, 98, .12);
  --store: #a9b6ff;  --store-bg: rgba(112, 136, 255, .16);
  --beta: #c6aaff;   --beta-bg: rgba(198, 170, 255, .13);
  --dev: #b4b9c5;    --dev-bg: rgba(255, 255, 255, .07);

  --gutter: clamp(16px, 4.5vw, 40px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Product tints, used for glows only (never for text). */
.g-monpg { --glow: 56 189 248; }
.g-conndeck { --glow: 91 140 255; }
.g-focuslab { --glow: 255 128 56; }
.g-stridu { --glow: 200 243 29; }
.g-booksy { --glow: 124 92 255; }
.g-sundre { --glow: 64 170 112; }
.g-viasteps { --glow: 245 158 11; }
.g-klozby { --glow: 139 60 240; }
.g-kcaldaily { --glow: 104 92 245; }
.g-steddu { --glow: 31 160 140; }
.g-sustova { --glow: 120 110 240; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  overflow-x: clip;
}
main { flex: 1; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--text); text-wrap: balance; }
h1, h2 { font-stretch: 88%; letter-spacing: -.035em; line-height: 1.02; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.nw { white-space: nowrap; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  padding: 10px 14px; border-radius: 10px;
  background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--bg); }

.kicker {
  margin-bottom: 18px;
  font: 500 .75rem/1.4 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
}
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.kind { font: 500 .78rem/1.45 var(--mono); color: var(--faint); letter-spacing: .01em; }

/* ---------- Buttons, links, pills ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid var(--line-3); border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--text); font-size: .98rem; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn:hover { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .07); color: #fff; }
.btn.primary { background: var(--text); border-color: var(--text); color: var(--accent-ink); }
.btn.primary:hover {
  background: #fff; border-color: #fff; color: var(--accent-ink);
  box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .22), 0 12px 36px -10px rgb(var(--accent-rgb) / .7);
}
.btn.small { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn.on-band { background: var(--text); border-color: var(--text); color: var(--accent-ink); }
.btn.on-band:hover { background: #fff; border-color: #fff; color: var(--accent-ink); }

.arrow { font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--accent-2); }
.arrow:hover { color: #fff; text-decoration: underline; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 999px;
  font: 500 .72rem/1.5 var(--mono); letter-spacing: .02em; white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill.live { color: var(--live); background: var(--live-bg); }
.pill.live::before { box-shadow: 0 0 0 3px rgba(95, 211, 148, .2); }
.pill.rc { color: var(--rc); background: var(--rc-bg); }
.pill.store { color: var(--store); background: var(--store-bg); }
.pill.beta { color: var(--beta); background: var(--beta-bg); }
.pill.dev { color: var(--dev); background: var(--dev-bg); }
.tag {
  display: inline-block; vertical-align: middle;
  padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 6px;
  font: 500 .66rem/1.6 var(--mono); letter-spacing: .02em; color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 7, 9, .74);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 28px; height: 28px; border-radius: 7px; flex: none; box-shadow: 0 0 0 1px var(--line-2); }
.brand span { font-weight: 650; font-stretch: 90%; font-size: 1.14rem; letter-spacing: -.02em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav a {
  padding: 8px 13px; border-radius: 999px;
  color: var(--muted); font-size: .94rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.cta { margin-left: 8px; padding: 8px 16px; background: var(--text); color: var(--accent-ink); font-weight: 600; }
.nav a.cta:hover { background: #fff; color: var(--accent-ink); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }
@media (max-width: 359px) {
  .nav .hide-xs { display: none; }
  .nav a.cta { margin-left: 0; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 9vw, 128px); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { font-size: clamp(2.25rem, 1.25rem + 3.6vw, 4.1rem); }
.section-head p:not(.kicker) { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 56ch; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(64px, 9vw, 128px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(56% 38% at 50% -6%, rgb(var(--accent-rgb) / .2), transparent 72%),
    radial-gradient(46% 36% at 50% 74%, rgb(var(--accent-rgb) / .2), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .5), transparent);
}
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 15px 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font: 500 .72rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--accent-2); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2);
}
.hero h1 {
  margin-top: 30px;
  font-size: clamp(2.7rem, 1.1rem + 6.2vw, 6.4rem);
  line-height: .96; letter-spacing: -.045em;
  max-width: 12ch;
}
.grad {
  background: linear-gradient(100deg, #dfe4ff 10%, #93a5ff 55%, #b39dff 95%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero .lead { margin-top: 28px; max-width: 46ch; text-wrap: balance; font-size: clamp(1.0625rem, .98rem + .45vw, 1.3rem); }
.hero .lead a { color: var(--text); text-decoration-color: var(--line-3); }
.hero .lead a:hover { text-decoration-color: var(--accent-2); }
.hero .actions { justify-content: center; }

.stage-figure {
  position: relative;
  width: 100%; max-width: 1240px;
  margin: clamp(56px, 7vw, 92px) auto 0;
  padding-inline: var(--gutter);
}
.stage { position: relative; aspect-ratio: 1160 / 600; container-type: inline-size; }
.wordmark {
  position: absolute; left: 0; right: 0; top: -1%; z-index: 0;
  text-align: center;
  font-size: 15.5vw; font-size: 19.4cqw;
  font-weight: 700; font-stretch: 75%; letter-spacing: -.035em; line-height: .78;
  white-space: nowrap; user-select: none; pointer-events: none;
  background: linear-gradient(100deg, rgb(110 140 255 / .55) 10%, rgb(160 130 255 / .5) 50%, rgb(110 140 255 / .45) 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 40%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, rgb(0 0 0 / .55) 40%, transparent 78%);
}
.stage .frame { position: absolute; z-index: 1; }
.stage .frame-bar { font-size: clamp(6px, .95cqw, 11px); }
.s-left { left: 0; top: 24%; width: 53%; }
.s-right { right: 0; top: 33%; width: 53%; }
.s-left img { filter: brightness(.86); }
.stage .s-phone { position: absolute; z-index: 4; left: 50%; top: 3%; width: 21.5%; transform: translateX(-50%); }
.stage::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 36%; z-index: 3;
  background: linear-gradient(180deg, rgb(6 7 9 / 0), rgb(6 7 9 / .85) 62%, var(--bg));
  pointer-events: none;
}
@media (max-width: 640px) {
  .stage { aspect-ratio: 358 / 380; }
  .wordmark { top: 0; }
  .s-left { top: 18%; width: 80%; }
  .s-right { top: 49%; width: 80%; }
  .stage .s-phone { left: auto; right: 2%; top: 7%; width: 34%; transform: none; }
  .stage::after { height: 26%; }
}

/* ---------- Window and phone frames ---------- */
.frame {
  border-radius: 12px; overflow: hidden; background: #0f1116;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .1),
    0 2px 6px rgba(0, 0, 0, .4),
    0 40px 90px -24px rgba(0, 0, 0, .9);
}
.frame-bar {
  display: flex; align-items: center; gap: 1em;
  height: 2.75em; padding: 0 1.1em;
  background: #16191f; border-bottom: 1px solid rgba(255, 255, 255, .06);
  font: 500 .72rem/1 var(--mono); color: #8d93a1;
}
.frame-bar::before {
  content: ""; flex: none; width: 3.6em; height: .9em;
  background:
    radial-gradient(circle at .45em 50%, #3a3f4a .38em, transparent .42em),
    radial-gradient(circle at 1.8em 50%, #3a3f4a .38em, transparent .42em),
    radial-gradient(circle at 3.15em 50%, #3a3f4a .38em, transparent .42em);
}
.frame-title { flex: 1; min-width: 0; text-align: center; padding-right: 4.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; }

.phone {
  position: relative;
  border-radius: 17% / 7.9%;
  background: linear-gradient(155deg, #464a55 0%, #15171c 22%, #0a0b0e 60%, #2b2e36 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    0 0 0 1px rgba(0, 0, 0, .9),
    0 50px 100px -30px rgba(0, 0, 0, .95);
}
.phone img { width: 92.8%; margin: 3.6%; border-radius: 13.4% / 6.2%; }
.phone::after {
  content: ""; position: absolute; left: 50%; top: 2.9%; transform: translateX(-50%);
  width: 28%; height: 3.5%; border-radius: 999px; background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.stage .s-phone { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px rgba(0, 0, 0, .9), 0 50px 100px -30px rgba(0, 0, 0, .95), 0 0 140px -20px rgb(var(--accent-rgb) / .55); }

/* ---------- Product catalog ---------- */
.catalog { border-top: 1px solid var(--line); background: radial-gradient(50% 44% at 50% 0%, rgb(var(--accent-rgb) / .08), transparent 72%); }
.cat-group + .cat-group { margin-top: clamp(36px, 5vw, 56px); }
.cat-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font: 500 .72rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.cat-label::before, .cat-label::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.constellation { --g: clamp(14px, 2.4vw, 26px); list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.constellation li { display: flex; justify-content: center; }
.cat-group.apps .constellation li { flex: 0 0 calc((100% - 8 * var(--g)) / 9); }
.cat-group.apps .ico { width: 100%; max-width: 112px; }
.cat-group.apps .ico img { width: 100%; }
@media (max-width: 999px) { .cat-group.apps .constellation li { flex-basis: calc((100% - 4 * var(--g)) / 5); } }
@media (max-width: 599px) { .cat-group.apps .constellation li { flex-basis: calc((100% - 2 * var(--g)) / 3); } .cat-group.apps .ico { max-width: 92px; } }
.ico {
  position: relative; isolation: isolate; display: block; border-radius: 26%;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .6));
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
.ico::before {
  content: ""; position: absolute; inset: 12% 12% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgb(var(--glow, var(--accent-rgb)) / .55), transparent 70%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.ico img { display: block; width: clamp(72px, 9.5vw, 112px); height: auto; }
.cat-group.dev .ico img { width: clamp(100px, 11.5vw, 136px); }
.ico:hover { transform: translateY(-6px) scale(1.04); }
.ico:hover::before { opacity: 1; }
.ico:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 6px; }
.tile .pill { margin-top: auto; padding-inline: 9px; font-size: .66rem; }

/* ---------- Developer product showcases ---------- */
.showcase {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) 0;
  border-radius: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 55% at 88% 0%, rgb(var(--glow) / .16), transparent 72%),
    radial-gradient(70% 50% at 50% 100%, rgb(var(--glow) / .14), transparent 72%),
    linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
}
.showcase + .showcase { margin-top: clamp(20px, 2.4vw, 28px); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.product-id { display: flex; align-items: center; gap: 16px; }
.product-id img {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 14px 32px -12px rgb(var(--glow) / .8);
}
.product-id h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-stretch: 88%; letter-spacing: -.035em; line-height: 1; }
.product-id .kind { margin-top: 8px; }
.showcase-intro > .pill { margin-top: 24px; }
.pitch { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--soft); }
.showcase .links { margin-top: 28px; }
.proof { list-style: none; border-top: 1px solid var(--line); }
.proof li {
  position: relative; padding: 15px 0 15px 34px;
  border-bottom: 1px solid var(--line);
  font-size: .98rem; line-height: 1.5; color: var(--muted);
}
.proof li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgb(var(--glow) / .14); box-shadow: inset 0 0 0 1px rgb(var(--glow) / .35);
}
.proof li::after {
  content: ""; position: absolute; left: 7px; top: 22px;
  width: 5px; height: 9px; border: solid rgb(var(--glow)); border-width: 0 1.75px 1.75px 0;
  transform: rotate(45deg);
}
.meta {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 32px;
  margin-top: clamp(32px, 4vw, 52px);
}
.meta div { padding-top: 16px; border-top: 1px solid var(--line-2); }
.meta dt { font: 500 .7rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.meta dd { margin-top: 6px; font-size: .95rem; line-height: 1.5; color: var(--soft); }
.showcase-media { max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; }
.showcase-media .frame {
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 -10px 80px -20px rgb(var(--glow) / .35);
}
@media (max-width: 920px) {
  .showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .meta { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
}
@media (max-width: 520px) {
  .meta { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .proof li { font-size: .95rem; }
}

/* ---------- iPhone apps ---------- */
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.app-feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 55% at 50% 100%, rgb(var(--glow) / .24), transparent 72%),
    linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
}
.app-feature .body { padding: clamp(26px, 4vw, 48px) clamp(22px, 4vw, 48px) 0; }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-head img {
  width: 56px; height: 56px; border-radius: 14px; flex: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 14px 32px -12px rgb(var(--glow) / .8);
}
.app-head h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-stretch: 88%; letter-spacing: -.03em; line-height: 1.05; }
.app-head .kind { margin-top: 6px; }
.app-feature .pill { margin-top: 22px; }
.app-feature .desc { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.app-feature .media {
  margin-top: auto; padding-top: clamp(36px, 5vw, 56px);
  height: clamp(330px, 36vw, 470px);
  display: flex; justify-content: center; align-items: flex-start; overflow: hidden;
}
.app-feature .phone { width: min(64%, 290px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 0 0 1px rgba(0, 0, 0, .9), 0 -10px 90px -10px rgb(var(--glow) / .35); }
@media (max-width: 760px) { .featured { grid-template-columns: minmax(0, 1fr); } }

.lab { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lab-head { padding: 6px 12px 12px 0; }
.lab-head h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.35rem); font-stretch: 88%; letter-spacing: -.03em; line-height: 1.05; }
.lab-head p { margin-top: 14px; color: var(--muted); font-size: 1rem; max-width: 26ch; }
.lab-card {
  display: flex; flex-direction: column;
  padding: 22px 22px 20px; border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  transition: border-color .3s var(--ease);
}
.lab-card:hover { border-color: var(--line-2); }
.lab-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.lab-top img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.lab-card h4 { margin-top: 18px; font-size: 1.15rem; }
.lab-card h4 .tag { margin-left: 4px; }
.lab-card .kind { margin-top: 4px; font-size: .72rem; }
.lab-card .desc { margin-top: 12px; font-size: .93rem; line-height: 1.55; color: var(--muted); }
.lab-card .arrow { margin-top: auto; padding-top: 18px; font-size: .92rem; align-self: flex-start; }
@media (max-width: 1099px) { .lab { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lab { grid-template-columns: minmax(0, 1fr); } .lab-head { padding-right: 0; } }

.note {
  margin-top: 32px; padding: 18px 22px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  font-size: .9rem; line-height: 1.6; color: var(--muted);
}

/* ---------- Studio ---------- */
.studio {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(50% 60% at 50% 100%, rgb(var(--accent-rgb) / .1), transparent 72%),
    var(--bg-raise);
}
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin: 0 auto; border-block: 1px solid var(--line); }
.stats li { padding: clamp(32px, 4vw, 48px) 20px; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong {
  display: block;
  font-size: clamp(5rem, 3rem + 8vw, 10rem); font-weight: 600; font-stretch: 75%;
  letter-spacing: -.05em; line-height: .86;
  background: linear-gradient(180deg, #ffffff 25%, rgb(169 182 255 / .55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats span { display: block; max-width: 24ch; margin: 18px auto 0; font-size: .97rem; line-height: 1.5; color: var(--muted); }
.studio-note { max-width: 62ch; margin: clamp(36px, 4vw, 52px) auto 0; text-align: center; color: var(--muted); }
@media (max-width: 640px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Approach ---------- */
.principles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: p; }
.principles li {
  counter-increment: p;
  padding: 26px 24px 28px; border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}
.principles li::before {
  content: counter(p, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 36px; border-radius: 10px;
  border: 1px solid rgb(var(--accent-rgb) / .35); background: rgb(var(--accent-rgb) / .1);
  font: 500 .78rem/1 var(--mono); color: var(--accent-2);
}
.principles h3 { font-size: 1.2rem; }
.principles p { margin-top: 10px; font-size: .95rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 1060px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .principles { grid-template-columns: minmax(0, 1fr); } .principles li::before { margin-bottom: 20px; } }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.panel {
  padding: clamp(24px, 3.5vw, 40px); border-radius: 24px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.panel .kicker { margin-bottom: 10px; }
.panel h3 { margin-bottom: 22px; font-size: clamp(1.45rem, 1.15rem + 1vw, 1.85rem); font-stretch: 88%; letter-spacing: -.03em; }
.rows div, .roadmap li { display: grid; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.5; }
.rows div { grid-template-columns: 6rem minmax(0, 1fr); }
.roadmap { list-style: none; }
.roadmap li { grid-template-columns: 7.5rem minmax(0, 1fr); color: var(--muted); }
.rows dt { font: 500 .7rem/2.1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.rows dd { color: var(--soft); }
.roadmap b { font: 600 .78rem/1.9 var(--mono); color: var(--text); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .rows div, .roadmap li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- Contact and call-to-action bands ---------- */
.contact, .accent-band {
  position: relative; isolation: isolate; overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(48% 70% at 50% 108%, rgb(var(--accent-rgb) / .5), transparent 72%),
    radial-gradient(80% 60% at 50% 120%, rgb(140 110 255 / .22), transparent 72%),
    var(--bg-raise);
}
.contact::before, .accent-band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .6), transparent);
}
.contact { padding-block: clamp(104px, 14vw, 184px); text-align: center; }
.contact h2 { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6rem); line-height: .98; letter-spacing: -.045em; }
.contact .mail {
  display: inline-block; margin-top: clamp(22px, 3vw, 36px);
  font-size: clamp(1.35rem, .85rem + 2.6vw, 3rem); font-weight: 600; font-stretch: 92%; letter-spacing: -.03em;
  color: var(--accent-2);
  text-decoration: underline; text-decoration-color: rgb(169 182 255 / .35); text-decoration-thickness: 2px; text-underline-offset: .2em;
  transition: color .25s, text-decoration-color .25s;
}
.contact .mail:hover { color: #fff; text-decoration-color: #fff; }
.accent-band p.lead { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { padding-block: 36px 44px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); background: var(--bg); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand img { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Text pages (privacy, legal) ---------- */
.doc {
  position: relative; isolation: isolate;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
}
.doc::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 420px; z-index: -1;
  background: radial-gradient(50% 70% at 50% 0%, rgb(var(--accent-rgb) / .14), transparent 72%);
}
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -.04em; }
.doc .kicker { margin: 0 0 18px; color: var(--accent-2); }
.doc .updated { margin-top: 16px; font: 500 .78rem/1.5 var(--mono); color: var(--faint); }
.doc h2 { margin-top: 52px; font-size: 1.5rem; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.2; }
.doc h3 { margin-top: 28px; font-size: 1.1rem; }
.doc p, .doc ul, .doc ol, .doc dl { margin-top: 14px; color: var(--muted); }
.doc .intro { margin-top: 24px; font-size: 1.15rem; color: var(--text); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li + li { margin-top: 6px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .facts {
  margin-top: 36px; padding: 6px 24px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .025);
}
.doc .facts div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; }
.doc .facts div + div { border-top: 1px solid var(--line); }
.doc .facts dt { font: 500 .72rem/2 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.doc .facts dd { color: var(--text); }
@media (max-width: 520px) { .doc .facts { padding-inline: 18px; } .doc .facts div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.notfound {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  padding-block: clamp(88px, 14vw, 168px);
  text-align: center;
}
.notfound::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(46% 60% at 50% 40%, rgb(var(--accent-rgb) / .18), transparent 72%);
}
.notfound .wrap { display: flex; flex-direction: column; align-items: center; }
.notfound .kicker {
  font: 700 clamp(6rem, 3rem + 14vw, 13rem)/.8 var(--sans); font-stretch: 75%; letter-spacing: -.05em; text-transform: none;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgb(190 200 255 / .8), rgb(169 182 255 / .12));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); }
.notfound .lead { margin-top: 20px; }
.notfound .actions { justify-content: center; }

/* ---------- Product pages ---------- */
.p-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(28px, 4vw, 48px) clamp(80px, 10vw, 128px);
  text-align: center;
}
.p-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 46% at 50% 30%, rgb(var(--accent-rgb) / .2), transparent 72%),
    radial-gradient(70% 40% at 50% 0%, rgb(var(--accent-rgb) / .1), transparent 72%);
}
.p-hero .wrap > div { display: flex; flex-direction: column; align-items: center; }
.back {
  align-self: flex-start; display: inline-flex; gap: 6px;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: none;
}
.back:hover { color: var(--text); }
.app-icon {
  width: 104px; height: 104px; border-radius: 25px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px -20px rgb(var(--accent-rgb) / .7);
}
.p-hero h1 { margin-top: 32px; font-size: clamp(3rem, 1.4rem + 6.4vw, 6.4rem); letter-spacing: -.045em; line-height: .96; }
.p-hero .kind { margin-top: 20px; }
.p-hero .lead { margin-top: 22px; color: var(--soft); font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); line-height: 1.5; max-width: 36em; }
.availability { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 28px; font-size: .95rem; color: var(--muted); }
.p-hero .actions { justify-content: center; }

.section.tint {
  border-block: 1px solid var(--line);
  background: var(--bg-raise);
}
.features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: f; }
.features li {
  counter-increment: f;
  padding: 26px 24px 28px; border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}
.features li::before {
  content: counter(f, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 28px; border-radius: 10px;
  border: 1px solid rgb(var(--accent-rgb) / .35); background: rgb(var(--accent-rgb) / .1);
  font: 500 .78rem/1 var(--mono); color: var(--accent-2);
}
.features h3 { font-size: 1.18rem; }
.features p { margin-top: 10px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

.privacy-block {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px);
}
.privacy-block h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); }
.privacy-block .text p { color: var(--muted); font-size: 1.05rem; }
.privacy-block .text p:first-child { color: var(--text); font-size: clamp(1.12rem, 1rem + .45vw, 1.32rem); line-height: 1.5; }
.privacy-block .note { margin-top: 28px; font-size: .9rem; }
@media (max-width: 820px) { .privacy-block { grid-template-columns: minmax(0, 1fr); } }

.cta-band { padding-block: clamp(80px, 10vw, 136px); }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta-band h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); max-width: 16ch; margin-inline: auto; }
.cta-band p.lead { margin: 16px auto 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ico:hover { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
