/* DateMaite website — mobile-first, coral brand, no purple. UK English throughout. */
/* Fraunces (SIL Open Font Licence, see /assets/fonts/Fraunces-OFL.txt), self-hosted so no visitor data goes to a font CDN. */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"), url("/assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --coral: #E8445A;
  --coral-light: #FF6B80;
  --coral-text: #C8283F;      /* coral dark enough for small text (WCAG AA) */
  --coral-wash: #FDE8EB;
  --ink: #1F1A1C;
  --ink-2: #5E5559;
  --paper: #FFF7F5;
  --card: #FFFFFF;
  --line: #F1E3E1;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(232, 68, 90, 0.10);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--coral-text); font-weight: 600; text-underline-offset: 3px; }
a:hover { color: #A81F33; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 247, 245, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand-name span { color: var(--coral); }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--ink-2); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-text); }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--coral-text); background: var(--coral-wash); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 7vw, 58px); line-height: 1.05; letter-spacing: -1px; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 24px; max-width: 34em; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.store small { display: block; font-weight: 500; font-size: 11px; opacity: 0.75; }
.hero-shot { justify-self: center; }

/* Phone frames */
.phone { width: 240px; border-radius: 34px; padding: 8px; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.phone img { border-radius: 27px; width: 100%; height: auto; }

/* Sections */
section { padding: 40px 0; }
.section-title { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 5vw, 38px); letter-spacing: -0.5px; line-height: 1.15; margin: 0 0 10px; }
.section-lead { color: var(--ink-2); margin: 0 0 28px; max-width: 40em; }

.features { display: grid; gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.feature .icon { width: 44px; height: 44px; border-radius: 14px; background: var(--coral-wash); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature .icon svg { width: 22px; height: 22px; stroke: var(--coral); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-2); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--coral-text); background: var(--coral-wash); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }

.screens { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.screens figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.screens figcaption { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 10px; font-weight: 600; }

.callout { background: var(--coral-wash); border-radius: var(--radius); padding: 28px; }
.callout h2 { margin-top: 0; }

/* Get the app: header button, QR card (computers only), how it works, safety, download band */
.nav { align-items: center; }
section[id] { scroll-margin-top: 72px; }  /* clear the sticky header when a link jumps to a section */
.nav .nav-cta { color: #fff; background: var(--ink); border-radius: 999px; padding: 6px 14px; white-space: nowrap; }
.nav .nav-cta:hover { color: #fff; background: var(--coral-text); }
.get-qr { display: none; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 16px 12px 12px; max-width: 380px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.get-qr img { width: 96px; height: 96px; flex-shrink: 0; }
.get-qr p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.get-qr strong { display: block; margin-bottom: 2px; font-size: 15px; color: var(--ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.step-num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--coral-wash); color: var(--coral-text); font-weight: 800; }
.steps h3 { margin: 0 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--ink-2); }

.safety-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.safety-list li { display: flex; align-items: flex-start; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.safety-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--coral); }

.download { display: grid; gap: 24px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px 24px; }
.download .section-title { color: #fff; }
.download .section-title em { font-style: normal; color: var(--coral-light); }
.download p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.88); }
.download a { color: #fff; }
.download .store { background: #fff; color: var(--ink); }
.download-qr { display: none; justify-self: center; background: #fff; border-radius: 18px; padding: 12px; }
.download-qr img { width: 150px; height: 150px; }
.download-qr span { display: block; margin-top: 6px; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); }

.app-page .stores { margin: 8px 0 22px; }

/* Documents (privacy, terms, delete account) */
.doc { padding: 40px 0 24px; }
.doc h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 6vw, 44px); letter-spacing: -0.6px; line-height: 1.1; margin: 0 0 10px; }
.doc .updated { color: var(--ink-2); font-size: 14px; margin: 0 0 8px; }
.doc .intro { color: var(--ink-2); font-size: 17px; }
.doc section { padding: 0; margin-top: 28px; }
.doc h2 { font-size: 21px; margin: 0 0 10px; }
.doc .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.doc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--ink-2); margin: 18px 0 6px; }
.doc .card > h3:first-child { margin-top: 0; }
.doc p { margin: 0 0 10px; }
.doc ul, .doc ol { margin: 0 0 10px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc p:last-child, .doc ul:last-child, .doc ol:last-child { margin-bottom: 0; }
.notice { border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; border: 1px solid var(--line); background: var(--paper); }
.notice strong { display: block; margin-bottom: 4px; }
.notice.danger { background: #FDECEE; border-color: #F5C2C9; }
.notice.danger strong { color: var(--coral-text); }
.notice.good { background: #EAF7EF; border-color: #BFE5CC; }
.notice.amber { background: #FFF6E6; border-color: #F0C879; color: #7A5000; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--coral-text); background: var(--coral-wash); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--ink-2); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--coral-text); }

@media (min-width: 760px) {
  .hero { padding: 80px 0 56px; }
  .hero .wrap { grid-template-columns: 1.2fr 0.8fr; }
  .phone { width: 270px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .get-qr { display: flex; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .safety-list { grid-template-columns: repeat(2, 1fr); }
  .download { grid-template-columns: 1fr auto; padding: 40px; }
  .download-qr { display: block; }
}
@media (min-width: 1000px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .screens { justify-content: center; overflow: visible; }  /* three 270px phones only fit from here */
}
@media (max-width: 640px) {
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .nav .hide-sm { display: none; }
  .eyebrow { font-size: 12px; }
}
@media (max-width: 359px) {
  .nav a:not(.nav-cta) { display: none; }
}
