:root {
  color-scheme: light;
  --paper: #efe5d0;
  --paper-soft: #f8f2e6;
  --paper-deep: #e2d3b8;
  --ink: #1c1a17;
  --muted: #6d6255;
  --line: #b49362;
  --line-soft: rgba(143, 105, 55, 0.28);
  --gold: #8b6a32;
  --wine: #681e25;
  --wine-dark: #4d151b;
  --shadow: 0 24px 80px rgba(61, 40, 18, 0.16);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.46), transparent 32rem),
    linear-gradient(180deg, #f7f0e2 0%, var(--paper) 42%, #eadfc9 100%);
  color: var(--ink);
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  line-height: 1.6;
}

body::after {
  position: fixed;
  inset: 14px;
  z-index: 30;
  pointer-events: none;
  border: 1px solid rgba(139, 106, 50, 0.22);
  content: "";
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 12%, rgba(88, 58, 27, 0.05) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 22%, rgba(88, 58, 27, 0.035) 0 1px, transparent 1.6px),
    radial-gradient(circle at 42% 68%, rgba(255, 255, 255, 0.34) 0 1px, transparent 1.7px),
    linear-gradient(rgba(92, 67, 31, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 67, 31, 0.022) 1px, transparent 1px);
  background-size:
    19px 23px,
    29px 31px,
    17px 19px,
    42px 42px,
    42px 42px;
  opacity: 0.82;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
}

main {
  position: relative;
}

main::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      98deg,
      rgba(93, 66, 29, 0.018) 0,
      rgba(93, 66, 29, 0.018) 1px,
      transparent 1px,
      transparent 9px
    ),
    repeating-linear-gradient(
      8deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 13px
    );
  mix-blend-mode: multiply;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(248, 242, 230, 0.88);
  backdrop-filter: blur(16px);
}

.site-header::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wine), var(--gold), transparent);
  content: "";
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 14px;
}

.top-nav a {
  border-bottom: 1px solid transparent;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-color: var(--wine);
  color: var(--wine);
}

.section-band {
  border-bottom: 1px solid var(--line-soft);
}

.hero {
  min-height: calc(100svh - 77px);
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 112px) clamp(20px, 4vw, 48px);
}

.hero-inner {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-seal {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(139, 106, 50, 0.82);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 250, 241, 0.9), rgba(226, 211, 184, 0.44)),
    var(--paper-soft);
  box-shadow:
    inset 0 0 0 8px rgba(139, 106, 50, 0.08),
    0 18px 48px rgba(61, 40, 18, 0.14);
  color: var(--wine);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--wine);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 8vw, 86px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  text-wrap: balance;
}

.hero-copy {
  max-width: 700px;
  margin: 28px auto 0;
  color: #2a251f;
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1.32;
}

.hero-note {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.assurance-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.assurance-strip span {
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.52);
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 34px;
  padding: 0 28px;
  border: 1px solid var(--wine);
  border-radius: 4px;
  background: var(--wine);
  color: #fffaf0;
  cursor: pointer;
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  transform: translateY(-1px);
}

.primary-action:disabled {
  background: #9a8e7f;
  border-color: #9a8e7f;
  cursor: not-allowed;
  transform: none;
}

.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 250, 241, 0.58);
  color: var(--wine);
  cursor: pointer;
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: var(--wine);
  background: rgba(255, 250, 241, 0.9);
}

.button-action {
  width: fit-content;
}

.content-section,
.entry-section,
.application-section,
.success-section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.content-section {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
}

.muted-section {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 248, 235, 0.42);
  border-block: 1px solid var(--line-soft);
}

.section-heading {
  position: relative;
  min-width: 0;
}

.section-heading::after {
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 22px;
  background: var(--line);
  content: "";
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered::after {
  margin-inline: auto;
}

.text-column {
  max-width: 760px;
  color: #2b261f;
  font-size: clamp(18px, 2vw, 22px);
}

.text-column p,
.rule-grid p {
  margin: 0;
}

.text-column p + p {
  margin-top: 22px;
}

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

.steps-list li {
  position: relative;
  min-height: 58px;
  padding: 16px 18px 16px 70px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.6);
  font-size: 18px;
}

.steps-list li::before {
  position: absolute;
  top: 13px;
  left: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
  content: counter(steps);
  counter-increment: steps;
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 13px;
  font-weight: 700;
}

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

.rule-grid p {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.6);
  font-size: 17px;
}

.entry-section,
.application-section,
.success-section {
  padding-top: clamp(70px, 10vw, 120px);
}

.entry-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 235, 0.74);
  box-shadow: var(--shadow);
}

.rules-text {
  margin-top: 34px;
  color: #2b261f;
  font-size: 17px;
}

.rules-text ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.check-row,
.radio-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #2c261e;
  cursor: pointer;
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.check-row {
  margin-top: 28px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--wine);
  flex: 0 0 auto;
}

form {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

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

label span,
legend {
  display: block;
  margin-bottom: 8px;
  color: #352d24;
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.field-hint {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 12px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid rgba(139, 106, 50, 0.55);
  border-radius: 5px;
  background: rgba(255, 252, 245, 0.86);
  color: var(--ink);
  font: 16px/1.5 Inter, Arial, sans-serif;
}

input[type="text"],
input[type="email"] {
  height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 118px;
  padding: 12px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--wine);
  outline: 3px solid rgba(104, 30, 37, 0.12);
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}

fieldset legend {
  padding: 0 8px;
}

.form-check {
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.64);
}

.form-error {
  margin: 0;
  color: var(--wine);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.submit-status {
  margin: 0;
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.submit-status.is-error {
  color: var(--wine);
}

.readiness-box {
  max-width: 720px;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.68);
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 14px;
}

.readiness-box.is-ready {
  border-color: rgba(104, 30, 37, 0.35);
  color: #355338;
}

.readiness-box strong {
  display: block;
  margin-bottom: 8px;
  color: #352d24;
}

.readiness-box ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.readiness-box.is-ready ul {
  padding-left: 0;
  list-style: none;
}

.success-panel {
  text-align: center;
}

.success-panel p:not(.section-kicker),
.review-panel p:not(.section-kicker) {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 17px;
}

.review-panel {
  text-align: center;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.request-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 24px !important;
  padding: 0 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.7);
  color: var(--wine) !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family:
    Inter,
    Arial,
    sans-serif;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .content-section,
  .muted-section {
    display: block;
  }

  .section-heading {
    margin-bottom: 30px;
  }

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

@media (max-width: 1180px) {
  .content-section,
  .muted-section {
    display: block;
  }

  .section-heading {
    margin-bottom: 30px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 16px;
  }

  .content-section,
  .entry-section,
  .application-section,
  .success-section {
    width: min(100% - 28px, var(--max));
  }

  .entry-panel {
    padding: 22px;
  }

  body::after {
    inset: 8px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
#confidentiality {
  display: block;
}

#confidentiality .section-heading {
  margin-bottom: 30px;
}
