:root {
  color-scheme: dark;
  --bg: #080a0d;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(233, 239, 246, 0.14);
  --line-strong: rgba(233, 239, 246, 0.25);
  --text: #f5f7fa;
  --muted: #a2a9b4;
  --dim: #6f7783;
  --neutral: #d9dee6;
  --neutral-deep: #8f99a7;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -15%, rgba(255,255,255,.12), transparent 48%);
  mix-blend-mode: screen;
  opacity: .4;
}

a { color: inherit; text-decoration: none; }

.shell { width: var(--shell); margin-inline: auto; }

.ambient { position: fixed; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; filter: blur(80px); opacity: .09; }
.ambient-one { top: 10%; left: -180px; background: #b8c4d4; }
.ambient-two { right: -180px; top: 44%; background: #718096; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 680; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 9px; color: var(--neutral); background: var(--panel-strong); }
nav { display: flex; gap: 24px; color: var(--muted); font-size: 13px; }
nav a, .footer a { transition: color .2s ease; }
nav a:hover, .footer a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); gap: 76px; align-items: center; min-width: 0; padding: 108px 0 126px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 20px; color: var(--neutral-deep); font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { color: var(--neutral); margin-inline: 5px; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 100%; margin-bottom: 24px; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.07em; }
h2 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.03; letter-spacing: -.055em; }
.lede { max-width: 570px; margin-bottom: 25px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.pills, .download-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span, .download-meta span { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.04); font-size: 12px; }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 17px; border: 1px solid var(--line-strong); border-radius: 12px; font-size: 13px; font-weight: 650; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.4); }
.button-primary { color: #15181c; background: linear-gradient(135deg, #f1f4f7, #afb8c4); border-color: transparent; }
.button-secondary { color: var(--text); background: var(--panel); }
.microcopy { margin: 16px 0 0; color: var(--dim); font-size: 12px; }

.glass-card { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)); box-shadow: 0 24px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(22px); }
.hero-panel { position: relative; display: grid; grid-template-rows: auto auto auto; align-content: start; min-height: 430px; overflow: hidden; padding: 26px; border-radius: 30px; }
.panel-topline { display: flex; align-items: center; gap: 8px; color: var(--dim); font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--neutral); box-shadow: 0 0 18px rgba(217,222,230,.7); }
.panel-time { margin-left: auto; color: var(--neutral-deep); }
.panel-title { position: relative; z-index: 1; margin: clamp(42px, 7vw, 78px) 0 28px; font-size: 56px; line-height: .98; letter-spacing: -.065em; }
.panel-title span { color: var(--muted); }
.mini-grid { position: relative; right: auto; bottom: auto; left: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 0; }
.mini-stat { min-height: 98px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.14); }
.mini-stat.wide { grid-column: 1 / -1; min-height: 82px; }
.mini-label, .mini-foot { display: block; color: var(--dim); font-size: 11px; }
.mini-stat strong { display: block; margin: 7px 0 3px; font-size: 22px; letter-spacing: -.04em; }
.panel-orbit { position: absolute; top: 74px; right: -44px; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; opacity: .5; }
.panel-orbit::before, .panel-orbit::after { content: ""; position: absolute; inset: 27px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.panel-orbit::after { inset: 72px; }
.panel-orbit span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #e8ecf1; }
.panel-orbit span:nth-child(1) { top: 42px; left: 48px; }
.panel-orbit span:nth-child(2) { top: 125px; right: 8px; }
.panel-orbit span:nth-child(3) { bottom: 28px; left: 97px; }

.section-heading { display: flex; justify-content: space-between; gap: 36px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { max-width: 610px; }
.section-note { max-width: 360px; margin-bottom: 5px; color: var(--muted); font-size: 13px; }
.section-heading.compact { margin-bottom: 0; }
.section-heading.compact h2 { max-width: 450px; }

.preview-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; align-items: start; }
.preview-card { grid-column: span 4; overflow: hidden; border-radius: 24px; }
.preview-large { grid-column: span 5; }
.preview-settings { grid-column: span 3; }
.shot-wrap { padding: 10px; background: rgba(0,0,0,.25); }
.shot-wrap img { display: block; width: 100%; height: auto; border-radius: 16px; }
.preview-card figcaption { display: grid; grid-template-columns: 34px auto 1fr; gap: 8px; align-items: baseline; padding: 16px 17px 18px; }
.preview-card figcaption span { color: var(--neutral-deep); font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; }
.preview-card figcaption strong { font-size: 14px; }
.preview-card figcaption em { justify-self: end; color: var(--dim); font-size: 11px; font-style: normal; }

.workflow-section { padding: 142px 0 34px; }
.workflow-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.workflow-step { min-height: 238px; padding: 22px; border-radius: 20px; }
.step-index { display: block; margin-bottom: 34px; color: var(--neutral-deep); font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.workflow-step h3 { margin: 0 0 10px; font-size: 17px; letter-spacing: -.035em; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.split-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 74px; align-items: start; padding: 150px 0; }
.table-card { overflow: hidden; border-radius: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
td { color: var(--muted); }
td:first-child { color: var(--text); font-weight: 650; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.table-status { display: inline-flex; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--neutral); font-size: 11px; white-space: nowrap; }
.compatibility-section { padding: 42px 0 100px; }
.compatibility-table td:first-child { width: 18%; }
.compatibility-note { max-width: 850px; margin: 18px 0 0; color: var(--dim); font-size: 12px; }

.download-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; padding: 70px 0 100px; border-top: 1px solid var(--line); }
.download-copy > p:not(.eyebrow) { max-width: 530px; color: var(--muted); }
.download-meta { margin-top: 28px; }
.download-meta b { margin-right: 5px; color: var(--text); font-weight: 650; }
.download-card { display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center; padding: 22px; border-radius: 22px; }
.download-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 14px; color: #16191d; background: var(--neutral); font-size: 23px; }
.download-card strong, .download-card span { display: block; }
.download-card strong { font-size: 15px; }
.download-card span { margin-top: 4px; color: var(--dim); font-size: 11px; }
.download-card code { grid-column: 2 / -1; overflow: auto; color: var(--neutral-deep); font: 10px ui-monospace, SFMono-Regular, Menlo, monospace; }

.note-row { display: flex; gap: 14px; align-items: flex-start; max-width: 820px; margin: 0 0 110px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 13px; }
.note-row p { margin: 0; }
.note-row strong { color: var(--text); }
.note-mark { color: var(--neutral); }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 680px); }
  nav { gap: 12px; }
  nav a:nth-child(2) { display: none; }
  .hero, .split-section, .download-section { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 76px 0 90px; }
  .hero-panel { min-height: 390px; }
  .section-heading { display: block; }
  .section-note { margin-top: 20px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-card, .preview-large, .preview-settings { grid-column: span 6; }
  .preview-large { grid-row: span 2; }
  .split-section { padding: 100px 0; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .topbar { padding-top: 18px; }
  nav a:nth-child(1) { display: none; }
  nav a:nth-child(3) { display: none; }
  h1 { font-size: min(52px, 12vw); }
  .lede { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  nav a:nth-child(4) { display: none; }
  .hero-panel { min-height: 0; padding: 20px; border-radius: 23px; }
  .panel-title { margin: 36px 0 24px; font-size: 43px; }
  .workflow-section { padding: 100px 0 20px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step { min-height: 0; }
  .step-index { margin-bottom: 22px; }
  .compatibility-section { padding: 20px 0 70px; }
  .preview-card, .preview-large, .preview-settings { grid-column: 1 / -1; }
  .preview-large { grid-row: auto; }
  .preview-card figcaption { grid-template-columns: 27px auto 1fr; }
  .preview-card figcaption em { font-size: 10px; }
  th, td { padding: 14px 11px; font-size: 11px; }
  td:first-child { white-space: normal; }
  .download-card { grid-template-columns: 42px 1fr; }
  .download-card .button { grid-column: 1 / -1; }
  .download-card code { grid-column: 1 / -1; }
  .footer { display: block; }
  .footer span:last-child { display: block; margin-top: 8px; }
}
