:root {
  --ink: #1f1d1a;
  --parchment: #f3eee6;
  --paper: #fbf8f3;
  --linen: #e6ded1;
  --clay: #9a5a3c;
  --clay-dark: #80472e;
  --clay-light: #d9a27f;
  --tan: #d9c7ae;
  --muted: #4e4841;
  --soft: #6d6457;
  --line: #d5cbbb;
  --line-dark: #3a3631;
  --wa: #1e7a45;
  --danger: #b42318;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clay { color: var(--clay); }
.hand { font-family: var(--hand); color: var(--clay); line-height: 1; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.eyebrow.light { color: var(--clay-light); }
.body { font-size: 18px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 4px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-clay { background: var(--clay); color: #fff; }
.btn-clay:hover { background: var(--clay-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--parchment); }
.btn-dark:hover { background: #000; color: var(--parchment); }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17633a; color: #fff; }
.btn:disabled { opacity: 0.65; cursor: wait; }

/* Ribbon and header */
.ribbon {
  display: block; padding: 11px 20px; background: var(--clay); color: #fbf6ef;
  font-size: 14px; font-weight: 500; text-align: center; text-decoration: none; line-height: 1.4;
}
.ribbon:hover { background: var(--clay-dark); color: #fff; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex-shrink: 0; }
.logo-word { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; }
.logo.small .logo-mark { width: 24px; height: 24px; }
.logo.small .logo-word { font-size: 17px; }
.top-links { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.top-links > a:not(.btn) { text-decoration: none; }
@media (max-width: 759px) {
  .hide-sm { display: none; }
  .logo-word { font-size: 18px; }
  .logo-mark { width: 26px; height: 26px; }
}

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 96px; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
h1 { max-width: 13em; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.lede { max-width: 32em; font-size: 18px; color: var(--muted); }

/* Waitlist form */
.join { display: flex; flex-direction: column; gap: 14px; }
.join-row {
  display: flex; max-width: 580px; background: #fff; border: 1px solid #cfc3b1; border-radius: 5px;
  box-shadow: 0 10px 30px -18px rgba(31, 29, 26, 0.35);
}
.join-row:focus-within { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(154, 90, 60, 0.18); }
.join-row input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 0 18px; min-height: 60px; border: 0; background: transparent; color: var(--ink); outline: none; }
.join-row .btn { margin: 6px; min-height: 48px; }
@media (max-width: 519px) {
  .join-row { flex-direction: column; background: transparent; border: 0; box-shadow: none; gap: 10px; }
  .join-row:focus-within { box-shadow: none; }
  .join-row input { background: #fff; border: 1px solid #cfc3b1; border-radius: 5px; min-height: 56px; }
  .join-row input:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(154, 90, 60, 0.18); }
  .join-row .btn { margin: 0; min-height: 56px; font-size: 17px; }
}
.roles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.roles legend { float: left; padding: 0; margin-right: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.roles label { position: relative; }
.roles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.roles span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #cfc3b1; font-size: 14px; font-weight: 600; cursor: pointer;
}
.roles input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--parchment); }
.roles input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.business-only { display: grid; gap: 12px; max-width: 580px; }
@media (min-width: 520px) { .business-only { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { font: inherit; font-weight: 400; font-size: 16px; padding: 0 14px; min-height: 50px; border: 1px solid #cfc3b1; border-radius: 5px; background: #fff; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(154, 90, 60, 0.18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-size: 15px; font-weight: 600; }
.fine { font-size: 14px; color: var(--soft); }

.joined { max-width: 580px; background: var(--ink); color: var(--parchment); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.joined:focus { outline: none; }
.joined-mark { width: 44px; height: 44px; }
.joined h2 { font-size: 34px; line-height: 1.05; }
.joined-msg { color: #cfc6b8; }
.share-lead { margin-top: 8px; font-size: 15px; color: #cfc6b8; }
.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share-url { font-size: 13px; color: #a79c8c; word-break: break-all; }

.count { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.count svg { width: 22px; height: 22px; color: var(--clay); flex-shrink: 0; --door: var(--parchment); }
.count strong { color: var(--ink); }

/* Hero art: real photo, the app in a phone, a handwritten note */
.hero-art { position: relative; }
.hero-photo { width: 100%; height: 340px; object-fit: cover; object-position: 50% 62%; border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(31, 29, 26, 0.6); }
.phone, .hero-note { display: none; }
@media (min-width: 960px) {
  .hero-art { min-height: 680px; }
  .hero-photo { width: 88%; height: 620px; margin-left: auto; }
  .phone {
    display: block; position: absolute; left: 0; top: 110px; width: 256px; height: 524px; padding: 10px;
    border-radius: 40px; background: var(--ink); box-shadow: 0 40px 70px -30px rgba(31, 29, 26, 0.7); transform: rotate(-3deg);
  }
  .hero-note { display: flex; flex-direction: column; position: absolute; left: 250px; bottom: 6px; font-size: 26px; transform: rotate(-4deg); white-space: nowrap; }
  .hero-note svg { width: 70px; height: 40px; }
}
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: var(--parchment); display: flex; flex-direction: column; font-size: 11px; }
.phone-notch { width: 70px; height: 18px; border-radius: 10px; background: var(--ink); margin: 7px auto 4px; }
.phone-bar { display: flex; align-items: center; gap: 7px; padding: 6px 14px 10px; border-bottom: 1px solid #ddd3c4; font-family: var(--serif); font-size: 12px; font-weight: 500; }
.phone-bar svg { width: 16px; height: 16px; }
.phone-body { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 7px; }
.phone-input { flex: 1; height: 32px; display: flex; align-items: center; padding: 0 10px; border: 1px solid #cfc3b1; border-radius: 3px; background: #fff; color: var(--soft); }
.phone-row { display: flex; gap: 6px; }
.phone-go { width: 58px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 3px; background: var(--clay); color: #fff; font-weight: 600; }
.phone-chips { display: flex; gap: 5px; }
.phone-chips span { font-size: 9px; font-weight: 600; padding: 4px 8px; border-radius: 999px; border: 1px solid #cfc3b1; }
.phone-chips .on { background: var(--ink); border-color: var(--ink); color: var(--parchment); }
.phone-h { padding: 8px 14px 0; font-family: var(--serif); font-size: 16px; }
.phone-list { list-style: none; margin: 0; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.phone-list li { display: flex; align-items: center; gap: 9px; padding: 8px; background: #fff; border-radius: 4px; border-left: 3px solid var(--c); }
.phone-list b { width: 32px; height: 32px; border-radius: 4px; background: var(--c); color: var(--t); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.phone-list span { display: flex; flex-direction: column; font-size: 9.5px; color: var(--soft); }
.phone-list strong { font-size: 11px; color: var(--ink); }

/* Category strip */
.strip { display: flex; overflow: hidden; background: var(--ink); color: #e9e1d4; font-family: var(--serif); font-weight: 300; font-size: 20px; }
.strip-track { display: flex; flex-shrink: 0; list-style: none; margin: 0; padding: 22px 0; animation: strip 70s linear infinite; }
.strip-track li { position: relative; padding: 0 26px 0 0; margin-right: 26px; white-space: nowrap; }
.strip-track li::before, .strip-track li::after {
  content: ""; position: absolute; right: -6px; top: 50%; width: 9px; height: 9px; margin-top: -4px; background: var(--clay);
}
.strip-track li::after { transform: rotate(45deg); }
@keyframes strip { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* Why this exists */
.why { display: grid; gap: 40px; padding-top: 80px; padding-bottom: 72px; align-items: center; }
@media (min-width: 960px) { .why { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 96px; padding-top: 112px; padding-bottom: 96px; } }
.quote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin-bottom: 22px; }
.why .body { max-width: 34em; }
.today .label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.today ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.today li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 20px; background: #fff; border: 1px solid #ddd3c4; border-radius: 5px; color: var(--soft); }
.today s { text-decoration-color: var(--clay); text-decoration-thickness: 1.5px; }
.today li > span:last-child { font-size: 13px; }
.today .soon { background: var(--ink); border-color: var(--ink); color: var(--parchment); font-weight: 600; font-size: 18px; }
.today .soon > span:last-child { color: var(--tan); font-weight: 500; }
.soon-name { display: flex; align-items: center; gap: 12px; }
.soon-name svg { width: 20px; height: 20px; color: var(--tan); --door: var(--ink); }

/* Gallery */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 64px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.08; max-width: 760px; }
.section-head p { max-width: 400px; color: var(--muted); }
.gallery { padding-bottom: 96px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 5px; background: #cfc3b1; }
.gallery figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; }
.gallery figcaption span { font-family: var(--serif); font-size: 21px; }
.gallery figcaption small { font-size: 13px; color: var(--soft); }
.note { margin-top: 16px; font-size: 13px; color: var(--soft); }

/* Founding businesses */
.founding { background: var(--ink); color: var(--parchment); padding: 80px 0; }
@media (min-width: 960px) { .founding { padding: 112px 0; } }
.founding-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .founding-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; } }
.founding-copy { display: flex; flex-direction: column; gap: 22px; }
.founding h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.06; }
.founding .body { color: #cfc6b8; }
.perks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.perks li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; line-height: 1.5; }
.perks li span { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; padding-top: 2px; color: var(--clay-light); }
.spots { font-size: 15px; color: #cfc6b8; }
.spots strong { color: var(--parchment); }
.apply { align-self: flex-start; }
.founding-art { position: relative; }
.founding-art img { width: 100%; height: 420px; object-fit: cover; object-position: 30% 40%; border-radius: 6px; }
@media (min-width: 960px) { .founding-art img { height: 640px; } }
.sticker { position: absolute; left: -14px; bottom: -22px; width: 124px; height: 124px; transform: rotate(-8deg); filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35)); --door: var(--parchment); }
@media (min-width: 960px) { .sticker { width: 176px; height: 176px; left: -36px; bottom: -36px; } }
.sticker-note { position: absolute; left: 118px; bottom: 14px; font-size: 22px; color: #fff6ea; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); transform: rotate(-4deg); }
@media (min-width: 960px) { .sticker-note { left: 156px; bottom: 22px; font-size: 26px; } }

/* Build in public */
.build { background: var(--linen); padding: 88px 0; overflow: hidden; }
@media (min-width: 960px) { .build { padding: 112px 0; } }
.letter { position: relative; max-width: 760px; margin-left: auto; margin-right: auto; background: var(--paper); padding: 40px 26px 34px; border-radius: 2px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(31, 29, 26, 0.5); transform: rotate(-1deg); display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
@media (min-width: 760px) { .letter { padding: 48px 52px; } }
.letter > p:not(.eyebrow):not(.hand) { font-size: 18px; line-height: 1.75; color: #33302b; }
.letter .eyebrow { margin-bottom: 0; }
.sign { font-size: 34px; color: var(--ink); }
.letter .follow { align-self: flex-start; margin-top: 8px; }
.polaroid { position: relative; align-self: flex-end; width: 150px; margin: -80px -4px 4px 0; padding: 8px 8px 30px; background: #fff; box-shadow: 0 14px 30px -16px rgba(31, 29, 26, 0.55); transform: rotate(4deg); }
@media (min-width: 760px) { .polaroid { position: absolute; width: 150px; right: -20px; top: -96px; margin: 0; } }
@media (min-width: 1100px) { .polaroid { width: 210px; right: -190px; top: -30px; } }
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 76px; height: 24px; margin-left: -38px; background: rgba(217, 199, 174, 0.85); transform: rotate(-4deg); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 12px; bottom: 5px; font-size: 20px; color: #33302b; }
@media (min-width: 760px) and (max-width: 1099px) { .letter .eyebrow, .letter > p:nth-of-type(2) { padding-right: 150px; } }
/* Final call to action */
.cta { background: var(--ink); color: var(--parchment); border-radius: 8px; padding: 40px 26px; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cta { grid-template-columns: 1fr 1fr; gap: 72px; padding: 80px 96px; } }
.cta h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; margin-bottom: 12px; }
.cta p { color: #cfc6b8; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-actions a:not(.btn) { color: var(--parchment); font-weight: 600; }

/* Footer */
.foot { padding: 48px 0 40px; margin-top: 24px; font-size: 14px; color: var(--soft); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }

/* Privacy page */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; }

/* Founding business application page */
.apply-page { padding: 48px 0 80px; }
.apply-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .apply-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; } .apply-intro { position: sticky; top: 32px; } }
.apply-intro h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.05; margin: 10px 0 16px; }
.apply-intro .lede { margin-bottom: 20px; }
.apply-perks { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.apply-perks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; }
.apply-perks li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px;
  background: var(--clay); transform: rotate(45deg);
}
.apply-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
@media (max-width: 520px) { .apply-card { padding: 20px 16px; margin: 0 -4px; } }
.apply-form { display: flex; flex-direction: column; gap: 18px; }
.apply-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.apply-form legend { font-family: var(--serif); font-size: 24px; padding: 0; margin-bottom: 4px; width: 100%; }
.apply-form fieldset + fieldset legend { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 6px; }
.field em { font-style: normal; font-weight: 400; color: var(--soft); }
.field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; min-height: 50px;
  border: 1px solid #cfc3b1; border-radius: 5px; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(154, 90, 60, 0.18); }
.counter { align-self: flex-end; font-size: 12px; font-weight: 400; color: var(--soft); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--clay); flex-shrink: 0; }
.apply-form .btn { align-self: stretch; }
.apply-card .joined { max-width: none; }
.apply-card:has(.joined:not([hidden])) { background: none; border: 0; padding: 0; }
