:root {
  color-scheme: dark;
  --bg: #050610;
  --bg-2: #090b19;
  --panel: #0b0e20;
  --text: #f3f0ea;
  --muted: #aaa9b7;
  --violet: #a987f7;
  --gold: #d9b45b;
  --gold-soft: #f0d487;
  --blue: #071a48;
  --blue-deep: #04102f;
  --blue-bright: #123a87;
  --line: rgba(217, 180, 91, .24);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 6%, rgba(91, 48, 150, .18), transparent 29rem),
    radial-gradient(circle at 12% 42%, rgba(34, 66, 148, .12), transparent 31rem),
    linear-gradient(180deg, #070813 0%, var(--bg) 28%, #04050c 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(calc(100% - 40px), var(--max));
  height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(5,6,16,.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .04em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 26px rgba(169,135,247,.16); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: #9998a8; text-decoration: none; font-size: 12px; letter-spacing: .04em; }
.site-nav a:hover { color: var(--text); }
.site-header > .launch { justify-self: end; }

.launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue) 58%, var(--blue-deep));
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 8px 30px rgba(0,0,0,.22), 0 0 30px rgba(217,180,91,.04);
}
.launch:hover { border-color: var(--gold-soft); transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 12px 34px rgba(0,0,0,.28), 0 0 34px rgba(217,180,91,.08); }
.launch-small { min-height: 36px; padding-inline: 14px; font-size: 13px; }
.launch-logo { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 5px; box-shadow: 0 0 14px rgba(18,58,135,.28); }
.launch-small .launch-logo { width: 18px; height: 18px; border-radius: 4px; }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; color: #aaa9b7; text-decoration: none; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 3px; }
.quiet-link:hover { color: var(--text); border-color: rgba(217,180,91,.45); }

.hero { padding: 24px 0 92px; }
.hero-visual {
  position: relative;
  min-height: clamp(320px, 42vw, 500px);
  margin-inline: calc(50% - 50vw);
  background-image:
    linear-gradient(to bottom, rgba(5,6,16,.03) 0%, rgba(5,6,16,.06) 53%, rgba(5,6,16,.58) 76%, var(--bg) 100%),
    url("images/banner.png");
  background-repeat: no-repeat;
  background-position: center 38%;
  background-size: min(1600px, 100vw) auto;
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 74% 78% at 50% 42%, transparent 46%, rgba(5,6,16,.17) 73%, rgba(5,6,16,.56) 100%);
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 42%;
  background: linear-gradient(to bottom, transparent, var(--bg) 92%);
  pointer-events: none;
}
.hero-copy-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: end;
  gap: clamp(36px, 7vw, 96px);
  margin-top: -36px;
}
.hero-heading { max-width: 690px; }
.hero-detail { max-width: 520px; padding-bottom: 7px; }
.eyebrow { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
h1 { font-size: clamp(48px, 6vw, 78px); max-width: 680px; }
h2 { font-size: clamp(31px, 4vw, 49px); }
.lede { max-width: 610px; margin: 0 0 27px; color: #c8c5d0; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.availability { margin: 18px 0 0; color: #747586; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

.workspace, .features, .principle, .about, .final-cta { border-top: 1px solid rgba(255,255,255,.08); }
.workspace { padding: 78px 0 84px; }
.section-copy { max-width: 650px; margin-bottom: 35px; }
.section-copy p:not(.eyebrow), .principle p:not(.eyebrow), .about p:not(.eyebrow) { color: var(--muted); max-width: 690px; }
.desktop-frame { position: relative; padding: 8px; border: 1px solid rgba(217,180,91,.18); background: linear-gradient(180deg, rgba(17,20,43,.72), rgba(6,7,17,.72)); box-shadow: 0 28px 90px rgba(0,0,0,.36); }
.desktop-shot { width: 100%; border: 1px solid rgba(255,255,255,.08); }
.frame-label { position: absolute; right: 18px; bottom: 18px; padding: 6px 9px; background: rgba(4,5,13,.78); border: 1px solid rgba(255,255,255,.1); color: #858596; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(10px); }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 22px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.07); }
.workflow div { display: grid; grid-template-columns: 32px 70px 1fr; gap: 8px; align-items: baseline; min-height: 76px; padding: 18px; background: rgba(8,10,23,.84); }
.workflow span { color: var(--gold); font-size: 10px; letter-spacing: .1em; }
.workflow strong { font-size: 13px; }
.workflow small { color: #898897; font-size: 12px; line-height: 1.45; }

.features { padding: 78px 0 92px; }
.feature-intro { margin-bottom: 30px; }
.shot-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); gap: 18px; overflow-x: auto; padding: 8px 2px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(217,180,91,.35) transparent; }
.shot-strip figure { margin: 0; scroll-snap-align: start; }
.shot-strip img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border: 1px solid rgba(255,255,255,.12); background: var(--panel); box-shadow: 0 18px 42px rgba(0,0,0,.22); }
.shot-strip figcaption { padding: 14px 2px 0; }
.shot-strip strong { display: block; color: var(--text); font-size: 14px; }
.shot-strip span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }

.principle { padding: 72px 0; display: grid; grid-template-columns: 76px 1fr; gap: 28px; align-items: start; }
.principle-mark { width: 64px; height: 64px; border: 1px solid var(--line); background: rgba(11,14,32,.5); display: grid; place-items: center; box-shadow: 0 0 36px rgba(169,135,247,.06); }
.principle-mark img { width: 38px; opacity: .9; }

.about { padding: 78px 0; display: grid; grid-template-columns: 120px minmax(0, 720px); gap: 34px; align-items: center; }
.about > img { width: 110px; border-radius: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 0 1px rgba(217,180,91,.12); }

.final-cta { padding: 72px 0 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer { min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #77788a; font-size: 12px; }
.footer span:nth-child(2) { justify-self: center; color: #666778; }
.footer span:last-child { justify-self: end; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero-copy-grid { grid-template-columns: 1fr; gap: 24px; margin-top: -24px; }
  .hero-detail { max-width: 650px; }
  .hero-visual { min-height: clamp(290px, 48vw, 420px); background-size: 1180px auto; }
  .workflow div { grid-template-columns: 28px 58px 1fr; }
}

@media (max-width: 720px) {
  .wrap, .site-header { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 60px; }
  .brand span { font-size: 15px; }
  .hero { padding: 10px 0 62px; }
  .hero-visual { min-height: 270px; margin-inline: calc(50% - 50vw); background-size: 760px auto; background-position: center 34%; }
  .hero-copy-grid { margin-top: -14px; gap: 20px; }
  h1 { font-size: clamp(44px, 14vw, 68px); }
  .lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .workspace, .features { padding: 58px 0; }
  .workflow { grid-template-columns: 1fr; }
  .workflow div { grid-template-columns: 28px 62px 1fr; min-height: 0; }
  .shot-strip { grid-auto-columns: minmax(190px, 72vw); }
  .principle { grid-template-columns: 1fr; gap: 18px; padding: 54px 0; }
  .about { grid-template-columns: 72px 1fr; gap: 20px; padding: 58px 0; }
  .about > img { width: 72px; border-radius: 14px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 56px 0 66px; }
  .footer { grid-template-columns: 1fr auto; padding: 18px 0; }
  .footer span:nth-child(2) { display: none; }
  .footer span:last-child { justify-self: end; }
}

@media (max-width: 440px) {
  .brand span { display: none; }
  .launch-small { padding-inline: 12px; }
  .frame-label { display: none; }
  .workflow div { grid-template-columns: 24px 54px 1fr; padding: 15px; }
}

@media (prefers-reduced-motion: no-preference) {
  .launch { transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
  .quiet-link, .site-nav a { transition: color .16s ease, border-color .16s ease; }
}
