:root {
  --ink: #17171a;
  --ink-soft: #242124;
  --cream: #f4efe4;
  --cream-2: #fff9ee;
  --oyster: #d8d1c2;
  --gold: #c99b45;
  --gold-deep: #9e7126;
  --sage: #8fa35d;
  --wine: #7c3833;
  --river: #315a68;
  --line: rgba(244, 239, 228, 0.16);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    linear-gradient(180deg, #17171a 0%, #1d1a1c 45%, #17171a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), 1240px);
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(244, 239, 228, 0.18);
  border-radius: 8px;
  background: rgba(23, 23, 26, 0.74);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(23, 23, 26, 0.95);
  border-color: rgba(201, 155, 69, 0.36);
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201, 155, 69, 0.54);
  border-radius: 6px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 249, 238, 0.16), rgba(159, 97, 6, 0.28));
  object-fit: cover;
}

.brand-wordmark {
  display: grid;
  gap: 2px;
}

.brand-wordmark strong {
  color: var(--cream-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-wordmark small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.26em;
  line-height: 1;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: rgba(244, 239, 228, 0.78);
  font-size: 14px;
}

.nav a,
.footer-links a {
  transition: color 180ms ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--cream);
  font-size: 14px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(244, 239, 228, 0.22);
  border-radius: 6px;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 128px 20px 44px;
}

.hero.compact {
  min-height: 560px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 23, 26, 0.96) 0%, rgba(23, 23, 26, 0.87) 38%, rgba(23, 23, 26, 0.35) 75%, rgba(23, 23, 26, 0.68) 100%),
    linear-gradient(180deg, rgba(23, 23, 26, 0.28) 0%, rgba(23, 23, 26, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 420px);
  gap: 48px;
  align-items: end;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
}

.hero.compact .hero-content {
  width: min(920px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
.display {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: 0.96;
}

.home-title {
  max-width: 620px;
  font-size: clamp(52px, 6.4vw, 86px);
  line-height: 0.95;
}

.home-title span {
  display: block;
}

.hero.compact h1 {
  max-width: 980px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
}

.hero-subhead {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--cream-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 18px;
  color: rgba(244, 239, 228, 0.84);
  font-size: clamp(17px, 1.45vw, 20px);
}

.hero-copy.small {
  max-width: 760px;
  font-size: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-primary:hover {
  background: #deb35d;
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(244, 239, 228, 0.38);
  background: rgba(244, 239, 228, 0.08);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.full {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.hero-reserve-card {
  position: relative;
  z-index: 2;
  padding: 26px;
  border: 1px solid rgba(244, 239, 228, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(244, 239, 228, 0.94);
  box-shadow: var(--shadow);
}

.hero-reserve-card .section-kicker {
  margin-bottom: 10px;
  color: var(--gold-deep);
}

.hero-reserve-card h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
}

.hero-reserve-card p {
  color: rgba(23, 23, 26, 0.72);
}

.hero-reserve-card small {
  display: block;
  margin-top: 12px;
  color: rgba(23, 23, 26, 0.58);
  font-size: 12px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
}

.trust-strip span {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px 10px 30px;
  border: 1px solid rgba(244, 239, 228, 0.17);
  border-radius: 6px;
  color: rgba(244, 239, 228, 0.84);
  background: rgba(23, 23, 26, 0.54);
  font-size: 13px;
  font-weight: 800;
  white-space: normal;
}

.trust-strip span::before,
.included-grid span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: translateY(-65%) rotate(-45deg);
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.split-section,
.founding-band,
.page-grid,
.pricing-grid,
.partner-cta,
.app-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  gap: 58px;
  align-items: start;
}

.copy-stack {
  color: rgba(244, 239, 228, 0.76);
  font-size: 18px;
}

.copy-stack p {
  margin-bottom: 18px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading.wide {
  max-width: 980px;
}

.section-heading p:not(.section-kicker) {
  max-width: 760px;
  color: rgba(244, 239, 228, 0.74);
  font-size: 18px;
}

.panel-section {
  width: min(calc(100% - 24px), 1360px);
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(201, 155, 69, 0.1), rgba(49, 90, 104, 0.12)),
    rgba(244, 239, 228, 0.035);
}

.benefit-grid,
.included-grid,
.category-grid,
.counter-grid,
.step-grid,
.marketing-grid,
.faq-list,
.partner-benefits {
  display: grid;
  gap: 16px;
}

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

.benefit-grid article,
.category-grid article,
.counter-grid article,
.step-card,
.phone-card,
.price-box,
.partner-benefits article,
.marketing-grid article,
.faq-list details,
.note-card {
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.055);
}

.benefit-grid article,
.category-grid article,
.partner-benefits article,
.marketing-grid article,
.note-card {
  padding: 24px;
}

.benefit-grid span,
.category-grid span,
.partner-benefits span,
.marketing-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--cream-2);
  font-weight: 900;
}

.benefit-grid p,
.category-grid p,
.partner-benefits p,
.marketing-grid p,
.note-card p,
.step-card p,
.price-box p,
.rate-card p {
  color: rgba(244, 239, 228, 0.72);
}

.included-grid {
  grid-template-columns: repeat(4, 1fr);
}

.included-grid span {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 42px;
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.045);
  font-weight: 850;
}

.category-grid {
  grid-template-columns: repeat(7, minmax(190px, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
}

.category-grid article {
  min-height: 230px;
  background:
    linear-gradient(160deg, rgba(201, 155, 69, 0.16), rgba(49, 90, 104, 0.07)),
    rgba(244, 239, 228, 0.045);
}

.founding-band,
.partner-cta,
.app-flow {
  padding: 56px;
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124, 56, 51, 0.26), rgba(49, 90, 104, 0.18)),
    rgba(244, 239, 228, 0.05);
}

.rate-card,
.price-box {
  padding: 28px;
}

.rate-card {
  border: 1px solid rgba(201, 155, 69, 0.46);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(201, 155, 69, 0.22), rgba(143, 163, 93, 0.08)),
    rgba(23, 23, 26, 0.58);
  box-shadow: var(--shadow);
}

.rate-card span,
.price-box span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rate-card strong,
.price-box strong,
.counter-grid strong {
  display: block;
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.95;
}

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

.counter-grid article {
  padding: 30px;
}

.counter-grid span {
  color: rgba(244, 239, 228, 0.72);
  font-weight: 800;
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
  width: min(calc(100% - 40px), var(--max));
  margin: 42px auto;
  padding: 72px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--cream);
}

.join-section .section-kicker {
  color: var(--gold-deep);
}

.join-section h2 {
  color: var(--ink);
}

.join-copy p:not(.section-kicker) {
  color: rgba(23, 23, 26, 0.72);
}

.fine-print,
.legal-note {
  font-size: 13px;
}

.signup-form,
.partner-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.signup-form label:last-of-type,
.partner-form label:last-of-type {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 23, 26, 0.18);
  border-radius: 6px;
  color: var(--ink);
  background: var(--cream-2);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201, 155, 69, 0.2);
}

form .button {
  grid-column: 1 / -1;
}

.hidden {
  display: none;
}

.step-grid {
  grid-template-columns: repeat(7, minmax(210px, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
}

.step-card {
  min-height: 255px;
  padding: 24px;
}

.step-card b {
  display: block;
  margin-bottom: 44px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.phone-stack {
  display: grid;
  gap: 18px;
}

.phone-card {
  width: min(100%, 320px);
  margin-left: auto;
  padding: 14px;
  background: rgba(8, 8, 9, 0.58);
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 430px;
  padding: 22px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--cream-2);
}

.phone-screen.dark {
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(23, 23, 26, 0.8), rgba(23, 23, 26, 0.98)),
    url("assets/table-toast-hero.png") center/cover;
}

.phone-pill,
.phone-row,
.redeem-button {
  border-radius: 6px;
}

.phone-pill {
  display: inline-flex;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.app-flow-balanced {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px) minmax(250px, 300px);
  align-items: stretch;
}

.app-flow-balanced .phone-card {
  width: 100%;
}

.app-flow-copy {
  align-self: center;
}

.app-flow-copy h2 {
  max-width: 620px;
}

.phone-row {
  margin-top: 14px;
  padding: 14px;
  background: rgba(23, 23, 26, 0.08);
}

.phone-row strong {
  display: block;
}

.redeem-button {
  display: grid;
  place-items: center;
  min-height: 52px;
  margin-top: 20px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 900;
}

.pricing-grid {
  align-items: stretch;
}

.price-box.featured {
  border-color: rgba(201, 155, 69, 0.5);
  background:
    linear-gradient(135deg, rgba(201, 155, 69, 0.18), rgba(143, 163, 93, 0.08)),
    rgba(244, 239, 228, 0.06);
}

.comparison-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.comparison-list li {
  padding-left: 22px;
  position: relative;
  color: rgba(244, 239, 228, 0.8);
}

.comparison-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

.partner-benefits,
.marketing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.partner-form-panel {
  width: min(calc(100% - 40px), var(--max));
  margin: 42px auto;
  padding: 64px;
  border: 1px solid rgba(244, 239, 228, 0.16);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.05);
}

.partner-form {
  max-width: 860px;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  border-color: rgba(244, 239, 228, 0.18);
  color: var(--cream);
  background: rgba(244, 239, 228, 0.08);
}

.faq-list {
  max-width: 920px;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--cream-2);
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
  color: rgba(244, 239, 228, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 42px 0 110px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 14px 0 0;
  color: rgba(244, 239, 228, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(244, 239, 228, 0.72);
  font-size: 14px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .site-header.menu-active .nav {
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid rgba(244, 239, 228, 0.18);
    border-radius: 8px;
    background: rgba(23, 23, 26, 0.98);
  }

  .site-header.menu-active .nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(244, 239, 228, 0.1);
  }

  .site-header.menu-active .nav a:last-child {
    border-bottom: 0;
  }

  .split-section,
  .founding-band,
  .page-grid,
  .pricing-grid,
  .partner-cta,
  .app-flow,
  .join-section,
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .benefit-grid,
  .included-grid,
  .partner-benefits,
  .marketing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-card {
    margin-left: 0;
  }

  .hero-inner {
    align-items: end;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark strong {
    font-size: 15px;
  }

  .brand-wordmark small {
    font-size: 9px;
  }

  .hero {
    min-height: auto;
    padding: 106px 16px 28px;
  }

  .hero-inner {
    width: min(100%, 358px);
    max-width: calc(100vw - 32px);
    margin-left: 0;
    margin-right: 0;
    gap: 22px;
  }

  .hero-content,
  .hero.compact .hero-content {
    width: 100%;
    margin-left: 0;
  }

  .hero.compact {
    min-height: auto;
    padding-bottom: 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(23, 23, 26, 0.97), rgba(23, 23, 26, 0.82)),
      linear-gradient(180deg, rgba(23, 23, 26, 0.22), rgba(23, 23, 26, 0.82));
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 52px);
    max-width: 100%;
  }

  .home-title,
  .hero.compact h1 {
    font-size: clamp(40px, 11vw, 52px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .hero-subhead {
    max-width: 100%;
    font-size: clamp(27px, 7vw, 32px);
  }

  .hero-copy,
  .hero-copy.small,
  .trust-strip {
    max-width: 100%;
  }

  .hero-copy.small,
  .hero-content > .trust-strip {
    display: none;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-content .hero-actions {
    display: none;
  }

  .hero-reserve-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .hero-reserve-card h2 {
    font-size: 28px;
  }

  .section,
  .join-section,
  .partner-form-panel,
  .site-footer {
    width: calc(100% - 28px);
  }

  .section {
    padding: 70px 0;
  }

  .panel-section {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .benefit-grid,
  .included-grid,
  .counter-grid,
  .partner-benefits,
  .marketing-grid,
  .signup-form,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .founding-band,
  .partner-cta,
  .app-flow,
  .join-section,
  .partner-form-panel {
    padding: 30px 22px;
  }

  .phone-screen {
    min-height: 360px;
  }

  .site-footer {
    display: grid;
    padding-bottom: 110px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 45;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 12px 14px 14px;
    background: rgba(23, 23, 26, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .mobile-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
