/* ==========================================================================
   SwiftX — marketing site
   One stylesheet, no framework. Sections alternate between night and paper
   the way a product page does; the orbit itself is drawn by site.js.
   ========================================================================== */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --paper-3: #e8e8ed;
  --line: #d2d2d7;
  --night: #000000;
  --night-2: #0b0b0d;
  --night-card: #161618;
  --night-line: #2c2c2e;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a6;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;

  /* The mark's own six stops, in the order the petals turn. */
  --pink: #ff0a76;
  --amber: #ffd510;
  --teal: #2cd098;
  --cobalt: #1d4adb;
  --magenta: #f1067e;
  --steel: #1a65b5;
  --brand: linear-gradient(90deg, #ff0a76 0%, #ff7a3d 18%, #ffc21a 32%, #2cd098 52%, #1d6adb 72%, #8a3fd1 86%, #f1067e 100%);

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: 22px;
  --nav-h: 52px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Inter, self-hosted (SIL OFL 1.1, see assets/fonts/OFL.txt). A privacy-first
   app's site has no business asking a font CDN for anything. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  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;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

html { background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
code, kbd, pre { font-family: var(--mono); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Type scale -------------------------------------------------------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 21px; font-weight: 600; letter-spacing: .004em; margin: 0 0 14px;
}
.eyebrow-brand {
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.headline {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; margin: 0;
}
.title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.07; font-weight: 700; letter-spacing: -0.028em; margin: 0;
}
.subtitle {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0;
}
.lede {
  font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; font-weight: 500;
  letter-spacing: -0.015em; color: var(--ink-2); margin: 18px 0 0;
}
.lede strong { color: var(--ink); font-weight: 600; }
.grad {
  background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 760px; }

.section { padding: clamp(88px, 12vw, 150px) 0; position: relative; background: var(--paper); }
.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .eyebrow { font-size: 17px; color: var(--ink-2); }

.night { background: var(--night); color: var(--night-ink); }
.night .lede { color: var(--night-ink-2); }
.night .lede strong { color: var(--night-ink); }
.night a { color: var(--link-dark); }
.night .section-head .eyebrow { color: var(--night-ink-2); }
.paper-2 { background: var(--paper-2); }

/* ---- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 980px; border: 0;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s var(--ease-out), box-shadow .2s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff !important; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: transparent; color: var(--link) !important; box-shadow: inset 0 0 0 1px currentColor; }
.btn-ghost:hover { background: var(--link); color: #fff !important; box-shadow: none; }
.night .btn-ghost { color: var(--link-dark) !important; }
.night .btn-ghost:hover { background: var(--link-dark); color: #000 !important; }
.btn-sm { min-height: 30px; padding: 0 14px; font-size: 13px; font-weight: 500; }
.btn svg { width: 18px; height: 18px; }

.link-arrow { font-size: 19px; font-weight: 400; display: inline-flex; gap: 4px; align-items: center; }
.link-arrow::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); }

kbd, .key {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.9em; height: 1.9em; padding: 0 .5em; border-radius: .45em;
  font-family: var(--font); font-size: .8em; font-weight: 600; letter-spacing: 0;
  background: linear-gradient(#fff, #f2f2f5); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 1.5px 0 rgba(0,0,0,.18);
  vertical-align: .08em;
}
.night kbd, .night .key {
  background: linear-gradient(#3a3a3c, #2a2a2c); color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 1.5px 0 rgba(0,0,0,.6);
}

/* ---- Global nav -------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(0,0,0,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: var(--night-ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .3s, color .3s, border-color .3s;
}
.nav.is-light {
  background: rgba(251,251,253,.78); color: var(--ink);
  border-bottom-color: rgba(0,0,0,.08);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px; color: inherit !important;
  font-size: 21px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none !important;
}
.brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 26px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { color: inherit; opacity: .8; font-size: 12.5px; letter-spacing: -0.01em; text-decoration: none; }
.nav-links a:hover { opacity: 1; }
.nav .btn-sm { margin-left: 4px; }
.nav-toggle {
  display: none; margin-left: auto; width: 36px; height: 36px; border: 0; background: none;
  cursor: pointer; color: inherit; padding: 0;
}
.nav-toggle svg { width: 18px; height: 18px; margin: auto; transition: transform .3s var(--ease-out); }
.nav[data-open="true"] .nav-toggle svg { transform: rotate(180deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 18px;
    background: inherit; -webkit-backdrop-filter: inherit; backdrop-filter: inherit;
    border-bottom: inherit;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
  }
  .nav[data-open="true"] .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(128,128,128,.2); }
  .nav .btn-sm { margin-left: 0; }
}

/* ---- The mark ---------------------------------------------------------- */

.mark .petal { transform-box: fill-box; }
.mark-anim .petal {
  animation: petal-in .9s var(--ease-spring) both;
  animation-delay: calc(var(--beat) * 90ms + var(--mark-delay, 0ms));
}
.mark-anim {
  animation: mark-turn 1.1s var(--ease-out) both;
  animation-delay: var(--mark-delay, 0ms);
}
.mark .p0 { --beat: 0; transform-origin: 100% 100%; }
.mark .p1 { --beat: 1; transform-origin: 0% 100%; }
.mark .p2 { --beat: 2; transform-origin: 0% 0%; }
.mark .p3 { --beat: 3; transform-origin: 100% 0%; }
@keyframes petal-in { from { transform: scale(0) rotate(-45deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mark-turn { from { transform: rotate(-90deg); } to { transform: none; } }

/* ---- Hero -------------------------------------------------------------- */

.hero {
  position: relative; padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 110px);
  text-align: center; overflow: clip;
}
.hero::before {
  /* A wash of the mark's colours behind the orbit, the way a wallpaper glows through glass. */
  content: ""; position: absolute; left: 50%; top: 58%; width: min(1100px, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side at 38% 42%, rgba(255,10,118,.28), transparent 70%),
    radial-gradient(closest-side at 62% 40%, rgba(44,208,152,.22), transparent 70%),
    radial-gradient(closest-side at 50% 64%, rgba(29,74,219,.34), transparent 72%);
  filter: blur(40px); opacity: .9; pointer-events: none;
}
.hero > * { position: relative; }
.hero .eyebrow { font-size: 19px; }
.hero .eyebrow svg { width: 26px; height: 26px; }
.hero .lede { max-width: 700px; margin-inline: auto; }
.hero-stage {
  position: relative; height: clamp(380px, 44vw, 520px); margin: 0 auto;
  max-width: 900px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.hero-hint {
  margin: 22px 0 0; font-size: 14px; color: var(--night-ink-2);
  display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap;
}
.hero-hint kbd { font-size: 12px; }
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--night-ink-2);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

@media (hover: none) { .only-keyboard { display: none !important; } }
@media (hover: hover) { .only-touch { display: none !important; } }

/* ==========================================================================
   The orbit
   Positions ride on --tx/--ty so the entrance, the flyout and the hover can
   all be plain transitions on transform. The face inside carries the look.
   ========================================================================== */

.orbit {
  --bubble: 56px;
  --glass: rgba(20,20,24,.46);
  --glass-edge: rgba(255,255,255,.14);
  --glyph: #fff;
  --invert-fill: #fff;
  --invert-glyph: #111;
  --pill-bg: rgba(28,28,30,.92);
  --pill-ink: #fff;
  --pill-edge: rgba(255,255,255,.14);
  --hover-tint: #111;
  --tint-glyph: #fff;
  --radius-shape: 50%;
  position: absolute; inset: 0;
  user-select: none; -webkit-user-select: none;
  touch-action: manipulation;
}
.orbit[data-theme="light"] {
  --glass: rgba(255,255,255,.72); --glass-edge: rgba(0,0,0,.08); --glyph: #1d1d1f;
  --invert-fill: #111; --invert-glyph: #fff;
  --pill-bg: rgba(255,255,255,.96); --pill-ink: #1d1d1f; --pill-edge: rgba(0,0,0,.1);
}
.orbit[data-theme="midnight"] {
  --glass: rgba(0,0,0,.84); --glass-edge: rgba(255,255,255,.1);
  --pill-bg: #000;
}
.orbit[data-theme="frosted"] {
  --glass: rgba(255,255,255,.14); --glass-edge: rgba(255,255,255,.38);
  --pill-bg: rgba(255,255,255,.18); --pill-edge: rgba(255,255,255,.4);
}
.orbit[data-shape="squircle"] { --radius-shape: 32%; }
.orbit[data-shape="square"] { --radius-shape: 16%; }

.orbit-layer { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: 0; height: 0; }
.orbit-scale { position: absolute; left: 0; top: 0; transform: scale(var(--fit, 1)); transform-origin: 0 0; }

.orbit-hub {
  position: absolute; left: 0; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)) drop-shadow(0 1px 2px rgba(0,0,0,.35));
  transition: transform .35s var(--ease-out);
}
.orbit-hub:hover { transform: scale(1.05); }
.orbit-hub svg { width: 100%; height: 100%; }
.orbit[data-theme="light"] .orbit-hub { filter: drop-shadow(0 6px 14px rgba(0,0,0,.2)); }
.orbit-hub .mark { transition: transform .6s var(--ease-out), opacity .4s; }
.orbit:not(.is-open) .orbit-hub .mark { transform: rotate(-90deg) scale(.86); }
.orbit-hub .petal { transition: transform .55s var(--ease-spring), opacity .35s; transition-delay: calc(var(--beat) * 70ms); }
.orbit:not(.is-open) .orbit-hub .petal { transform: scale(.55); opacity: .75; transition-delay: calc((3 - var(--beat)) * 50ms); }
.orbit.is-small-hub .orbit-hub { width: 44px; height: 44px; margin: -22px 0 0 -22px; }

.orb {
  --tx: 0px; --ty: 0px; --s: 1;
  position: absolute; left: 0; top: 0;
  width: var(--bubble); height: var(--bubble);
  margin: calc(var(--bubble) / -2) 0 0 calc(var(--bubble) / -2);
  padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--radius-shape);
  transform: translate(var(--tx), var(--ty)) scale(var(--s));
  transition:
    transform .62s var(--ease-spring) calc(var(--i, 0) * 38ms),
    opacity .3s ease calc(var(--i, 0) * 38ms),
    width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.orb.is-home { --s: .28; opacity: 0; pointer-events: none; }
.orbit:not(.is-open) .orb { --tx: 0px !important; --ty: 0px !important; --s: .28; opacity: 0; pointer-events: none;
  transition-delay: calc((8 - var(--i, 0)) * 18ms); transition-duration: .34s; }
.orb:focus-visible { outline-offset: 4px; border-radius: var(--radius-shape); }

.orb-face {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: var(--radius-shape);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--glass-edge), 0 8px 24px rgba(0,0,0,.22);
  color: var(--glyph);
  transition: background-color .22s, color .22s, transform .32s var(--ease-spring), border-radius .35s var(--ease-out), box-shadow .22s;
}
.orb-face svg { width: 42%; height: 42%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orb-face svg text { fill: currentColor; stroke: none; }

/* A group wears a short arc on its outward edge. */
.orb-arc {
  position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  transform: rotate(var(--deg, 0deg));
}
.orb-arc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2.5px solid transparent; border-top-color: var(--glyph); opacity: .9;
  -webkit-mask: conic-gradient(from -28deg, #000 0 56deg, transparent 56deg);
  mask: conic-gradient(from -28deg, #000 0 56deg, transparent 56deg);
}
.orbit[data-shape="square"] .orb-arc, .orbit[data-shape="squircle"] .orb-arc { inset: -7px; }

/* Hover styles ----------------------------------------------------------- */
.orbit[data-hover="invert"] .orb.is-hot .orb-face { background: var(--invert-fill); color: var(--invert-glyph); transform: scale(1.12); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.orbit[data-hover="invert"] .orb.is-hot .orb-arc::before { border-top-color: var(--invert-fill); }
.orbit[data-hover="zoom"] .orb.is-hot .orb-face { transform: scale(1.22); }
.orbit[data-hover="zoom"][data-zoom="out"] .orb.is-hot .orb-face { transform: scale(.84); }
.orbit[data-hover="tint"] .orb.is-hot .orb-face { background: var(--hover-tint); color: var(--tint-glyph); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.orbit[data-hover="animate"] .orb.is-hot .orb-face { animation: var(--motion, m-pulse) 1s ease-in-out infinite; }
.orbit .orb.is-close.is-hot .orb-face { background: #ef6f6f; color: #fff; }
.orbit .orb.is-close.is-hot .orb-face { transform: scale(.9); animation: none; }
.orbit[data-hover="zoom"] .orb.is-close.is-hot .orb-face { transform: scale(.9); }

@keyframes m-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes m-bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-18%); } 55% { transform: translateY(0); } 72% { transform: translateY(-7%); } }
@keyframes m-wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 45% { transform: rotate(9deg); } 70% { transform: rotate(-5deg); } }
@keyframes m-shake { 0%, 100% { transform: translateX(0); } 15%, 45%, 75% { transform: translateX(-7%); } 30%, 60%, 90% { transform: translateX(7%); } }
@keyframes m-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes m-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12%); } }

/* The hover pill, along the item's own radial so it never covers it. */
.orbit-pill {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
  background: var(--pill-bg); color: var(--pill-ink);
  box-shadow: inset 0 0 0 1px var(--pill-edge), 0 6px 18px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translate(var(--px), var(--py)) translate(var(--sx), var(--sy)) scale(.92);
  transition: opacity .16s, transform .22s var(--ease-out);
}
.orbit-pill.is-on { opacity: 1; transform: translate(var(--px), var(--py)) translate(var(--sx), var(--sy)); }

.orbit-empty-hint {
  position: absolute; left: 50%; top: calc(50% + 58px); transform: translateX(-50%);
  font-size: 13px; color: var(--night-ink-2); opacity: 0; transition: opacity .4s .3s; white-space: nowrap;
}
.orbit:not(.is-open) + .orbit-empty-hint { opacity: 1; }

/* ---- Full-screen summon (Ctrl+Shift+X on the page) --------------------- */

.summon {
  position: fixed; inset: 0; z-index: 80; visibility: hidden;
  background: rgba(0,0,0,0);
  transition: background-color .35s, visibility 0s .4s;
}
.summon.is-up {
  visibility: visible; background: rgba(0,0,0,.34);
  transition: background-color .35s, visibility 0s;
}
.summon::after {
  content: "Esc to dismiss"; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 13px; color: rgba(255,255,255,.75); background: rgba(0,0,0,.45); padding: 6px 12px; border-radius: 99px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 500;
  background: rgba(29,29,31,.92); color: #fff;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: opacity .25s, transform .35s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---- Statement (scroll-lit words) -------------------------------------- */

.statement { padding: clamp(80px, 12vw, 160px) 0; }
.statement p {
  font-size: clamp(30px, 4.4vw, 56px); line-height: 1.12; font-weight: 700; letter-spacing: -0.028em;
  margin: 0; max-width: 980px;
}
.statement .w { color: #3a3a3c; transition: color .5s; }
.statement .w.is-lit { color: var(--night-ink); }
.statement .w.is-lit.g { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Summon tiles ------------------------------------------------------- */

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; overflow: hidden; border-radius: 28px; background: var(--paper);
  padding: 36px 32px 0; min-height: 520px; display: flex; flex-direction: column;
}
.tile h3 { font-size: 28px; line-height: 1.14; letter-spacing: -0.02em; margin: 0 0 10px; }
.tile p { margin: 0; color: var(--ink-2); font-size: 17px; }
.tile p strong { color: var(--ink); font-weight: 600; }
.tile-kicker { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; display: block; }
.tile-art { margin-top: auto; position: relative; height: 250px; display: grid; place-items: center; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

.keys { display: flex; gap: 10px; align-items: center; font-size: 34px; }
.keys .plus { color: var(--ink-3); font-size: 24px; font-weight: 300; }
.keys .key {
  min-width: 2.3em; height: 2.3em; font-size: 28px; border-radius: 16px;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.keys .key.is-down {
  transform: translateY(2px); color: #fff;
  background: linear-gradient(135deg, var(--pink), #ff8a3d);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 0 0 rgba(0,0,0,0);
}
.keys .key:nth-of-type(2).is-down { background: linear-gradient(135deg, var(--teal), var(--cobalt)); }
.keys .key:nth-of-type(3).is-down { background: linear-gradient(135deg, #7b3fd1, var(--magenta)); }

.corner-art { width: 100%; height: 100%; position: relative; }
.corner-art .screen-mini {
  position: absolute; left: 12%; top: 24px; right: -40px; bottom: -40px; border-radius: 16px;
  background: linear-gradient(160deg, #e9eefb, #cfd9f5 50%, #b9c7f0);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.corner-art .glow {
  position: absolute; left: calc(12% - 30px); top: -6px; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,10,118,.55), rgba(255,10,118,0));
  animation: glow 2.4s ease-in-out infinite;
}
.corner-art .cursor { position: absolute; left: calc(12% + 2px); top: 26px; width: 22px; animation: cursor-in 2.4s var(--ease-out) infinite; }
.corner-art .quad { position: absolute; left: 12%; top: 24px; width: 180px; height: 180px; }
.corner-art .quad span {
  position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 6px 16px rgba(29,74,219,.18);
  display: grid; place-items: center; color: var(--ink);
  animation: quad-in 2.4s var(--ease-spring) infinite; animation-delay: calc(var(--k) * 60ms);
}
.corner-art .quad svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@keyframes glow { 0%, 20% { opacity: 0; } 35%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cursor-in { 0% { transform: translate(90px, 90px); opacity: 0; } 10% { opacity: 1; } 28%, 85% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(0,0); opacity: 0; } }
@keyframes quad-in { 0%, 38% { transform: scale(.2); opacity: 0; } 48%, 86% { transform: scale(1); opacity: 1; } 100% { transform: scale(.2); opacity: 0; } }

.tray-art { width: 100%; height: 100%; position: relative; }
.tray-art .bar {
  position: absolute; left: -32px; right: -32px; bottom: 0; height: 56px;
  background: rgba(243,243,243,.95); border-top: 1px solid rgba(0,0,0,.08);
  display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 0 44px; font-size: 12px; color: var(--ink);
}
.tray-art .bar .tray-logo { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: rgba(0,0,0,.06); box-sizing: content-box; }
.tray-art .bar .clock { text-align: right; line-height: 1.25; font-size: 12px; }
.tray-art .bar .sys { display: flex; gap: 10px; color: var(--ink-2); }
.tray-art .bar .sys svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tray-art .menu {
  position: absolute; right: 86px; bottom: 66px; width: 190px; padding: 6px; border-radius: 10px;
  background: #fbfbfb; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 16px 40px rgba(0,0,0,.18);
  font-size: 13px; text-align: left;
}
.tray-art .menu div { padding: 7px 12px; border-radius: 6px; }
.tray-art .menu div:first-child { background: rgba(0,0,0,.05); }
.tray-art .menu hr { border: 0; border-top: 1px solid rgba(0,0,0,.08); margin: 5px 6px; }

/* ---- Configurator ------------------------------------------------------- */

.config { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; }
.config-stage {
  position: relative; min-height: 600px; border-radius: 28px; overflow: hidden;
  background: var(--wall, #0a0f24);
  transition: background .5s;
}
.config-stage[data-wall="dark"] { --wall: radial-gradient(120% 90% at 70% 110%, #1e5bff 0%, #0b2a8f 28%, #07123d 55%, #03060f 100%); }
.config-stage[data-wall="light"] { --wall: radial-gradient(120% 90% at 70% 110%, #8fb4ff 0%, #c9dbff 40%, #eef3fd 75%, #f7f9fd 100%); }
.config-stage[data-wall="midnight"] { --wall: radial-gradient(120% 90% at 70% 110%, #1a1f38 0%, #090b14 55%, #000 100%); }
.config-stage[data-wall="frosted"] { --wall: radial-gradient(80% 70% at 20% 20%, #ff4f9a 0%, transparent 60%), radial-gradient(70% 70% at 85% 30%, #2cd098 0%, transparent 60%), radial-gradient(90% 80% at 55% 95%, #3b5bff 0%, #1b2a7a 60%, #0d1440 100%); }
.config-stage .stage-note {
  position: absolute; left: 20px; bottom: 16px; right: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.72);
}
.config-stage[data-wall="light"] .stage-note { color: rgba(0,0,0,.55); }
.stage-note button {
  border: 0; background: rgba(255,255,255,.16); color: inherit; border-radius: 99px; padding: 6px 12px; cursor: pointer; font-size: 13px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.config-stage[data-wall="light"] .stage-note button { background: rgba(0,0,0,.07); }

.panel {
  border-radius: 28px; background: var(--paper-2); padding: 28px 26px; display: flex; flex-direction: column; gap: 22px;
}
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.field-label output { font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.field-hint { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; min-height: 1.4em; }

.seg {
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 12px;
  background: var(--paper-3); position: relative;
}
.seg button {
  border: 0; background: transparent; padding: 8px 6px; border-radius: 9px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--ink); transition: background .2s, box-shadow .2s;
}
.seg button[aria-pressed="true"] { background: var(--paper); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); font-weight: 600; }
.seg-wrap { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips button {
  border: 0; background: var(--paper); padding: 6px 12px; border-radius: 99px; cursor: pointer;
  font-size: 13px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s;
}
.chips button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 600; }
.swatches { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.swatches button {
  width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .2s var(--ease-spring);
}
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper-2), 0 0 0 4px var(--ink); transform: scale(1.06); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--ink) 0 var(--pct, 15%), var(--line) var(--pct, 15%) 100%);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.2);
}
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.08), 0 3px 8px rgba(0,0,0,.2); }

@media (max-width: 900px) {
  .config { grid-template-columns: 1fr; }
  .config-stage { min-height: 460px; }
}

/* ---- Hot corner demo ---------------------------------------------------- */

.corner-demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.monitor {
  position: relative; border-radius: 22px; padding: 10px; background: #1a1a1c;
  box-shadow: 0 0 0 1px #2c2c2e, 0 40px 80px rgba(0,0,0,.5);
}
.screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 13px; overflow: hidden; cursor: default;
  background:
    radial-gradient(60% 80% at 72% 108%, #2f7bff 0%, #1447d9 22%, rgba(8,26,110,.9) 45%, transparent 70%),
    radial-gradient(40% 50% at 30% 100%, rgba(62,140,255,.35), transparent 70%),
    linear-gradient(180deg, #030615 0%, #050b2a 60%, #061344 100%);
}
.screen::before {
  /* The Windows 11 bloom, loosely: a ribbon of light sweeping up from the bottom. */
  content: ""; position: absolute; left: 10%; right: -20%; bottom: -38%; height: 90%;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: linear-gradient(180deg, rgba(120,180,255,.55), rgba(40,110,255,.25) 30%, transparent 70%);
  transform: rotate(-8deg); filter: blur(6px); opacity: .7;
}
.screen .taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 7%; min-height: 30px;
  background: rgba(20,22,32,.72); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; z-index: 3;
}
.screen .taskbar .tb { width: 22px; height: 22px; border-radius: 5px; background: rgba(255,255,255,.14); }
.screen .taskbar .tb.start { background: linear-gradient(135deg, #3ea0ff, #0a5bd8); }
.screen .taskbar .tray { position: absolute; right: 10px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.9); font-size: 11px; }
.screen .taskbar .tray button {
  width: 26px; height: 26px; border: 0; padding: 4px; border-radius: 6px; background: transparent; cursor: pointer;
}
.screen .taskbar .tray button:hover { background: rgba(255,255,255,.1); }
.screen .taskbar .tray .clock { text-align: right; line-height: 1.2; }
.hot-zone { position: absolute; width: 34px; height: 34px; z-index: 4; }
.hot-zone[data-corner="tl"] { left: 0; top: 0; }
.hot-zone[data-corner="tr"] { right: 0; top: 0; }
.hot-zone[data-corner="bl"] { left: 0; bottom: 0; }
.hot-zone[data-corner="br"] { right: 0; bottom: 0; }
.hot-zone::after {
  content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent);
  opacity: 0; transition: opacity .25s; pointer-events: none;
}
.hot-zone[data-corner="tl"]::after { left: -45px; top: -45px; }
.hot-zone[data-corner="tr"]::after { right: -45px; top: -45px; }
.hot-zone[data-corner="bl"]::after { left: -45px; bottom: -45px; }
.hot-zone[data-corner="br"]::after { right: -45px; bottom: -45px; }
.hot-zone.is-armed::after { opacity: 1; }
@media (hover: none) { .hot-zone.is-active::after { opacity: .7; animation: glow 2.4s ease-in-out infinite; } }
.hot-zone:not(.is-active) { display: none; }
.screen .orbit { z-index: 2; }
.screen .orbit:not(.is-open) .orbit-hub { opacity: 0; transform: scale(.4); pointer-events: none; }
.screen .orbit-hub { transition: transform .35s var(--ease-out), opacity .3s; }
.screen-hint {
  position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; text-align: center;
  color: rgba(255,255,255,.7); font-size: clamp(13px, 1.6vw, 17px); pointer-events: none; transition: opacity .3s;
  padding: 0 20px;
}
.screen-hint b { color: #fff; font-weight: 600; }
.screen.has-orbit .screen-hint { opacity: 0; }
@media (max-width: 640px) {
  .screen .taskbar { justify-content: flex-start; gap: 4px; }
  .screen .taskbar .tb { width: 16px; height: 16px; }
  .screen .taskbar .tb:nth-child(n+4) { display: none; }
  .screen .taskbar .tray .clock { font-size: 9px; }
  .monitor { padding: 6px; border-radius: 16px; }
  .screen { border-radius: 10px; }
}

.corner-controls { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; align-items: center; }
.corner-controls .seg { background: #1c1c1e; }
.corner-controls .seg button { color: var(--night-ink-2); }
.corner-controls .seg button[aria-pressed="true"] { background: #3a3a3c; color: #fff; box-shadow: none; }
.corner-controls label { font-size: 13px; color: var(--night-ink-2); display: block; margin-bottom: 8px; text-align: center; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 88px); }
.fact h4 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.fact p { margin: 0; font-size: 15px; color: var(--night-ink-2); line-height: 1.45; }
.fact .num { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---- Gallery ------------------------------------------------------------ */

.gallery { position: relative; }
.gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(860px, 84vw); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 30px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.shot { scroll-snap-align: start; margin: 0; }
.shot-frame {
  border-radius: 20px; overflow: hidden; background: #dfe3ea;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 24px 60px rgba(0,0,0,.14);
  aspect-ratio: 1046 / 710;
  display: grid; place-items: center;
}
.shot-frame img { width: 100%; height: 100%; object-fit: contain; }
.shot figcaption { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 640px; }
.shot figcaption b { color: var(--ink); font-weight: 600; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 8px; }
.paddle {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--paper-3); color: var(--ink);
  display: grid; place-items: center; transition: background .2s, opacity .2s;
}
.paddle:hover { background: #dcdce1; }
.paddle[disabled] { opacity: .4; cursor: default; }
.paddle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Feature split (orbit on the desktop) ------------------------------ */

.hero-shot {
  margin: 0 auto; max-width: 980px; border-radius: 24px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero-shot img { width: 100%; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.bento > * { border-radius: 24px; background: var(--paper-2); padding: 30px; }
.bento h3 { font-size: 21px; letter-spacing: -0.015em; margin: 0 0 8px; line-height: 1.2; }
.bento p { margin: 0; font-size: 16px; color: var(--ink-2); }
.bento .span-2 { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .big { font-size: 56px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; margin-bottom: 14px; display: block; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.kinds span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border-radius: 99px; background: var(--paper);
  font-size: 14px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.kinds svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 18px; }
.theme-card { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); font-size: 12px; text-align: center; background: var(--paper); }
.theme-card i { display: block; aspect-ratio: 4 / 3; background: var(--t); position: relative; }
.theme-card i::after { content: ""; position: absolute; left: 18%; right: 18%; top: 26%; bottom: 0; border-radius: 6px 6px 0 0; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.theme-card span { display: block; padding: 6px 2px; font-weight: 500; }
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-size: 15px; color: var(--ink); }
.langs span:nth-child(3n+2) { color: var(--ink-2); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
  .bento .span-2, .bento .span-3, .bento .span-4 { grid-column: auto; }
}
@media (max-width: 520px) { .theme-row { grid-template-columns: repeat(3, 1fr); } }

/* ---- Tools -------------------------------------------------------------- */

.tool-window {
  border-radius: 16px; overflow: hidden; background: #202022;
  box-shadow: 0 0 0 1px #333336, 0 40px 90px rgba(0,0,0,.6);
  max-width: 1000px; margin: 0 auto;
}
.tw-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 16px; background: #1b1b1d; border-bottom: 1px solid #2c2c2e; }
.tw-bar svg.mark { width: 16px; height: 16px; }
.tw-tabs { display: flex; gap: 4px; }
.tw-tabs button {
  border: 0; background: transparent; color: var(--night-ink-2); font-size: 13px; padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.tw-tabs button[aria-selected="true"] { background: #2c2c2e; color: #fff; }
.tw-caption { margin-left: auto; display: flex; gap: 2px; color: #8e8e93; }
.tw-caption span { width: 40px; height: 30px; display: grid; place-items: center; }
.tw-caption svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.tw-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #2c2c2e; align-items: center; }
.tw-actions button {
  border: 0; background: #2c2c2e; color: #f5f5f7; font-size: 13px; padding: 7px 12px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: background .15s, color .15s;
}
.tw-actions button:hover { background: #3a3a3c; color: #b9a6ff; }
.tw-actions button.copy:hover { color: #60cdff; }
.tw-actions button.danger:hover { color: #ff6b6b; }
.tw-actions .sep { width: 1px; height: 20px; background: #3a3a3c; margin: 0 4px; }
.tw-actions label { font-size: 13px; color: var(--night-ink-2); display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; cursor: pointer; }
.tw-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.tw-body > * { min-width: 0; }
.tw-pane-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8e8e93; padding: 12px 16px 0; }
.tw-body textarea, .tw-body pre {
  display: block; width: 100%; height: calc(100% - 28px); min-height: 300px; margin: 0; padding: 10px 16px 16px; border: 0; resize: none;
  background: transparent; color: #f5f5f7; font-family: var(--mono); font-size: 13px; line-height: 1.6; letter-spacing: 0;
  white-space: pre-wrap; word-break: break-word; overflow: auto; outline: none;
}
.tw-body textarea:focus-visible { box-shadow: inset 0 0 0 2px rgba(41,151,255,.6); border-radius: 0; }
.tw-body .out { border-left: 1px solid #2c2c2e; background: #1c1c1e; }
.tw-status { display: flex; justify-content: space-between; gap: 12px; padding: 8px 16px; font-size: 12px; color: #8e8e93; border-top: 1px solid #2c2c2e; background: #1b1b1d; }
.tw-status .ok { color: #30d158; }
.tw-status .bad { color: #ff6b6b; }
.tk-key { color: #9cdcfe; } .tk-str { color: #ce9178; } .tk-num { color: #b5cea8; } .tk-lit { color: #569cd6; } .tk-pun { color: #8e8e93; }
.tk-tag { color: #569cd6; } .tk-attr { color: #9cdcfe; }
@media (max-width: 720px) {
  .tw-body { grid-template-columns: 1fr; }
  .tw-body .out { border-left: 0; border-top: 1px solid #2c2c2e; }
  .tw-caption { display: none; }
}

.tool-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.tool-card { border-radius: 22px; background: var(--night-card); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.tool-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--g); color: #fff; margin-bottom: 6px; }
.tool-card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool-card .ic svg text { fill: currentColor; stroke: none; }
.tool-card h3 { margin: 0; font-size: 19px; letter-spacing: -0.015em; }
.tool-card p { margin: 0; font-size: 15px; color: var(--night-ink-2); line-height: 1.45; }
.tool-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tool-card .tags span { font-size: 12px; padding: 3px 9px; border-radius: 99px; background: #2c2c2e; color: #d1d1d6; }
@media (max-width: 1100px) { .tool-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .tool-cards { grid-template-columns: 1fr; } }

/* ---- Privacy ------------------------------------------------------------ */

.privacy-hero { display: grid; place-items: center; margin-bottom: 28px; }
.shield { width: 96px; height: 96px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.p-card { border-radius: 24px; background: var(--paper-2); padding: 30px 28px; }
.p-card .ic { width: 36px; height: 36px; color: var(--ink); margin-bottom: 18px; }
.p-card .ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; }
.p-card p { margin: 0; font-size: 16px; color: var(--ink-2); }
.p-card.feature { grid-column: 1 / -1; background: var(--ink); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.p-card.feature p { color: #a1a1a6; max-width: 820px; }
.p-card.feature h3 { font-size: 24px; }
.p-card.feature .ic { color: #fff; width: 56px; height: 56px; margin: 0; }
@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: 1fr; }
  .p-card.feature { grid-column: auto; grid-template-columns: 1fr; gap: 16px; }
}

/* ---- Specs -------------------------------------------------------------- */

.specs { border-top: 1px solid var(--line); margin: 0; }
.spec { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; }
.spec dd { margin: 0; font-size: 17px; }
.spec dd ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.spec dd small { color: var(--ink-2); font-size: 14px; display: block; margin-top: 2px; }
.spec dd .muted { color: var(--ink-2); }
@media (max-width: 720px) { .spec { grid-template-columns: 1fr; gap: 10px; } }

/* ---- Get started -------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { border-radius: 24px; background: var(--paper); padding: 32px 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 22px;
  font-weight: 700; font-size: 17px; color: #fff; background: var(--ink);
}
.step:nth-child(1)::before { background: linear-gradient(135deg, var(--pink), #ffae1a); }
.step:nth-child(2)::before { background: linear-gradient(135deg, var(--teal), var(--cobalt)); }
.step:nth-child(3)::before { background: linear-gradient(135deg, var(--steel), var(--magenta)); }
.step h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.source {
  margin-top: 20px; border-radius: 24px; background: var(--paper); padding: 8px 28px;
}
.source summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.source summary::-webkit-details-marker { display: none; }
.source summary::after { content: "+"; font-size: 26px; font-weight: 300; transition: transform .3s var(--ease-out); }
.source[open] summary::after { transform: rotate(45deg); }
.code {
  position: relative; margin: 0 0 22px; border-radius: 14px; background: #1d1d1f; color: #f5f5f7; overflow: hidden;
}
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.7; letter-spacing: 0; }
.code .c { color: #8e8e93; }
.code button.copy-btn {
  position: absolute; top: 10px; right: 10px; border: 0; border-radius: 8px; padding: 6px 10px; font-size: 12px; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff;
}
.code button.copy-btn:hover { background: rgba(255,255,255,.18); }
.source p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }

/* ---- FAQ ---------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 0 26px; color: var(--ink-2); font-size: 17px; max-width: 760px; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer ul { margin: 0; padding-left: 20px; }
.faq .answer li { margin: 4px 0; }
.faq code { font-size: .88em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; color: var(--ink); }

/* ---- Final CTA ---------------------------------------------------------- */

.finale { text-align: center; padding: clamp(100px, 14vw, 180px) 0; overflow: clip; position: relative; }
.finale .mark-big { width: clamp(96px, 12vw, 140px); height: auto; margin: 0 auto 36px; filter: drop-shadow(0 20px 40px rgba(255,10,118,.25)) drop-shadow(0 10px 30px rgba(29,74,219,.3)); }
.finale .hero-ctas { margin-top: 36px; }
.finale small { display: block; margin-top: 22px; color: var(--night-ink-2); font-size: 14px; }

/* ---- Footer ------------------------------------------------------------- */

.footer { background: var(--paper-2); color: var(--ink-2); font-size: 12px; line-height: 1.5; padding: 20px 0 28px; }
.footer a { color: var(--ink); opacity: .85; }
.footer-notes { border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.footer-notes p { margin: 0 0 8px; }
.footer-crumb { display: flex; align-items: center; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.footer-crumb svg.mark { width: 16px; height: 16px; }
.footer-crumb .chev { color: var(--ink-3); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.footer-cols h4 { color: var(--ink); font-size: 12px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 0; }
.footer-legal nav a { padding: 0 10px; border-left: 1px solid var(--line); }
.footer-legal nav a:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 720px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }

/* ---- Document pages (privacy, terms) ----------------------------------- */

.doc-hero, .doc, body.doc-page { background: var(--paper); }
.doc .toc li { margin: 0 0 8px; break-inside: avoid; }
.doc-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.doc-hero .eyebrow { font-size: 17px; color: var(--ink-2); }
.doc-hero .meta { color: var(--ink-2); margin: 16px 0 0; font-size: 15px; }
.doc { padding: 48px 0 110px; }
.doc h2 { font-size: 28px; letter-spacing: -0.02em; line-height: 1.2; margin: 52px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 17px; line-height: 1.6; color: #333336; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary {
  border-radius: 24px; background: var(--paper-2); padding: 28px 30px; margin-bottom: 44px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px;
}
.doc .summary div { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.doc .summary svg { flex: none; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: #30a46c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc .toc { font-size: 15px; columns: 2; padding-left: 20px; margin: 0 0 40px; }
@media (max-width: 720px) { .doc .summary { grid-template-columns: 1fr; } .doc .toc { columns: 1; } }

/* ---- Not found ---------------------------------------------------------- */

.nf { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .stage { position: relative; width: 320px; height: 320px; margin: 0 auto 10px; }

/* ---- Reveal on scroll --------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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