/* DoneHere — donehere.app. Colours match the app (src/lib/theme.ts in the mobile project). */
@font-face { font-family: 'Open Sans'; font-weight: 400; font-display: swap; src: url('fonts/OpenSans_400Regular.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 600; font-display: swap; src: url('fonts/OpenSans_600SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-weight: 700; font-display: swap; src: url('fonts/OpenSans_700Bold.woff2') format('woff2'); }

:root {
  --bg: #0f1115;
  --bg-2: #141820;
  --card: #1a1d24;
  --line: #2a2f3a;
  --text: #f7f7f5;
  --muted: #9aa0ab;
  --accent: #ff7a45;
  --accent-ink: #1a1d24;
  --important: #e5484d;
  --ok: #4cc38a;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ff9468; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 10; }

/* ---------- Header ---------- */
.site-header { padding: 22px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .pin { width: 34px; height: 34px; }
.brand .wordmark { height: 26px; width: auto; margin-top: -3px; }
.site-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(900px 520px at 78% 30%, #262b36 0%, rgba(38, 43, 54, 0) 70%);
  padding: 56px 0 88px;
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero .lead { font-size: clamp(18px, 2.1vw, 21px); color: #d5d8de; margin-top: 24px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 34px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-weight: 700; font-size: 16px; cursor: default; user-select: none;
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255, 122, 69, 0.18); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 26px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 17px; text-decoration: none;
}
a.btn:hover { background: #ff9468; color: var(--accent-ink); }
.btn[aria-disabled='true'] { cursor: default; user-select: none; }
.cta .note { font-size: 15px; color: var(--muted); }

.soon { margin-top: 30px; font-size: 17px; color: #d5d8de; }
.soon strong { color: var(--text); }
.notify { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; max-width: 480px; }
.notify input[type='email'] {
  flex: 1 1 220px; min-width: 0; padding: 14px 18px; border-radius: 999px;
  border: 1.5px solid #3a4150; background: #0b0d11; color: var(--text);
  font: 400 16px 'Open Sans', sans-serif;
}
.notify input[type='email']::placeholder { color: #6f7684; }
.notify input[type='email']:focus { outline: none; border-color: var(--accent); }
.notify button.btn { border: 0; cursor: pointer; font-family: inherit; }
.notify button.btn:hover { background: #ff9468; }
.form-note { font-size: 13.5px; color: #6f7684; margin-top: 10px; }
.form-note a { color: var(--muted); }
.closing .notify { margin-left: auto; margin-right: auto; }
.closing .soon { margin-top: 26px; }

/* ---------- Phone illustration ---------- */
.phone-col { display: flex; justify-content: center; }
.phone {
  width: 320px; flex: none;
  background: #07080a; border: 2px solid #343a46; border-radius: 48px; padding: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px #000;
}
.screen { background: var(--bg); border-radius: 37px; overflow: hidden; padding: 0 14px 14px; font-size: 13px; line-height: 1.35; }
.island { width: 92px; height: 26px; background: #000; border-radius: 16px; margin: 10px auto 14px; }
.s-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.s-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.s-top .tools { display: flex; gap: 8px; color: var(--muted); font-weight: 600; font-size: 12px; }
.s-top .tools span { background: var(--card); padding: 5px 9px; border-radius: 999px; }
.row { display: flex; gap: 10px; align-items: flex-start; background: var(--card); border-radius: 14px; padding: 11px 12px; margin-bottom: 8px; }
.row .circle { width: 20px; height: 20px; border: 2px solid #5b616e; border-radius: 50%; flex: none; margin-top: 1px; }
.row .t { font-weight: 700; font-size: 14.5px; }
.row .sub { color: var(--muted); font-size: 12px; margin-top: 1px; }
.row .dist { margin-left: auto; color: var(--accent); font-weight: 700; white-space: nowrap; font-size: 13px; }
.row.closed { opacity: 0.5; }
.row.closed .dist { color: var(--muted); }
.chip { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.chip.imp { background: rgba(229, 72, 77, 0.18); color: #ff8589; }
.chip.shared { background: rgba(255, 122, 69, 0.16); color: var(--accent); }
.s-bar { display: flex; gap: 8px; margin-top: 12px; }
.s-bar span { background: var(--card); border-radius: 12px; padding: 11px 0; text-align: center; font-weight: 700; font-size: 13px; }
.s-bar .add { flex: 0 0 74px; }
.s-bar .go { flex: 1; background: var(--accent); color: var(--accent-ink); }
.s-bar .scan { flex: 0 0 46px; }
.s-title, .s-top .tools span, .s-bar span { white-space: nowrap; }
.mock-note { text-align: center; font-size: 13px; color: #6b7280; margin-top: 16px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.band { background: var(--bg-2); border-top: 1px solid #1d222b; border-bottom: 1px solid #1d222b; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 122, 69, 0.12); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature .fine { display: block; margin-top: 10px; font-size: 13px; color: #6f7684; }
.feature q { color: var(--text); quotes: '“' '”'; }

/* Lock-screen card + nudge illustration */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(28px, 4vw, 40px); }
.split p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: #d5d8de; font-size: 16.5px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); border-radius: 1px; }
.stack { display: grid; gap: 14px; max-width: 420px; margin: 0 auto; width: 100%; }
.notif, .live { background: rgba(38, 43, 54, 0.85); border: 1px solid #343a46; border-radius: 22px; padding: 16px 18px; }
.notif .app { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.notif .app img { width: 20px; height: 20px; }
.notif .app span:last-child { margin-left: auto; font-weight: 400; text-transform: none; letter-spacing: 0; }
.notif .title { font-weight: 700; font-size: 16px; }
.notif .body { color: #c3c7cf; font-size: 15px; }
.notif .actions { display: flex; gap: 8px; margin-top: 12px; }
.notif .actions span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 14px; font-weight: 600; }
.live .head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 8px; }
.live .head span:first-child { color: var(--accent); }
.live .head span:last-child { color: var(--muted); }
.live .item { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 600; padding: 3px 0; }
.live .item b { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* Lock screen illustration */
.phone.lock .screen { background: linear-gradient(165deg, #3b2a3f 0%, #23334d 45%, #0f1a2b 100%); min-height: 560px; display: flex; flex-direction: column; }
.lock-date { text-align: center; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-top: 26px; }
.lock-time { text-align: center; font-size: 78px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: rgba(255, 255, 255, 0.92); margin-bottom: auto; }
.phone.lock .live { background: rgba(15, 17, 21, 0.82); border-color: rgba(255, 255, 255, 0.12); margin-bottom: 18px; padding: 14px 16px; }
.phone.lock .live .item { font-size: 16px; }

/* Shared lists illustration */
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; }
.lc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.lc-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lc-head .chip { font-size: 12px; padding: 3px 10px; margin: 0; }
.lc-sec { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 14px 0 4px; }
.lc-item { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16.5px; font-weight: 600; }
.lc-item .box { width: 22px; height: 22px; flex: none; border: 2px solid #5b616e; border-radius: 6px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.lc-item .box.round { border-radius: 50%; }
.lc-item.done .box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lc-item.done span:nth-child(2) { color: var(--muted); text-decoration: line-through; }
.lc-item em { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.fine-note { font-size: 14px !important; color: #6f7684 !important; margin-top: 18px !important; }

.split .scan-note { font-size: 14.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; padding: 12px 16px; margin: 0; }
.split .scan-note strong { color: var(--text); }

/* Repeating tasks */
.sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sched-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.sched-card .when { display: inline-block; background: rgba(255, 122, 69, 0.14); color: var(--accent); font-weight: 700; font-size: 14px; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.sched-card .when.once { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.sched-card h3 { font-size: 21px; margin-bottom: 6px; }
.sched-card p { color: var(--muted); font-size: 15.5px; }
.ticks-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px; margin-top: 34px; }

/* Privacy strip */
.privacy-strip .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.privacy-strip h2 { font-size: clamp(26px, 3.6vw, 36px); }
.privacy-strip p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-weight: 600; }

/* Closing */
.closing { text-align: center; }
.closing .pin { width: 72px; height: 72px; margin: 0 auto 22px; }
.closing h2 { font-size: clamp(30px, 5vw, 48px); }
.closing p { color: var(--muted); margin: 16px auto 0; max-width: 34em; font-size: 18px; }
.closing .cta { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #1d222b; padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer .legal { flex-basis: 100%; font-size: 12.5px; color: #6f7684; }

/* ---------- Privacy page / prose ---------- */
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 96px; }
.prose h1 { font-size: clamp(34px, 5vw, 46px); }
.prose .updated { color: var(--muted); margin-top: 10px; font-size: 15px; }
.prose .summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 20px 22px; margin: 32px 0 8px; font-size: 18px; }
.prose h2 { font-size: 23px; margin: 44px 0 12px; }
.prose p { color: #d5d8de; margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin: 0 0 14px; color: #d5d8de; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero .wrap, .split, .privacy-strip .wrap { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 64px; }
  .features, .steps, .sched { grid-template-columns: repeat(2, 1fr); }
  .site-nav a.hide-sm:nth-child(n+3) { display: none; }
  .split .stack, .split .phone-col { order: 2; }
  .split .stack .stack { order: 0; }
  .site-nav { gap: 18px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  section { padding: 60px 0; }
  .features, .steps, .sched, .ticks-row { grid-template-columns: 1fr; }
  .site-nav { gap: 18px; }
  .site-nav .hide-sm { display: none; }
  .phone { width: 300px; }
  .s-title { font-size: 21px; }
  .s-bar .add { flex-basis: 60px; }
  .s-bar .scan { flex-basis: 40px; }
  .s-bar span { font-size: 12.5px; }
  .cta { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
