:root {
  --bg: #f5f2ed;
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --stroke: rgba(62, 39, 35, 0.14);
  --shadow: rgba(62, 39, 35, 0.1);
  --text: #3e2723;
  --muted: #596170;
  --brand: #874f37;
  --brand-2: #6b3e2e;
  --sand: #c4a57b;
  --success: #2d6a4f;
  --danger: #b42318;
  --radius-xl: 30px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(900px 620px at 12% -8%, rgba(135, 79, 55, 0.15), transparent 58%),
    radial-gradient(760px 560px at 92% 4%, rgba(196, 165, 123, 0.2), transparent 62%),
    var(--bg);
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "PingFang SC", "Noto Sans", sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(62, 39, 35, 0.1);
  background: rgba(245, 242, 237, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 8px 20px var(--shadow);
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 14px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--brand);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #fff;
  background: var(--brand-2);
}

.hero {
  padding: 78px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid rgba(135, 79, 55, 0.16);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(135, 79, 55, 0.1);
}

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

h1 {
  margin-bottom: 18px;
  max-width: 13ch;
  font-size: clamp(42px, 6.5vw, 72px);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 58ch;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 32px rgba(135, 79, 55, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-2);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.66);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.microcopy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(360px 220px at 10% 0%, rgba(135, 79, 55, 0.16), transparent 64%),
    rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 70px rgba(62, 39, 35, 0.11);
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--stroke);
}

.hero-card-top img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 14px 32px var(--shadow);
}

.pilot-pill {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--brand);
  background: rgba(135, 79, 55, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.reward-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.reward-line {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(62, 39, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.reward-line strong {
  font-size: 21px;
  color: var(--brand);
}

.reward-line b,
.reward-line span {
  display: block;
}

.reward-line b {
  font-size: 14px;
}

.reward-line span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 54px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-desc {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--muted);
}

.stat-grid,
.card-grid,
.step-grid {
  display: grid;
  gap: 14px;
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card,
.info-card,
.step-card {
  border: 1px solid var(--stroke);
  background: var(--surface);
  box-shadow: 0 16px 36px rgba(62, 39, 35, 0.06);
}

.stat-card {
  min-height: 168px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.stat-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.stat-card span {
  color: var(--muted);
  font-size: 12px;
}

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

.info-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.info-card .number,
.step-card .number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--brand);
  background: rgba(135, 79, 55, 0.11);
  font-size: 12px;
  font-weight: 900;
}

.info-card h3,
.step-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.info-card p,
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.policy-shell,
.apply-shell {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(135, 79, 55, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(62, 39, 35, 0.08);
}

.policy-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 30px;
}

.policy-intro {
  padding: 4px;
}

.policy-list {
  display: grid;
  gap: 10px;
}

.policy-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(62, 39, 35, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
}

.policy-item strong {
  font-size: 13px;
}

.policy-item span {
  color: var(--muted);
  font-size: 13px;
}

.disclosure {
  margin-top: 14px;
  padding: 15px 17px;
  border-left: 4px solid var(--sand);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  background: rgba(196, 165, 123, 0.12);
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  padding: 16px 18px;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  background: var(--surface);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.apply-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
}

.apply-copy {
  padding: 32px;
  color: #fff;
  background: var(--brand);
}

.apply-copy .section-kicker,
.apply-copy .section-desc {
  color: rgba(255, 255, 255, 0.76);
}

.apply-copy ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.apply-copy li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.apply-copy li::before {
  content: "✓";
  font-weight: 900;
}

.application-form {
  display: grid;
  gap: 18px;
  padding: 32px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field span {
  font-size: 13px;
  font-weight: 800;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid rgba(62, 39, 35, 0.18);
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.input,
.select {
  min-height: 50px;
  padding: 0 14px;
}

.textarea {
  min-height: 128px;
  padding: 13px 14px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(135, 79, 55, 0.55);
  box-shadow: 0 0 0 4px rgba(135, 79, 55, 0.11);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--brand);
  flex: none;
}

.consent a,
.legal a,
.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.legal {
  max-width: 820px;
  padding: 64px 0 72px;
}

.legal h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(38px, 5vw, 58px);
}

.legal-meta {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 13px;
}

.legal h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  letter-spacing: -0.015em;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.legal th,
.legal td {
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.legal th {
  color: var(--text);
  background: rgba(135, 79, 55, 0.08);
}

.site-footer {
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-links a {
  padding: 7px 9px;
  border-radius: 999px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .hero-grid,
  .policy-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

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

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    align-items: flex-start;
    padding: 12px 0;
  }

  .brand-copy span,
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .section {
    padding: 42px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .stat-grid,
  .step-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .policy-layout,
  .application-form,
  .apply-copy {
    padding: 22px;
  }

  .policy-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal {
    padding-top: 48px;
  }

  .legal table,
  .legal tbody,
  .legal tr,
  .legal th,
  .legal td {
    display: block;
  }

  .legal th {
    border-bottom: 0;
  }
}

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