:root {
  color-scheme: dark;
  --paper: #0a0c0f;
  --paper-2: #101419;
  --ink: #f3f5ef;
  --muted: #a1a8ad;
  --quiet: #747d83;
  --line: rgba(243, 245, 239, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --dark: #07090c;
  --dark-2: #151a20;
  --teal: #5ee6d9;
  --teal-dark: #67d9cf;
  --pink: #d76aa9;
  --amber: #dfb763;
  --green: #8fd46f;
  --warn: #f08a76;
  --max: 1120px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 8%, rgba(94, 230, 217, 0.08), transparent 28rem),
    linear-gradient(180deg, #0c0f12 0%, var(--paper) 48%, #080a0d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body::selection {
  background: rgba(11, 183, 168, 0.22);
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 66px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 15, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(94, 230, 217, 0.45);
  border-radius: 50%;
  color: var(--teal-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--quiet);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.93rem;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding: 10px 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--teal);
}

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button.primary,
.nav-cta {
  color: #07100f;
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(94, 230, 217, 0.14);
}

.button.primary:hover,
.nav-cta:hover {
  transform: translateY(-1px);
  background: #86f3e9;
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(243, 245, 239, 0.045);
}

.button.secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.button.full {
  width: 100%;
}

.hero,
.host-strip,
.section,
.site-footer {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.84fr) minmax(420px, 1.16fr);
  gap: 52px;
  align-items: center;
  padding: 54px 0 36px;
}

.hero-copy,
.product-shot {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: 4.5rem;
  line-height: 0.96;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.75rem;
  line-height: 1.04;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-facts span,
.host-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  background: rgba(243, 245, 239, 0.045);
  font-size: 0.86rem;
}

.product-shot {
  margin: 0;
  justify-self: end;
  width: min(100%, 660px);
}

.product-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(243, 245, 239, 0.14);
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: var(--shadow);
}

.product-shot figcaption {
  margin-top: 9px;
  color: var(--quiet);
  font-size: 0.84rem;
  text-align: right;
}

.host-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.section {
  padding: 74px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.value-grid p,
.workflow-grid p,
.buy-copy p,
.price-panel p,
.faq p,
.dialog-copy,
.secure-note {
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-grid article,
.faq article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper-2);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
}

.dark-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 78px max(22px, calc((100% - var(--max)) / 2));
  color: #f7f8f5;
  background: var(--dark);
}

.dark-band .eyebrow {
  color: #73eee0;
}

.dark-band .section-heading p,
.dark-band .workflow-grid p {
  color: rgba(247, 248, 245, 0.68);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.workflow-grid article {
  min-width: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
}

.workflow-grid span {
  display: block;
  margin-bottom: 34px;
  color: #73eee0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 850;
}

.buy-section {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) 380px;
  gap: 42px;
  align-items: center;
}

.buy-copy {
  max-width: 680px;
}

.price-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.price-panel strong {
  display: block;
  margin-bottom: 18px;
  font-size: 4.25rem;
  line-height: 0.9;
}

.price-panel ul {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.price-panel li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.price-panel li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.price-panel p {
  margin: 14px 0 0;
  font-size: 0.88rem;
}

.delivery-section {
  display: grid;
  gap: 24px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.delivery-grid article {
  min-width: 0;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checkout-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--ink);
  background: #080a0d;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 183, 168, 0.14);
}

.faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
}

.download-hero {
  display: grid;
  min-height: calc(100svh - 66px);
  place-items: center;
  width: min(100% - 44px, 760px);
  margin: 0 auto;
  padding: 72px 0;
}

.download-panel {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.download-panel h1 {
  font-size: 3.2rem;
}

.download-panel p {
  color: var(--muted);
}

.download-button {
  margin-top: 10px;
}

.download-note {
  margin: 22px 0 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--teal-dark);
}

.checkout-dialog {
  width: min(94vw, 560px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  color: var(--ink);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.checkout-dialog::backdrop {
  background: rgba(8, 10, 12, 0.62);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  padding: 30px;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #0b0e12;
}

.dialog-close:hover {
  color: var(--ink);
  border-color: var(--teal);
}

.purchase-summary {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--paper);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.summary-line span:first-child {
  color: var(--muted);
}

.summary-line strong {
  text-align: right;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.terms-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.terms-check input {
  min-height: 18px;
  margin-top: 4px;
}

.secure-note {
  min-height: 22px;
  margin: 13px 0 0;
}

.secure-note.error {
  color: var(--warn);
}

.secure-note.success {
  color: var(--green);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero,
  .buy-section,
  .delivery-section {
    grid-template-columns: 1fr;
  }

  .product-shot {
    justify-self: start;
    width: min(100%, 700px);
  }

  .value-grid,
  .delivery-grid,
  .workflow-grid,
  .faq {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 62px;
    padding: 0 14px;
    width: 100vw;
    max-width: 100vw;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero,
  .host-strip,
  .section,
  .site-footer {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero {
    gap: 30px;
    padding: 38px 0 30px;
  }

  h1 {
    max-width: 100%;
    font-size: 2.7rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

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

  .section {
    padding: 58px 0;
  }

  .dark-band {
    padding: 58px 14px;
  }

  .product-shot figcaption {
    text-align: left;
  }

  .price-panel strong {
    font-size: 3.5rem;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero-lead {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
