:root {
  color-scheme: light;

  --ink: #15202b;
  --muted: #5f6b76;
  --panel: #ffffff;
  --line: #d9e0e6;
  --soft: #f2f5f7;
  --accent: #d85f19;
  --accent-dark: #a8440e;
  --success: #176b45;
  --warning: #8a5a00;
  --error: #9e2a2b;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);

  background:
    radial-gradient(
      circle at 82% 35%,
      rgba(87, 111, 130, 0.32) 0%,
      rgba(40, 57, 72, 0.18) 30%,
      rgba(17, 26, 36, 0) 58%
    ),
    linear-gradient(
      135deg,
      #111a24 0%,
      #182532 48%,
      #243645 100%
    );
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 54px;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(420px, 0.82fr);

  gap: 72px;
  align-items: start;
}

/* Left-side content */

.hero {
  color: #ffffff;
  padding-top: 42px;
}

/* Inline SVG logo */

.site-logo {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 0 32px;

  color: #ffffff;
}

.eyebrow {
  margin: 0;

  color: #ffb27b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0;

  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 680px;
  margin: 0;

  color: #d7dfe6;
  font-size: 1.08rem;
  line-height: 1.7;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.trust-row span {
  padding: 8px 12px;

  color: #eef3f6;
  font-size: 0.8rem;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

/* Form card */

.card {
  overflow: hidden;

  background: var(--panel);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.card-heading {
  padding: 30px 32px 22px;
  border-bottom: 1px solid var(--line);
}

.card-heading h2 {
  margin: 0 0 7px;
  font-size: 1.55rem;
}

.card-heading p {
  margin: 0;

  color: var(--muted);
  line-height: 1.5;
}

form {
  display: grid;
  gap: 18px;
  padding: 28px 32px 32px;
}

.grid {
  display: grid;
  gap: 16px;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;

  font-size: 0.92rem;
  font-weight: 700;
}

input {
  width: 100%;
  padding: 12px 13px;

  color: var(--ink);
  font: inherit;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

input::placeholder {
  color: #77828c;
  opacity: 1;
}

input:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(216, 95, 25, 0.17);
}

small,
.fine-print {
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

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

  font-weight: 500;
  line-height: 1.45;
}

.consent-row input {
  width: 17px;
  height: 17px;
  margin-top: 3px;
}

.turnstile-container {
  min-height: 65px;
}

button {
  padding: 13px 18px;

  color: #ffffff;
  font: inherit;
  font-weight: 800;

  cursor: pointer;
  background: var(--accent);
  border: 0;
  border-radius: 8px;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(216, 95, 25, 0.35);
  outline-offset: 3px;
}

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

.secondary-button {
  color: var(--ink);
  background: #e9edf0;
}

.secondary-button:hover {
  background: #dfe5e9;
}

.fine-print {
  margin: 0;
  font-size: 0.78rem;
}

a {
  color: var(--accent-dark);
}

.status-panel {
  margin: 28px 32px 32px;
  padding: 22px;

  background: var(--soft);
  border-radius: 10px;
}

.status-panel[hidden] {
  display: none;
}

.status-panel h3 {
  margin: 0 0 8px;
}

.status-panel p {
  margin: 0 0 18px;
  line-height: 1.55;
}

.status-panel.success {
  border-left: 5px solid var(--success);
}

.status-panel.review {
  border-left: 5px solid var(--warning);
}

.status-panel.error {
  border-left: 5px solid var(--error);
}

/* Footer */

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 32px;

  display: flex;
  gap: 8px;

  color: #c3cdd5;
  font-size: 0.82rem;
}

footer a {
  color: #ffffff;
}

/* Tablet */

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(
        circle at 50% 78%,
        rgba(87, 111, 130, 0.22) 0%,
        rgba(17, 26, 36, 0) 52%
      ),
      linear-gradient(
        180deg,
        #111a24 0%,
        #1c2a37 100%
      );
  }

  .page-shell {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 44px;
  }

  .hero {
    padding-top: 0;
  }

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

/* Mobile */

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 24px), 1120px);
    padding-top: 32px;
  }

  .site-logo {
    max-width: 128px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .card-heading,
  form {
    padding-left: 22px;
    padding-right: 22px;
  }

  .status-panel {
    margin-left: 22px;
    margin-right: 22px;
  }

  footer {
    width: min(calc(100% - 24px), 1120px);
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}