:root {
  --bg: #f3eee4;
  --bg-deep: #e7dfd1;
  --ink: #1c2430;
  --muted: #5c6572;
  --line: #d8cfc0;
  --paper: #fffdf8;
  --sage: #2c5b49;
  --sage-2: #3c745c;
  --clay: #b24e38;
  --clay-2: #933f2c;
  --gold: #b0894f;
  --danger: #8a2f32;
  --focus: #2c5b49;
  --shadow: 0 20px 50px rgba(28, 36, 48, 0.08);
  --radius: 18px;
  --header-h: 76px;
  --font: "Figtree", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(176, 137, 79, 0.16), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(44, 91, 73, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: var(--sage);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(243, 238, 228, 0.86);
  border-bottom: 1px solid rgba(216, 207, 192, 0.8);
}

.header-inner,
.footer-inner,
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, var(--sage) 0 50%, var(--gold) 50% 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 253, 248, 0.35);
}

.site-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(44, 91, 73, 0.1);
}

.nav-toggle,
.btn-header {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(44, 91, 73, 0.45);
  outline-offset: 2px;
}

.btn-primary,
.btn-header {
  background: var(--clay);
  color: #fff;
}

.btn-primary:hover,
.btn-header:hover {
  background: var(--clay-2);
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.hero,
.section {
  padding: 72px 0;
}

.hero-grid,
.split,
.cards,
.steps,
.stat-row {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--sage);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 550;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.lede,
.muted {
  color: var(--muted);
}

.lede {
  font-size: 1.15rem;
  max-width: 42rem;
}

.video-frame {
  margin: 24px 0 0;
  max-width: 736px;
  background: #1c2430;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 736 / 400;
  background: #1c2430;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  max-width: 40rem;
}

.contact-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.contact-list span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

.contact-list p {
  margin: 8px 0 0;
}

.contact-list address {
  font-style: normal;
  margin: 0;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-weight: 600;
  color: var(--ink);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--sage);
  background: #fff;
  flex-shrink: 0;
}

.social-icon:hover,
.social-icon:focus-visible {
  border-color: var(--sage);
  background: rgba(44, 91, 73, 0.08);
}

.hero-card,
.card,
.panel {
  background: var(--paper);
  border: 1px solid rgba(216, 207, 192, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.panel,
.form-card {
  padding: 24px;
}

.hero-card ul,
.plain-list {
  margin: 0;
  padding-left: 18px;
}

.hero-actions,
.inline-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

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

.card h3 {
  margin-top: 0;
}

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

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.notice,
.callout {
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(176, 137, 79, 0.12);
}

.callout.danger {
  background: rgba(138, 47, 50, 0.08);
  border-color: rgba(138, 47, 50, 0.25);
}

.site-footer {
  margin-top: 40px;
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 12px;
}

.fineprint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

.quiz-shell,
.form-card,
.status-card {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.progress {
  height: 8px;
  background: var(--bg-deep);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 24px;
}

.progress > span {
  display: block;
  height: 100%;
  background: var(--sage);
  width: 0;
  transition: width 0.25s ease;
}

.choice {
  display: block;
  width: 100%;
  text-align: left;
  margin: 10px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.choice:hover,
.choice[aria-pressed="true"] {
  border-color: var(--sage);
  background: rgba(44, 91, 73, 0.08);
}

label,
.field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  margin-bottom: 16px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin: 0 0 18px;
}

.checks label {
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}

.file-box {
  border: 1px dashed var(--sage-2);
  border-radius: 16px;
  padding: 18px;
  background: rgba(44, 91, 73, 0.05);
  margin-bottom: 18px;
}

.hash-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.hash-list li {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0;
  word-break: break-all;
}

.hidden {
  display: none !important;
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.my-24 { margin: 24px 0; }
.scroll-x { overflow: auto; }

.banner {
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
}

.banner.error {
  background: rgba(138, 47, 50, 0.1);
  color: var(--danger);
}

.banner.ok {
  background: rgba(44, 91, 73, 0.1);
  color: var(--sage);
}

.receipt {
  background: var(--bg);
  border-radius: 16px;
  padding: 18px;
}

.receipt code {
  display: block;
  font-size: 1.05rem;
  margin: 6px 0 14px;
  word-break: break-all;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  padding: 0 0 18px 18px;
  position: relative;
}

.timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  position: absolute;
  left: -6px;
  top: 6px;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(44, 91, 73, 0.12);
  color: var(--sage);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.partner-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.partner-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: var(--paper);
  color: var(--ink);
}

.partner-nav a:hover,
.partner-nav a[aria-current="page"] {
  border-color: var(--sage);
  color: var(--sage);
  background: rgba(44, 91, 73, 0.08);
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.directory-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.directory-item h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-meta li {
  min-width: 0;
}

.partner-cta,
.coming-soon {
  margin-top: 40px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.coming-soon {
  border-style: dashed;
  text-align: center;
}

.form-note {
  margin: 0 0 18px;
}

.compare-wrap {
  overflow-x: auto;
  margin: 28px 0;
}

.compare {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 10px;
  caption-side: top;
}

.compare th,
.compare td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  font-family: var(--serif);
  font-size: 1.05rem;
  background: var(--bg-deep);
}

.compare tbody th {
  width: 28%;
  color: var(--sage);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}

.admin-toolbar input,
.admin-toolbar select {
  margin: 0;
  max-width: 260px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .btn-header {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: var(--header-h) 16px auto 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .partner-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .hero-grid,
  .cards,
  .steps,
  .footer-inner,
  .resource-grid,
  .partner-cards,
  .checks {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .nav-toggle {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

.hashform-page {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wizard {
  width: min(760px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
}

.wizard-progress-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.wizard-pages .step {
  display: none;
}

#hashform-page-0:checked ~ .wizard-pages .step-0,
#hashform-page-1:checked ~ .wizard-pages .step-1,
#hashform-page-2:checked ~ .wizard-pages .step-2,
#hashform-page-3:checked ~ .wizard-pages .step-3,
#hashform-page-4:checked ~ .wizard-pages .step-4,
#hashform-page-5:checked ~ .wizard-pages .step-5,
#hashform-page-6:checked ~ .wizard-pages .step-6,
#hashform-page-report:checked ~ .wizard-pages .step-report,
#hashform-page-7:checked ~ .wizard-pages .step-7,
#hashform-page-8:checked ~ .wizard-pages .step-8,
#hashform-page-9:checked ~ .wizard-pages .step-9,
#hashform-page-under18:checked ~ .wizard-pages .step-under18,
#hashform-page-thirdparty:checked ~ .wizard-pages .step-thirdparty,
#hashform-page-clothed:checked ~ .wizard-pages .step-clothed {
  display: block;
}

.criteria-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 18px;
}

.criteria-list.accept { color: var(--sage); }
.criteria-list.reject { color: var(--danger); }

.bttrp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.review-dl {
  margin: 0 0 18px;
}

.review-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  font-weight: 600;
}
