:root {
  color-scheme: dark;
  --background: #090909;
  --surface: #111111;
  --text: #f2f1ec;
  --muted: #929292;
  --border: #252525;
  --accent: #ff5a3d;
  --white: #ffffff;
  --shell: min(1440px, calc(100% - 64px));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--white);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--accent);
  background: var(--surface);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 9, 0.94);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark-divider {
  color: var(--accent);
}

.main-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.hero {
  min-height: calc(100svh - 72px);
  padding-top: 48px;
  padding-bottom: 40px;
}

.hero-meta,
.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-rule {
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background: linear-gradient(90deg, var(--accent) 0 72px, var(--border) 72px 100%);
  transform-origin: left;
  animation: reveal-line 700ms ease both;
}

.hero h1 {
  max-width: 1300px;
  margin: clamp(64px, 10vh, 120px) 0 0;
  font-size: clamp(64px, 9.6vw, 152px);
  font-weight: 560;
  line-height: 0.87;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  animation: fade-up 600ms 80ms ease both;
}

.hero-bottom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(64px, 11vh, 124px);
  align-items: end;
  animation: fade-up 600ms 160ms ease both;
}

.hero-intro {
  grid-column: 7 / span 4;
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.35;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span,
.button span {
  display: inline-block;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateY(3px);
}

.button:hover span {
  transform: translate(2px, -2px);
}

.hero-link {
  grid-column: 11 / span 2;
  justify-self: end;
}

.section-block {
  padding-block: clamp(88px, 11vw, 168px);
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: clamp(56px, 7vw, 96px);
}

.section-heading .eyebrow {
  grid-column: 1 / span 3;
  padding-top: 8px;
}

.section-heading h2 {
  grid-column: 4 / span 9;
  margin: 0;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 520;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.product-entry {
  border-top: 1px solid var(--text);
  border-bottom: 1px solid var(--border);
}

.product-topline {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.product-topline span:last-child {
  color: var(--text);
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(40px, 6vw, 88px) 0;
}

.product-title-block {
  grid-column: 1 / span 6;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 24px;
}

.product-title-block h3 {
  margin: 0;
  font-size: clamp(52px, 7.2vw, 104px);
  font-weight: 540;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.phase-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 40px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phase-line span[aria-hidden="true"] {
  color: var(--accent);
}

.product-details {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-description {
  max-width: 520px;
  margin: 0 0 48px;
  font-size: clamp(21px, 2.15vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.feature-list {
  margin: 0 0 64px;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.feature-list li::after {
  content: "+";
  color: var(--accent);
  font-family: var(--mono);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button-secondary:hover {
  border-color: var(--muted);
  background: var(--surface);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #090909;
  font-weight: 700;
}

.button-primary:hover {
  background: var(--white);
  color: #090909;
}

button.button:disabled {
  cursor: not-allowed;
  border-color: var(--border);
  background: var(--surface);
  color: #686868;
}

.buy-slot {
  display: grid;
  gap: 7px;
}

.availability-note {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.split-copy {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.large-copy {
  grid-column: 4 / span 6;
  margin: 0;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.supporting-copy {
  grid-column: 10 / span 3;
  align-self: end;
  color: var(--muted);
  font-size: 14px;
}

.supporting-copy p {
  margin: 0;
}

.seller-note {
  padding-top: 28px;
  margin-top: 28px !important;
  border-top: 1px solid var(--border);
}

.support-grid .support-contact {
  grid-column: 10 / span 3;
  align-self: end;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.site-footer {
  padding-block: 48px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.footer-grid > div:first-child {
  grid-column: 1 / span 4;
}

.footer-wordmark {
  margin-bottom: 14px;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  grid-column: 6 / span 3;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-meta {
  grid-column: 9 / span 4;
  text-align: right;
}

.footer-meta p + p {
  margin-top: 8px;
}

.legal-main {
  padding-top: clamp(72px, 9vw, 132px);
  padding-bottom: clamp(96px, 12vw, 176px);
}

.legal-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: clamp(56px, 8vw, 112px);
  border-bottom: 1px solid var(--border);
}

.legal-header .eyebrow {
  grid-column: 1 / span 3;
  padding-top: 10px;
}

.legal-header h1 {
  grid-column: 4 / span 9;
  margin: 0;
  font-size: clamp(56px, 8vw, 116px);
  font-weight: 540;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.legal-content {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding-top: clamp(56px, 8vw, 112px);
}

.legal-updated {
  grid-column: 1 / span 3;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-prose {
  grid-column: 4 / span 7;
  max-width: 760px;
}

.legal-prose h2 {
  margin: 56px 0 16px;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  color: #b7b7b4;
}

.legal-prose p {
  margin: 0 0 18px;
}

.legal-prose ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
}

.legal-prose li + li {
  margin-top: 8px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .hero {
    min-height: auto;
    padding-bottom: 88px;
  }

  .hero h1 {
    margin-top: 92px;
    font-size: clamp(56px, 12vw, 100px);
  }

  .hero-bottom {
    grid-template-columns: 1fr 1fr;
    margin-top: 80px;
  }

  .hero-intro {
    grid-column: 1;
  }

  .hero-link {
    grid-column: 2;
  }

  .section-heading .eyebrow,
  .legal-header .eyebrow {
    grid-column: 1 / span 4;
  }

  .section-heading h2,
  .legal-header h1 {
    grid-column: 5 / span 8;
  }

  .product-title-block {
    grid-column: 1 / span 7;
    min-height: 400px;
  }

  .product-details {
    grid-column: 8 / span 5;
  }

  .large-copy {
    grid-column: 1 / span 8;
  }

  .supporting-copy,
  .support-grid .support-contact {
    grid-column: 9 / span 4;
  }

  .legal-updated {
    grid-column: 1 / span 4;
  }

  .legal-prose {
    grid-column: 5 / span 8;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 96px;
  }

  .header-inner {
    min-height: 64px;
    gap: 18px;
  }

  .wordmark {
    gap: 5px;
    font-size: 11px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 72px;
  }

  .hero-meta {
    display: grid;
    gap: 5px;
  }

  .hero h1 {
    margin-top: 72px;
    font-size: clamp(50px, 16.5vw, 78px);
    line-height: 0.9;
  }

  .hero-bottom {
    display: flex;
    margin-top: 72px;
    align-items: flex-start;
    flex-direction: column;
    gap: 36px;
  }

  .hero-intro {
    max-width: 390px;
    font-size: 18px;
  }

  .hero-link {
    justify-self: start;
  }

  .section-block {
    padding-block: 72px;
  }

  .section-heading {
    display: block;
    margin-bottom: 48px;
  }

  .section-heading .eyebrow {
    padding: 0;
    margin-bottom: 22px;
  }

  .section-heading h2 {
    font-size: 50px;
  }

  .product-layout {
    display: block;
    padding: 40px 0 48px;
  }

  .product-title-block {
    min-height: auto;
    padding: 0 0 64px;
  }

  .product-title-block h3 {
    font-size: clamp(47px, 15vw, 68px);
  }

  .phase-line {
    margin-top: 40px;
  }

  .product-description {
    font-size: 22px;
  }

  .feature-list {
    margin-bottom: 48px;
  }

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

  .buy-slot .button,
  .product-actions > .button {
    width: 100%;
  }

  .split-copy {
    display: block;
  }

  .large-copy {
    font-size: 31px;
  }

  .supporting-copy,
  .support-grid .support-contact {
    margin-top: 56px;
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .footer-grid > div:first-child {
    grid-column: 1;
  }

  .footer-links {
    grid-column: 2;
  }

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
  }

  .legal-main {
    padding-top: 64px;
  }

  .legal-header,
  .legal-content {
    display: block;
  }

  .legal-header .eyebrow {
    padding: 0;
    margin-bottom: 32px;
  }

  .legal-header h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .legal-updated {
    margin-bottom: 48px;
  }
}

@media (max-width: 390px) {
  .main-nav {
    gap: 10px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .product-topline {
    gap: 12px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
