/* TidyHive site — same tokens as the app (src/theme.ts): graphite & honey, section colours. */
:root {
  --bg: #F2F3F1; --card: #fff; --sunk: #E9EBE8; --ink: #16181B; --muted: #6B7077; --faint: #9BA0A6; --line: #E1E3E0;
  --honey: #E08A00; --honey-soft: #FFEFD2;
  --cal: #5B57E0; --cal-soft: #E8E7FF; --clean: #0E9F7B; --clean-soft: #D7F4E9; --shop: #E8573A; --shop-soft: #FFE3DA;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E1012; --card: #181B1E; --sunk: #22262A; --ink: #ECEDEE; --muted: #9AA0A6; --faint: #6B7177; --line: #2A2E33;
    --honey-soft: #3A2A0C; --cal-soft: #24224A; --clean-soft: #123A30; --shop-soft: #40211A; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.top { max-width: 1080px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.3px; text-decoration: none; }
.mark { width: 40px; height: 40px; border-radius: 12px; background: var(--honey-soft); display: grid; place-items: center; font-size: 22px; }
.langs { display: flex; background: var(--sunk); border-radius: 10px; padding: 2px; }
.langs button { border: 0; background: none; color: var(--muted); font: 600 13px/1 inherit; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -2px; margin: 0 0 20px; font-weight: 750; max-width: 13ch; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; margin: 0 0 28px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 15px; }
.store.soon { background: var(--card); color: var(--muted); border: 1px solid var(--line); }

/* phone mock — mirrors the real Today screen */
.phone { justify-self: center; width: 300px; padding: 10px; border-radius: 46px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(22,24,27,.45); }
.screen { position: relative; overflow: hidden; border-radius: 38px; background: var(--bg); padding: 40px 16px 22px; min-height: 560px; }
.wash { position: absolute; top: 0; left: 0; right: 0; height: 250px; background: var(--honey-soft); border-radius: 0 0 32px 32px; overflow: hidden; }
.wash::after { content: ""; position: absolute; right: -40px; bottom: -70px; width: 180px; height: 180px; border-radius: 50%; background: var(--honey); opacity: .12; }
.screen > *:not(.wash) { position: relative; }
.date { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.hello { margin: 0 0 14px; font-size: 24px; font-weight: 700; letter-spacing: -.6px; }
.stats { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-bottom: 14px; }
.stat { background: var(--card); border-radius: 16px; padding: 12px; }
.stat b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -1px; }
.stat span { font-size: 12px; font-weight: 600; color: var(--muted); }
.stat.now { background: var(--honey); color: #fff; }
.stat.now span { color: #fff; opacity: .9; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.row { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; }
.row + .row { border-top: 1px solid var(--line); margin-left: 44px; padding-left: 0; }
.row + .row .ring { margin-left: -32px; }
.row p { margin: 0; font-size: 14px; font-weight: 500; }
.row small { color: var(--muted); font-size: 11px; }
.ring { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--faint); display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; }
.ring.on { background: var(--honey); border-color: var(--honey); }
.row.done p { color: var(--faint); text-decoration: line-through; }
.bar { display: block; width: 110px; height: 4px; border-radius: 2px; background: var(--sunk); margin-top: 5px; }
.bar span { display: block; width: 33%; height: 4px; border-radius: 2px; background: var(--honey); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 72px; }
.f { border-radius: 22px; padding: 22px; }
.f h2 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.3px; }
.f p { margin: 0; font-size: 15px; color: var(--ink); opacity: .82; }
.today { background: var(--honey-soft); } .clean { background: var(--clean-soft); } .cal { background: var(--cal-soft); } .shop { background: var(--shop-soft); }
.today h2 { color: var(--honey); } .clean h2 { color: var(--clean); } .cal h2 { color: var(--cal); } .shop h2 { color: var(--shop); }

.why { max-width: 680px; padding: 8px 0 88px; }
.why h2 { font-size: 28px; letter-spacing: -.6px; margin: 0 0 10px; }
.why p { font-size: 19px; color: var(--muted); margin: 0; }

.foot { max-width: 1080px; margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; color: var(--muted); font-size: 14px; }

/* privacy page */
.doc { max-width: 720px; padding: 24px 0 80px; }
.doc h1 { font-size: clamp(32px, 4.5vw, 44px); max-width: none; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; letter-spacing: -.3px; }
.doc p, .doc li { color: var(--ink); opacity: .88; }
.doc .meta { color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .phone { width: 280px; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
