:root {
  --bg: #07131c;
  --bg-2: #0c1b29;
  --text: #f4f7fb;
  --muted: #b4c2d4;
  --soft: #d5deea;
  --teal: #6ef3d6;
  --teal-deep: #128f78;
  --blue: #9eb6ff;
  --gold: #e8c48a;
  --line: rgba(232, 241, 255, 0.14);
  --glass: rgba(8, 18, 30, 0.66);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --max: 1140px;
  --header: 78px;
  --display: "Outfit", "Segoe UI", sans-serif;
  --font: "Outfit", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color-scheme: dark;
  overflow-x: clip;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(158, 182, 255, 0.16), transparent 55%),
    radial-gradient(700px 420px at -10% 20%, rgba(110, 243, 214, 0.12), transparent 50%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(110, 243, 214, 0.35); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--teal);
  color: #06221c;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.container { width: min(var(--max), calc(100% - 40px)); max-width: calc(100vw - 40px); margin: 0 auto; min-width: 0; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  transition: background 0.35s var(--ease), border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(7, 19, 28, 0.86);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header-bar {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(110, 243, 214, 0.2), rgba(158, 182, 255, 0.08));
  border: 1px solid var(--line);
  color: var(--teal);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}
.brand small {
  display: block;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.62rem;
}
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: white; background: rgba(255, 255, 255, 0.06); }
.nav-cta {
  background: linear-gradient(120deg, var(--teal), #b7fff0) !important;
  color: #073128 !important;
  font-weight: 650;
  margin-left: 6px;
}
.nav-toggle {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}
.nav-toggle i,
.nav-toggle i::before {
  display: block;
  width: 18px;
  height: 1.5px;
  background: white;
  position: absolute;
  left: 14px;
}
.nav-toggle i { top: 18px; }
.nav-toggle i::before { content: ""; top: 8px; }

.hero, .page-hero, main { position: relative; overflow: hidden; max-width: 100%; }
.site-header, .header-bar, .hero-copy { max-width: 100%; min-width: 0; }
.hero { min-height: 100vh; display: grid; align-items: end; padding: 140px 0 72px; }
.page-hero { min-height: 52vh; display: grid; align-items: end; padding: 140px 0 56px; }
.media-bg, .media-shade { position: absolute; inset: 0; }
.media-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: drift 22s ease-in-out infinite alternate;
}
.media-shade {
  background:
    radial-gradient(ellipse at 18% 30%, rgba(110, 243, 214, 0.28), transparent 42%),
    radial-gradient(ellipse at 85% 12%, rgba(158, 182, 255, 0.28), transparent 36%),
    linear-gradient(180deg, rgba(7, 19, 28, 0.25), rgba(7, 19, 28, 0.72) 58%, var(--bg));
}
.hero-copy, .page-hero .container { position: relative; z-index: 1; min-width: 0; max-width: 100%; }
.hero h1, .hero .lede, .page-hero h1, .page-hero .lede { text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
h1, .lede, .pill { max-width: 100%; }
.kicker {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--gold);
}
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.18; margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.15rem, 4.2vw, 3.7rem); max-width: min(18ch, 100%); font-weight: 600; }
.lede { max-width: 640px; color: var(--soft); font-size: 1.15rem; margin: 22px 0 0; }
.hero-actions, .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(120deg, var(--teal), #d8fff6); color: #073128; font-weight: 650; }
.btn-ghost { border-color: var(--line); background: rgba(7, 19, 28, 0.35); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.pill {
  border: 1px solid var(--line);
  background: rgba(7, 19, 28, 0.45);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--soft);
  font-size: 0.92rem;
}
.pill strong { color: white; font-weight: 600; }

.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  max-width: 100%;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker 28s linear infinite;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.marquee .sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

section { padding: 88px 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 34px; max-width: 680px; }
.section-head h2, .page-hero h1 { font-size: clamp(2rem, 3.2vw, 3.05rem); max-width: min(22ch, 100%); font-weight: 600; line-height: 1.2; }
.section-head p, .prose p { color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; transform: scale(1.04); }
.frame figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
}

.grid-4, .grid-3, .grid-2 { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .panel, .legal, .order-card, .console, form {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(110, 243, 214, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
  overflow: hidden;
}
.card, .panel { padding: 22px; transition: transform 0.45s var(--ease), border-color 0.3s; }
.card:hover, .panel:hover { transform: translateY(-8px); border-color: rgba(110, 243, 214, 0.45); }
.card .index, .step-no {
  color: var(--gold);
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.card h3, .panel h3 { font-size: 1.45rem; margin: 10px 0; }
.card p, .panel p, .order-card p { color: var(--muted); margin: 0; }
.card a.more { display: inline-block; margin-top: 16px; color: var(--teal); }

.photo-card { padding: 0; }
.photo-card img { height: 180px; width: 100%; object-fit: cover; }
.photo-card div { padding: 18px 18px 22px; }
.band {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  min-height: 380px;
  display: grid;
  align-items: center;
}
.band .media-bg { animation-duration: 26s; }
.band .inner { position: relative; z-index: 1; padding: 42px; max-width: 640px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  min-height: 150px;
}
.step strong { display: block; margin: 8px 0; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.stage-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.stage-switch button, .notice button, form button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
}
.stage-switch button[aria-selected="true"] {
  background: var(--teal);
  color: #073128;
  border-color: transparent;
  font-weight: 650;
}
.order-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: start; }
.order-card { padding: 26px; }
.order-card h3 { font-size: 2rem; margin: 8px 0 12px; }
.status-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.status-row dt { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.status-row dd { margin: 4px 0 0; font-size: 1.05rem; }
.progress {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 22px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transition: width 0.45s var(--ease);
}

.console { padding: 22px; min-height: 280px; font-family: "Cascadia Mono", Consolas, monospace; }
.console-top { display: flex; gap: 8px; margin-bottom: 18px; }
.console-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); display: block; }
.console-top i:first-child { background: #ff8b8b; }
.console-top i:nth-child(2) { background: var(--gold); }
.console-top i:nth-child(3) { background: var(--teal); }
.console p { margin: 0 0 10px; color: var(--soft); font-size: 0.95rem; }
.console .caret { color: var(--teal); }

.facts { display: grid; gap: 0; }
.facts div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--gold); }
.facts dd { margin: 0; }

form { padding: 22px; display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--soft); font-size: 0.92rem; }
input, select, textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(4, 12, 20, 0.45);
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(110, 243, 214, 0.7); }
.form-error { color: #ffb4b4; min-height: 1.2em; margin: 0; }
.form-ok { color: var(--teal); margin: 0; }
form .btn { border: 0; }

.legal { padding: 8px 28px 28px; }
.legal h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--teal); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #061017;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 28px; }
.site-footer h2 { font-size: 1.4rem; }
.site-footer h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer p, .site-footer a, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: white; }
.subfoot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: #07131c;
  animation: hide-preload 0.35s ease 0.45s forwards;
}
.preloader-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  animation: rise 1s var(--ease) both;
}
.preloader-mark svg { width: 32px; height: 32px; color: var(--teal); }
.notice {
  position: fixed;
  z-index: 35;
  top: var(--header);
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  display: none;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 18, 30, 0.94);
  box-shadow: var(--shadow);
}
.notice.is-on { display: flex; }
.notice p { margin: 0; color: var(--soft); font-size: 0.92rem; flex: 1; min-width: 0; }
.notice button { background: var(--teal); color: #073128; border: 0; font-weight: 650; }

.reveal { opacity: 0; transform: translateY(24px); animation: reveal 0.8s var(--ease) forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

@keyframes drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2%, -1%, 0); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes reveal {
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes hide-preload {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 980px) {
  .grid-4, .steps { grid-template-columns: 1fr 1fr; }
  .grid-3, .split, .order-layout, .footer-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    inset: var(--header) 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(7, 19, 28, 0.96);
  }
  .site-header.menu-open .site-nav { display: flex; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  .container, .narrow { width: min(var(--max), calc(100% - 28px)); }
  .hero, .page-hero { align-items: start; padding-top: 168px; }
  body:has(.notice.is-on) .hero,
  body:has(.notice.is-on) .page-hero { padding-top: 248px; }
  .band .inner { padding: 24px; }
  h1, .page-hero h1, .section-head h2 { max-width: 100%; font-size: 2.05rem; line-height: 1.22; }
  .lede { font-size: 1rem; }
  .hero-meta { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .preloader { display: none; }
}
