/* TETHERBOUND — site styles */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #06070f;
  --bg-2: #0a0b1c;
  --panel: #111331;
  --panel-2: #171a3d;
  --line: rgba(255, 255, 255, 0.12);
  --line-2: rgba(255, 255, 255, 0.22);
  --text: #eef0ff;
  --text-2: #c5c8e6;
  --text-3: #a3a7cc;
  --cyan: #3de8f5;
  --cyan-soft: #7debf5;
  --violet: #9b6bff;
  --violet-soft: #b79bff;
  --red: #ff4d5e;
  --red-soft: #ff8a96;
  --gold: #f2c261;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --t: 0;               /* scroll tension 0..1, set by JS */
  --tc: var(--cyan);    /* tension colour, set by JS */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan-soft); text-underline-offset: 3px; }
a:hover { color: #b9f6fb; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(32px, 5vw, 58px); font-weight: 700; }
h2 em { font-style: normal; color: var(--text-3); }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0; }
kbd { font-family: var(--mono); font-size: 0.82em; padding: 2px 7px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: rgba(255,255,255,0.05); color: var(--text); white-space: nowrap; }
code { font-family: var(--mono); font-size: 0.88em; color: var(--cyan-soft); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: #04121a; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-2); }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan-soft); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow .idx { color: var(--text-3); }
.eyebrow .idx::after { content: " /"; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 680px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn small { font-family: var(--mono); font-weight: 500; font-size: 12px; opacity: 0.75; letter-spacing: 0.04em; margin-top: 3px; }
.btn--primary { background: var(--cyan); color: #03121a; box-shadow: 0 0 0 0 rgba(61,232,245,0), 0 10px 30px -10px rgba(61,232,245,.6); }
.btn--primary:hover { color: #03121a; transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(61,232,245,.18), 0 16px 40px -12px rgba(61,232,245,.8); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost:hover { color: var(--text); background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 26px; font-size: 18px; }
.btn--xl { min-height: 68px; padding: 0 30px; font-size: 19px; margin-top: 28px; }
.btn--block { width: 100%; min-height: 54px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(6,7,15,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav__inner { max-width: 1240px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { width: 26px; height: 26px; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(61,232,245,.6)); }
.brand__word { font-family: var(--display); font-weight: 700; letter-spacing: 0.06em; font-size: 18px; }
.brand__word b { color: var(--cyan-soft); font-weight: 700; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__meter { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.1em; }
.nav__meter-bar { width: 64px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.nav__meter-bar i { display: block; height: 100%; width: calc(var(--t) * 100%); background: var(--tc); box-shadow: 0 0 8px var(--tc); }
.nav__meter-value { min-width: 34px; color: var(--tc); }
@media (max-width: 960px) { .nav__links, .nav__meter { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.06); animation: heroIn 2.4s cubic-bezier(.2,.7,.1,1) both; }
@keyframes heroIn { from { transform: scale(1.16); filter: brightness(.2) saturate(.6); } to { transform: scale(1.06); filter: none; } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(120% 90% at 70% 40%, transparent 0%, rgba(6,7,15,.35) 55%, rgba(6,7,15,.92) 100%),
  linear-gradient(90deg, rgba(6,7,15,.92) 0%, rgba(6,7,15,.55) 40%, rgba(6,7,15,0) 75%),
  linear-gradient(0deg, var(--bg) 0%, rgba(6,7,15,0) 30%); }
.hero__grain { position: absolute; inset: -50%; z-index: -1; opacity: .09; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.hero__bars span { position: absolute; left: 0; right: 0; height: 12vh; background: #000; z-index: 2; pointer-events: none; animation: bars 1.6s cubic-bezier(.7,0,.2,1) .2s both; }
.hero__bars span:first-child { top: 0; transform-origin: top; }
.hero__bars span:last-child { bottom: 0; transform-origin: bottom; }
@keyframes bars { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.hero__content { position: relative; z-index: 3; width: 100%; max-width: 1240px; margin: 0 auto; padding: 140px var(--gutter) 160px; }
.hero__eyebrow { animation: rise .9s ease 1s both; }
.hero__title { font-size: clamp(56px, 11vw, 168px); font-weight: 700; letter-spacing: 0.01em; line-height: .92; margin: 22px 0 22px; display: flex; flex-wrap: wrap; }
.hero__word { display: inline-block; animation: titleIn 1.4s cubic-bezier(.2,.8,.1,1) 1.1s both; text-shadow: 0 0 40px rgba(61,232,245,.18); }
.hero__word--accent { color: var(--cyan-soft); text-shadow: 0 0 30px rgba(61,232,245,.55), 0 0 90px rgba(61,232,245,.35); animation-delay: 1.3s; }
@keyframes titleIn { from { opacity: 0; transform: translateY(40px); filter: blur(14px); letter-spacing: .25em; } to { opacity: 1; transform: none; filter: blur(0); } }
.hero__tagline { font-size: clamp(18px, 2vw, 24px); color: var(--text-2); max-width: 560px; animation: rise .9s ease 1.7s both; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; animation: rise .9s ease 1.9s both; }
.hero__join { display: inline-block; margin-top: 22px; color: var(--text-2); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; animation: rise .9s ease 2.1s both; }
.hero__join:hover { color: var(--text); border-color: var(--cyan); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__cable { position: absolute; left: 0; right: 0; bottom: 4vh; width: 100%; height: 160px; z-index: 1; pointer-events: none; overflow: visible; }
.hero__cable path { fill: none; stroke: var(--tc); transition: stroke .4s ease; }
.cable__glow { stroke-width: 14; opacity: .35; filter: blur(6px); }
.cable__core { stroke-width: 2.5; opacity: .9; }
.cable__flow { stroke-width: 3; stroke-dasharray: 2 46; stroke-linecap: round; stroke: #fff !important; opacity: .8; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -48; } }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero__content { padding: 120px var(--gutter) 120px; }
  .hero__shade { background: linear-gradient(0deg, var(--bg) 5%, rgba(6,7,15,.7) 45%, rgba(6,7,15,.35) 100%); }
  .hero__ctas .btn { width: 100%; justify-content: flex-start; }
  .hero__cable { bottom: 2vh; height: 100px; }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); }
.section__head { display: grid; gap: 20px; margin-bottom: 56px; max-width: 820px; }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.1,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__video, .hero__word, .hero__tagline, .hero__ctas, .hero__eyebrow, .hero__join, .hero__bars span { animation: none; }
  .hero__bars { display: none; }
  .hero__grain, .cable__flow, .dot { animation: none; }
}

/* states */
.states { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.state { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.state div { display: grid; }
.state b { font-family: var(--display); font-size: 18px; }
.state div span { color: var(--text-3); font-size: 14px; }
.state__swatch { width: 44px; height: 6px; border-radius: 3px; flex: none; }
.state--slack .state__swatch { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.state--charged .state__swatch { background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.state--critical .state__swatch { background: var(--red); box-shadow: 0 0 14px var(--red); animation: pulse .6s steps(2) infinite; }
.state--slack b { color: var(--cyan-soft); } .state--charged b { color: var(--violet-soft); } .state--critical b { color: var(--red-soft); }
@media (max-width: 760px) { .states { grid-template-columns: minmax(0, 1fr); } }

/* moves */
.moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.move { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--panel) 0%, rgba(17,19,49,.4) 100%); transition: border-color .3s ease, transform .3s ease; }
.move:hover { border-color: rgba(61,232,245,.45); transform: translateY(-4px); }
.move__media { aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.move__media video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.move:hover .move__media video { transform: scale(1.04); }
.move__body { padding: 24px 26px 28px; display: grid; gap: 10px; }
.move__num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--text-3); }
.move__body p:last-child { color: var(--text-2); }
.moves .move:nth-child(2) { transition-delay: .08s; }
@media (max-width: 860px) { .moves { grid-template-columns: minmax(0, 1fr); } }

/* statement */
.statement { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding: 120px 0; }
.statement__bg { position: absolute; inset: -10% 0; z-index: -2; background: url("../img/shot-10.jpg") center / cover no-repeat; transform: translateY(calc(var(--p, 0) * 60px)); }
.statement::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(6,7,15,.55) 30%, rgba(6,7,15,.55) 70%, var(--bg) 100%), radial-gradient(80% 60% at 30% 50%, rgba(6,7,15,.75), transparent); }
.statement__inner { display: grid; gap: 24px; max-width: 900px; margin-left: 0; }
.statement h2 { font-size: clamp(44px, 8vw, 110px); line-height: .95; }
.statement p:last-child { font-size: clamp(17px, 1.8vw, 21px); color: var(--text-2); max-width: 600px; }
.glow-red { color: var(--red-soft); text-shadow: 0 0 30px rgba(255,77,94,.6), 0 0 80px rgba(255,77,94,.3); }

/* biomes */
.biomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.biome { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 460px; border: 1px solid var(--line); isolation: isolate; }
.biome img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.biome:hover img { transform: scale(1.06); }
.biome::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,7,15,.95) 0%, rgba(6,7,15,.6) 40%, rgba(6,7,15,0) 75%); }
.biome figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: grid; gap: 10px; }
.biome figcaption p { color: var(--text-2); max-width: 460px; }
.biome h3 { font-size: clamp(26px, 3vw, 34px); }
.biome__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.biome--spires .biome__tag { color: var(--violet-soft); }
.biome--ruins .biome__tag { color: var(--gold); }
.biome--spires { box-shadow: inset 0 0 0 1px rgba(155,107,255,.15); }
.biome--ruins h3 { color: #fff4d9; }
@media (max-width: 860px) { .biomes { grid-template-columns: minmax(0, 1fr); } .biome { min-height: 380px; } }

/* ark */
.ark { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.ark__media { min-height: 320px; background: #000; }
.ark__media video { width: 100%; height: 100%; object-fit: cover; }
.ark__body { padding: clamp(24px, 4vw, 48px); display: grid; align-content: center; gap: 14px; }
.ark__body h3 { font-size: clamp(24px, 2.6vw, 32px); }
.ark__body p:last-child { color: var(--text-2); }
@media (max-width: 860px) { .ark { grid-template-columns: minmax(0, 1fr); } .ark__media { aspect-ratio: 16 / 9; min-height: 0; } }

/* features */
.features { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.features li { background: var(--bg); padding: 28px 26px; display: grid; gap: 8px; align-content: start; transition: background .3s ease; }
.features li:hover { background: var(--bg-2); }
.features h3 { font-size: 19px; }
.features h3::before { content: ""; display: block; width: 22px; height: 3px; border-radius: 2px; background: var(--cyan); margin-bottom: 14px; box-shadow: 0 0 10px var(--cyan); }
.features li:nth-child(2) h3::before { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.features li:nth-child(3) h3::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.features li:nth-child(5) h3::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.features p { color: var(--text-3); font-size: 15px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* media */
.media { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; }
.phone { position: sticky; top: 100px; padding: 12px; border-radius: 40px; background: linear-gradient(160deg, #23264f, #0c0d22); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(61,232,245,.35), 0 0 0 1px rgba(0,0,0,.6); }
.phone__screen { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 30px; overflow: hidden; background: #000; cursor: pointer; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.phone__screen:hover img { transform: scale(1.04); filter: brightness(1.1); }
.phone__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; display: grid; place-items: center; background: rgba(61,232,245,.92); color: #03121a; box-shadow: 0 0 0 10px rgba(61,232,245,.2), 0 0 50px rgba(61,232,245,.6); transition: transform .3s ease; }
.phone__play svg { width: 32px; height: 32px; margin-left: 4px; }
.phone__screen:hover .phone__play { transform: scale(1.08); }
.phone__label { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: rgba(6,7,15,.82); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #fff; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.1,1), filter .4s ease; }
.gallery button:hover img { transform: scale(1.05); filter: brightness(1.12) saturate(1.1); }
@media (max-width: 900px) { .media { grid-template-columns: minmax(0, 1fr); } .phone { position: relative; top: 0; max-width: 320px; margin: 0 auto; } }
@media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* download */
.dl { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 5vw, 60px); border-radius: 28px; border: 1px solid rgba(61,232,245,.3); background:
  radial-gradient(80% 120% at 0% 0%, rgba(61,232,245,.14), transparent 60%),
  radial-gradient(80% 120% at 100% 100%, rgba(155,107,255,.16), transparent 60%), var(--panel);
  box-shadow: 0 40px 120px -50px rgba(61,232,245,.45); }
.dl__main { display: grid; gap: 18px; align-content: start; }
.dl__main .btn { justify-self: start; }
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; color: var(--text-2); font-size: 15px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--cyan-soft); }
.steps b { color: var(--text); }
.dl__specs { margin: 0; display: grid; gap: 0; align-content: start; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(6,7,15,.5); }
.dl__specs div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dl__specs div:last-child { border-bottom: 0; }
.dl__specs dt { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.dl__specs dd { margin: 0; color: var(--text); font-size: 15px; }
.dl__hash dd { display: flex; align-items: flex-start; gap: 10px; }
.dl__hash code { font-size: 11.5px; word-break: break-all; color: var(--text-2); line-height: 1.5; }
.copy { flex: none; min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-family: var(--mono); font-size: 12px; cursor: pointer; }
.copy:hover { border-color: var(--cyan); color: var(--cyan-soft); }
@media (max-width: 900px) { .dl { grid-template-columns: minmax(0, 1fr); } .dl__main .btn { justify-self: stretch; justify-content: flex-start; } }

/* community */
.section--community { overflow: hidden; isolation: isolate; }
.community__bg { position: absolute; inset: 0; z-index: -2; background: url("../img/shot-08.jpg") center / cover no-repeat; opacity: .45; }
.section--community::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(6,7,15,.82) 25%, rgba(6,7,15,.82) 75%, var(--bg) 100%); }
.community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.community__copy { display: grid; gap: 22px; }
.perks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.perks li { position: relative; padding-left: 30px; color: var(--text-2); }
.perks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 14px; transform: rotate(45deg); border: 2px solid var(--cyan); box-shadow: 0 0 10px rgba(61,232,245,.6); }
.perks b { color: var(--text); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .2s ease, background .2s ease; }
.social:hover { color: var(--text); border-color: var(--cyan); background: rgba(61,232,245,.08); }
.social svg { width: 20px; height: 20px; }
.social[hidden] { display: none; }
@media (max-width: 900px) { .community { grid-template-columns: minmax(0, 1fr); } }

/* forms */
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 22px; border: 1px solid var(--line-2); background: rgba(17,19,49,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px -40px rgba(155,107,255,.5); }
.form__title { font-size: 24px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > label, .field legend, .form--inline > label { font-size: 14px; font-weight: 600; color: var(--text); padding: 0; }
.req, .opt { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; color: var(--text-3); margin-left: 6px; text-transform: uppercase; }
.form input[type="email"], .form input[type="text"], .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(6,7,15,.7); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.form textarea { resize: vertical; min-height: 88px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form input::placeholder, .form textarea::placeholder { color: #8b8fb5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(61,232,245,.2); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-2); cursor: pointer; min-height: 28px; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--cyan); flex: none; }
.check--consent { font-size: 13px; color: var(--text-3); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__status { font-size: 14px; min-height: 1em; }
.form__status.is-error { color: var(--red-soft); }
.form__done { display: grid; gap: 12px; text-align: center; padding: 20px 0; }
.form__done h3 { font-size: 26px; color: var(--cyan-soft); }
.form__done p { color: var(--text-2); }
.form--inline { padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; margin-top: 8px; }
.inline { display: flex; gap: 10px; }
.inline input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .inline { flex-direction: column; } }

/* dev + faq */
.devfaq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.dev { display: grid; gap: 18px; align-content: start; }
.dev > p { color: var(--text-2); }
.dev .btn { justify-self: start; margin-top: 8px; }
.dev__sub { font-size: 16px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.faq__title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 400; color: var(--cyan-soft); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 22px; }
@media (max-width: 900px) { .devfaq { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer__note { color: var(--text-3); font-size: 14px; flex: 1 1 300px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { color: var(--text-2); text-decoration: none; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.footer__links a:hover { color: var(--text); }

/* modals */
.modal { border: 0; padding: 0; background: transparent; color: var(--text); max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: visible; }
.modal::backdrop { background: rgba(3,4,10,.86); backdrop-filter: blur(8px); }
.modal[open] { animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(10px); } }
.modal__close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__close:hover { border-color: var(--cyan); }
.modal--trailer video { height: min(84vh, 900px); width: auto; max-width: calc(100vw - 32px); aspect-ratio: 9 / 16; border-radius: 22px; background: #000; box-shadow: 0 40px 120px -20px rgba(61,232,245,.4); }
.modal--shot img { max-width: min(1440px, calc(100vw - 32px)); max-height: calc(100vh - 64px); border-radius: 14px; }
.modal--download { width: 560px; }
.modal__body { display: grid; gap: 14px; padding: 34px; border-radius: 24px; border: 1px solid rgba(61,232,245,.35); background: radial-gradient(100% 80% at 0% 0%, rgba(61,232,245,.14), transparent 60%), var(--panel); box-shadow: 0 40px 120px -30px rgba(61,232,245,.4); }
.modal__body h2 { font-size: clamp(28px, 4vw, 36px); }
@media (max-width: 520px) { .modal__close { top: 8px; right: 8px; } .modal__body { padding: 26px 20px; } }

/* simple pages (thanks, 404, privacy) */
.page__main { min-height: 100vh; padding-top: 140px; padding-bottom: 100px; display: grid; gap: 22px; align-content: start; max-width: 820px; }
.page__main h1 { font-size: clamp(40px, 7vw, 80px); }
.prose { display: grid; gap: 16px; color: var(--text-2); }
.prose b { color: var(--text); }
