/* Dinner Hand website. Same palette and type as the app, in its light theme (Damson & Apricot). Fonts are served from this site (no Google Fonts), so there's nothing to consent to. */

@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/Fraunces_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #F7EFE3;
  --surface: #FFFFFF;
  --ink: #3A1F33;
  --heading: #4A1942;
  --muted: #7E6670;
  --line: #E8DAC6;
  --accent: #4A1942;
  --on-accent: #F7EFE3;
  --apricot: #F0A35E;
  --on-apricot: #2A1024;
  --apricot-text: #B85F1F;
  --band: #4A1942;
  --on-band: #F7EFE3;
  --band-muted: #D9C3D2;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Figtree", system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--heading); text-underline-offset: 3px; }
a:hover { color: var(--apricot-text); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; color: var(--heading); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(38px, 8vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 6vw, 44px); }
h3 { font-size: 24px; font-weight: 500; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font: 600 21px "Fraunces", Georgia, serif; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: 15px; }
.top nav a:not(.button) { text-decoration: none; }
.hide-small { display: none; }
@media (min-width: 720px) { .hide-small { display: inline; } }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--accent);
  font: 600 16px "Figtree", system-ui, sans-serif; text-decoration: none;
}
.button:hover { color: var(--on-accent); opacity: 0.92; }
.button.small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.button.alt { background: transparent; color: var(--heading); border-color: var(--line); }
.button.alt:hover { color: var(--heading); border-color: var(--heading); }

/* Hero */
.hero { display: grid; gap: 40px; padding-top: 24px; padding-bottom: 72px; align-items: center; }
.hero .lede { font-size: 20px; margin-top: 20px; max-width: 34ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .soon { margin-top: 14px; color: var(--muted); font-size: 15px; }
@media (min-width: 880px) { .hero { grid-template-columns: 1.1fr 0.9fr; padding-top: 48px; } }

.phone {
  width: min(320px, 82vw); margin: 0 auto; padding: 9px; border-radius: 46px;
  background: #140A12; box-shadow: 0 30px 60px -20px rgba(74, 25, 66, 0.45);
}
.phone img { border-radius: 38px; width: 100%; height: auto; aspect-ratio: 784 / 1528; }

/* Sections */
section { padding: 72px 0; }
.intro { max-width: 640px; }
.intro p { margin-top: 16px; font-size: 19px; color: var(--muted); }

.features { display: grid; gap: 56px; margin-top: 56px; }
.feature { display: grid; gap: 28px; align-items: center; }
.feature p { margin-top: 12px; }
.feature .eyebrow { color: var(--apricot-text); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
@media (min-width: 880px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature.flip .copy { order: 2; }
}

.band { background: var(--band); color: var(--on-band); border-radius: 36px 36px 36px 10px; padding: 48px 28px; display: grid; gap: 32px; align-items: center; }
.band h2 { color: var(--on-band); }
.band p { color: var(--band-muted); margin-top: 14px; font-size: 18px; }
@media (min-width: 880px) { .band { grid-template-columns: 1fr 1fr; padding: 64px; } }

.cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 16px; }
.card .button { margin-top: auto; align-self: flex-start; }
.card .status { margin-top: auto; font-weight: 600; color: var(--apricot-text); font-size: 15px; }

/* Text pages (privacy, terms, account deletion, contact) */
.page { max-width: 720px; padding-top: 32px; padding-bottom: 80px; }
.page h1 { font-size: clamp(36px, 7vw, 52px); }
.page .updated { color: var(--muted); margin-top: 10px; font-size: 15px; }
.page h2 { font-size: 26px; margin-top: 44px; }
.page h3 { font-size: 20px; margin-top: 28px; }
.page p, .page ul, .page ol { margin-top: 14px; }
.page li { margin-top: 6px; }
.page .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px 24px; margin-top: 28px; }
.page .summary ul { margin-top: 8px; padding-left: 20px; }
.page table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.page th { color: var(--heading); }
.table-scroll { overflow-x: auto; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a { color: var(--muted); }

/* Numbered steps: agenda, suggestions, shopping list, learning */
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 18px; background: var(--apricot); color: var(--on-apricot); font: 700 16px "Figtree", system-ui, sans-serif; margin-bottom: 14px; }
.points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.points li { padding-left: 28px; position: relative; }
.points li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 5px; background: var(--apricot); }
.band .points li { color: var(--band-muted); }
.small-print { color: var(--muted); font-size: 15px; margin-top: 18px; }

/* Hero: the plan, and the shopping list it made, side by side */
.pair { position: relative; display: flex; justify-content: center; padding-bottom: 24px; }
.pair .phone { width: min(260px, 58vw); margin: 0; }
.pair .phone:last-child { margin-left: -18%; margin-top: 56px; }
