/* Giftwall website. One stylesheet, no scripts, no trackers. */
:root {
  color-scheme: light dark;
  --bg: #f6f1e7; --card: #fffdf8; --ink: #1b2528; --soft: #55646a; --line: #e3dccd;
  --teal: #0f6e7a; --teal-deep: #0b4f58; --gold: #e2b23c; --on-teal: #ffffff; --on-teal-soft: #cfe3e7;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f181b; --card: #172428; --ink: #eef3f4; --soft: #9fb0b5; --line: #25363b; --teal: #4fb7c4; --teal-deep: #0b4f58; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--teal); }
img, svg { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .5px; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.top nav a { margin-left: 18px; text-decoration: none; color: var(--soft); font-size: 15px; }
.top nav a:hover { color: var(--teal); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 34px 0 56px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.5px; }
.hero p.lead { font-size: 20px; color: var(--soft); margin: 0 0 26px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); border-radius: 14px; padding: 12px 18px; font-weight: 700; }
.soon small { display: block; font-weight: 500; font-size: 12px; opacity: .8; line-height: 1.2; }
.soon svg { width: 26px; height: 26px; }
.button { display: inline-block; background: var(--teal-deep); color: #fff; border-radius: 14px; padding: 13px 20px; font-weight: 700; text-decoration: none; }
.note { color: var(--soft); font-size: 15px; margin-top: 16px; }

/* Phone picture, drawn in CSS so there is nothing to download */
.phone { justify-self: center; width: 280px; max-width: 100%; border-radius: 40px; background: #0d1518; padding: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); }
.screen { border-radius: 30px; overflow: hidden; background: #f6f1e7; color: #1b2528; }
.bar { background: #0f6e7a; color: #fff; font-weight: 600; padding: 14px 16px; font-size: 15px; }
.inner { padding: 14px; display: grid; gap: 12px; }
.next { background: #0b4f58; color: #fff; border-radius: 18px; padding: 16px; }
.next .label { color: #e2b23c; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.next .who { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.next .name { font-size: 22px; font-weight: 700; line-height: 1.15; }
.next .when { color: #dbe9ec; font-size: 13px; }
.next .age { color: #e2b23c; font-size: 12px; }
.rows { background: #fffdf8; border: 1px solid #e3dccd; border-radius: 16px; }
.row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #ece5d6; }
.row:last-child { border-bottom: 0; }
.date { width: 44px; text-align: center; background: #ece5d6; border-radius: 9px; padding: 4px 0; font-weight: 700; font-size: 14px; line-height: 1.15; }
.date small { display: block; font-weight: 500; font-size: 11px; color: #5d6b70; }
.row b { display: block; font-size: 14px; }
.row span { font-size: 12px; color: #5d6b70; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 8px 0 56px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.feature .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-deep); display: grid; place-items: center; margin-bottom: 12px; }
.feature .icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* How it works */
.steps { background: var(--teal-deep); color: var(--on-teal); border-radius: 24px; padding: 34px; margin-bottom: 56px; }
.steps h2 { margin: 0 0 20px; font-size: 26px; }
.steps ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .num { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #1b2528; font-weight: 800; display: grid; place-items: center; }
.steps b { display: block; font-size: 18px; line-height: 1.3; }
.steps p { margin: 4px 0 0; color: var(--on-teal-soft); font-size: 15.5px; }

/* Plain pages */
.page { max-width: 760px; padding-bottom: 56px; }
.page h1 { font-size: 34px; line-height: 1.15; margin: 18px 0 6px; }
.page h2 { font-size: 21px; margin: 30px 0 8px; }
.page p, .page li { color: var(--ink); }
.page .meta { color: var(--soft); margin: 0 0 18px; }
.draft { border-left: 4px solid var(--gold); background: var(--card); border-radius: 10px; padding: 12px 16px; color: var(--soft); margin: 18px 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 22px 0 40px; color: var(--soft); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--soft); margin-right: 16px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 12px; }
  .hero p.lead { max-width: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .top nav a { margin-left: 12px; }
  .steps { padding: 24px; }
}
