/* DevOpZone — static site styles (v2). 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;
}

:root {
  color-scheme: light 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: #f7f7f4;
  --bg-alt: #eeeee8;
  --surface: #ffffff;
  --text: #11131a;
  --muted: #555b69;
  --faint: #6b7180;
  --border: #e0e0d8;
  --border-strong: #cfcfc6;
  --accent: #2f4be0;
  --accent-hover: #2539b8;
  --accent-ink: #ffffff;
  --accent-soft: #e7eafc;
  --band-a: #2f4be0;
  --band-b: #1c2c96;
  --shadow: 0 1px 2px rgba(17, 19, 26, .05), 0 12px 32px -12px rgba(17, 19, 26, .14);

  --live: #12703d;   --live-bg: #e1f3e8;
  --rc: #835400;     --rc-bg: #fbefd6;
  --store: #2f4be0;  --store-bg: #e7eafc;
  --beta: #6837b8;   --beta-bg: #efe8fb;
  --dev: #505665;    --dev-bg: #e9e9e3;

  --radius: 16px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e12;
    --bg-alt: #12151b;
    --surface: #161a21;
    --text: #eceef3;
    --muted: #a3a9b7;
    --faint: #8d94a3;
    --border: #252a34;
    --border-strong: #343a47;
    --accent: #7088ff;
    --accent-hover: #93a5ff;
    --accent-ink: #0c0e12;
    --accent-soft: #1a2045;
    --band-a: #2a43cf;
    --band-b: #172377;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .6);

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

/* App-branded mini-sites reuse the system with their own accent. */
.theme-sundre {
  --accent: #2f6b4e; --accent-hover: #24553d; --accent-soft: #e2efe7;
  --band-a: #2f6b4e; --band-b: #1d4532;
}
.theme-klozby {
  --accent: #6d28d9; --accent-hover: #5b21b6; --accent-soft: #efe8fd;
  --band-a: #7c3aed; --band-b: #4c1d95;
}
@media (prefers-color-scheme: dark) {
  .theme-sundre { --accent: #7cc49d; --accent-hover: #9dd6b6; --accent-soft: #15281f; --band-a: #2f6b4e; --band-b: #173426; }
  .theme-klozby { --accent: #b39bff; --accent-hover: #c9b8ff; --accent-soft: #221a3d; --band-a: #6d28d9; --band-b: #3b1679; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  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;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::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: 85%; letter-spacing: -.03em; line-height: 1.04; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.012em; }
h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }
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); }

.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: 50;
  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 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font: 500 .75rem/1.4 var(--mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); flex: none; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 62ch; }

/* Buttons and links */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  background: transparent; color: var(--text);
  font: 600 .98rem/1 var(--sans); text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { border-color: var(--text); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.arrow:hover { text-decoration: underline; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }

/* Status pills */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px 4px 9px; border-radius: 999px;
  font: 500 .72rem/1.3 var(--mono); letter-spacing: .01em; white-space: nowrap;
  color: var(--dev); background: var(--dev-bg);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.pill.live { color: var(--live); background: var(--live-bg); }
.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; margin-left: 6px; padding: 1px 7px; vertical-align: 2px;
  border: 1px solid var(--border-strong); border-radius: 6px;
  font: 500 .68rem/1.4 var(--mono); color: var(--muted); letter-spacing: 0; white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 247, 244, .86);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) { .site-header { background: rgba(12, 14, 18, .86); background: color-mix(in srgb, var(--bg) 86%, transparent); } }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; 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; }
.brand span { font-weight: 650; font-stretch: 87.5%; font-size: 1.16rem; letter-spacing: -.02em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 999px; color: var(--muted); font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a.cta { margin-left: 6px; padding: 9px 16px; background: var(--text); color: var(--bg); font-weight: 600; }
.nav a.cta:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }
@media (max-width: 374px) { .nav .hide-xs { display: none; } }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section.tint { background: var(--bg-alt); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.05rem, 1.25rem + 3vw, 3.5rem); }
.section-head p:not(.kicker) { margin-top: 18px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.subhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.subhead h3 { font-size: 1.5rem; font-stretch: 87.5%; letter-spacing: -.02em; }
.subhead p { color: var(--muted); font-size: .98rem; }

/* Hero */
.hero { padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(56px, 7vw, 96px); overflow: hidden; }
.hero h1 { font-size: clamp(2.45rem, 1.2rem + 5.2vw, 5.1rem); max-width: 16ch; }
.hero h1 .soft { color: var(--muted); }
.hero .lead { margin-top: 26px; }
.hero .lead a { color: var(--text); text-decoration-color: var(--border-strong); }
.hero .lead a:hover { text-decoration-color: var(--accent); }

.stage {
  position: relative; overflow: hidden;
  margin-top: clamp(44px, 6vw, 80px);
  aspect-ratio: 16 / 9.6;
  border-radius: clamp(14px, 2vw, 24px);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .16), transparent 55%),
    linear-gradient(155deg, var(--band-a) 0%, var(--band-b) 100%);
  isolation: isolate;
}
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.stage .frame { position: absolute; }
.stage .f1 { left: 5%; top: 8%; width: 70%; }
.stage .f2 { right: 4.5%; top: 36%; width: 58%; }
.stage-figure { margin: 0; }
.stage-cap { margin-top: 14px; font: 500 .74rem/1.5 var(--mono); color: var(--faint); }
@media (max-width: 640px) {
  .stage { aspect-ratio: 4 / 4.1; }
  .stage .f1 { left: 5%; top: 7%; width: 88%; }
  .stage .f2 { right: 5%; top: 47%; width: 80%; }
}

.status-index {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px; border-top: 1px solid var(--border);
}
.status-index div { padding: 18px 16px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.status-index dt { font-weight: 600; font-size: 1rem; }
.status-index dd { display: flex; }
@media (max-width: 760px) { .status-index { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } }

/* Window, browser and phone frames */
.frame {
  container-type: inline-size;
  border-radius: 10px; overflow: hidden;
  background: var(--frame-bg, #fff);
  box-shadow: 0 0 0 1px rgba(10, 14, 30, .1), 0 2px 6px rgba(10, 14, 30, .08), 0 28px 60px -24px rgba(8, 12, 40, .5);
}
.frame.light { --frame-bg: #ffffff; --frame-bar: #eef0f4; --frame-ink: #5b6170; --frame-dot: #cdd1d9; --frame-url: #ffffff; }
.frame.dark { --frame-bg: #0f1217; --frame-bar: #1a1e26; --frame-ink: #9aa3b5; --frame-dot: #3b414e; --frame-url: #252a34; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 6px rgba(0, 0, 0, .2), 0 28px 60px -24px rgba(0, 0, 0, .7); }
.frame-bar {
  display: flex; align-items: center; gap: 1em;
  height: clamp(16px, 4.6cqi, 34px); padding: 0 1.1em;
  background: var(--frame-bar); color: var(--frame-ink);
  font: 500 clamp(6.5px, 1.75cqi, 12px)/1 var(--mono);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.frame-bar::before {
  content: ""; flex: none; width: 4.2em; height: 1em;
  background:
    radial-gradient(circle at .5em 50%, var(--frame-dot) .42em, transparent .46em),
    radial-gradient(circle at 2.1em 50%, var(--frame-dot) .42em, transparent .46em),
    radial-gradient(circle at 3.7em 50%, var(--frame-dot) .42em, transparent .46em);
}
.frame-url { flex: 1; display: flex; justify-content: center; min-width: 0; padding-right: 4.2em; }
.frame-url span { padding: .45em 1.6em; border-radius: .6em; background: var(--frame-url); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-title { flex: 1; text-align: center; padding-right: 4.2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; }

.phone {
  width: 100%; max-width: 236px;
  padding: 9px; border-radius: 40px;
  background: #0b0d11;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 0 1px rgba(10, 14, 30, .25), 0 30px 60px -24px rgba(8, 12, 40, .55);
}
.phone img { border-radius: 31px; width: 100%; }

/* Developer products: an intentionally dark band in both modes */
.band {
  --bg: #0d1016; --bg-alt: #141821; --surface: #151a22;
  --text: #edf0f5; --muted: #a6adbb; --faint: #8e95a4;
  --border: #242a35; --border-strong: #38404e;
  --accent: #8a9cff; --accent-hover: #aab7ff; --accent-ink: #0d1016;
  --live: #5fd394;   --live-bg: rgba(95, 211, 148, .12);
  --rc: #f0bf62;     --rc-bg: rgba(240, 191, 98, .12);
  --dev: #aeb4c1;    --dev-bg: rgba(255, 255, 255, .07);
  background: var(--bg); color: var(--text);
}
@media (prefers-color-scheme: dark) {
  .band { --bg: #11151c; border-block: 1px solid #1f242e; }
}

.product {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "intro detail" "media media";
  gap: clamp(36px, 4vw, 56px) clamp(32px, 5vw, 80px); align-items: start;
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--border);
}
.product:first-of-type { border-top: 0; padding-top: 0; }
.product:last-child { padding-bottom: 0; }
.product-intro { grid-area: intro; }
.product-detail { grid-area: detail; }
.product-media { grid-area: media; }
.product-detail > .proof { margin-top: 6px; }
.product-id { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.product-id img { width: 44px; height: 44px; border-radius: 11px; }
.product-id h3 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); font-stretch: 85%; letter-spacing: -.03em; line-height: 1; }
.kind { margin-top: 14px; font: 500 .78rem/1.4 var(--mono); color: var(--muted); letter-spacing: .02em; }
.product .pitch { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: var(--text); }

.proof { list-style: none; margin-top: 24px; display: grid; gap: 11px; }
.proof li { position: relative; padding-left: 28px; font-size: .97rem; line-height: 1.5; color: var(--muted); }
.proof li::before {
  content: ""; position: absolute; left: 3px; top: .38em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.meta { margin-top: 28px; border-top: 1px solid var(--border); }
.meta div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.meta dt { font: 500 .72rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.meta dd { font-size: .95rem; line-height: 1.5; }
.product .links { margin-top: 24px; }

@media (max-width: 920px) {
  .product { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "media" "detail"; row-gap: 32px; }
  .product-detail > .proof { margin-top: 0; }
}
@media (max-width: 480px) {
  .meta div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* iPhone apps */
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.app-feature {
  display: flex; flex-direction: column;
  border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
}
.app-feature .body { flex: 1; padding: clamp(24px, 3.2vw, 40px) clamp(22px, 3.2vw, 40px) 0; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head img { width: 56px; height: 56px; border-radius: 13px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.app-head h3 { font-size: 1.6rem; font-stretch: 87.5%; letter-spacing: -.025em; line-height: 1.1; }
.app-head .kind { margin-top: 4px; }
.app-feature .pill { margin-top: 20px; }
.app-feature p.desc { margin-top: 14px; color: var(--muted); }
.app-feature .media {
  margin-top: 32px; height: clamp(250px, 30vw, 340px); overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start;
  background: linear-gradient(180deg, transparent, var(--accent-soft));
}
.app-feature .phone { max-width: 220px; }
@media (max-width: 760px) { .featured { grid-template-columns: minmax(0, 1fr); } }

.lab { margin-top: clamp(56px, 7vw, 88px); }
.lab-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); margin-top: 20px; border-top: 1px solid var(--border-strong); }
.lab-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.lab-list img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.lab-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.lab-list .kind { margin-top: 2px; font-size: .74rem; color: var(--faint); }
.lab-list p { margin-top: 8px; font-size: .95rem; line-height: 1.55; color: var(--muted); }
.lab-list .arrow { display: inline-block; margin-top: 10px; font-size: .93rem; }
@media (max-width: 860px) { .lab-list { grid-template-columns: minmax(0, 1fr); } }

.note {
  margin-top: 32px; padding-left: 16px; max-width: 78ch;
  border-left: 2px solid var(--border-strong);
  font-size: .9rem; line-height: 1.6; color: var(--muted);
}

/* How we work */
.principles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(32px, 5vw, 72px); counter-reset: p; }
.principles li { counter-increment: p; padding-top: 20px; border-top: 1px solid var(--border-strong); }
.principles li::before { content: counter(p, decimal-leading-zero); display: block; margin-bottom: 14px; font: 500 .8rem/1 var(--mono); color: var(--accent); }
.principles h3 { font-size: 1.35rem; font-stretch: 87.5%; letter-spacing: -.02em; }
.principles p { margin-top: 10px; color: var(--muted); }
@media (max-width: 700px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* Technology and roadmap */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 96px); }
.split h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 28px; }
.rows { border-top: 1px solid var(--border-strong); }
.rows div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.rows dt { font: 500 .74rem/1.9 var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.rows dd { font-size: .98rem; }
.roadmap { list-style: none; border-top: 1px solid var(--border-strong); }
.roadmap li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: .98rem; }
.roadmap b { font: 600 .8rem/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; }
}

/* Company */
.company { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.company h2 { font-size: clamp(2.05rem, 1.25rem + 3vw, 3.5rem); margin-bottom: 28px; }
.company .prose p:not(.kicker) { font-size: 1.08rem; color: var(--muted); }
.company .prose p.intro { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; color: var(--text); letter-spacing: -.01em; }
.facts-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.facts-card h3 { font: 500 .75rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.facts-card div { padding: 12px 0; border-bottom: 1px solid var(--border); }
.facts-card div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts-card dt { font-size: .82rem; color: var(--faint); }
.facts-card dd { margin-top: 2px; font-weight: 500; }
@media (max-width: 900px) { .company { grid-template-columns: minmax(0, 1fr); } }

/* Accent band (contact and calls to action) */
.accent-band {
  color: #fff;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%),
    linear-gradient(150deg, var(--band-a), var(--band-b));
}
.accent-band .kicker { color: rgba(255, 255, 255, .82); }
.accent-band .kicker::before { background: #fff; }
.accent-band h2 { color: #fff; }
.accent-band p.lead { color: rgba(255, 255, 255, .88); }
.accent-band a:focus-visible { outline-color: #fff; }
.contact h2 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem); }
.contact p.lead { margin-top: 18px; }
.contact .mail {
  display: inline-block; margin-top: 30px;
  font-size: clamp(1.35rem, 1rem + 1.8vw, 2.25rem); font-weight: 600; font-stretch: 87.5%; letter-spacing: -.02em;
  color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-decoration-thickness: 2px; text-underline-offset: .18em;
}
.contact .mail:hover { color: #fff; text-decoration-color: #fff; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .38); font-size: .92rem; color: #fff; }

/* Footer */
.site-footer { padding-block: 40px 48px; border-top: 1px solid var(--border); font-size: .92rem; color: var(--muted); }
.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; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* Legal and text pages */
.doc { padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 112px); }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.6rem); }
.doc .updated { margin-top: 14px; font: 500 .8rem/1.5 var(--mono); color: var(--muted); }
.doc h2 { margin-top: 48px; font-size: 1.45rem; font-stretch: 87.5%; 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 { border-top: 1px solid var(--border); }
.doc .facts div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.doc .facts dt { font-size: .9rem; color: var(--faint); }
.doc .facts dd { color: var(--text); }
@media (max-width: 520px) { .doc .facts div { grid-template-columns: minmax(0, 1fr); } }

.notfound { padding-block: clamp(80px, 14vw, 160px); }
.notfound h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.notfound .lead { margin-top: 20px; }

/* Product pages and app mini-sites */
.p-hero { padding-block: clamp(36px, 6vw, 88px) clamp(56px, 8vw, 104px); }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.p-hero.has-media .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.back { display: inline-flex; gap: 6px; margin-bottom: clamp(28px, 4vw, 48px); font-size: .92rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.app-icon { width: 88px; height: 88px; border-radius: 21px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), var(--shadow); }
.p-hero h1 { margin-top: 28px; font-size: clamp(2.8rem, 1.6rem + 5vw, 5.4rem); }
.p-hero .kind { margin-top: 22px; }
.p-hero .lead { margin-top: 20px; color: var(--text); font-size: clamp(1.15rem, 1.02rem + .6vw, 1.45rem); line-height: 1.45; max-width: 34em; }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; font-size: .95rem; color: var(--muted); }
.p-media { display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.p-media .phone { max-width: 230px; }
.p-media .phone + .phone { margin-top: 56px; }
@media (max-width: 860px) {
  .p-hero.has-media .wrap { grid-template-columns: minmax(0, 1fr); }
  .p-media .phone { max-width: 200px; }
}
@media (max-width: 420px) {
  .p-media { gap: 12px; }
  .p-media .phone { padding: 7px; border-radius: 30px; }
  .p-media .phone img { border-radius: 24px; }
  .p-media .phone + .phone { margin-top: 36px; }
}

.features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 44px) clamp(24px, 4vw, 56px); counter-reset: f; }
.features li { counter-increment: f; padding-top: 18px; border-top: 1px solid var(--border-strong); }
.features li::before { content: counter(f, decimal-leading-zero); display: block; margin-bottom: 12px; font: 500 .78rem/1 var(--mono); color: var(--accent); }
.features h3 { font-size: 1.2rem; }
.features p { margin-top: 8px; color: var(--muted); font-size: .98rem; }
@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(1.9rem, 1.3rem + 2vw, 2.8rem); }
.privacy-block .text p { color: var(--muted); font-size: 1.05rem; }
.privacy-block .text p:first-child { color: var(--text); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.privacy-block .note { margin-top: 28px; }
@media (max-width: 820px) { .privacy-block { grid-template-columns: minmax(0, 1fr); } }

.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 18ch; }
.cta-band p.lead { margin-top: 12px; }
.btn.on-band { background: #fff; border-color: #fff; color: #11131a; }
.btn.on-band:hover { background: rgba(255, 255, 255, .88); border-color: transparent; color: #11131a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Klozby hero board: a typographic panel built from the app's real question and reaction labels */
.k-board {
  justify-self: center; width: 100%; max-width: 420px;
  padding: clamp(24px, 4vw, 36px); border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(155deg, var(--band-a), var(--band-b));
  box-shadow: var(--shadow);
}
.k-q { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); font-weight: 600; font-stretch: 85%; letter-spacing: -.03em; line-height: 1; }
.k-looks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.k-looks span {
  display: flex; align-items: flex-end; aspect-ratio: 3 / 4; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font: 500 .8rem/1 var(--mono); letter-spacing: .06em;
}
.k-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.k-chips li { padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .4); font-size: .9rem; font-weight: 500; }
.k-chips li.on { background: #fff; border-color: #fff; color: var(--band-b); }
