/* SectorDay promo site */

@font-face { font-family: 'SD Inter'; src: url('../assets/fonts/Inter-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'SD Inter'; src: url('../assets/fonts/Inter-SemiBold.woff') format('woff'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'SD Inter'; src: url('../assets/fonts/Inter-ExtraBold.woff') format('woff'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'SD Lora'; src: url('../assets/fonts/Lora-Italic.woff') format('woff'); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --bg: #070c16;
  --bg-2: #0a1120;
  --surface: #0f182a;
  --surface-2: #131e33;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #e8edf5;
  --muted: #9aa8bb;
  --dim: #6f7d92;
  --accent: #ff7a59;
  --accent-hi: #ff9472;
  --sand: #f4d8a8;
  --sky: #39c2ff;
  --ok: #3fd07f;
  --warn: #ffb547;

  --font: 'SD Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --serif: 'SD Lora', Georgia, 'Times New Roman', serif;
  --mono: 'Cascadia Mono', Consolas, 'DejaVu Sans Mono', ui-monospace, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  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: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; color: var(--sand); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sand); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons, tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--accent); color: #1a0d08; box-shadow: 0 10px 30px -10px rgba(255, 122, 89, .7); }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.tag {
  display: inline-block; vertical-align: 2px; padding: 3px 9px; border-radius: 999px;
  font: 600 11.5px/1.4 var(--font); letter-spacing: .04em; white-space: nowrap;
}
.tag-dev { color: var(--warn); background: rgba(255, 181, 71, .12); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .28); }
.tag-proto { color: var(--sky); background: rgba(57, 194, 255, .1); box-shadow: inset 0 0 0 1px rgba(57, 194, 255, .26); }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.kicker .tag { letter-spacing: .04em; text-transform: none; }
.fine { font-size: 14px; color: var(--dim); margin-top: 18px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 12, 22, .72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.brand-word span { color: var(--sand); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .header-row { gap: 12px; }
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 6px; width: 44px; height: 44px; flex: none;
    border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 68px; margin: 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 18px; background: rgba(7, 12, 22, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 420px) {
  .brand-word { font-size: 19px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { padding: 0 14px; font-size: 14px; }
}
@media (max-width: 359px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.hero-sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 122, 89, .20), transparent 70%),
    radial-gradient(50% 40% at 85% 10%, rgba(244, 216, 168, .10), transparent 70%),
    radial-gradient(70% 60% at 10% 30%, rgba(57, 110, 200, .18), transparent 70%),
    linear-gradient(to bottom, #0b1430 0%, var(--bg) 70%);
}
.hero-sky::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.5px);
  background-size: 120px 120px; background-position: 13px 27px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 45%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .35), transparent 45%);
}
.hero-route { position: absolute; left: 0; top: 40px; width: 100%; height: 420px; opacity: .5; }
.hero-route path { fill: none; stroke: var(--sand); stroke-width: 1.5; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: route 6s linear infinite; }
@keyframes route { to { stroke-dashoffset: -120; } }

.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.sm-show { display: none; }
@media (max-width: 560px) { .sm-hide { display: none; } .sm-show { display: inline; } }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(255, 181, 71, .16); flex: none; }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 7.4vw, 88px); letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-weight: 500; letter-spacing: -.02em; background: linear-gradient(90deg, var(--sand), #ffb08f); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lede { margin-top: 24px; max-width: 690px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.6; }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--dim); }

.hero-media { position: relative; margin-top: clamp(44px, 6vw, 72px); }
.hero-frame {
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: #0a0d13;
  aspect-ratio: 1600 / 828; box-shadow: var(--shadow), 0 0 120px -40px rgba(255, 122, 89, .45);
}
.hero-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); pointer-events: none; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.media-tag {
  position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 999px;
  background: rgba(7, 12, 22, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line);
}

.strip {
  position: absolute; right: clamp(-8px, -1vw, 0px); bottom: -36px; width: 330px;
  background: linear-gradient(180deg, rgba(19, 30, 51, .94), rgba(12, 20, 35, .96));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
  font-variant-numeric: tabular-nums;
}
.strip-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.strip-head b { color: var(--text); letter-spacing: .04em; text-transform: none; font-size: 13px; }
.strip-legs { counter-reset: leg; margin: 6px 0 4px; }
.strip-legs li { display: grid; grid-template-columns: 62px 1fr auto; gap: 8px; align-items: center; padding: 8px 8px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.strip-legs b { color: var(--text); font-weight: 600; }
.strip-legs time { font-family: var(--mono); font-size: 13px; }
.strip-legs .is-done { opacity: .55; }
.strip-legs .is-done b::after { content: ' ✓'; color: var(--ok); }
.strip-legs .is-now { background: rgba(255, 122, 89, .14); box-shadow: inset 3px 0 0 var(--accent); color: var(--text); }
.strip-foot { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }

@media (max-width: 760px) {
  .strip { position: relative; right: auto; bottom: auto; width: auto; margin: -28px 14px 0; }
  .media-tag { left: 10px; top: 10px; font-size: 11.5px; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg) 85%); border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); }
.section-head > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: clamp(16.5px, 1.6vw, 19px); }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.timeline::before {
  content: ''; position: absolute; left: 10%; right: 10%; top: 51px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(244, 216, 168, .55) 0 6px, transparent 6px 14px);
}
.tl-step { position: relative; text-align: center; padding: 0 4px; }
.tl-time { display: block; font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .04em; height: 20px; }
.tl-node {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin: 8px auto 22px;
  border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2);
  font-weight: 800; color: var(--sand); box-shadow: 0 0 0 8px var(--bg);
}
.tl-step:first-child .tl-node { background: var(--accent); color: #1a0d08; border-color: transparent; box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(255, 122, 89, .55); }
.tl-node-end { background: var(--sand); color: #1a1408; border-color: transparent; }
.tl-step h3 { font-size: 21px; margin-bottom: 10px; }
.tl-step p { font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.tl-step .tag { margin-top: 6px; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 23px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(244, 216, 168, .55) 0 6px, transparent 6px 14px); }
  .tl-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; text-align: left; padding: 0 0 34px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-node { grid-row: 1 / span 3; margin: 0; }
  .tl-time { grid-column: 2; height: auto; }
  .tl-step h3 { grid-column: 2; margin: 2px 0 8px; }
  .tl-step p { grid-column: 2; }
}

/* features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature {
  position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px;
  border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease;
}
.feature:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ficon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: rgba(255, 122, 89, .12); fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.feature h3 { font-size: 18.5px; letter-spacing: -.01em; margin-bottom: 10px; line-height: 1.25; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.6; flex: 1; }
.feature .tag { align-self: flex-start; margin-top: 18px; }
.legend { margin-top: 26px; font-size: 14px; color: var(--dim); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media (max-width: 1080px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* gallery */
.gallery-stage { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); border: 1px solid var(--line); }
.gallery-img { width: 100%; aspect-ratio: 1600 / 828; height: auto; object-fit: cover; background: #0a0d13; transition: opacity .3s ease; }
.gallery-img.is-swapping { opacity: .25; }
.gallery-cap { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; padding: 18px 24px; border-top: 1px solid var(--line); }
.gallery-cap b { font-size: 18px; }
.gallery-cap span { color: var(--muted); font-size: 15.5px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 14px; }
.thumb {
  padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface);
  cursor: pointer; color: var(--muted); font: 600 13px/1 var(--font); text-align: left;
  transition: border-color .2s, color .2s, transform .2s;
}
.thumb img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; opacity: .7; transition: opacity .2s; }
.thumb span { display: block; padding: 10px 11px; }
.thumb:hover { color: var(--text); }
.thumb:hover img { opacity: 1; }
.thumb[aria-pressed="true"] { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 1px var(--accent); }
.thumb[aria-pressed="true"] img { opacity: 1; }
@media (max-width: 900px) { .gallery-thumbs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .gallery-cap { padding: 14px 16px; flex-direction: column; }
  .gallery-cap b { font-size: 17px; }
  .gallery-cap span { font-size: 14.5px; }
  .gallery-thumbs { gap: 8px; }
  .thumb span { padding: 8px; font-size: 12px; }
}

/* EFB */
.efb { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.efb-copy h2 { font-size: clamp(32px, 4.4vw, 52px); }
.efb-copy > p:not(.kicker):not(.fine) { margin-top: 18px; color: var(--muted); font-size: 18px; }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(57, 194, 255, .14); box-shadow: inset 0 0 0 1px rgba(57, 194, 255, .4); }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--sky); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks b { color: var(--text); font-weight: 600; }
.efb-visual { position: relative; min-height: 640px; }
.tablet { position: absolute; width: 66%; max-width: 420px; border-radius: 28px; box-shadow: var(--shadow); }
.tablet-back { left: 0; top: 40px; transform: rotate(-5deg); opacity: .6; filter: saturate(.8); }
.tablet-front { right: 2%; top: 0; box-shadow: var(--shadow), 0 0 100px -30px rgba(57, 194, 255, .4); }
@media (max-width: 900px) {
  .efb { grid-template-columns: 1fr; }
  .efb-visual { min-height: 0; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
  .tablet { width: 64%; }
}

/* integrations */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integration { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.int-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 14px; }
.integration p:not(.int-name):not(.int-req) { color: var(--muted); font-size: 15.5px; flex: 1; }
.int-req { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); }
.int-opt { color: var(--dim); }
@media (max-width: 900px) { .integrations { grid-template-columns: 1fr; } }

/* roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rm { position: relative; padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.rm::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; }
.rm-now::before { background: var(--sky); }
.rm-next::before { background: var(--warn); }
.rm-later::before { background: var(--dim); }
.rm-phase { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.rm-now .rm-phase { color: var(--sky); }
.rm-next .rm-phase { color: var(--warn); }
.rm-later .rm-phase { color: var(--muted); }
.rm li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.rm li:first-child { border-top: 0; }
.rm li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid currentColor; opacity: .7; }
.rm-now li::before { background: var(--sky); border-color: var(--sky); opacity: 1; }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr; } }

/* faq */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-size: 18px; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { margin-bottom: 8px; } }

/* register */
.register { background:
  radial-gradient(60% 70% at 85% 50%, rgba(255, 122, 89, .14), transparent 70%),
  linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.register-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.register-copy h2 { font-size: clamp(32px, 4.4vw, 52px); }
.register-copy > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 480px; }
.form { padding: clamp(22px, 3vw, 34px); border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.req { color: var(--accent); }
.opt { color: var(--dim); font-weight: 400; margin-left: 4px; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(3, 6, 12, .55); color: var(--text); font: 400 16px var(--font); transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--surface); }
.field input::placeholder { color: var(--dim); }
.field input:focus, .field select:focus { outline: none; border-color: var(--sand); box-shadow: 0 0 0 3px rgba(244, 216, 168, .18); }
.field input[aria-invalid="true"] { border-color: #ff6b6b; }
.field-err { color: #ff8a8a; font-size: 13.5px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.4em; text-align: center; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: #ff8a8a; }
.form.is-done .field, .form.is-done .field-row, .form.is-done .check, .form.is-done button { display: none; }
.form.is-done .form-status { font-size: 18px; padding: 30px 0; }
@media (max-width: 900px) { .register-inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: #05090f; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-tag { margin-top: 14px; color: var(--dim); font-size: 15px; max-width: 340px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: flex-start; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 15px; padding: 4px 0; }
.footer-nav a:hover { color: var(--text); }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; font-size: 13.5px; color: var(--dim); }

/* 404 */
.notfound { min-height: calc(100vh - 69px); display: grid; place-items: center; text-align: center; padding: 60px 0; position: relative; isolation: isolate; overflow: hidden; }
.notfound h1 { font-size: clamp(40px, 7vw, 76px); margin: 18px 0; }
.notfound p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; font-size: 18px; }
.notfound .code { font-family: var(--mono); color: var(--accent); letter-spacing: .1em; font-size: 14px; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-route path { animation: none; }
}
.push { margin-left: auto; }
