/* Sligate — sligate.cc */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.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; }

:root {
  --bg: #06090b;
  --bg-2: #090e11;
  --surface: #0c1316;
  --surface-2: #111a1e;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.13);
  --line-accent: rgba(45, 212, 216, 0.26);
  --accent: #2dd4d8;
  --accent-hi: #63e9ec;
  --accent-soft: rgba(45, 212, 216, 0.1);
  --ink: #022a2b;
  --text: #ecf5f6;
  --muted: #93a6ab;
  --dim: #63777c;
  --good: #4ade80;
  --warn: #f5b84a;
  --radius: 20px;
  --wrap: 1160px;
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }
p { margin: 0; }
code, .mono { font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace; font-size: 0.92em; }
::selection { background: rgba(45, 212, 216, 0.35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
.sr-only { position: absolute; 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: -48px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 9, 11, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta { margin-left: 4px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu[open] summary { background: var(--surface-2); }
.menu-panel {
  position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px));
  padding: 8px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: rgba(13, 20, 23, 0.98); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.menu-panel a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; }
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel .btn { margin-top: 6px; width: 100%; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(99, 233, 236, 0.4) inset, 0 12px 36px rgba(45, 212, 216, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(99, 233, 236, 0.5) inset, 0 16px 44px rgba(45, 212, 216, 0.38); }
.btn-ghost { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong) inset; }
.btn-ghost:hover { background: #152125; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 32px; font-size: 17px; }
.btn-lg svg { width: 20px; height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s; }
.link-arrow:hover svg { transform: translateY(2px); }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(46% 38% at 50% 58%, rgba(45, 212, 216, 0.16), transparent 70%),
    radial-gradient(30% 24% at 50% 8%, rgba(45, 212, 216, 0.08), transparent 70%);
}
.hero > .wrap { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  border: 1px solid var(--line-accent); background: var(--accent-soft);
  color: #bdeff0; font-size: 13.5px; font-weight: 600;
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: rgba(45, 212, 216, 0.18); }
.eyebrow svg { width: 13px; height: 13px; color: var(--accent); }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 7.4vw, 88px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 .brandword b { color: var(--accent); font-weight: 800; }
.hero h1 .brandword, .hero h1 .h1-sub { display: block; }
.hero h1 .h1-sub { margin-top: 0.1em; font-size: 0.6em; font-weight: 700; letter-spacing: -0.035em; }
.hero-lead { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); line-height: 1.6; }
.hero-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-meta { color: var(--dim); font-size: 13px; font-weight: 500; letter-spacing: 0.01em; }
.hero-meta span + span::before { content: "·"; margin: 0 8px; }
.hero-other { color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(147, 166, 171, 0.45); }
.hero-other:hover { color: var(--accent); border-bottom-color: var(--line-accent); }
.mobile-note { display: none; max-width: 320px; color: var(--muted); font-size: 13px; }
.hero-sub-link { margin-top: 8px; }

.stage { position: relative; height: 640px; margin-top: 56px; }
.gate { position: absolute; left: 50%; top: 0; width: 1180px; height: 640px; transform: translateX(-50%); pointer-events: none; }
.window {
  position: absolute; left: 50%; top: 40px; width: 372px; transform: translateX(-50%);
  border-radius: 16px; overflow: hidden; background: #0a1013;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 0 0 1px rgba(45, 212, 216, 0.12) inset, 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 120px rgba(45, 212, 216, 0.16);
}
.window-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 4px 0 12px; background: #0d1518; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 12px; color: var(--muted); font-weight: 500; text-align: left; }
.window-bar img { width: 16px; height: 16px; border-radius: 4px; }
.window-bar .ctl { margin-left: auto; display: flex; }
.window-bar .ctl i { display: grid; place-items: center; width: 40px; height: 30px; color: #7f9196; }
.window-bar .ctl svg { width: 11px; height: 11px; }
.window img.shot { width: 100%; }
.window.side { width: 300px; top: 130px; filter: brightness(0.5) saturate(0.8); }
.window.side.left { transform: translateX(calc(-50% - 330px)) rotate(-4deg); }
.window.side.right { transform: translateX(calc(-50% + 330px)) rotate(4deg); }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.chip-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(13, 21, 24, 0.9); border: 1px solid var(--line-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  font-size: 13px; font-weight: 600; white-space: nowrap; backdrop-filter: blur(8px);
}
.chip-float i { width: 8px; height: 8px; border-radius: 99px; background: var(--good); box-shadow: 0 0 10px var(--good); }
.chip-float .ms { color: var(--good); }
.chip-float.c1 { left: calc(50% - 330px); top: 92px; }
.chip-float.c2 { left: calc(50% + 236px); top: 96px; }
.chip-float.c3 { left: calc(50% - 360px); top: 420px; }

/* ---------------------------------------------------------------- compat strip */

.strip { padding: 8px 0 24px; }
.strip .wrap { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; }
.strip-label { color: var(--dim); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.strip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: #c9d7da; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.02); }
.tag.soft { color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- sections */

.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section h2 { font-size: clamp(30px, 4.6vw, 54px); font-weight: 800; letter-spacing: -0.035em; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 17.5px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 0; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento > *, .steps > *, .owner-grid > *, .contact-grid > * { min-width: 0; }
.card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)), var(--surface);
  border: 1px solid var(--line);
}
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card .ico { width: 44px; height: 44px; margin-bottom: 22px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--line-accent); color: var(--accent); }
.card .ico svg { width: 22px; height: 22px; }
.card.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.card.wide .art { align-self: stretch; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.card .art img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.5); }
.card .art.bleed { margin: -30px -30px -30px 0; align-items: flex-end; }
.card .art.bleed img { border-radius: 14px 0 0 0; max-width: 420px; width: 100%; }
.card .art.mini { margin-top: 22px; }

/* subscription art */
.pipe { width: 100%; max-width: 420px; }
.pipe-input { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 14px; background: #081013; border: 1px solid var(--line-accent); box-shadow: 0 0 0 4px rgba(45, 212, 216, 0.06); font-size: 14px; color: #cfe3e6; overflow: hidden; white-space: nowrap; }
.pipe-input svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.pipe-input .dimmed { color: var(--dim); }
.pipe-arrow { display: flex; justify-content: center; padding: 10px 0; color: var(--dim); }
.pipe-arrow svg { width: 20px; height: 20px; }
.pipe-formats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pipe-formats span { padding: 7px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #c6d6d9; }
.pipe-formats span.hl { border-color: var(--line-accent); color: var(--accent); background: var(--accent-soft); }

/* autoselect art */
.pings { display: grid; gap: 8px; }
.ping { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.ping .cc { display: grid; place-items: center; width: 34px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); font-size: 11.5px; font-weight: 700; color: #b9c9cc; letter-spacing: 0.04em; }
.ping .bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.ping .bar i { display: block; height: 100%; border-radius: inherit; background: var(--dim); }
.ping .ms { font-size: 13px; color: var(--warn); min-width: 52px; text-align: right; }
.ping.best { border-color: var(--line-accent); background: rgba(45, 212, 216, 0.07); }
.ping.best .bar i { background: var(--accent); }
.ping.best .ms { color: var(--good); }
.ping.off { opacity: 0.45; }
.ping.off .ms { color: var(--dim); }

/* split art */
.split { display: grid; gap: 10px; }
.route { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.route b { display: block; font-size: 14px; font-weight: 600; }
.route small { display: block; color: var(--dim); font-size: 12.5px; }
.route .via { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.route .via.direct { color: var(--good); background: rgba(74, 222, 128, 0.1); }
.route .via.tunnel { color: var(--accent); background: var(--accent-soft); }

/* ports art */
.checks { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 14.5px; color: #c9d7da; }
.checks svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }

.extras { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; align-items: center; }
.extras-label { color: var(--dim); font-size: 14px; font-weight: 600; margin-right: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.step-num { align-self: flex-start; font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(180deg, var(--accent-hi), rgba(45, 212, 216, 0.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { margin-top: 22px; font-size: 21px; font-weight: 700; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.step-art { margin-top: auto; padding-top: 26px; }
.step-art .btn { width: 100%; }
.fake-input { display: flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 12px; background: #081013; border: 1px solid var(--line-accent); font-size: 14px; color: #cfe3e6; overflow: hidden; white-space: nowrap; }
.fake-input .caret { width: 2px; height: 18px; margin-left: 2px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.power-mini { display: flex; align-items: center; gap: 16px; }
.power-mini .p { flex: none; width: 58px; height: 58px; border-radius: 99px; display: grid; place-items: center; color: var(--ink); background: radial-gradient(circle at 40% 30%, #8af1f3, var(--accent) 60%, #1aa5a9); box-shadow: 0 0 0 6px rgba(45, 212, 216, 0.12), 0 0 30px rgba(45, 212, 216, 0.45); }
.power-mini .p svg { width: 24px; height: 24px; }
.power-mini b { display: block; color: var(--accent); font-size: 17px; }
.power-mini small { color: var(--dim); font-size: 13px; }

/* owners */
.owners { background: linear-gradient(180deg, transparent, rgba(45, 212, 216, 0.035) 30%, rgba(45, 212, 216, 0.035) 70%, transparent); }
.owner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.owner-card { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.owner-card h3 { font-size: 22px; font-weight: 700; }
.owner-card > p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.owner-card .note { margin-top: 18px; color: var(--dim); font-size: 13.5px; }
.compare { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.compare div { padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
.compare div.on { border-color: var(--line-accent); background: rgba(45, 212, 216, 0.06); }
.compare h4 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.compare .on h4 { color: var(--accent); }
.compare ul { margin: 0; padding-left: 18px; color: #c4d3d6; font-size: 14px; }
.compare li + li { margin-top: 4px; }
.owner-card .note code { color: #b7c8cb; }
.rule { margin-top: 22px; border-radius: 14px; border: 1px solid var(--line-strong); overflow: hidden; background: #081013; }
.rule-path { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.rule-path b { color: var(--text); font-weight: 600; }
.rule dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.rule dt, .rule dd { margin: 0; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.rule dt { color: var(--dim); font-weight: 500; }
.rule dd { color: var(--text); font-weight: 600; }
.rule dd code { color: var(--accent); font-size: 14px; }
.rule dd small { color: var(--dim); font-weight: 500; margin-left: 6px; }
.rule dl > :nth-last-child(-n + 2) { border-bottom: 0; }
.code { position: relative; margin-top: 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: #081013; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 12.5px; font-weight: 600; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: "Cascadia Mono", "Consolas", ui-monospace, monospace; font-size: 13.5px; line-height: 1.65; color: #d7e6e8; }
.code pre .k { color: #7fb4ff; }
.code pre .s { color: var(--accent); }
.code pre .c { color: var(--dim); }
.copy { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.copy svg { width: 14px; height: 14px; }
.copy.done { color: var(--good); border-color: rgba(74, 222, 128, 0.35); }
.tg-preview { margin-top: 18px; padding: 16px; border-radius: 14px; background: #0e171b; border: 1px solid var(--line); }
.tg-bubble { max-width: 300px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: #17242a; font-size: 14px; color: #d8e6e8; }
.tg-bubble small { display: block; color: var(--dim); font-size: 12px; margin-top: 2px; }
.tg-btn { max-width: 300px; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; background: #1b2a31; color: #e9f4f5; font-size: 14px; font-weight: 600; text-decoration: none; }
.tg-btn:hover { background: #22343c; }
.tg-btn svg { width: 14px; height: 14px; color: var(--accent); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 24px 4px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { margin-left: auto; flex: none; position: relative; width: 28px; height: 28px; border-radius: 99px; border: 1px solid var(--line-strong); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; background: var(--muted); transform: translate(-50%, -50%); transition: transform 0.2s; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .pm { border-color: var(--line-accent); }
.faq .answer { padding: 0 52px 26px 4px; color: var(--muted); font-size: 15.5px; }
.faq .answer p + p, .faq .answer p + ol, .faq .answer ol + p, .faq .answer p + ul { margin-top: 12px; }
.faq .answer ol, .faq .answer ul { margin: 0; padding-left: 22px; }
.faq .answer li + li { margin-top: 6px; }
.faq .answer b, .faq .answer strong { color: var(--text); font-weight: 600; }
.faq .answer a { color: var(--accent); }
.faq .answer code { color: #c3d4d7; background: rgba(255, 255, 255, 0.05); padding: 1px 6px; border-radius: 6px; }

/* final cta */
.final { padding: 40px 0 120px; }
.final-card {
  position: relative; overflow: hidden; text-align: center; padding: 72px 24px; border-radius: 28px;
  background: radial-gradient(60% 90% at 50% 0%, rgba(45, 212, 216, 0.18), transparent 70%), var(--surface);
  border: 1px solid var(--line-accent);
}
.final-card img { width: 88px; height: 88px; margin: 0 auto; border-radius: 22px; box-shadow: 0 18px 50px rgba(45, 212, 216, 0.28); }
.final-card h2 { margin-top: 26px; font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.035em; }
.final-card p { margin: 16px auto 0; max-width: 520px; color: var(--muted); font-size: 17px; }
.final-card .hero-cta { margin-top: 30px; }

/* ---------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; justify-content: space-between; }
.footer-about { max-width: 380px; }
.footer-about p { margin-top: 14px; color: var(--dim); font-size: 13.5px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 64px; }
.footer-col h4 { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-col a { display: block; padding: 4px 0; color: #c8d6d9; text-decoration: none; font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--dim); font-size: 13px; }
.footer-bottom a { color: var(--muted); }

/* ---------------------------------------------------------------- inner pages */

.page-hero { position: relative; padding: 76px 0 40px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% 0 auto; height: 560px; background: radial-gradient(40% 50% at 50% 50%, rgba(45, 212, 216, 0.12), transparent 70%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; letter-spacing: -0.04em; }
.page-hero p { margin-top: 16px; max-width: 680px; color: var(--muted); font-size: 18px; }
.page-body { padding: 24px 0 110px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-card h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }
.contact-card p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.contact-card .btn { margin-top: 22px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-actions .btn { margin-top: 0; }
.contact-card.primary { border-color: var(--line-accent); background: radial-gradient(80% 120% at 0% 0%, rgba(45, 212, 216, 0.1), transparent 60%), var(--surface); }
.placeholder {
  margin-top: 20px; padding: 16px 18px; border-radius: 14px; border: 2px dashed rgba(245, 184, 74, 0.7); background: rgba(245, 184, 74, 0.08);
  color: #ffd893; font-size: 14.5px; font-weight: 600;
}
.placeholder small { display: block; margin-top: 4px; color: #d9b878; font-weight: 500; font-size: 13px; }
.sub-h { margin: 72px 0 24px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.faq.left { margin: 0; max-width: none; }
.callout { margin-top: 28px; padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.callout b { color: var(--text); }
.callout ul { margin: 10px 0 0; padding-left: 20px; }
.callout li + li { margin-top: 4px; }
.prose { max-width: 760px; }
.prose h2 { margin: 44px 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }
.prose .code { margin: 14px 0; }
.prose code { color: #c3d4d7; background: rgba(255, 255, 255, 0.05); padding: 1px 6px; border-radius: 6px; }
.updated { margin-top: 44px; color: var(--dim); font-size: 14px; }

/* download page */
.dl-list { display: grid; gap: 16px; }
.dl-card { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.dl-card h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.dl-card h3 { font-size: 18px; font-weight: 700; }
.dl-head { display: flex; align-items: center; gap: 14px; }
.dl-head > div { min-width: 0; }
.dl-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); color: #c9d7da; }
.dl-ico svg { width: 22px; height: 22px; }
.dl-note { margin-top: 2px; color: var(--muted); font-size: 14px; }
.dl-status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.dl-head .dl-status { margin-left: auto; }
.dl-status.available { color: var(--good); background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3); }
.dl-status.soon { color: var(--accent); background: var(--accent-soft); border: 1px solid var(--line-accent); }
.dl-status.later { color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); }
.dl-main { padding: 32px; border-color: var(--line-accent); background: radial-gradient(70% 120% at 0% 0%, rgba(45, 212, 216, 0.1), transparent 60%), var(--surface); }
.dl-main .dl-ico { color: var(--accent); background: var(--accent-soft); border-color: var(--line-accent); }
.dl-file { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dl-meta { color: var(--dim); font-size: 13.5px; }
.dl-sha { margin-top: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 12px; background: #081013; border: 1px solid var(--line); }
.dl-sha-label { flex: none; color: var(--dim); font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; }
.dl-sha code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c3d4d7; font-size: 13px; }
.dl-sha .copy { flex: none; }
.dl-releases { margin-top: 20px; font-size: 14.5px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl-grid .dl-card { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.dl-grid .dl-status { align-self: flex-start; }

/* owners: keys table, crypt1 form */
.keys { margin-top: 8px; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--surface); }
.keys-row { display: grid; grid-template-columns: minmax(200px, 0.9fr) 2fr; gap: 6px 24px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.keys-row:last-child { border-bottom: 0; }
.keys-row code { color: var(--accent); font-size: 13.5px; word-break: break-word; }
.keys-row > div > code { display: block; }
.keys-row > div > code + code { margin-top: 2px; }
.keys-row p { color: var(--muted); font-size: 14.5px; }
.keys-row p code { color: #c3d4d7; background: rgba(255, 255, 255, 0.05); padding: 1px 5px; border-radius: 5px; font-size: 13px; }
.keys-head { background: rgba(255, 255, 255, 0.02); color: var(--dim); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.crypt-card { margin-top: 8px; padding: 30px; border-radius: var(--radius); background: radial-gradient(70% 120% at 100% 0%, rgba(45, 212, 216, 0.09), transparent 60%), var(--surface); border: 1px solid var(--line-accent); }
.crypt-card label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.crypt-row { display: flex; gap: 10px; }
.crypt-row input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-accent); background: #081013; color: var(--text); font: inherit; font-size: 14.5px; }
.crypt-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(45, 212, 216, 0.12); }
.crypt-out { margin-top: 18px; display: grid; gap: 12px; }
.crypt-out .code pre { white-space: pre-wrap; word-break: break-all; }
.crypt-msg { margin-top: 12px; font-size: 14px; color: var(--muted); }
.crypt-msg.error { color: #ff9b9b; }
.crypt-note { margin-top: 18px; color: var(--dim); font-size: 13.5px; }

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fake-input .caret { animation: none; }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .window.side { display: none; }
  .chip-float.c1 { left: calc(50% - 300px); }
  .chip-float.c2 { left: calc(50% + 200px); }
  .chip-float.c3 { display: none; }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card.wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .owner-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --radius: 18px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16px; }
  .hero { padding-top: 44px; }
  .stage { height: 560px; margin-top: 44px; }
  .gate { width: 900px; height: 560px; }
  .window { width: min(310px, 82vw); top: 24px; }
  .chip-float { display: none; }
  .strip .wrap { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; grid-template-columns: 1fr; gap: 22px; }
  .card { padding: 24px; }
  .card.wide .art { min-height: 0; }
  .card .art.bleed { margin: 0 -24px -24px; justify-content: center; }
  .card .art.bleed img { border-radius: 14px 14px 0 0; max-width: 360px; }
  .step, .owner-card, .contact-card { padding: 24px; }
  .faq summary { font-size: 16.5px; padding: 20px 2px; }
  .faq .answer { padding: 0 8px 22px 2px; }
  .final-card { padding: 56px 20px; }
  .footer-cols { gap: 24px 40px; }
  .page-hero { padding-top: 52px; }
  .page-hero p { font-size: 16.5px; }
  .rule dt, .rule dd { padding: 10px 12px; font-size: 13.5px; }
  .dl-main { padding: 24px; }
  .dl-card h2 { font-size: 22px; }
  .dl-head { flex-wrap: wrap; }
  .dl-file .btn { width: 100%; }
  .keys-row { grid-template-columns: 1fr; padding: 14px 16px; }
  .crypt-card { padding: 22px; }
  .crypt-row { flex-direction: column; }
  .compare { grid-template-columns: 1fr; }
}
@media (pointer: coarse) and (max-width: 720px) {
  .mobile-note { display: block; }
}
