:root {
  --ink: #172033;
  --muted: #556174;
  --line: #dce2e9;
  --canvas: #ffffff;
  --tint: #f4f7fb;
  --brand: #126b5c;
  --brand-dark: #0b4e42;
  --focus: #d45d00;
  --radius: 1rem;
  --shadow: 0 1rem 2.5rem rgb(23 32 51 / 8%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.35rem, 8vw, 4.85rem);
}

h1 span {
  color: var(--brand);
}

h2 {
  max-width: 22ch;
  margin-bottom: 1.25rem;
  font-size: clamp(1.85rem, 5vw, 3.1rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

.container {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
  background: linear-gradient(135deg, #f5faf8 0%, #ffffff 72%);
}

.hero::after {
  position: absolute;
  right: -8rem;
  bottom: -8rem;
  width: 19rem;
  height: 19rem;
  border: 2.5rem solid #d5ebe4;
  border-radius: 50%;
  content: "";
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
}

.eyebrow,
.section-label {
  margin-bottom: 0.8rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.75rem 0.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.code-box--hero {
  max-width: 30rem;
  box-shadow: var(--shadow);
}

.host-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  color: var(--brand-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.host-status span {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 0.8rem;
}

.host-status__detail {
  max-width: 39rem;
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.code-box span {
  color: var(--brand-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.75rem, 7vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.copy-button {
  min-height: 3rem;
  flex: 0 0 auto;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--brand);
  border-radius: 0.65rem;
  color: var(--brand-dark);
  background: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.copy-button:hover {
  color: #fff;
  background: var(--brand);
}

.copy-feedback {
  min-height: 1.5rem;
  margin: 0.45rem 0 0;
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.6rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  margin-top: 0.6rem;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 0.5rem 1.25rem rgb(18 107 92 / 20%);
}

.button--primary:hover {
  color: #fff;
  background: var(--brand-dark);
}

.button--light {
  color: var(--brand-dark);
  background: #fff;
}

.button--light:hover {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.independence {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 4.75rem 0;
}

.section--tint {
  background: var(--tint);
}

.section-intro {
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 1.5rem;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number,
.requirement-card__number {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps p,
.requirement-card p,
.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.requirements {
  display: grid;
  gap: 1rem;
}

.requirement-card {
  min-height: 13rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.requirement-card__number {
  margin-bottom: 2.2rem !important;
}

.section-note {
  max-width: 50rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.host-assurance {
  max-width: 56rem;
  margin-top: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #b8d9d1;
  border-radius: var(--radius);
  background: #edf8f4;
}

.host-assurance h3 {
  color: var(--brand-dark);
}

.host-assurance p {
  max-width: 52rem;
  margin-bottom: 0.8rem;
  color: #395b55;
}

.host-assurance p:last-child {
  margin-bottom: 0;
}

.code-section__content,
.transparency__content {
  display: grid;
  gap: 2rem;
}

.code-section p:not(.section-label) {
  max-width: 38rem;
  color: var(--muted);
}

.code-panel {
  align-self: center;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--tint);
}

.code-panel .button {
  width: 100%;
  margin-top: 0.5rem;
}

.faq-container h2 {
  max-width: 27ch;
}

.faq-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.faq-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.05rem;
}

.transparency {
  border-top: 1px solid var(--line);
}

.transparency h2 {
  margin-bottom: 0;
}

.transparency__content > div:last-child {
  max-width: 42rem;
  color: var(--muted);
}

.final-cta {
  padding: 4rem 0;
  color: #fff;
  background: var(--brand-dark);
}

.final-cta h2,
.final-cta .section-label {
  color: #fff;
}

.final-cta p:not(.section-label) {
  max-width: 36rem;
  color: #dbefe9;
}

footer {
  padding: 2.5rem 0;
  color: var(--muted);
  background: #101827;
  font-size: 0.88rem;
}

.footer__content {
  display: grid;
  gap: 0.85rem;
}

.footer__content p {
  max-width: 55rem;
  margin: 0;
}

footer a {
  color: #d5ebe4;
  font-weight: 700;
}

footer a:hover {
  color: #fff;
}

@media (min-width: 44rem) {
  .hero {
    padding: 4.5rem 0 6rem;
  }

  .section {
    padding: 6rem 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .steps li {
    min-height: 15rem;
    border-bottom: 1px solid var(--line);
  }

  .steps li:not(:last-child) {
    border-right: 1px solid var(--line);
  }

  .requirements {
    grid-template-columns: repeat(3, 1fr);
  }

  .code-section__content,
  .transparency__content {
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    align-items: start;
    gap: 4rem;
  }

  .final-cta {
    padding: 5.5rem 0;
  }
}

@media (min-width: 64rem) {
  .container {
    width: min(100% - 4rem, 70rem);
  }

  .hero::after {
    right: 4vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
