/* odvi.com: the Ink & Signal look on the web. Same tokens as packages/design. */
:root {
  --canvas: #f2f3f5;
  --surface: #ffffff;
  --text: #0c0d10;
  --muted: #5d636e;
  --faint: #9097a3;
  --line: rgba(12, 13, 16, 0.08);
  --accent: #00825e;
  --accent-fill: #18d196;
  --accent-soft: #ddf7ec;
  --lift: 0 1px 2px rgba(12, 13, 16, 0.04), 0 8px 24px rgba(12, 13, 16, 0.05);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #050506;
    --surface: #111214;
    --text: #f4f5f6;
    --muted: #9a9fa8;
    --faint: #63676f;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #3df2b0;
    --accent-fill: #3df2b0;
    --accent-soft: #0b2a1f;
    --lift: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent-fill); outline-offset: 2px; border-radius: 6px; }

/* Header and footer */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.4px; text-decoration: none; }
.brand .mark { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 18px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot .bar { font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; }

/* Documents: privacy, terms, support */
.doc { max-width: 700px; margin: 0 auto; padding: 24px 20px 72px; }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--accent); }
h1 { margin: 8px 0 10px; font-size: clamp(36px, 7vw, 52px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
.meta { margin: 0; color: var(--muted); font-size: 15px; }
h2 { margin: 44px 0 8px; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; }
h3 { margin: 28px 0 4px; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 14px; }
h1, h2, h3, summary { text-wrap: balance; }
p, li { text-wrap: pretty; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin: 4px 0; }
.muted { color: var(--muted); }

.summary {
  margin: 28px 0 8px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--lift);
}
.summary h2 { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.summary li { display: flex; gap: 12px; margin: 0; font-weight: 500; }
.summary li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--accent-fill); }


/* Support questions */
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--muted); }
.contact { margin-top: 28px; padding: 22px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lift); }
.contact p { margin: 0; }

/* Home */
.hero { max-width: 1080px; margin: 0 auto; padding: 28px 20px 0; display: grid; gap: 20px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; padding-top: 4px; } }
.hero h1 { font-size: clamp(42px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 520px; }
/* A status, not a button: nothing to tap until the app is live. */
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lift); font-size: 15px; font-weight: 600; line-height: 1.2; }
.badge::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fill); }
/* The phone render carries its own shadow and transparent edges (tools/screenshots/site-hero.json). */
.device { margin: 0; justify-self: center; }
.device img { display: block; width: min(372px, 100%); height: auto; }
@media (min-width: 900px) { .device img { width: auto; height: clamp(540px, calc(100vh - 96px), 720px); } }
.features { max-width: 1080px; margin: 0 auto; padding: 24px 20px 40px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--lift); }
.feature h2 { margin: 12px 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
