@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Fraunces_600SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: italic; font-display: swap; src: url("/fonts/Fraunces_600SemiBold_Italic.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/DMSans_400Regular.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/DMSans_500Medium.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/DMSans_700Bold.ttf") format("truetype"); }

:root {
  --mist: #E7F3F0;
  --mist-deep: #C9E4DE;
  --surface: #FFFFFF;
  --ink: #102A28;
  --ink-soft: #3D5A56;
  --heading: #0F3D3A;
  --teal-text: #176E66;
  --candle: #E6C16A;
  --border: rgba(15, 61, 58, 0.14);
  --band: #0F3D3A;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --mist: #0E1B1A;
    --mist-deep: #1F3532;
    --surface: #162826;
    --ink: #EAF3F1;
    --ink-soft: #A9C2BE;
    --heading: #E3F1EE;
    --teal-text: #52C7BA;
    --border: rgba(255, 255, 255, 0.14);
    --band: #0A2523;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--candle); color: #0F3D3A; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--heading); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--heading); font-family: var(--serif); font-size: 1.5rem; }
.brand img { width: 38px; height: 38px; }
.brand b { color: #C99A2E; font-weight: 600; }
@media (prefers-color-scheme: dark) { .brand b { color: var(--candle); } }
.site-header nav a { margin-left: 22px; font-size: 0.95rem; color: var(--ink-soft); text-decoration: none; }
.site-header nav a:hover { color: var(--heading); text-decoration: underline; }

/* Hero */
.hero { position: relative; color: #fff; background: #0F3D3A; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/welcome-hero.jpg") center/cover no-repeat; opacity: 0.55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,26,0.55), rgba(10,36,34,0.85) 70%, rgba(10,36,34,0.96)); }
.hero .wrap { position: relative; z-index: 1; }
.hero .site-header .brand, .hero .site-header nav a { color: #fff; }
.hero .site-header nav a { opacity: 0.85; }
.hero-body { padding: clamp(72px, 16vw, 168px) 0 clamp(64px, 12vw, 120px); max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 em { color: var(--candle); font-style: italic; }
.hero p.lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: rgba(255,255,255,0.92); max-width: 36em; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; flex-direction: column; min-width: 190px; padding: 12px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.store small { opacity: 0.8; font-size: 0.8rem; }
.store strong { font-size: 1.1rem; }
.store.soon { cursor: default; }

/* Sections */
section { padding: clamp(56px, 9vw, 96px) 0; }
.steps { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-top: 32px; padding: 0; list-style: none; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 26px; }
.step .num { font-family: var(--serif); font-size: 2rem; color: #C99A2E; line-height: 1; margin-bottom: 10px; display: block; }
@media (prefers-color-scheme: dark) { .step .num { color: var(--candle); } }
.promises { background: var(--band); color: #fff; }
.promises h2 { color: #fff; }
.promise-grid { display: grid; gap: 28px 40px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.promise h3 { color: var(--candle); }
.promise p { color: rgba(255,255,255,0.88); margin: 0; }
.notice { border-left: 4px solid var(--candle); background: var(--surface); border-radius: 0 14px 14px 0; padding: 18px 22px; margin-top: 24px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .steps, .promise-grid { grid-template-columns: 1fr; }
  .site-header nav a:not(:last-child) { display: none; }
}

/* Documents (privacy, terms, guidelines) */
.doc { padding: 24px 0 80px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { margin-top: 1.8em; }
.doc table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.2em 0; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { color: var(--heading); font-weight: 700; }
.doc blockquote { margin: 1.2em 0; padding: 14px 18px; border-left: 4px solid var(--candle); background: var(--surface); border-radius: 0 12px 12px 0; }
.doc blockquote p { margin: 0; }
.draft-banner { background: #F8E7BE; color: #5B3800; padding: 10px 0; text-align: center; font-weight: 700; font-size: 0.95rem; }
.rules { counter-reset: r; list-style: none; padding: 0; margin: 28px 0; }
.rules li { counter-increment: r; display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.rules li::before { content: counter(r); font-family: var(--serif); font-size: 1.6rem; color: var(--teal-text); min-width: 1.4em; line-height: 1.2; }

/* Footer */
.site-footer { background: var(--band); color: rgba(255,255,255,0.85); padding: 40px 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer-links a { margin-right: 20px; }
.crisis { margin-top: 18px; opacity: 0.8; font-size: 0.9rem; max-width: 52em; }
