/* The app's own palette, from src/ui/theme.ts. Keep the two in step by hand. */
:root {
  --ground: #FCEBDD;
  --soft: #FFF7F0;
  --card: #FFFFFF;
  --edge: #E8CDB8;
  --ink: #3A2A22;
  --muted: #6B5446;
  --gold: #F2B53A;
  --gold-edge: #B9801A;
  --gold-soft: #FFF1D2;
  --coral: #FF6B57;
  --coral-edge: #C9452F;
  --fresh: #B9572E;
  --kitchen: #3E9B5C;
  --kitchen-dark: #2B7442;
  --kitchen-soft: #BFE3C9;
  --room: #3B6FB6;
  --room-dark: #28528C;
  --room-soft: #C4D6F0;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", -apple-system, "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 var(--round);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--fresh); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* The bar */
.bar { padding: 14px 0; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; font-size: 19px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 0 var(--edge); }

/* Buttons are raised like the app's: a solid edge underneath that the button sinks into when pressed. */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 18px;
  background: var(--coral); color: #fff; text-decoration: none;
  font-weight: 900; font-size: 18px;
  box-shadow: 0 5px 0 var(--coral-edge);
  transition: transform 80ms, box-shadow 80ms;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--coral-edge); }
.btn small { display: block; font-size: 12px; font-weight: 700; opacity: 0.9; letter-spacing: 0.04em; text-transform: uppercase; }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn.soon { background: var(--card); color: var(--ink); box-shadow: 0 5px 0 var(--edge); cursor: default; }
.btn.soon:active { transform: none; box-shadow: 0 5px 0 var(--edge); }

/* Hero */
.hero { padding: 24px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.kicker {
  display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  background: var(--gold-soft); border: 2px solid var(--gold); color: var(--fresh);
  font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
}
h1 { margin: 0 0 16px; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; font-weight: 900; letter-spacing: -0.02em; }
h1 .k { color: var(--kitchen); }
h1 .d { color: var(--room); }
.lede { margin: 0 0 28px; max-width: 34em; font-size: 20px; color: var(--muted); }
.phone {
  justify-self: center; width: min(320px, 78vw);
  border: 10px solid var(--ink); border-radius: 44px; overflow: hidden;
  background: var(--ink);
  box-shadow: 0 10px 0 var(--edge), 0 30px 60px rgba(58, 42, 34, 0.18);
  transform: rotate(3deg);
}
.phone img { border-radius: 34px; aspect-ratio: 852 / 1846; object-fit: cover; }

/* Two sides */
section { padding: 64px 0; }
h2 { margin: 0 0 10px; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -0.01em; }
.sub { margin: 0 0 32px; color: var(--muted); font-size: 19px; max-width: 36em; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.side {
  position: relative; overflow: hidden;
  padding: 28px 28px 0; border-radius: 28px; border: 3px solid;
  display: flex; flex-direction: column;
}
.side.k { background: var(--kitchen-soft); border-color: var(--kitchen); box-shadow: 0 6px 0 var(--kitchen-dark); }
.side.d { background: var(--room-soft); border-color: var(--room); box-shadow: 0 6px 0 var(--room-dark); }
.side h3 { margin: 0 0 6px; font-size: 28px; font-weight: 900; }
.side.k h3 { color: var(--kitchen-dark); }
.side.d h3 { color: var(--room-dark); }
.side p { margin: 0 0 18px; }
.steps { display: flex; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.steps li {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px; border-radius: 16px; background: rgba(255, 255, 255, 0.7);
  font-size: 14px; font-weight: 800; text-align: center;
}
.steps img { width: 56px; height: 56px; object-fit: contain; }
.side .cast { margin-top: auto; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 190px; }
.cast img { height: 100%; width: auto; object-fit: contain; }
.cast .small { height: 62%; }

/* Every day */
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day {
  padding: 24px; border-radius: 24px; background: var(--card);
  border: 2px solid var(--edge); box-shadow: 0 5px 0 var(--edge);
}
.day img { width: 76px; height: 76px; object-fit: contain; margin-bottom: 10px; }
.day h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.day p { margin: 0; color: var(--muted); }
.boosters { display: flex; gap: 4px; }
.boosters img { width: 60px; height: 60px; }

/* The ask at the foot */
.cta {
  margin: 0 auto; max-width: 860px; text-align: center;
  padding: 48px 24px; border-radius: 32px;
  background: var(--gold-soft); border: 3px solid var(--gold); box-shadow: 0 6px 0 var(--gold-edge);
}
.cta img { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 24px; box-shadow: 0 4px 0 var(--gold-edge); }
.cta p { color: var(--muted); margin: 0 0 24px; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); font-weight: 800; }

@media (max-width: 860px) {
  .hero { padding-bottom: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .sides, .days { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
}
@media (max-width: 420px) {
  .side { padding: 22px 18px 0; }
  .steps img { width: 44px; height: 44px; }
  .steps li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
