:root {
  --ink: #171313;
  --paper: #f7f1e9;
  --cream: #fffaf4;
  --line: #dfd1be;
  --muted: #5d5148;
  --red: #e24731;
  --red-dark: #c73826;
  --teal: #0b6c70;
  --deep-teal: #162b2c;
  --gold: #f2b66d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

a,
button,
input,
select,
textarea {
  outline-color: var(--teal);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(23, 19, 19, 0.48);
  color: #fff;
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.button.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.primary {
  background: var(--red);
  color: #fff;
}

.primary:hover {
  background: var(--red-dark);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(12, 10, 10, 0.88) 0%, rgba(12, 10, 10, 0.66) 38%, rgba(12, 10, 10, 0.16) 72%),
    url("hero-resale-table.png");
  background-image:
    linear-gradient(90deg, rgba(12, 10, 10, 0.88) 0%, rgba(12, 10, 10, 0.66) 38%, rgba(12, 10, 10, 0.16) 72%),
    image-set(url("hero-resale-table.webp") type("image/webp"), url("hero-resale-table.png") type("image/png"));
  background-position: center;
  background-size: cover;
}

.hero-content,
.section,
.section-inner,
.proof-strip {
  width: min(100% - 40px, 1216px);
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 82svh;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: end;
  padding: 128px 0 64px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
}

.teal {
  color: var(--teal);
}

.gold {
  color: var(--gold);
}

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

h1 {
  margin-bottom: 26px;
  font-size: 72px;
  line-height: 1.02;
}

h2 {
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.2;
}

.lede {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.pledge {
  max-width: 448px;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 24px;
  background: rgba(23, 19, 19, 0.7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.pledge-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.pledge-main {
  margin-bottom: 18px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
}

.pledge-note {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.7;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 0;
}

.proof-strip div,
.category-grid div,
.guardrail-grid article,
.card,
.step,
.ledger,
form {
  border: 1px solid var(--line);
  border-radius: 6px;
}

.proof-strip div {
  background: #fff;
  padding: 16px;
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: 80px 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.body-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

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

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.card {
  background: #fff;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(23, 19, 19, 0.06);
}

.card p,
.step p,
.ledger p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.dark {
  width: 100%;
  max-width: none;
  background: var(--deep-teal);
  color: #fff;
}

.dark h2 {
  max-width: 770px;
}

.step {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 22px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
}

.step p {
  color: rgba(255, 255, 255, 0.76);
}

.category-grid,
.guardrail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.category-grid div {
  background: var(--cream);
  padding: 22px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.cream {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1216px) / 2));
  background: var(--cream);
}

.ledger {
  background: #fff;
  padding: 24px;
}

.ledger div {
  border-bottom: 1px solid #eadfce;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.ledger div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

.guardrail-grid article {
  background: #fff;
  padding: 22px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.form-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  padding-inline: max(20px, calc((100vw - 1216px) / 2));
  background: var(--ink);
  color: #fff;
}

.form-section .body-copy {
  color: rgba(255, 255, 255, 0.76);
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #fff;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

label {
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid #d8c9b8;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

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

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

.confirm {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
}

.confirm input {
  width: 16px;
  min-height: 16px;
  margin-top: 3px;
}

.example-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--teal);
  background: var(--cream);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.form-fineprint {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-fineprint a {
  color: var(--teal);
  text-decoration: underline;
}

.site-footer {
  background: var(--deep-teal);
  color: #f4ece1;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px) 32px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.footer-tagline {
  margin: 8px 0 0;
  max-width: 320px;
  color: #cdbfae;
}

.footer-meta p {
  margin: 0 0 6px;
  color: #cdbfae;
  font-size: 14px;
}

.footer-meta a {
  color: var(--gold);
}

.footer-nav {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
}

.footer-nav a {
  color: #f4ece1;
  text-decoration: underline;
}

.footer-legal {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #a99c8b;
  font-size: 12px;
  line-height: 1.7;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 56px) clamp(20px, 5vw, 32px) 64px;
}

.legal-page .back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--teal);
  font-weight: 700;
}

.legal-page h1 {
  font-size: clamp(32px, 6vw, 44px);
  margin: 0 0 8px;
}

.legal-page .updated {
  color: var(--muted);
  margin: 0 0 32px;
}

.legal-page h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-page .disclaimer {
  margin-top: 40px;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  font-size: 14px;
}

h1,
h2,
h3,
.brand,
.footer-name {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.01em;
}

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

.brand-mark {
  flex: none;
}

.section-inner.center,
.section.center > div:first-child {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 960px;
  margin: 36px auto 0;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--line);
  border: 1px solid var(--line);
}

.gallery figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.faq {
  margin-top: 28px;
  max-width: 820px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
  color: var(--teal);
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}

.form-note {
  grid-column: 1 / -1;
  margin: -2px 0 4px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.form-note a {
  color: var(--teal);
  text-decoration: underline;
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 78svh;
  }

  .hero-content {
    display: block;
    padding: 132px 0 56px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .lede {
    font-size: 20px;
  }

  .pledge {
    margin-top: 28px;
    max-width: 100%;
  }

  .proof-strip,
  .two-column,
  .card-grid.three,
  .card-grid.four,
  .form-section {
    grid-template-columns: 1fr;
  }

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

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .button.small {
    padding: 0 16px;
  }

  .actions .button {
    width: 100%;
  }

  .hero-backdrop {
    background-position: 58% center;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }
}
