/* DateWell marketing site — design tokens shared with the app */
:root {
  --night: #0f1a15;
  --night-soft: #1b2822;
  --olive: #5f6b54;
  --olive-soft: #e6e8df;
  --tan: #b89b7a;
  --tan-soft: #efe6d8;
  --ivory: #f6f1e8;
  --ivory-deep: #ece5d8;
  --white: #fcfaf6;
  --ink: #14201a;
  --ink-soft: #3b463f;
  --stone: #6f6d66;
  --stone-light: #a6a29a;
  --line: #e1dacd;
  --line-strong: #cdc4b4;
  --ivory-muted: rgba(246, 241, 232, 0.62);
  --night-line: rgba(246, 241, 232, 0.14);
  --display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Helvetica, Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -0.01em; line-height: 1.05; }
p { margin: 0; }
.eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.eyebrow.tan { color: var(--tan); }
.eyebrow.ivory { color: var(--ivory-muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.night { background: var(--night); color: var(--ivory); }
.night .eyebrow { color: var(--ivory-muted); }
.muted { color: var(--stone); }
section { padding: clamp(72px, 10vw, 140px) 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: 0.01em; border: 1px solid transparent; transition: transform 160ms ease, opacity 160ms ease, background 160ms ease, border-color 160ms ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: 0.9; }
.btn:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }
.btn.primary { background: var(--night); color: var(--ivory); }
.btn.ivory { background: var(--ivory); color: var(--night); }
.btn.tan { background: var(--tan); color: var(--night); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.night .btn.ghost { color: var(--ivory); border-color: var(--night-line); }
.btn.ghost:hover { border-color: currentColor; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 241, 232, 0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color 200ms; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 12px; }
.mono { width: 32px; height: 32px; border-radius: 50%; background: var(--night); color: var(--ivory); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: -0.02em; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-soft); }
.nav-links a { transition: color 160ms; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { height: 40px; padding: 0 18px; font-size: 14px; color: var(--ivory); }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(56px, 8.2vw, 116px); line-height: 0.98; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--stone); font-weight: 500; }
.hero .lede { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero .meta { margin-top: 28px; display: flex; gap: 24px; font-size: 13px; color: var(--stone); flex-wrap: wrap; }
.hero-image { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--night); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(1.02); transform: scale(1.02); }
.hero-image .cap { position: absolute; left: 22px; bottom: 20px; right: 22px; color: var(--ivory); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; display: flex; justify-content: space-between; z-index: 1; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,26,21,0.55), rgba(15,26,21,0) 45%); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-image { aspect-ratio: 4 / 3; } }

/* Section heads */
.section-head { max-width: 680px; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 16px; }
.section-head p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.night .section-head p { color: var(--ivory-muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.step { padding: 32px 28px 0 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 28px; }
.step .n { font-family: var(--display); font-size: 22px; color: var(--tan); }
.step h3 { font-size: 26px; margin-top: 18px; }
.step p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.step q { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--ink); display: block; margin-top: 12px; line-height: 1.35; quotes: '“' '”'; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { border-left: 0; padding-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* Product / phone */
.product .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
@media (max-width: 900px) { .product .wrap { grid-template-columns: 1fr; } }
.phone { width: min(390px, 100%); margin: 0 auto; background: var(--night); border-radius: 48px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(15,26,21,0.55), 0 0 0 1px rgba(255,255,255,0.05) inset; }
.screen { background: var(--ivory); border-radius: 36px; padding: 22px 18px 18px; min-height: 700px; display: flex; flex-direction: column; }
.screen .top { display: flex; align-items: center; justify-content: space-between; padding: 6px 4px 16px; }
.screen .top .wordmark { font-size: 22px; gap: 0; }
.screen .top .status { font-size: 11px; color: var(--stone); display: block; margin-top: 2px; }
.screen .mono.sm { width: 34px; height: 34px; font-size: 13px; }
.chat { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.msg.user { align-self: flex-end; background: var(--night); color: var(--ivory); padding: 11px 15px; border-radius: 18px 18px 6px 18px; max-width: 82%; font-size: 14.5px; line-height: 1.45; }
.msg.dw { align-self: flex-start; max-width: 94%; }
.msg.dw .who { display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); margin-bottom: 6px; }
.msg.dw .who .mono { width: 22px; height: 22px; font-size: 9px; }
.msg.dw .text { font-size: 15px; line-height: 1.5; color: var(--ink); }
.itin { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 10px; }
.itin .head { padding: 16px 16px 12px; }
.itin .head .eyebrow { color: var(--tan); }
.itin .head h4 { font-size: 22px; margin: 6px 0 0; }
.itin .stop { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.itin .stop .t { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); padding-top: 3px; }
.itin .stop .d { color: var(--ink); font-weight: 500; }
.itin .stop .d small { display: block; color: var(--stone); font-weight: 400; font-size: 12px; margin-top: 1px; }
.itin .foot { background: var(--ivory-deep); padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.itin .foot .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--stone); }
.itin .foot .row b { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); }
.itin .foot .book { margin-top: 12px; height: 44px; border-radius: 999px; background: var(--tan); color: var(--night); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.composer { margin-top: 16px; height: 50px; border-radius: 26px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 6px 0 18px; color: var(--stone-light); font-size: 14px; }
.composer i { width: 38px; height: 38px; border-radius: 50%; background: var(--ivory-deep); display: inline-block; }
.product .copy h2 { font-size: clamp(36px, 4.4vw, 56px); }
.product .copy p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 480px; }
.product .copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.product .copy li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.product .copy li::before { content: ''; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--tan); }

/* What we handle */
.handles { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.handle { padding: 30px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ivory); transition: background 200ms; }
.handle:hover { background: var(--white); }
.handle h3 { font-size: 26px; margin-top: 14px; }
.handle p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.handle .k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan); }
@media (max-width: 960px) { .handles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .handles { grid-template-columns: 1fr; } }

/* Memory */
.memory .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
@media (max-width: 860px) { .memory .wrap { grid-template-columns: 1fr; } }
.memory h2 { font-size: clamp(40px, 5vw, 64px); }
.memory p { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ivory-muted); max-width: 480px; }
.memories { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--night-line); }
.memories li { padding: 18px 0; border-bottom: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.memories li span { font-family: var(--display); font-size: 24px; color: var(--ivory); line-height: 1.2; }
.memories li small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-muted); white-space: nowrap; }

/* City */
.city .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 860px) { .city .grid { grid-template-columns: 1fr; } }
.city figure { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; position: relative; background: var(--night); }
.city figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) contrast(1.04) brightness(0.96); }
.city figure figcaption { position: absolute; left: 20px; bottom: 18px; color: var(--ivory); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.9; z-index: 1; }
.city figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,26,21,0.5), rgba(15,26,21,0) 40%); }
.city .section-head h2 { font-size: clamp(44px, 6vw, 84px); }
.city .grid p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.city .grid p + p { margin-top: 18px; }
.city .soon { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.city .soon span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; }
.city .soon span.live { background: var(--night); color: var(--ivory); border-color: var(--night); }

/* Membership */
.membership .card { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
@media (max-width: 860px) { .membership .card { grid-template-columns: 1fr; } }
.membership .price { padding: clamp(32px, 4vw, 56px); background: var(--night); color: var(--ivory); display: flex; flex-direction: column; }
.membership .price .amount { font-family: var(--display); font-size: clamp(56px, 6vw, 84px); line-height: 1; margin-top: 18px; }
.membership .price .amount small { font-family: var(--body); font-size: 15px; color: var(--ivory-muted); margin-left: 8px; }
.membership .price p { margin-top: 18px; color: var(--ivory-muted); font-size: 15px; line-height: 1.6; max-width: 380px; }
.membership .price .btn { align-self: flex-start; margin-top: 32px; }
.membership .benefits { padding: clamp(32px, 4vw, 56px); }
.membership .benefits ul { list-style: none; padding: 0; margin: 20px 0 0; }
.membership .benefits li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; font-size: 16px; }
.membership .benefits li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--tan); flex: none; margin-top: 9px; }
.membership .benefits .fine { margin-top: 20px; font-size: 13px; color: var(--stone); line-height: 1.6; }

/* Closing */
.closing { padding: clamp(96px, 14vw, 200px) 0; text-align: center; }
.closing h2 { font-size: clamp(44px, 7vw, 104px); line-height: 1; }
.closing h2 em { color: var(--ivory-muted); font-style: italic; font-weight: 500; }
.closing .wordmark { justify-content: center; margin-top: 40px; font-size: 22px; color: var(--ivory); }
.closing .wordmark .mono { background: var(--ivory); color: var(--night); }
.closing .btn { margin-top: 32px; }

/* Footer */
footer { background: var(--night); color: var(--ivory-muted); border-top: 1px solid var(--night-line); padding: 36px 0; font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { transition: color 160ms; }
footer a:hover { color: var(--ivory); }
footer .brand { color: var(--ivory); font-family: var(--display); font-size: 20px; }
footer .brand small { font-family: var(--body); font-size: 12px; color: var(--ivory-muted); margin-left: 10px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }
