:root {
  --black: #141414;
  --graphite: #2A2A2A;
  --yellow: #FFCC00;
  --white: #FFFFFF;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "OpenAI Sans", "Inter", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
strong,
.brand {
  font-family: "Figtree", "Inter", Arial, sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: var(--black);
  border-bottom: 1px solid var(--graphite);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.topbar-cta,
.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 18px;
  border: 1px solid var(--yellow);
  font-weight: 700;
  text-align: center;
}

.topbar-cta,
.primary-action {
  background: var(--yellow);
  color: var(--black);
}

.secondary-action {
  background: transparent;
  color: var(--white);
  border-color: var(--graphite);
}

.topbar-cta:hover,
.primary-action:hover {
  opacity: .9;
}

.secondary-action:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.hero,
.calculator-section,
.simple-benefits,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 36px;
  padding: 56px 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.02;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 20px;
  color: var(--white);
  font-size: 18px;
  opacity: .76;
}

.hero .primary-action {
  margin-top: 30px;
}

.quick-result-card,
.calculator-card,
.simple-benefits article {
  border: 1px solid var(--graphite);
  border-radius: var(--radius);
  background: var(--graphite);
}

.quick-result-card {
  padding: 22px;
}

.quick-result-card > span,
.quick-result-card small,
.quick-result-card p {
  color: var(--white);
  opacity: .72;
}

.quick-result-card > span {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.quick-result-card > strong {
  display: block;
  margin-top: 12px;
  color: var(--yellow);
  font-size: 38px;
  line-height: 1.05;
}

.quick-result-card small {
  display: block;
  margin-top: 10px;
}

.quick-result-card div {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--black);
}

.quick-result-card b {
  color: var(--white);
}

.calculator-section {
  padding: 64px 0;
  scroll-margin-top: 94px;
}

.section-title {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-title h2,
.result-heading h2 {
  margin-top: 14px;
  font-size: 38px;
  line-height: 1.12;
}

.section-title p:not(.eyebrow),
.result-heading p {
  margin-top: 12px;
  color: var(--white);
  opacity: .74;
}

.calculator-card {
  padding: 24px;
}

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

.field {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  padding: 0 14px;
  outline: 0;
}

input::placeholder {
  color: var(--white);
  opacity: .42;
}

input:focus,
select:focus,
input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--yellow);
}

small[data-error-for],
.standalone-error {
  min-height: 18px;
  color: var(--white);
  font-size: 12px;
  opacity: .78;
}

small[data-error-for]:empty,
.standalone-error:empty {
  display: none;
}

.consent-field {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-size: 14px;
}

.consent-field input {
  width: 22px;
  min-height: 22px;
  accent-color: var(--yellow);
}

.primary-action.full {
  width: 100%;
  margin-top: 20px;
}

.result {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--black);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.result-grid article {
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--black);
  border: 1px solid var(--graphite);
}

.result-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 12px;
  opacity: .68;
}

.result-grid strong {
  display: block;
  color: var(--white);
  font-size: 24px;
  overflow-wrap: anywhere;
}

.result-grid article:first-child strong {
  color: var(--yellow);
}

.notice {
  margin-top: 18px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  opacity: .74;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.simple-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 24px 0 68px;
}

.simple-benefits article {
  padding: 20px;
}

.simple-benefits span {
  color: var(--yellow);
  font-weight: 700;
}

.simple-benefits h3 {
  margin-top: 12px;
  font-size: 21px;
  line-height: 1.16;
}

.simple-benefits p {
  margin-top: 10px;
  color: var(--white);
  opacity: .72;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--graphite);
  color: var(--white);
}

.footer span {
  opacity: .68;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 46px;
  }

  .quick-result-card {
    max-width: 520px;
  }

  .result-grid,
  .simple-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar {
    padding: 12px 16px;
  }

  .brand span {
    display: none;
  }

  .topbar-cta {
    width: auto;
    min-height: 44px;
    padding: 10px 14px;
  }

  .hero,
  .calculator-section,
  .simple-benefits,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 39px;
  }

  .section-title h2,
  .result-heading h2 {
    font-size: 30px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .calculator-card {
    padding: 16px;
  }

  .form-grid,
  .result-grid,
  .simple-benefits {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .result-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }
}

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

  .quick-result-card > strong {
    font-size: 32px;
  }

  .result-grid strong {
    font-size: 21px;
  }
}
