:root {
  --cream: #FBF4EA;
  --card: #FFFFFF;
  --ink: #3A2A22;
  --muted: #6B5447;
  --soft: #7A6152;
  --line: #F0E3D6;
  --peach: #F2C4A8;
  --accent: #D9603A;
  --accent-ink: #A9472A;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent-ink); font-weight: 700; }
a:hover { color: #8A3A20; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 36px; height: 36px; }
.wordmark { font-family: 'Caveat', cursive; font-size: 36px; line-height: 1; font-weight: 500; }
.wordmark b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { text-align: center; padding-top: 56px; padding-bottom: 40px; }
.hero .mark { width: 140px; height: 140px; margin: 0 auto 12px; display: block; }
.hero .wordmark { font-size: 84px; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 18px 0 12px; font-weight: 800; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 520px; margin: 0 auto 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 26px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; font-size: 17px;
}
.btn:hover { background: #C4542F; color: #fff; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1.5px solid #E2CDBD; }
.note { font-size: 14px; color: var(--soft); margin-top: 12px; }

/* Slots illustration */
.slots {
  display: grid; grid-template-columns: repeat(5, 48px); gap: 12px;
  justify-content: center; background: var(--card); border-radius: 28px;
  padding: 24px; width: max-content; margin: 36px auto 0;
  box-shadow: 0 6px 20px rgba(58, 42, 34, 0.08);
}
.slots span { width: 48px; height: 48px; border-radius: 50%; }
.slots .lit { box-shadow: 0 0 0 3px var(--accent); }
.slots .open { border: 2px dashed #D8C3B3; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 48px 0; }
.feature { background: var(--card); border-radius: 22px; padding: 24px; }
.feature .num { font-family: 'Caveat', cursive; font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; }
.feature h3 { margin: 8px 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.band { background: var(--card); border-radius: 28px; padding: 36px 28px; text-align: center; margin: 8px 0 56px; }
.band h2 { margin: 0 0 8px; font-size: 28px; }
.band p { margin: 0 auto 20px; color: var(--muted); max-width: 520px; }

/* Docs */
.doc { padding-top: 24px; padding-bottom: 64px; }  /* top/bottom only — keeps .wrap's side gutters */
.doc h1 { font-size: 34px; line-height: 1.2; margin: 12px 0 4px; }
.doc .updated { color: var(--soft); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc h3 { font-size: 18px; margin: 24px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .box { background: var(--card); border-radius: 18px; padding: 18px 20px; margin: 16px 0; }
.placeholder { background: #FDE7DC; color: var(--accent-ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; }

/* FAQ */
details { background: var(--card); border-radius: 16px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--soft); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); font-weight: 600; text-decoration: none; }

/* ===== Landing (home) ===== */
.home .site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 244, 234, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav { align-items: center; }
.nav-cta { background: var(--ink); color: var(--cream) !important; padding: 8px 16px; border-radius: 18px; font-weight: 800; }
.nav-cta:hover { background: #241913; }
.wordmark.sm { font-size: 30px; }

.hero2 {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  padding: 48px 20px 72px;
}
.eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.hero2 h1 { font-size: 60px; line-height: 1.02; margin: 0 0 20px; font-weight: 900; letter-spacing: -0.02em; }
.hand { font-family: 'Caveat', cursive; font-weight: 700; color: var(--accent); letter-spacing: 0; font-size: 1.12em; }
.hero2 .lead { font-size: 20px; color: var(--muted); max-width: 480px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pills li { font-size: 14px; font-weight: 700; color: var(--muted); background: var(--card); border-radius: 14px; padding: 6px 12px; }

.phone-stage { position: relative; display: flex; justify-content: center; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #F7D9C6; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.phone {
  position: relative; width: 300px; background: var(--cream); border-radius: 44px; padding: 26px 14px 18px;
  border: 10px solid #2B201A; box-shadow: 0 30px 60px rgba(58, 42, 34, 0.22);
  display: flex; flex-direction: column; gap: 10px; transform: rotate(2.5deg); text-align: left;
}
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 2px; }
.phone-top .wordmark { font-size: 28px; }
.bell { width: 28px; height: 28px; border-radius: 50%; background: var(--card); position: relative; }
.bell::after { content: ""; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.p-card { background: var(--card); border-radius: 18px; padding: 12px; box-shadow: 0 3px 10px rgba(58, 42, 34, 0.05); }
.p-card p { margin: 6px 0 0; font-size: 13px; line-height: 1.4; }
.p-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.p-row span { color: var(--soft); font-size: 11px; font-weight: 700; }
.p-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; justify-items: center; }
.p-slots i { width: 36px; height: 36px; border-radius: 50%; display: block; }
.p-slots i.lit { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.p-slots i.open { border: 2px dashed #D8C3B3; box-sizing: border-box; }
.p-head { display: flex; align-items: center; gap: 8px; }
.p-head i { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 800; font-size: 12px; }
.p-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; }
.p-head small { color: var(--soft); font-size: 10px; }
.p-head em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--accent); background: #FDE7DC; padding: 3px 8px; border-radius: 9px; }
.p-head em.late { color: var(--muted); background: #F5ECE3; }
.p-photo { height: 96px; border-radius: 12px; background: #EAD8C6; margin-top: 8px; }

.section-title { font-size: 36px; font-weight: 900; text-align: center; margin: 0 0 32px; letter-spacing: -0.01em; }
.section-title.left { text-align: left; margin-bottom: 12px; }
.how { padding: 40px 20px 56px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--card); border-radius: 26px; padding: 22px; }
.step h3 { font-size: 20px; margin: 18px 0 6px; display: flex; align-items: center; gap: 10px; }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.step-art { height: 120px; border-radius: 18px; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.mini-slots { display: grid; grid-template-columns: repeat(5, 22px); gap: 8px; }
.mini-slots i { width: 22px; height: 22px; border-radius: 50%; background: var(--peach); display: block; }
.mini-slots i.lit { background: var(--accent); box-shadow: 0 0 0 5px rgba(217, 96, 58, 0.18); }
.mini-slots i.open { background: transparent; border: 2px dashed #D8C3B3; box-sizing: border-box; }
.timeline { display: flex; align-items: center; gap: 8px; position: relative; }
.timeline .dot { width: 16px; height: 16px; border-radius: 50%; display: block; }
.timeline .locked { background: #E6D6C8; }
.timeline .seen { background: var(--accent); }
.timeline .pin { font-family: 'Caveat', cursive; font-size: 20px; font-weight: 700; color: var(--accent-ink); padding: 0 4px; border-left: 2px dashed var(--accent); border-right: 2px dashed var(--accent); line-height: 1.1; white-space: nowrap; }
.showcase { display: flex; gap: 10px; }
.showcase span { width: 56px; height: 72px; border-radius: 12px; display: block; }

.quote-band { background: var(--ink); color: var(--cream); border-radius: 32px; padding: 48px 32px; text-align: center; margin: 8px 0 64px; }
.quote-band .big { font-size: 52px; line-height: 1.1; margin: 0 0 12px; color: #F5A27F; }
.quote-band p { margin: 0 auto; max-width: 520px; color: #E9DCCF; }

.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-bottom: 72px; }
.safety .lead { color: var(--muted); margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { background: var(--card); border-radius: 16px; padding: 14px 16px 14px 48px; position: relative; font-weight: 700; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--accent); }
.checks li::after { content: ""; position: absolute; left: 22px; top: 50%; width: 5px; height: 9px; margin-top: -6px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.final { text-align: center; padding: 16px 20px 80px; }
.final .mark { width: 96px; height: 96px; display: block; margin: 0 auto 8px; }
.final h2 { font-size: 36px; font-weight: 900; margin: 0 0 20px; }

@media (max-width: 860px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero2 .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .pills { justify-content: center; }
  .hero2 h1 { font-size: 46px; }
  .steps { grid-template-columns: 1fr; }
  .safety { grid-template-columns: 1fr; }
  .blob { width: 320px; height: 320px; }
}
@media (max-width: 480px) {
  .nav a:not(.nav-cta) { display: none; }
  .phone { width: 270px; transform: none; }
  .quote-band .big { font-size: 40px; }
  .section-title, .final h2 { font-size: 30px; }
}

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
  .hero .wordmark { font-size: 64px; }
  .hero h1 { font-size: 30px; }
  .slots { grid-template-columns: repeat(5, 40px); gap: 10px; padding: 18px; }
  .slots span { width: 40px; height: 40px; }
}
