/* =========================================================
   chatwithme.cc
   ========================================================= */

:root {
  --bg: #0c0808;
  --bg-2: #120b0b;
  --surface: #181010;
  --surface-2: #221515;
  --wine: #240a0d;
  --wine-2: #3a0f15;

  --red: #b3202c;
  --red-press: #9a1a25;
  --red-hi: #e0464f;

  --text: #ede3da;
  --text-2: #b6a8a0;
  --text-3: #85766f;
  --line: rgba(237, 227, 218, .09);
  --line-2: rgba(237, 227, 218, .17);

  --paper: #efe6dc;
  --ink: #1e1415;
  --ink-2: #5d4c48;

  --av-a: #93343b;
  --av-b: #4e5456;
  --av-c: #7c5b3f;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 5vw, 40px);
  --max: 1200px;
  --nav-h: 64px;
  --section: clamp(72px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--red); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--red-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

.muted { color: var(--text-2); }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--red-hi);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: color .2s;
}
.link:hover { color: var(--red-hi); }

.section { padding: var(--section) 0; }

/* single-column grids: never let content widen the track past the viewport */
.hero__grid, .how__grid, .intro__grid, .features,
.membership__grid, .faq__grid, .foot__top { grid-template-columns: minmax(0, 1fr); }
.hero__visual, .chat { min-width: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }

.btn--red { background: var(--red); color: var(--text); }
.btn--red:hover { background: #c42733; }
.btn--red:active { background: var(--red-press); }

.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--text-2); background: rgba(237, 227, 218, .04); }

.btn--ghost { color: var(--text-2); padding: 0 12px; }
.btn--ghost:hover { color: var(--text); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand__word { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.brand__tld { color: var(--text-3); font-weight: 500; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.nav.is-scrolled,
.nav.menu-open {
  background: rgba(12, 8, 8, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__links { display: none; gap: 4px; }
.nav__links a {
  padding: 8px 12px;
  font-size: 15px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { display: none; }
.nav__cta { min-height: 38px; padding: 0 16px; font-size: 14px; }

.nav__burger {
  width: 44px; height: 44px;
  margin-right: -10px;
  display: grid;
  place-content: center;
  gap: 6px;
}
.nav__burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .35s var(--ease);
}
.menu-open .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  height: calc(100dvh - var(--nav-h));
  background: var(--bg);
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile.is-open { opacity: 1; transform: none; }
.mobile__links { display: flex; flex-direction: column; }
.mobile__links a {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile__foot { display: grid; gap: 10px; }

@media (max-width: 379px) {
  .nav__cta { display: none; }
}

@media (min-width: 900px) {
  :root { --nav-h: 72px; }
  .nav__links { display: flex; }
  .nav__login { display: inline-flex; }
  .nav__burger, .mobile { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 8vw, 96px)) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -25%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(150, 22, 34, .32), rgba(150, 22, 34, .08) 55%, transparent);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-hi);
  box-shadow: 0 0 0 4px rgba(224, 70, 79, .16);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.5rem + 5.4vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.025em;
}
.hero__title em { font-style: italic; color: var(--red-hi); }

.hero__lede {
  margin-top: 24px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  color: var(--text-2);
}

.hero__cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual { width: 100%; max-width: 460px; justify-self: center; }

@media (max-width: 479px) {
  .hero__cta .btn { flex: 1 1 100%; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; }
  .hero__visual { justify-self: end; }
}

/* ---------- Chat mock ---------- */
.chat {
  background: linear-gradient(180deg, var(--surface-2), var(--surface) 40%);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
  overflow: hidden;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.chat__pair { display: flex; }
.chat__pair .av + .av { margin-left: -10px; }
.chat__meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.chat__meta strong { font-size: 15px; }
.chat__meta span { font-size: 13px; color: var(--text-3); }
.chat__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-2);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.chat__status i { width: 6px; height: 6px; border-radius: 50%; background: var(--red-hi); }

.av {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border: 2px solid var(--surface-2);
}
.av--a { background: var(--av-a); }
.av--b { background: var(--av-b); }
.av--c { background: var(--av-c); }

.chat__note {
  margin: 14px 14px 0;
  padding: 12px 14px;
  background: var(--wine);
  border: 1px solid rgba(224, 70, 79, .18);
  border-radius: 12px;
}
.chat__note span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--red-hi);
  margin-bottom: 2px;
}
.chat__note p { font-size: 14px; line-height: 1.5; color: var(--text-2); }

.chat__body {
  height: 290px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px);
  mask-image: linear-gradient(to bottom, transparent, #000 48px);
  transition: opacity .5s;
}
.chat__body.is-clearing { opacity: 0; }

.msg {
  max-width: 82%;
  padding: 9px 13px;
  font-size: 14.5px;
  line-height: 1.45;
  border-radius: 16px;
  animation: pop .45s var(--ease) both;
  flex-shrink: 0;
}
.msg--me {
  align-self: flex-end;
  background: var(--red);
  color: var(--text);
  border-bottom-right-radius: 5px;
}
.msg--them {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  border-bottom-left-radius: 5px;
  flex-shrink: 0;
  animation: pop .35s var(--ease) both;
}
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

.chat__compose {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 14px 14px;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.chat__input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  font-size: 14px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat__input.is-typing { color: var(--text); text-overflow: clip; }
.chat__input.is-typing::after {
  content: "";
  display: inline-block;
  width: 1px; height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--red-hi);
  animation: caret 1s steps(1) infinite;
}
.chat__send {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--text);
}

@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  padding: clamp(64px, 9vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.statement__text {
  max-width: 52rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.375rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--text-2);
  text-wrap: pretty;
}
.statement__text span { color: var(--text); font-style: italic; font-weight: 400; }
.statement__sign { margin-top: 28px; font-size: 14px; color: var(--text-3); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how__grid { display: grid; gap: 40px; }
.how__head .muted { margin-top: 20px; max-width: 28rem; }

.steps { counter-reset: none; }
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--red-hi);
}
.step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--text-2); max-width: 36rem; }

@media (min-width: 900px) {
  .how__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
  .how__head { position: sticky; top: calc(var(--nav-h) + 40px); }
  .step { grid-template-columns: 72px minmax(0, 1fr); padding: 36px 0; }
  .step__n { font-size: 2.5rem; }
}

/* =========================================================
   THE INTRODUCTION
   ========================================================= */
.intro {
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(120, 18, 28, .45), transparent 70%),
    var(--wine);
  border-top: 1px solid rgba(224, 70, 79, .14);
  border-bottom: 1px solid rgba(224, 70, 79, .14);
}
.intro__grid { display: grid; gap: 48px; align-items: center; }
.intro__copy p { margin-top: 18px; color: #c9b4ad; max-width: 32rem; }

.letter {
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85);
  max-width: 540px;
  width: 100%;
  justify-self: center;
}
.letter__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(30, 20, 21, .14);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.letter__hi {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.letter__body { margin-top: 12px; color: var(--ink-2); }
.letter__list { margin-top: 18px; display: grid; gap: 12px; }
.letter__list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  font-size: 15.5px;
  line-height: 1.55;
}
.letter__list span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--red);
}
.letter__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(30, 20, 21, .22);
  font-size: 13.5px;
  font-weight: 500;
}
.pill--fill { background: var(--red); border-color: var(--red); color: var(--paper); }
.pill--quiet { border-color: transparent; color: var(--ink-2); }
.letter__sign {
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--ink-2);
}

@media (min-width: 960px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
  .letter { justify-self: end; }
}

/* =========================================================
   PLATFORM
   ========================================================= */
.section-head { max-width: 40rem; margin-bottom: clamp(40px, 6vw, 72px); }

.features {
  display: grid;
  gap: 0 48px;
}
.feature {
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
}
.feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature h3::before {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--red-hi);
  margin-bottom: 18px;
}
.feature p { color: var(--text-2); }

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
}

/* =========================================================
   MEMBERSHIP
   ========================================================= */
.membership { background: var(--bg-2); border-top: 1px solid var(--line); }
.membership__grid { display: grid; gap: 48px; align-items: start; }
.membership__copy .muted { margin-top: 18px; max-width: 32rem; }
.membership__copy .btn { margin-top: 32px; }

.plan {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 36px);
}
.plan__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.plan__list li {
  position: relative;
  padding: 18px 0 18px 26px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 26px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-hi);
}
.plan__list strong { font-size: 16px; }
.plan__list span { font-size: 15px; color: var(--text-2); }
.plan__foot { margin-top: 20px; font-size: 14px; color: var(--text-3); }

@media (min-width: 900px) {
  .membership__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; gap: 40px; }
.faq__grid header .muted { margin-top: 18px; max-width: 26rem; }

.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  transition: color .2s;
}
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 5px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--text-3);
  transition: transform .3s var(--ease), color .2s;
}
.acc__item summary:hover { color: var(--red-hi); }
.acc__item[open] summary::after { transform: rotate(45deg); color: var(--red-hi); }
.acc__item p { padding: 0 34px 24px 0; color: var(--text-2); max-width: 40rem; }

@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final {
  position: relative;
  padding: clamp(88px, 13vw, 168px) 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.final::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; bottom: -60%;
  width: min(1200px, 160vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150, 22, 34, .3), transparent);
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__title {
  max-width: 18ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.final__mail {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 1rem + 2vw, 2.25rem);
  color: var(--red-hi);
  border-bottom: 1px solid rgba(224, 70, 79, .4);
  overflow-wrap: anywhere;
  transition: border-color .2s, color .2s;
}
.final__mail:hover { color: var(--text); border-color: var(--text); }
.final__row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 calc(28px + env(safe-area-inset-bottom));
  font-size: 15px;
}
.foot__top { display: grid; gap: 40px; }
.foot__brand p { margin-top: 10px; color: var(--text-3); max-width: 22rem; }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}
.foot__cols > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot__cols a, .foot__cols button { color: var(--text-2); transition: color .2s; text-align: left; }
.foot__cols a:hover, .foot__cols button:hover { color: var(--text); }
.foot__cols a[href^="mailto"] { overflow-wrap: anywhere; }
.foot__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.foot__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--text-3);
}
.foot__bottom a:hover { color: var(--text); }

@media (min-width: 640px) {
  .foot__cols { grid-template-columns: repeat(3, minmax(0, auto)); gap: 56px; }
}
@media (min-width: 900px) {
  .foot__top { grid-template-columns: 1fr auto; }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 3, .72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s;
}
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 36px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__x {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-2);
  transition: background-color .2s, color .2s;
}
.modal__x:hover { background: var(--surface-2); color: var(--text); }
.modal__title {
  padding-right: 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.modal__lede { margin-top: 12px; color: var(--text-2); }
.modal__opts { margin-top: 24px; display: grid; gap: 10px; }
.opt {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
}
.opt--accent { background: var(--wine); border-color: rgba(224, 70, 79, .22); }
.opt h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.opt p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.opt strong { color: var(--text); }
.modal__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 479px) {
  .modal__actions .btn { flex: 1 1 100%; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 140;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   MOTION
   ========================================================= */
.js .load {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js .is-loaded .load { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .load, .js .reveal { transform: none; }
}
