:root {
  --hero: #14281f;
  --hero-2: #1c3b2f;
  --paper: #f4efe6;
  --card: #fffdf8;
  --ink: #1c1915;
  --muted: #5e584e;
  --line: rgba(28, 25, 21, 0.12);
  --brass: #7a4f2a;
  --sand: #f0d7bf;
  --danger: #8d2f2a;
  --serif: "Spectral", "Iowan Old Style", Palatino, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--hero);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid #c9895a;
  outline-offset: 3px;
}

::selection {
  background: #e7c4a2;
  color: var(--ink);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(20, 40, 31, 0.92);
  backdrop-filter: blur(16px);
  color: #f6f1e7;
  border-bottom: 1px solid rgba(246, 241, 231, 0.08);
}

.top-inner,
.section-inner,
.close-inner,
.foot-inner,
.hero-grid {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.top-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mark {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  flex: none;
}

.mark i {
  display: block;
  background: var(--sand);
  border-radius: 1px;
}

.mark i:nth-child(2) {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--sand);
}

.mark i:nth-child(3) {
  opacity: 0.72;
}

.mark i:nth-child(4) {
  background: #c9895a;
}

nav {
  display: none;
  gap: 18px;
  margin-left: auto;
}

nav a {
  color: rgba(246, 241, 231, 0.76);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

nav a:hover {
  color: #fff;
}

.top-cta {
  margin-left: auto;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f3eadc;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

main {
  background: var(--paper);
}

.hero {
  background-color: var(--hero);
  background-image:
    linear-gradient(rgba(243, 234, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 234, 220, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  color: #f6f1e7;
}

.hero-grid {
  display: grid;
  gap: 28px;
  padding: 28px 0 64px;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
}

.eyebrow {
  color: var(--brass);
}

h1,
h2,
.success h3,
.stub-num {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 12vw, 5.3rem);
  line-height: 0.92;
}

h1 em {
  font-style: italic;
  color: var(--sand);
}

.deck,
.lede {
  margin: 16px 0 0;
  color: rgba(246, 241, 231, 0.78);
  font-size: 1.05rem;
}

.lede {
  color: var(--muted);
  margin-top: 0;
}

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  border: 1px solid rgba(246, 241, 231, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: rgba(246, 241, 231, 0.86);
}

.plan {
  display: none;
  color: rgba(246, 241, 231, 0.45);
  margin-top: 28px;
  width: min(100%, 440px);
}

.sheet {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--card);
  color: var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  scroll-margin-top: 84px;
}

.stub {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  background: var(--hero-2);
  color: #f6f1e7;
  border-radius: 28px 28px 0 0;
}

.stub::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -8px;
  height: 16px;
  background: radial-gradient(circle, var(--hero) 6px, transparent 7px) center / 22px 16px repeat-x;
  z-index: 3;
}

.stub-label,
.stub-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stub-num {
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1;
}

.form-body,
.success {
  position: relative;
  z-index: 1;
  padding: 26px 16px 18px;
}

.form-head h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.form-head p,
.hint,
.noscript {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-banner {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8e7e2;
  color: var(--danger);
  font-size: 0.92rem;
}

.field {
  margin-top: 14px;
}

label,
.label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

label span,
.label span {
  display: inline-block;
  min-width: 1.7em;
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(28, 25, 21, 0.16);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 48px;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #8d877d;
}

input:focus,
textarea:focus {
  border-color: var(--hero-2);
  box-shadow: 0 0 0 4px rgba(28, 59, 47, 0.12);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

input[readonly] {
  background: #f6f1e7;
}

.segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #efe8dc;
}

.segment button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px;
  cursor: pointer;
}

.segment button[aria-checked="true"] {
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.sublabel {
  margin: 12px 0 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.field-consent .check {
  margin-top: 0;
}

.check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--hero-2);
  flex: none;
}

.error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.86rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--hero-2);
  color: #f6f1e7;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #275445;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(28, 25, 21, 0.18);
}

.button-ghost:hover {
  background: #f6f1e7;
}

.success {
  text-align: left;
  padding-top: 32px;
  padding-bottom: 28px;
}

.success-mark {
  width: 52px;
  height: 52px;
  color: var(--hero-2);
  margin-bottom: 14px;
}

.success h3 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
  outline: none;
}

.success-text {
  margin: 12px 0 0;
  color: var(--muted);
}

.success .button {
  width: auto;
  min-width: 220px;
}

.section {
  padding: 64px 0;
  scroll-margin-top: 84px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.02;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.duties {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: duty;
  max-width: 740px;
}

.duties li {
  position: relative;
  padding: 16px 0 16px 52px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.duties li::before {
  counter-increment: duty;
  content: counter(duty, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
}

.pay-copy {
  max-width: 740px;
}

.pay-copy .lede + .lede {
  margin-top: 14px;
}

.section-pay {
  padding-top: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}

.steps span {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--brass);
}

.steps h3 {
  margin: 10px 0 6px;
  font-size: 1.15rem;
}

.steps p,
.faq p,
.close p,
footer p {
  margin: 0;
  color: var(--muted);
}

.payout-grid {
  display: grid;
  gap: 22px;
}

.section-payout {
  padding-top: 0;
}

.receipt {
  background: var(--card);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(60, 42, 18, 0.06);
}

.receipt-kicker {
  margin: 0;
  color: var(--brass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.receipt-title {
  margin: 8px 0 16px;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.05;
}

.receipt dl {
  margin: 0;
}

.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed rgba(28, 25, 21, 0.16);
}

.receipt dt {
  color: var(--muted);
}

.receipt dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.receipt-foot {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-wrap {
  max-width: 760px;
}

.faq {
  margin-top: 8px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  color: var(--brass);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  padding: 0 0 16px;
}

.close {
  background: var(--hero);
  color: #f6f1e7;
}

.close-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  padding: 48px 0;
}

.close h2 {
  color: #f6f1e7;
}

.close p {
  margin-top: 10px;
  color: rgba(246, 241, 231, 0.76);
}

.close .button {
  width: 100%;
  margin-top: 0;
  background: #f3eadc;
  color: var(--ink);
}

.close .button:hover {
  background: #fff;
}

footer {
  color: rgba(246, 241, 231, 0.72);
  border-top: 1px solid rgba(246, 241, 231, 0.08);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 36px;
}

footer p {
  color: rgba(246, 241, 231, 0.66);
  max-width: 420px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 860px) {
  nav {
    display: flex;
  }

  .top-cta {
    margin-left: 0;
  }

  .section-head,
  .payout-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 32px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .close-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .close .button {
    width: auto;
    min-width: 180px;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 56px;
    align-items: center;
    min-height: calc(100vh - 68px);
    padding-top: 18px;
  }

  .plan {
    display: block;
  }

  .sheet {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .stub {
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: 22px 0 18px;
    border-radius: 28px 0 0 28px;
  }

  .stub::after {
    top: 14px;
    bottom: 14px;
    left: auto;
    right: -8px;
    width: 16px;
    height: auto;
    background: radial-gradient(circle, var(--hero) 6px, transparent 7px) center / 16px 22px repeat-y;
  }

  .stub-label,
  .stub-meta {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .form-body,
  .success {
    padding: 26px 24px 22px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
