:root {
  color-scheme: dark;
  --bg: #03070d;
  --bg-deep: #010409;
  --surface: rgba(13, 23, 38, 0.72);
  --surface-strong: rgba(18, 31, 51, 0.92);
  --text: #f7f9fc;
  --muted: #aeb9cb;
  --faint: #78869b;
  --border: #263850;
  --border-bright: #4f719c;
  --accent: #0a6cff;
  --accent-bright: #4da1ff;
  --accent-soft: rgba(10, 108, 255, 0.18);
  --success: #41c977;
  --warning: #f2be4a;
  --danger: #ff625c;
  --container: 1360px;
  --radius-small: 12px;
  --radius-medium: 22px;
  --shadow-accent: 0 16px 42px rgba(0, 92, 255, 0.22);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 76% 10%, rgba(8, 88, 210, 0.09), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 22rem);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  padding-block: 24px;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 24px;
  font-weight: 720;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  border-radius: 11px;
  filter: drop-shadow(0 6px 14px rgba(0, 94, 255, 0.24));
}

.primary-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.primary-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 620;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: #287fff;
  background: var(--accent);
  box-shadow: var(--shadow-accent), inset 0 1px rgba(255, 255, 255, 0.22);
  color: white;
}

.button-primary:hover {
  background: #1677ff;
  box-shadow: 0 18px 48px rgba(0, 92, 255, 0.3), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-secondary,
.button-quiet {
  border-color: var(--border);
  background: rgba(5, 10, 18, 0.58);
  color: var(--muted);
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: var(--border-bright);
  background: var(--surface);
  color: var(--text);
}

.button-quiet {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 15px;
}

.hero {
  display: grid;
  min-height: 760px;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
  padding-block: 78px 112px;
}

.hero-copy {
  max-width: 610px;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(62px, 5.4vw, 80px);
  font-weight: 720;
  letter-spacing: -0.061em;
  line-height: 0.99;
}

.hero-copy > p:not(.download-note) {
  max-width: 570px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.product-shot {
  position: relative;
  isolation: isolate;
  width: min(100%, 500px);
  margin: 0 auto;
  padding: 28px 28px 22px;
  border: 1px solid rgba(77, 161, 255, 0.38);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 4%, rgba(77, 161, 255, 0.2), transparent 44%),
    linear-gradient(145deg, rgba(14, 31, 55, 0.92), rgba(5, 12, 23, 0.86));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 34px 90px rgba(0, 0, 0, 0.44),
    0 18px 55px rgba(0, 92, 255, 0.18);
}

.product-shot::before {
  position: absolute;
  z-index: -1;
  right: 8%;
  bottom: -3%;
  left: 8%;
  height: 24%;
  border-radius: 50%;
  background: rgba(10, 108, 255, 0.28);
  filter: blur(48px);
  content: "";
}

.product-shot img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 22px 35px rgba(0, 0, 0, 0.5));
}

.product-shot figcaption {
  margin-top: 17px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.01em;
  text-align: center;
}

.workflow-icon path,
.workflow-icon rect,
.recipe-option svg path,
.trust-item svg path,
.trust-item svg rect {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.workflow-band {
  border-block: 1px solid var(--border);
  background: rgba(2, 7, 13, 0.76);
  padding-block: 76px 86px;
}

.workflow-band h2,
.update-section h2,
.recipe-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 690;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.release-badge,
.eyebrow {
  color: #9fc8ff;
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(77, 161, 255, 0.45);
  border-radius: 999px;
  background: var(--accent-soft);
}

.workflow-band h2 {
  text-align: center;
}

.workflow-rail {
  position: relative;
  display: grid;
  margin: 58px 0 0;
  padding: 0;
  counter-reset: workflow;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.workflow-rail::before {
  position: absolute;
  top: 42px;
  right: 11%;
  left: 11%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright) 14%, var(--accent-bright) 86%, transparent);
  box-shadow: 0 0 18px rgba(77, 161, 255, 0.72);
  content: "";
}

.workflow-rail li {
  position: relative;
  display: grid;
  justify-items: center;
  padding-inline: 20px;
  text-align: center;
}

.workflow-icon,
.workflow-rail kbd {
  z-index: 1;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  background: #07101c;
  box-shadow: 0 0 22px rgba(10, 108, 255, 0.14);
  color: #9fc8ff;
}

.workflow-icon svg {
  width: 34px;
  height: 34px;
}

.workflow-rail kbd {
  border-radius: 15px;
  background: var(--accent);
  color: white;
  font-family: var(--font);
  font-size: 42px;
  font-weight: 440;
}

.workflow-rail strong {
  margin-top: 20px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.workflow-rail li > span:last-child {
  max-width: 220px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
}

.recipe-section {
  padding-block: 112px;
}

.update-section {
  padding-block: 112px 0;
}

.eyebrow {
  margin: 0 0 14px;
}

.update-grid {
  display: grid;
  margin-top: 48px;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.update-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: rgba(6, 13, 23, 0.76);
}

.update-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.update-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.recipe-demo {
  display: grid;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: rgba(6, 12, 21, 0.58);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  grid-template-columns: 0.9fr 1.1fr;
}

.recipe-demo fieldset {
  min-width: 0;
  margin: 0;
  padding: 36px;
  border: 0;
}

.recipe-demo fieldset + fieldset {
  border-left: 1px solid var(--border);
}

.recipe-demo legend {
  width: 100%;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.recipe-choices {
  display: grid;
  align-content: start;
  gap: 12px;
}

.recipe-option,
.layout-option {
  border: 1px solid var(--border);
  background: rgba(15, 25, 40, 0.68);
  color: var(--muted);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.recipe-option:hover,
.layout-option:hover {
  border-color: var(--border-bright);
  color: var(--text);
  transform: translateY(-1px);
}

.recipe-option.is-selected,
.layout-option.is-selected {
  border-color: var(--accent-bright);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(10, 108, 255, 0.22), 0 12px 30px rgba(0, 56, 140, 0.18);
  color: var(--text);
}

.recipe-option {
  display: grid;
  width: 100%;
  min-height: 70px;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-small);
  font-weight: 600;
  grid-template-columns: auto 1fr auto;
  text-align: left;
}

.recipe-option > svg {
  width: 20px;
  height: 20px;
}

.recipe-glyph {
  display: grid;
  width: 48px;
  height: 36px;
  gap: 3px;
  grid-template-columns: 1fr 1fr;
}

.recipe-glyph i,
.layout-glyph i {
  display: block;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.layout-choices {
  display: grid;
  align-content: start;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.layout-choices legend {
  grid-column: 1 / -1;
}

.layout-option {
  display: grid;
  min-height: 176px;
  align-content: center;
  justify-items: center;
  gap: 20px;
  padding: 20px 12px;
  border-radius: var(--radius-small);
  font-weight: 570;
}

.layout-glyph {
  display: grid;
  width: 72px;
  height: 62px;
  gap: 4px;
}

.split-even {
  grid-template-columns: 1fr 1fr;
}

.split-rows {
  grid-template-rows: 1fr 1fr;
}

.split-three {
  grid-template-columns: repeat(3, 1fr);
}

.split-focus {
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.split-focus i:first-child {
  grid-row: 1 / 3;
}

.trust-section {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: rgba(6, 13, 23, 0.76);
  grid-template-columns: 1fr 1fr;
}

.trust-item {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 38px 54px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--border);
}

.trust-item svg {
  width: 68px;
  flex: 0 0 68px;
  color: var(--accent-bright);
  filter: drop-shadow(0 7px 16px rgba(10, 108, 255, 0.25));
}

.trust-item p {
  margin: 0;
  font-size: 21px;
  font-weight: 610;
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.final-cta {
  display: flex;
  min-height: 570px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.final-cta img {
  margin-bottom: 34px;
  border-radius: 25px;
  filter: drop-shadow(0 18px 36px rgba(0, 87, 255, 0.34));
}

.final-cta h2 {
  margin-bottom: 34px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding-block: 32px;
}

.site-footer .brand {
  font-size: 21px;
}

.document-page {
  background: var(--bg-deep);
}

.document-shell {
  width: min(calc(100% - 48px), 820px);
  margin: 72px auto 120px;
}

.document-shell h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.document-lead {
  margin: 24px 0 58px;
  color: var(--muted);
  font-size: 20px;
}

.document-section {
  padding-block: 34px;
  border-top: 1px solid var(--border);
}

.document-section h2 {
  margin: 0 0 16px;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.document-section h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.document-section p,
.document-section li {
  color: var(--muted);
}

.document-section p {
  margin: 12px 0;
}

.document-section ol,
.document-section ul {
  padding-left: 24px;
}

.document-section li + li {
  margin-top: 10px;
}

.document-section code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: #dce9fc;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.88em;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fact-list {
  display: grid;
  margin: 0;
  gap: 0;
  grid-template-columns: 180px 1fr;
}

.fact-list dt,
.fact-list dd {
  padding-block: 14px;
  border-bottom: 1px solid rgba(38, 56, 80, 0.7);
}

.fact-list dt {
  color: var(--text);
  font-weight: 620;
}

.fact-list dd {
  margin: 0;
  color: var(--muted);
}

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-small);
  background: var(--accent-soft);
  color: #dceaff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .product-shot {
    width: min(100%, 500px);
  }

  .recipe-demo {
    grid-template-columns: 1fr;
  }

  .recipe-demo fieldset + fieldset {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .trust-item {
    padding-inline: 32px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .site-header {
    padding-block: 16px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-download {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    gap: 52px;
    padding-block: 74px 90px;
  }

  .hero h1 {
    font-size: clamp(50px, 14vw, 68px);
  }

  .hero-copy > p:not(.download-note) {
    font-size: 19px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .product-shot {
    padding: 18px 18px 16px;
    border-radius: 24px;
  }

  .workflow-band {
    padding-block: 66px;
  }

  .workflow-rail {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .workflow-rail::before {
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--accent-bright) 12%, var(--accent-bright) 88%, transparent);
  }

  .workflow-rail li > span:last-child {
    padding: 4px 10px;
    background: var(--bg-deep);
  }

  .recipe-section {
    padding-block: 82px;
  }

  .update-section {
    padding-top: 82px;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .recipe-demo fieldset {
    padding: 24px;
  }

  .layout-choices {
    grid-template-columns: 1fr 1fr;
  }

  .layout-option {
    min-height: 150px;
  }

  .trust-section {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 170px;
    justify-content: flex-start;
    padding: 28px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .trust-item p {
    font-size: 18px;
  }

  .final-cta {
    min-height: 480px;
  }

  .footer-inner {
    align-items: flex-start;
    gap: 34px;
    flex-direction: column;
  }

  .site-footer nav {
    width: 100%;
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .fact-list dd {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
