@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/fraunces-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #22223b;
  --ink-soft: #4a4a60;
  --muted: #5a5a72;
  --coral: #e4572e;
  --coral-dark: #c0421d;
  --gold: #f3a712;
  --teal: #29a19c;
  --teal-dark: #1f7a76;
  --plum: #6c4e80;
  --mint: #bfe3e1;
  --cream: #fff4e0;
  --blush: #fde8e1;
  --lilac: #f7f5fa;
  --line: #ece8f2;
  --radius: 20px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--coral-dark); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--coral); color: #fff; font: 700 16px var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.button:hover { background: var(--coral-dark); color: #fff; }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.7; cursor: wait; }
.button-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.button-ink { background: var(--ink); }
.button-ink:hover { background: #000; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 244, 224, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(34, 34, 59, 0.06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.logo span { font-weight: 800; letter-spacing: -0.035em; font-size: 22px; }
.logo:hover { color: var(--ink); }
.logo-small span { font-size: 18px; }
nav { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
@media (max-width: 560px) { .nav-link { display: none; } }

/* Hero */
.hero { background: var(--cream); padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 16px; }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 6vw, 68px); letter-spacing: -0.02em; line-height: 1.02; }
.lede { font-size: 19px; color: var(--ink-soft); margin-top: 22px; max-width: 540px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Waitlist form */
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; max-width: 520px; position: relative; }
.waitlist input[type='email'] {
  flex: 1 1 240px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 2px solid rgba(34, 34, 59, 0.15); background: #fff; color: var(--ink);
  font: 500 16px var(--sans);
}
.waitlist input[type='email']:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px rgba(41, 161, 156, 0.2); }
.waitlist .button { flex: 0 0 auto; }
.form-status { flex-basis: 100%; font-size: 15px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--teal-dark); }
.form-status.err { color: var(--coral-dark); }
.waitlist.done input, .waitlist.done .button { display: none; }
.waitlist.done .form-status { font-size: 18px; }

/* Hero illustration: a calendar page */
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); padding: 20px 0 40px; }
.cal {
  background: #fff; border-radius: 18px; padding: 18px 18px 22px; position: relative;
  box-shadow: 0 30px 60px -20px rgba(34, 34, 59, 0.35), 0 2px 0 rgba(34, 34, 59, 0.05);
  transform: rotate(2deg);
}
.cal-ring { position: absolute; top: -10px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 30%; }
.cal-ring span { width: 10px; height: 26px; border-radius: 6px; background: var(--ink); }
.cal-photos { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 210px; }
.ph { border-radius: 10px; position: relative; overflow: hidden; }
.ph-a { grid-row: span 2; background: linear-gradient(180deg, #ffd9a8 0%, #f6b98a 100%); }
.ph-b { background: linear-gradient(180deg, #c9ebe8 0%, #9fd6d2 100%); }
.ph-c { background: linear-gradient(180deg, #e3d6ef 0%, #c8b3dd 100%); }
.face { position: absolute; bottom: -18%; border-radius: 50% 50% 46% 46%; }
.face::after { content: ''; position: absolute; left: 30%; right: 30%; top: 46%; height: 12%; border-bottom: 3px solid rgba(255, 255, 255, 0.9); border-radius: 0 0 50% 50%; }
.f1 { background: var(--coral); }
.f2 { background: var(--gold); }
.f3 { background: var(--teal); }
.f4 { background: var(--plum); }
.f5 { background: var(--coral); }
.ph-a .f1 { width: 46%; height: 62%; left: 10%; }
.ph-a .f2 { width: 36%; height: 50%; left: 54%; }
.ph-b .f3 { width: 48%; height: 80%; left: 26%; }
.ph-c .f4 { width: 40%; height: 70%; left: 10%; }
.ph-c .f5 { width: 30%; height: 52%; left: 58%; }
.cal-head { display: flex; align-items: baseline; justify-content: space-between; margin: 16px 4px 10px; }
.cal-month { font-family: var(--serif); font-weight: 700; font-size: 30px; }
.cal-year { font-weight: 700; color: var(--muted); font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); padding-bottom: 2px; }
.cal-grid .d { position: relative; aspect-ratio: 1; border-radius: 7px; background: var(--lilac); font-size: 12px; font-weight: 600; padding: 4px 6px; color: var(--ink-soft); }
.cal-grid .muted { background: transparent; }
.cal-grid .bday, .cal-grid .anniv { background: #fff; box-shadow: inset 0 0 0 2px var(--coral); color: var(--ink); }
.cal-grid .anniv { box-shadow: inset 0 0 0 2px var(--teal); }
.cal-grid .holiday { background: #dcf1e6; }
.cal-grid .dot { position: absolute; right: 5px; bottom: 5px; width: 40%; aspect-ratio: 1; border-radius: 50%; }
.tag {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 8px 14px 8px 8px;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(34, 34, 59, 0.3);
}
.tag .dot { width: 22px; height: 22px; border-radius: 50%; }
.tag-1 { top: 27%; left: -48px; transform: rotate(-3deg); }
.tag-2 { top: 3%; right: -36px; transform: rotate(2deg); }
.tag-3 { bottom: 4px; left: 12%; transform: rotate(-1deg); }

/* Problem */
.problem { padding: 96px 0; }
.problem h2 { margin-bottom: 22px; }
.problem p { font-size: 19px; color: var(--ink-soft); }
.problem p + p { margin-top: 16px; }
.problem strong { color: var(--ink); font-weight: 700; }

/* How it works */
.how { background: var(--lilac); padding: 96px 0; }
.how h2 { text-align: center; margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px 24px; }
.steps h3 { margin: 16px 0 8px; }
.steps p { color: var(--ink-soft); font-size: 16px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 18px; color: #fff; background: var(--teal); }
.steps li:nth-child(2) .step-num { background: var(--coral); }
.steps li:nth-child(3) .step-num { background: var(--gold); color: var(--ink); }
.steps li:nth-child(4) .step-num { background: var(--plum); }

/* Features */
.features { padding: 96px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.feature { border-top: 3px solid var(--mint); padding-top: 20px; }
.feature:nth-child(3n + 2) { border-top-color: var(--blush); }
.feature:nth-child(3n) { border-top-color: #fbe2a8; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 16px; }

/* Call to action */
.cta { background: var(--coral); color: #fff; padding: 88px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta img { margin-bottom: 24px; }
.cta h2 { font-size: clamp(36px, 5vw, 56px); }
.cta p { font-size: 19px; margin-top: 12px; }
.waitlist-light { justify-content: center; margin-left: auto; margin-right: auto; }
.waitlist-light input[type='email'] { border-color: transparent; }
.waitlist-light .form-status.ok, .waitlist-light .form-status.err { color: #fff; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.footer-links { gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.footer-links a:hover { color: var(--coral-dark); }
.copyright { font-size: 14px; color: var(--muted); }

/* Simple text pages (privacy, 404) */
.page { padding: 72px 0 96px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 24px; }
.page h2 { font-size: 26px; margin: 36px 0 10px; }
.page p, .page li { color: var(--ink-soft); }
.page p + p { margin-top: 12px; }

/* Smaller screens */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin-top: 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 72px; }
  .problem, .how, .features { padding: 72px 0; }
  .steps, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .waitlist .button { flex: 1 1 100%; }
  .tag-1 { left: -6px; }
  .tag-2 { right: -6px; }
  .tag { font-size: 13px; }
  .logo span { font-size: 19px; }
  .logo img { width: 38px; height: auto; }
  .header-row { min-height: 64px; flex-wrap: nowrap; }
  .button-small { padding: 0 16px; font-size: 14px; }
}
