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

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --teal-pale: #f0fdfa;
  --ink: #0f1a1a;
  --ink-mid: #2d4444;
  --ink-soft: #4a6262;
  --ink-faint: #5e7878;
  --rule: #e2ecec;
  --surface: #f8fafa;
  --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#hero,
#video-section,
#problem,
#how,
#stack,
#guarantee,
#simulations,
#offer,
#request {
  scroll-margin-top: 84px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--teal);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--teal-dark);
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: white;
  letter-spacing: 0;
}

.nav-wordmark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-cta {
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}

.nav-cta:hover { background: #0b5f58; }

.container { max-width: 960px; margin: 0 auto; padding: 0 2rem; }

#hero {
  padding: 148px 2rem 100px;
  background: var(--white);
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid rgba(13,148,136,0.3);
  padding: 0.4rem 1.1rem;
  border-radius: 2px;
  margin-bottom: 2.25rem;
  text-transform: uppercase;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.625rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--teal);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 2.75rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal);
  color: white;
  border: none;
  padding: 0.9375rem 2rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink-mid);
  border: 1px solid var(--rule);
  padding: 0.9375rem 2rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  display: inline-block;
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

#video-section { padding: 0 2rem 80px; background: var(--white); }

.video-frame {
  max-width: 840px;
  margin: 0 auto;
  background: #0a1414;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a3030;
}

.video-placeholder { text-align: center; }

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.15s, background 0.15s;
}

.video-frame:hover .play-btn { transform: scale(1.08); background: var(--teal-dark); }

.play-btn svg { margin-left: 4px; display: block; }

.video-label { font-size: 0.875rem; color: rgba(255,255,255,0.55); font-weight: 400; }

.video-caption {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.proof-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.125rem 2rem;
  background: var(--surface);
}

.proof-strip-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-mid);
  font-weight: 400;
}

.proof-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.875rem;
  display: block;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

#problem { padding: 96px 2rem; background: var(--white); }

.problem-lede {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink-mid);
  font-weight: 400;
  max-width: 700px;
  margin-bottom: 3rem;
}

.problem-lede strong { color: var(--ink); font-weight: 500; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}

.problem-card { background: var(--white); padding: 2rem; }

.problem-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: block;
}

.problem-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.problem-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

#how {
  padding: 96px 2rem;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.step {
  padding: 0 2rem 0 0;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 0;
  width: 1px;
  height: 40px;
  background: var(--rule);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid rgba(13,148,136,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal-dark);
  margin-bottom: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.step-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

.integrity-tag {
  display: inline-block;
  margin-top: 0.875rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  border: 1px solid rgba(13,148,136,0.25);
}

#stack { padding: 96px 2rem; background: var(--ink); }

#stack .section-label { color: rgba(255,255,255,0.35); }

#stack h2 { color: var(--white); max-width: 560px; margin-bottom: 3rem; }

.stack-list {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stack-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.stack-dash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 24px;
}

.stack-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.stack-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-weight: 400;
}

.stack-badge {
  display: inline-block;
  margin-top: 0.625rem;
  background: rgba(13,148,136,0.18);
  color: #5eead4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  border: 1px solid rgba(94,234,212,0.2);
}

#guarantee {
  padding: 128px 2rem;
  background: var(--ink);
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

#guarantee::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.guarantee-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.guarantee-inner h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.guarantee-inner h2 em {
  font-style: italic;
  color: #5eead4;
}

.guarantee-inner p {
  font-size: 1.1875rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid rgba(94,234,212,0.5);
  border-radius: 4px;
  padding: 0.625rem 1.75rem;
  margin-bottom: 3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5eead4;
}

.guarantee-rule {
  width: 48px;
  height: 2px;
  background: var(--teal);
  margin: 2.5rem auto;
  border: none;
}

.guarantee-fine {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.35);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

#simulations {
  padding: 96px 2rem;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.simulations-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.simulation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.simulation-card {
  background: var(--white);
  padding: 1.75rem;
}

.simulation-card-muted {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.simulation-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}

.simulation-label-muted { color: var(--ink-faint); }

.simulation-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.simulation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.simulation-tag {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 0.8125rem;
  color: var(--ink-mid);
  padding: 0.25rem 0.625rem;
  font-weight: 400;
}

.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.availability-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  flex-shrink: 0;
}

.simulation-muted-copy {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.simulation-link {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  transition: background 0.15s;
}

.simulation-link:hover { background: var(--teal-pale); }

.simulation-footnote {
  font-size: 0.9rem;
  color: var(--ink-faint);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

#request {
  padding: 96px 2rem;
  background: var(--surface);
  border-top: 1px solid var(--rule);
  text-align: center;
}

.form-wrap { max-width: 540px; margin: 0 auto; text-align: left; }

.form-wrap h2 { text-align: center; margin-bottom: 0.75rem; }

.form-sub {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.form-flow {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.form-flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-flow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-mid);
  font-weight: 400;
  line-height: 1.55;
}

.flow-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-light);
  border: 1px solid rgba(13,148,136,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 1px;
}

.request-form { display: block; }

.form-group { margin-bottom: 1.125rem; border: 0; }

label,
legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 0.375rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.radio-group { margin-top: 0.125rem; }

.radio-options {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-mid);
  cursor: pointer;
  margin-bottom: 0;
}

.radio-option input[type="radio"] {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  padding: 1.0625rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-top: 0.5rem;
}

.form-submit:hover { background: var(--teal-dark); transform: translateY(-1px); }

.form-assurance {
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-faint);
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

footer {
  padding: 2.5rem 2rem;
  background: var(--ink);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-logo-mark {
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  line-height: 1;
}

.footer-wordmark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 400;
}

.footer-link:hover { color: rgba(255,255,255,0.75); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  width: 100%;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  #hero { padding: 120px 1.5rem 80px; }
  nav { padding: 0 1.25rem; }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 440px) {
  .steps { grid-template-columns: 1fr; }
}
