:root {
  --void: var(--color-void-black);
  --carbon: var(--surface-canvas);
  --graphite: var(--color-graphite);
  --onyx: var(--surface-card);
  --iron: var(--surface-hover);
  --slate: var(--color-slate);
  --ash: #929292;
  --smoke: #a0a0a0;
  --bone: var(--color-bone);
  --chalk: var(--color-chalk);
  --signal: #6aa9ff;
  --signal-bright: #6aa9ff;
  --signal-depth: #174a9f;
  --signal-shadow: #0c244d;
  --max: var(--page-max-width);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: var(--font-inter-tight);
  --mono: var(--font-jetbrains-mono);
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--bone);
  background: var(--carbon);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--signal); color: #071225; }

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .92);
  border-bottom: 1px solid var(--graphite);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  height: 64px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--chalk);
  font: 400 20px/1 var(--serif);
  letter-spacing: -.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: var(--signal);
  color: #061329;
  box-shadow: 0 0 10px rgba(77, 141, 255, .42);
  font: 400 20px/1 var(--serif);
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--bone);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--signal-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #061329;
  background: var(--signal);
  box-shadow: 0 0 10px rgba(77, 141, 255, .42);
}
.btn-primary:hover { background: var(--signal-bright); box-shadow: 0 0 18px rgba(77, 141, 255, .5); }
.btn-outline { color: var(--signal-bright); border-color: var(--signal); background: transparent; box-shadow: 0 0 9px rgba(77, 141, 255, .16); }
.btn-outline:hover { background: rgba(77, 141, 255, .08); }
.btn-small { justify-self: end; padding: 9px 17px; font-size: 11px; }
.btn-block { width: 100%; }

.stamp {
  margin: 0;
  color: var(--ash);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 64px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-block: 100px 112px;
  isolation: isolate;
}

/* Artwork spans the viewport; the headline retains its own readable width. */
.hero.section-shell { width: 100%; padding-inline: 24px; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -4;
  background: var(--carbon);
}

.hero-hands {
  position: absolute;
  /* Leave room for the small glitch offsets without clipping either wrist. */
  width: calc(100% - 16px);
  height: clamp(200px, 36vw, 620px);
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -3;
  opacity: .28;
  pointer-events: none;
}
.hero-hands img { display: block; width: 100%; height: 100%; }
.hero-hands::before, .hero-hands::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/ascii-hands.svg') center / 100% 100% no-repeat;
  opacity: 0;
  /* Short, isolated slices keep the text and rest of the page stable. */
  clip-path: inset(38% 0 56% 0);
}
.hero-hands::after { clip-path: inset(57% 0 39% 0); }

.hero-content { text-align: center; max-width: 980px; margin-inline: auto; position: relative; z-index: 2; }
.hero h1,
.content-section h2,
.cta-section h2 {
  margin: 24px 0 28px;
  color: var(--chalk);
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(58px, 7.4vw, 104px); line-height: .91; }
em { color: var(--signal-bright); font-weight: 300; }
.hero-copy {
  max-width: 650px;
  margin: 0 auto;
  color: var(--bone);
  font-size: 16px;
  line-height: 1.65;
}
.hero-actions { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.text-link {
  color: var(--chalk);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ash);
  padding-bottom: 4px;
}
.text-link span { color: var(--signal-bright); }
.hero-proof { margin-top: 52px; display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--ash); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border: 1px solid var(--signal);
  color: var(--signal-bright);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .07em;
  white-space: nowrap;
}
.pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--signal-bright); box-shadow: 0 0 8px var(--signal); }
.signal-divider { height: 7px; background: var(--signal); }

.content-section { padding-block: 108px; }
.intro-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.content-section h2 { font-size: clamp(48px, 5vw, 72px); line-height: .98; margin-bottom: 0; }
.intro-copy { max-width: 500px; color: #b8bec8; font-size: 15px; }
.intro-copy p + p { margin-top: 22px; }

.section-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: var(--ash);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--graphite); border-left: 1px solid var(--graphite); }
.sharp-card {
  min-width: 0;
  padding: 44px;
  background: var(--onyx);
  border-right: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.sharp-card h3,
.step-card h3,
.pricing-card h3 {
  color: var(--chalk);
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -.02em;
}
.sharp-card h3 { margin: 16px 0 18px; font-size: clamp(36px, 3.5vw, 50px); line-height: 1; }
.sharp-card > p:not(.stamp) { max-width: 540px; color: #b9bec7; }

.terminal-card {
  margin-top: 38px;
  background: var(--graphite);
  border: 1px solid var(--iron);
  border-radius: 4px;
  padding: 22px;
  overflow: auto;
}
.terminal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; color: var(--ash); font: 500 10px/1.2 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.terminal-card code { display: block; min-width: 540px; color: var(--bone); font: 400 12px/1.75 var(--mono); }
.accent { color: var(--signal-bright); }
.muted { color: #68707d; }

.policy-list { margin-top: 38px; border: 1px solid var(--graphite); }
.policy-list > div { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 18px; padding: 16px 18px; border-bottom: 1px solid var(--graphite); align-items: center; }
.policy-list > div:last-child { border-bottom: 0; }
.policy-list span, .policy-list b { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.policy-list span { color: var(--ash); }
.policy-list strong { color: var(--bone); font: 500 12px/1 var(--mono); }
.policy-list b { color: var(--signal-bright); font-weight: 500; }

.security-section { border-top: 1px solid var(--graphite); }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.large-copy { max-width: 560px; margin-top: 26px; color: #b9bec7; font-size: 16px; }
.flow-panel { padding: 28px; background: var(--onyx); border: 1px solid var(--graphite); }
.flow-node { display: grid; grid-template-columns: 42px 1fr; grid-template-areas: 'num title' 'num small'; column-gap: 18px; padding: 22px; border: 1px solid var(--graphite); background: var(--carbon); }
.flow-node.active { border-color: var(--signal-depth); box-shadow: inset 3px 0 0 var(--signal); }
.flow-node > span { grid-area: num; align-self: center; color: var(--signal-bright); font: 500 11px/1 var(--mono); }
.flow-node strong { grid-area: title; color: var(--chalk); font-size: 11px; letter-spacing: .18em; }
.flow-node small { grid-area: small; color: var(--ash); margin-top: 4px; font-size: 11px; }
.flow-line { height: 38px; display: grid; place-items: center; color: var(--signal); font: 400 18px/1 var(--mono); }

.setup-section { border-top: 1px solid var(--graphite); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--graphite); border-left: 1px solid var(--graphite); }
.step-card { position: relative; min-height: 310px; padding: 36px; border-right: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); background: var(--onyx); }
.step-number { position: absolute; top: 28px; right: 28px; color: #454b55; font: 400 44px/1 var(--serif); }
.step-card h3 { margin: 50px 0 18px; font-size: 34px; line-height: 1.05; }
.step-card > p:last-child { color: #aeb5c0; max-width: 330px; }

.pricing-section { display: grid; grid-template-columns: 1fr 520px; gap: 90px; align-items: center; border-top: 1px solid var(--graphite); }
.pricing-copy > p:last-child { max-width: 520px; color: #b9bec7; font-size: 15px; }
.pricing-card { padding: 38px; border: 1px solid var(--signal-depth); background: var(--onyx); }
.pricing-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.pricing-card h3 { margin: 8px 0 0; font-size: 32px; }
.price { margin: 42px 0 30px; color: var(--chalk); font: 400 72px/.9 var(--serif); letter-spacing: -.04em; }
.price > span { color: var(--signal-bright); font: 500 13px/1 var(--sans); letter-spacing: .08em; vertical-align: top; margin-right: 5px; }
.price small { color: var(--ash); font: 400 13px/1 var(--sans); letter-spacing: 0; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 30px; border-top: 1px solid var(--graphite); }
.pricing-card li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--graphite); color: #c6cbd3; }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--signal-bright); }
.fine-print { display: block; margin-top: 12px; color: #656c78; text-align: center; font-size: 10px; }

.cta-section { padding-block: 120px; background: var(--void); border-top: 1px solid var(--graphite); }
.cta-inner { text-align: center; max-width: 950px; }
.cta-section h2 { font-size: clamp(54px, 6vw, 84px); line-height: .94; }
.cta-section p:not(.stamp) { max-width: 620px; margin: 0 auto 32px; color: #aeb4be; font-size: 15px; }

.footer { background: var(--void); border-top: 1px solid var(--graphite); padding-block: 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }
.footer-inner > p { margin: 0; color: #686f7a; font-size: 10px; text-align: center; }
.footer-inner > .stamp { justify-self: end; }
.footer .brand { font-size: 17px; }
.footer .brand-mark { width: 28px; height: 28px; font-size: 16px; }

/* Only transforms and opacity animate continuously; pause when off screen. */
.hero-hands { animation: hands-drift 18s ease-in-out infinite; }
.hero-hands::before { animation: ascii-glitch 9s steps(1, end) infinite; }
.hero-hands::after { animation: ascii-glitch 13s steps(1, end) reverse infinite; animation-delay: 2s; }
.pulse { animation: signal-pulse 2.8s ease-in-out infinite; }
.flow-line { animation: request-flow 2.6s ease-in-out infinite; }
.flow-line:nth-of-type(4) { animation-delay: .55s; }
.hero-hands, .hero-hands::before, .hero-hands::after, .pulse, .flow-line { animation-play-state: paused; }
.motion-active .hero-hands,
.motion-active .hero-hands::before,
.motion-active .hero-hands::after,
.motion-active .pulse,
.motion-active .flow-line { animation-play-state: running; }
.terminal-card code::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 6px;
  vertical-align: text-bottom;
  background: var(--signal);
  animation: terminal-cursor 1.4s steps(2, jump-none) infinite;
  animation-play-state: paused;
}
.terminal-card.motion-active code::after { animation-play-state: running; }
.sharp-card, .step-card, .pricing-card {
  transition: border-color .3s ease, background-color .3s ease;
}
@media (hover: hover) {
  .sharp-card:hover, .step-card:hover, .pricing-card:hover {
    border-color: var(--signal-depth);
    background-color: #232323;
  }
  .btn span { display: inline-block; transition: transform .3s var(--motion-ease); }
  .btn:hover span { transform: translate(3px, -3px); }
}
@keyframes hands-drift {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}
@keyframes ascii-glitch {
  0%, 90%, 94%, 100% { opacity: 0; transform: translateX(0); }
  90.6% { opacity: .5; transform: translateX(5px); }
  91.4% { opacity: .3; transform: translateX(-4px); }
  92.2% { opacity: 0; transform: translateX(0); }
  93% { opacity: .35; transform: translateX(3px); }
}
@keyframes signal-pulse {
  0%, 100% { opacity: .45; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.2); }
}
@keyframes request-flow {
  0%, 100% { opacity: .35; transform: translateY(-3px); }
  50% { opacity: 1; transform: translateY(3px); }
}
@keyframes terminal-cursor { 0% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 980px) {
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-shell { height: auto; min-height: 64px; padding-block: 14px; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; gap: 12px 24px; }
  .intro-section,
  .security-grid,
  .pricing-section { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-section { max-width: 760px; }
  .pricing-card { width: 100%; max-width: 560px; }
  .intro-section > *, .security-grid > *, .pricing-section > * { min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-inner > .brand, .footer-inner > .stamp { justify-self: center; }
}

@media (max-width: 640px) {
  .section-shell, .nav-shell { width: min(calc(100% - 28px), var(--max)); }
  .btn-small { padding: 9px 12px; }
  .nav-shell { grid-template-columns: 1fr auto; gap: 14px; }
  .nav-links { justify-content: space-between; gap: 12px; }
  .nav-links a { font-size: 10px; letter-spacing: .1em; }
  .brand { justify-self: start; }
  .hero { min-height: 760px; padding-block: 80px; }
  .hero.section-shell { padding-inline: 14px; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-hands { top: 43%; opacity: .22; }
  .hero-proof { flex-direction: column; }
  .content-section { padding-block: 78px; }
  .sharp-card { padding: 28px; }
  .section-meta { font-size: 8px; }
  .policy-list > div { grid-template-columns: 1fr auto; }
  .policy-list strong { grid-column: 1 / -1; }
  .terminal-card { padding: 16px; }
  .step-card { min-height: auto; padding: 28px; }
  .pricing-card { padding: 28px; }
  .pricing-top { flex-direction: column; }
  .price { font-size: 62px; }
}

/* Keep section anchors clear of the sticky navigation. */
section[id] { scroll-margin-top: 88px; }
a:focus-visible { outline: 2px solid var(--signal-bright); outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .terminal-card code::after { display: none; }
  .hero-hands::before, .hero-hands::after { display: none; }
}

/* The plan catalog comes from the same records managed in the admin dashboard. */
.pricing-section { display: block; }
.pricing-copy { max-width: 660px; margin-bottom: 44px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan-grid .pricing-card { min-width: 0; padding: 28px; display: flex; flex-direction: column; }
.plan-grid .price { font-size: clamp(42px, 4vw, 64px); }
.plan-grid .price small { display: block; margin-top: 12px; line-height: 1.4; }
.plan-total { color: var(--smoke); min-height: 64px; }
.plan-grid .btn { margin-top: auto; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; } .plan-total { min-height: 0; } }

/* Offer label and the individual plan's accent frame. */
.plan-grid .pricing-card { position: relative; }
.plan-offer { position: absolute; top: 24px; right: 24px; padding: 6px 10px; border: 1px solid var(--signal); border-radius: 2px; color: var(--signal); background: var(--carbon); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.plan-grid .pricing-card.plan-individual { border-color: var(--signal); background: #17202e; box-shadow: 0 0 28px rgba(106,169,255,.12); }
.plan-individual::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(106,169,255,.18); pointer-events: none; }
.plan-individual::after { content: ''; position: absolute; height: 3px; top: -1px; left: 28px; right: 28px; background: var(--signal); pointer-events: none; }
.plan-spark { position: absolute; top: 20px; right: 25px; color: var(--signal); font-size: 30px; line-height: 1; }
.plan-individual h3 { color: var(--signal); font-style: italic; }
.plan-individual .btn-primary { box-shadow: 0 0 18px rgba(106,169,255,.25); }
