/* To-did — Archivo from the brand sheet, the app's own pink, hairline dividers. */

:root {
  --ink: #1A1A19;
  --body: #6F6F69;
  --muted: #9A9A94;
  --faint: #B4B4AE;
  --done: #C4C4BF;
  --stroke: #DCDCD8;
  --rule: #E3E3DF;
  --hair: #F4F4F2;
  --canvas: #F2F1EF;
  --card: #FFFFFF;
  --accent: #FF2E77;
}

* { margin: 0; box-sizing: border-box; }

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

body {
  font-family: Archivo, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- shell ---------- */

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--card);
  min-height: 100vh;
}

@media (min-width: 1080px) {
  .page { border-radius: 28px; margin: 24px auto; min-height: calc(100vh - 48px); overflow: hidden; }
}

/* ---------- top navigation ---------- */

.nav {
  height: 72px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}

.brand { display: flex; align-items: center; gap: 11px; }

.brand .mark { width: 30px; height: 30px; flex: none; display: block; }

.wordmark {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.wordmark { font-weight: 300; letter-spacing: -0.02em; }
.wordmark b { font-weight: 800; }
.wordmark .hy { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.strong { font-weight: 600; color: var(--ink); }
.nav-links a.btn-dark { color: #fff; }
.nav-links a.btn-dark:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 28px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-pink { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: none; }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; background: none; }
.btn-sm { padding: 11px 20px; font-size: 15px; }

/* ---------- hero ---------- */

.hero {
  padding: 88px 56px 96px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: 76px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  text-wrap: balance;
}
/* The name inside the headline follows the wordmark: no italic, no second colour. */
.hero h1 em { font-style: normal; font-weight: 800; }

.hero .lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--body);
  max-width: 480px;
  text-wrap: pretty;
}

.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero-actions { display: flex; align-items: center; gap: 14px; padding-top: 4px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--faint); }

/* ---------- the phone: a live run of the real app ---------- */

.phone {
  width: 320px; height: 660px; margin: 0 auto;
  border-radius: 48px; background: #111;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(26,26,25,0.18), 0 2px 0 rgba(255,255,255,0.4) inset;
}
.screen {
  position: relative; overflow: hidden;
  width: 100%; height: 100%;
  border-radius: 38px; background: #fff;
  display: flex; flex-direction: column;
  padding: 44px 18px 0;
}
.screen::before {
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #111;
}
.app-top { display: flex; align-items: center; gap: 8px; }
.app-wm { font-size: 18px; }

.chips { display: flex; gap: 6px; margin-top: 16px; flex-wrap: nowrap; overflow: hidden; }
.chip {
  font-size: 12px; font-weight: 600; color: var(--body);
  border: 1px solid var(--rule); border-radius: 100px; padding: 5px 10px; white-space: nowrap;
}
.chip i { font-style: normal; color: var(--faint); font-weight: 500; margin-left: 2px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.plus { color: var(--muted); padding: 5px 9px; }

.list { flex: 1; margin-top: 8px; overflow: hidden; }
.ghead { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding: 16px 0 6px; }
.ghead i { font-style: normal; color: var(--faint); font-weight: 600; margin-left: 4px; }
.row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0 12px; border-bottom: 1px solid var(--hair); }
.row .circle {
  width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--stroke); flex: none; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; transition: background .3s, border-color .3s;
}
.row .circle svg { width: 14px; height: 14px; }
.row .title { font-size: 15px; letter-spacing: -0.01em; transition: color .3s; }
.row .when { font-size: 12px; color: var(--muted); margin-top: 3px; }
.row .tags span { display: inline-block; font-size: 11px; color: var(--body); border: 1px solid var(--rule); border-radius: 100px; padding: 2px 8px; margin-top: 6px; }
.row.fresh { animation: drop .5s cubic-bezier(.2,.8,.2,1) both; }
.row.done .circle { background: var(--accent); border-color: var(--accent); }
.row.done .title { color: var(--done); text-decoration: line-through; }

.bar { display: flex; align-items: center; gap: 10px; padding: 12px 0 22px; }
.bar-field { flex: 1; background: var(--hair); border-radius: 100px; padding: 13px 16px; font-size: 14px; color: var(--faint); }
.bar-mic { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s; }
.bar-mic.live { animation: ring 1.2s ease-out infinite; }

.sheet {
  position: absolute; inset: 0; border-radius: 38px;
  background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 58px 22px 26px; text-align: center;
  transform: translateY(102%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.sheet.up { transform: translateY(0); }
.sheet-said {
  font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92); min-height: 4.2em; text-wrap: pretty;
}
.sheet-said .cursor { color: rgba(255,255,255,0.5); }
.sheet-mid { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheet-state { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 10px; }
.sheet-time { font-size: 15px; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.sheet-actions { display: flex; gap: 10px; width: 100%; }
.cap { flex: 1; text-align: center; padding: 13px 0; border-radius: 100px; font-size: 15px; font-weight: 600; }
.cap.ghost { background: rgba(255,255,255,0.2); color: #fff; }
.cap.solid { background: #fff; color: var(--accent); }
.sheet-hint { font-size: 11px; opacity: .8; margin-top: -14px; }
.sheet.filing .waveform, .sheet.filing .sheet-time, .sheet.filing .sheet-actions, .sheet.filing .sheet-hint { opacity: 0; }
.sheet .waveform, .sheet .sheet-time, .sheet .sheet-actions, .sheet .sheet-hint { transition: opacity .3s; }

.toast {
  position: absolute; left: 14px; right: 14px; top: 46px;
  background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 16px;
  font-size: 13px; display: flex; justify-content: space-between; gap: 12px;
  transform: translateY(-140%); opacity: 0; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast b { color: var(--accent); font-weight: 600; }

.waveform { height: 40px; display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.waveform span { width: 3px; border-radius: 100px; background: #fff; animation: bar 0.55s ease-in-out infinite alternate; }

@keyframes bar { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,46,119,0.45); } 100% { box-shadow: 0 0 0 16px rgba(255,46,119,0); } }

@media (prefers-reduced-motion: reduce) {
  .waveform span, .demo-dot, .bar-mic.live, .row.fresh { animation: none; }
}

/* ---------- three columns ---------- */

.features-wrap { padding: 0 56px; }

.features {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature { padding: 48px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--rule); }
.feature:first-child { padding-left: 0; }
.feature:last-child { padding-right: 0; border-right: none; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.feature h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.feature p { font-size: 16px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

/* ---------- pricing ---------- */

.pricing-wrap { padding: 0 56px 8px; }
.pricing {
  border-top: 1px solid var(--rule);
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan {
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan.featured { border-color: var(--ink); }
.plan .name { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plan.featured .name { color: var(--accent); }
.plan .price { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; }
.plan .price span { font-size: 17px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.plan li { font-size: 15px; color: var(--body); display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "—"; color: var(--stroke); flex: none; }

/* ---------- closing band ---------- */

.cta {
  margin: 0 56px 88px;
  background: var(--accent);
  border-radius: 24px;
  padding: 72px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta h2 { font-size: 52px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; color: #fff; }
.cta p { font-size: 18px; color: rgba(255,255,255,0.8); margin-top: 14px; }
.cta-actions { display: flex; gap: 14px; flex: none; flex-wrap: wrap; }

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--rule);
  padding: 40px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.foot-links { display: flex; gap: 28px; font-size: 15px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }

/* ---------- document pages (privacy, terms, support) ---------- */

.doc { max-width: 720px; padding: 72px 56px 96px; display: flex; flex-direction: column; gap: 14px; }
.doc .kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.doc h1 { font-size: 44px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.doc .standfirst { font-size: 18px; line-height: 1.6; color: var(--body); text-wrap: pretty; margin-bottom: 18px; }
.doc section { border-top: 1px solid var(--rule); padding: 26px 0; display: flex; flex-direction: column; gap: 8px; }
.doc h2 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc a { color: var(--accent); }
.doc a:hover { color: var(--ink); }
.doc .updated { font-size: 14px; color: var(--faint); padding-top: 12px; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 64px 40px 72px; }
  .hero h1 { font-size: 56px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:first-child, .feature:last-child {
    padding: 32px 0; border-right: none; border-bottom: 1px solid var(--rule);
  }
  .feature:last-child { border-bottom: none; }
  .features-wrap, .pricing-wrap { padding-left: 40px; padding-right: 40px; }
  .pricing { grid-template-columns: 1fr; }
  .cta { margin: 0 40px 64px; padding: 48px 40px; }
  .cta h2 { font-size: 38px; }
  .nav, .foot { padding-left: 40px; padding-right: 40px; }
  .doc { padding: 56px 40px 72px; }
}

@media (max-width: 720px) {
  .nav { height: auto; padding: 16px 24px; flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 18px; flex-wrap: wrap; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 48px 24px 56px; }
  .hero h1 { font-size: 40px; }
  .hero .lede { font-size: 17px; }
  .phone { width: 290px; height: 600px; }
  .features-wrap, .pricing-wrap { padding-left: 24px; padding-right: 24px; }
  .cta { margin: 0 24px 48px; padding: 40px 28px; }
  .cta h2 { font-size: 32px; }
  .foot { padding: 32px 24px; }
  .doc { padding: 40px 24px 64px; }
  .doc h1 { font-size: 34px; }
  .page { border-radius: 0; margin: 0; }
}
