/* Blue Duck site styles.
   Brand: duck-in-shield on #0070c0, deep navy emphasis, pale-blue surfaces, system sans, square corners,
   light-weight display headings. Matches the TooDid app (github.com/keithgreer/toodid, src/styles.css). */

:root {
  --brand: #0070c0;
  --brand-deep: #004272;
  --brand-ink: #fbfdff;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-2: #f3faff;
  --ink: #001423;
  --muted: #4d5f6e;
  --line: #d5e5f1;
  --accent-soft: #e3f2fd;
  --accent-strong: #00355b;
  --night: #001423;
  --night-line: #0d3350;
  --night-ink: #e8f4fc;
  --night-muted: #94b4ca;
  --night-accent: #85ccff;
  --star: #b87d00;
  --done: #1d845a;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 2px;
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r); }
.on-dark :focus-visible, .cta :focus-visible { outline-color: var(--night-accent); }
h1, h2, h3, p, ol, ul { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.on-dark .eyebrow { color: var(--night-accent); }
.display { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.08; font-weight: 300; letter-spacing: -.025em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; font-weight: 300; letter-spacing: -.02em; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--r);
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--accent-strong);
}
.btn:hover { border-color: var(--brand); color: var(--accent-strong); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--accent-strong); }
.btn.light:hover { background: var(--surface-2); color: var(--accent-strong); }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns.spaced { margin-top: 28px; }

/* Header */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 21px; font-weight: 600; letter-spacing: -.025em; }
.logo-by { font-size: 12px; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-nav a:not(.btn):hover { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 720px) {
  .site-nav { gap: 0 18px; width: 100%; }
  .site-nav .btn { margin-left: auto; }
}

/* Sections */
.section { padding: 104px 0 112px; }
.section.white { background: var(--surface); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 48px; }
@media (max-width: 720px) { .section { padding: 72px 0 80px; } :root { --gutter: 20px; } }

/* Hero */
.hero { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-text .btns { padding-top: 8px; }
@media (max-width: 720px) { .hero .wrap { padding-top: 56px; padding-bottom: 64px; gap: 40px; } }

/* App mock-up */
.mock {
  flex: 1 1 520px; min-width: 0; margin: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 12px 40px rgba(0, 20, 35, .14); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 9px; padding: 12px 16px; background: var(--brand); color: var(--brand-ink); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.mock-bar img { width: 22px; height: 25px; }
.mock-body { display: flex; min-height: 400px; }
.mock-nav { flex: 0 0 180px; border-right: 1px solid var(--line); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.mock-nav span { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: var(--r); }
.mock-nav span i { font-style: normal; color: var(--muted); }
.mock-nav .on { background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.mock-nav .on i { color: var(--accent-strong); }
.mock-nav .sep { display: block; padding: 16px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-strong); }
.mock-main { flex: 1 1 auto; min-width: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.mock-title { font-size: 28px; font-weight: 300; letter-spacing: -.015em; line-height: 1.15; }
.mock-date { font-size: 13px; color: var(--muted); margin-top: -6px; }
.mock-add { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 10px 12px; color: var(--muted); font-size: 14px; border-radius: var(--r); margin: 6px 0 4px; }
.mock-add b { color: var(--brand); font-size: 18px; line-height: 1; font-weight: 400; }
.task { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 10px 12px; border-radius: var(--r); }
.task .tick { width: 18px; height: 18px; border: 1.8px solid var(--muted); border-radius: 50%; flex: none; }
.task .text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14.5px; }
.task .meta { font-size: 12px; color: var(--muted); }
.task .star { width: 18px; height: 18px; color: var(--star); }
.task.done { background: var(--bg); }
.task.done .tick { background: var(--done); border-color: var(--done); display: grid; place-items: center; }
.task.done .tick svg { width: 12px; height: 12px; }
.task.done .text { color: var(--muted); text-decoration: line-through; }
.mock-sync { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.mock-sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--done); }
@media (max-width: 600px) { .mock-nav { display: none; } .mock-body { min-height: 0; } }

/* Notice band */
/* Import from Microsoft To Do */
.split.light > p { color: var(--muted); }
.split.light > p strong { color: var(--ink); font-weight: 600; }
.import-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 48px; }
.import-steps li { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 36px; height: 36px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 600; border-radius: var(--r); }
.import-steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.import-steps p { color: var(--muted); }
.import-steps strong { color: var(--ink); font-weight: 600; }
.import-detail { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.import-detail > div { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; }
.import-detail h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px;
  border-right: 2px solid var(--done); border-bottom: 2px solid var(--done); transform: rotate(45deg);
}
.readonly { border-left: 0; background: var(--night); color: var(--night-ink); padding: 28px; border-radius: var(--r); }
.readonly p { color: var(--night-muted); }

/* Cards */
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.card p { color: var(--muted); }
.card-icon { width: 44px; height: 44px; background: var(--accent-soft); color: var(--brand); display: grid; place-items: center; border-radius: var(--r); }
.card-icon svg { width: 22px; height: 22px; }

/* Dark privacy section */
.on-dark { background: var(--night); color: var(--night-ink); }
.on-dark a { color: var(--night-accent); }
.split { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; margin-bottom: 56px; }
.split > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 14px; }
.split > p { flex: 1 1 380px; color: var(--night-muted); font-size: 17px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 56px; }
.steps li { border-top: 2px solid var(--night-accent); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-size: 14px; font-weight: 600; color: var(--night-accent); }
.steps h3 { font-size: 21px; font-weight: 600; }
.steps p { color: var(--night-muted); }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid var(--night-line); border-left: 1px solid var(--night-line); }
.facts li { padding: 24px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); display: flex; flex-direction: column; gap: 6px; }
.facts strong { font-weight: 600; }
.facts span { color: var(--night-muted); font-size: 15px; }
.tradeoff { margin-top: 24px; font-size: 14px; color: var(--night-muted); }

/* Roadmap */
.roadmap { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.roadmap li { padding: 24px 24px 24px 0; border-top: 3px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.roadmap li.now { border-top-color: var(--brand); }
.roadmap li.next { border-top-color: var(--night-accent); }
.roadmap h3 { font-size: 20px; font-weight: 600; }
.roadmap p { color: var(--muted); font-size: 15px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r); background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.now .tag { background: var(--brand); color: #fff; border-color: var(--brand); }
.next .tag { background: var(--accent-soft); color: var(--accent-strong); border-color: var(--accent-soft); }

/* FAQ */
.faq-layout { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq-layout > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.faq { flex: 999 1 560px; min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 18px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--brand); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

/* Final call to action */
.cta { background: var(--brand); color: var(--brand-ink); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 80px; padding-bottom: 80px; }
.cta h2 { flex: 1 1 480px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; font-weight: 300; letter-spacing: -.02em; text-wrap: balance; }

/* Footer */
.site-foot { background: var(--night); color: var(--night-muted); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.site-foot .brandline { display: flex; align-items: center; gap: 10px; }
.site-foot .brandline img { width: 28px; height: 28px; }
.site-foot .brandline a { color: var(--night-ink); }
.site-foot .brandline a:hover { color: #fff; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-foot nav a, .site-foot nav .email { color: var(--night-ink); text-decoration: none; padding: 10px 0; }
.site-foot nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-foot .disclaimer { flex: 1 1 100%; border-top: 1px solid var(--night-line); padding-top: 20px; font-size: 13px; color: var(--night-muted); }

/* Blue Duck home: app list */
.apps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; }
.app-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.app-card .app-name { display: flex; align-items: center; gap: 14px; }
.app-card .app-name img { width: 52px; height: 52px; }
.app-card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.app-card p { color: var(--muted); }
.app-card .btns { margin-top: auto; padding-top: 8px; }

/* Long-form pages (privacy, 404) */
.prose-page .wrap { max-width: 800px; }
.prose { padding: 72px 0 104px; }
.prose h1 { font-size: clamp(34px, 4.4vw, 46px); line-height: 1.1; font-weight: 300; letter-spacing: -.02em; margin-bottom: 12px; }
.prose h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin: 44px 0 12px; }
.prose p, .prose li { color: #2b3d4b; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose .updated { color: var(--muted); font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; }
.draft-note { background: #fff7e0; border: 1px solid #e8c766; color: #4a3800; padding: 14px 18px; border-radius: var(--r); margin: 24px 0 8px; font-size: 15px; }
