:root {
  color-scheme: light;
  --canvas: #f4f4f2;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --muted: #5e6266;
  --line: #d5d7d8;
  --line-dark: #303234;
  --blue: #0875e1;
  --blue-dark: #005eb8;
  --blue-soft: #e9f3ff;
  --error: #b42318;
  --error-bg: #fff1ef;
  --shadow: 0 16px 40px rgba(10, 10, 10, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 700;
}

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

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 40px, 1180px);
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  width: 18px;
  height: 12px;
  border: 3px solid currentColor;
  transform: skewX(-18deg);
}

.wordmark-mark::after {
  position: absolute;
  top: 2px;
  right: -7px;
  width: 4px;
  height: 4px;
  background: var(--blue);
  content: "";
}

.header-context {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.header-link {
  justify-self: end;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.header-link:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 80px;
  align-items: center;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 84px 0 96px;
}

.intro-copy {
  max-width: 660px;
}

.eyebrow,
.form-kicker {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.intro-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: 4.5rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.intro-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: #3f4346;
  font-size: 1.18rem;
  line-height: 1.62;
}

.promise-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promise-line span {
  padding: 13px 20px 13px 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.promise-line span + span {
  position: relative;
  padding-left: 20px;
}

.promise-line span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.intro-how {
  margin-top: 34px;
}

.intro-how h2 {
  margin: 0 0 18px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.intro-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.intro-steps .step-number {
  padding-top: 3px;
  color: var(--blue-dark);
}

.intro-steps p {
  margin: 0;
  color: #3f4346;
  font-size: 0.9rem;
  line-height: 1.5;
}

.signup {
  display: grid;
  min-width: 0;
  gap: 20px;
  padding: 34px;
  border: 1px solid #bfc2c4;
  border-top: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  scroll-margin-top: 24px;
}

.form-heading h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.08;
}

.form-heading p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

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

label {
  font-size: 0.82rem;
  font-weight: 800;
}

input[type="email"],
input[type="url"] {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #aeb3b6;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
  color: #82878a;
}

input[type="email"]:hover,
input[type="url"]:hover {
  border-color: #656a6d;
}

input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(8, 117, 225, 0.35);
  outline-offset: 2px;
}

input[type="email"]:focus,
input[type="url"]:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(8, 117, 225, 0.15);
}

.field-help,
.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.consent-row label {
  color: #3f4346;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}

.consent-row a {
  color: var(--blue-dark);
  font-weight: 750;
}

.form-error {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--error);
  color: var(--error);
  background: var(--error-bg);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.5;
}

button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--ink);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease;
}

button:hover {
  background: var(--blue-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.step-number {
  color: #5eb0ff;
  font-size: 0.72rem;
  font-weight: 850;
}

.page-shell {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.page-shell.narrow {
  width: min(100% - 40px, 820px);
}

.result-shell,
.legal-shell {
  flex: 1;
}

.result-heading {
  margin-bottom: 38px;
}

.legal-heading {
  padding-bottom: 48px;
}

.legal-heading h1,
.result-heading h1 {
  margin: 0;
  font-size: 3.6rem;
  line-height: 1.02;
}

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.lead strong {
  color: var(--ink);
}

.updated {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-content {
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.legal-content section {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.legal-content p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.legal-content p + p {
  margin-top: -14px;
}

.legal-content a,
.secondary-action,
.confirmation a {
  color: var(--blue-dark);
  font-weight: 750;
  text-underline-offset: 3px;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-line span {
  width: 9px;
  height: 9px;
  background: var(--blue);
}

.delivery-note {
  margin: 16px 0 0;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 750;
}

.delivery-note.warning {
  color: var(--error);
}

.confirmation {
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.confirmation-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.confirmation-message {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.35;
}

.site-footer {
  margin-top: auto;
  padding: 54px 20px 40px;
  color: #ffffff;
  background: var(--ink);
}

.footer-grid,
.footer-disclaimer {
  width: min(100%, 1080px);
  margin-right: auto;
  margin-left: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 80px;
}

.footer-wordmark {
  color: #ffffff;
}

.footer-brand p {
  max-width: 390px;
  margin: 18px 0 0;
  color: #aeb3b6;
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 130px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #777d81;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-disclaimer {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 46px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}

.footer-disclaimer p {
  margin: 0;
  color: #858b8e;
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer-disclaimer a {
  color: #b9d9ff;
}

@media (max-width: 900px) {
  .home-intro {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 64px 0 74px;
  }

  .intro-copy {
    max-width: 760px;
  }

  .signup {
    width: min(100%, 620px);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(100% - 28px, 1180px);
    min-height: 64px;
  }

  .header-context {
    display: none;
  }

  .home-intro,
  .page-shell,
  .page-shell.narrow {
    width: min(100% - 28px, 1180px);
  }

  .home-intro {
    padding: 48px 0 62px;
  }

  .intro-copy h1 {
    font-size: 3rem;
  }

  .intro-lead {
    font-size: 1rem;
  }

  .promise-line span {
    width: 100%;
    padding: 10px 0;
  }

  .promise-line span + span {
    padding-left: 0;
    border-top: 1px solid var(--line);
  }

  .promise-line span + span::before {
    display: none;
  }

  .signup {
    padding: 26px 20px;
  }

  .page-shell {
    padding: 52px 0 72px;
  }

  .legal-heading h1,
  .result-heading h1 {
    font-size: 2.6rem;
  }

  .legal-content section {
    display: block;
    padding: 26px 0;
  }

  .legal-content h2 {
    margin-bottom: 14px;
  }

  .legal-content p + p {
    margin-top: 12px;
  }

  .footer-grid,
  .footer-disclaimer {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

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

  button,
  input {
    transition: none;
  }
}
