/* itemlift.app: same calm look as the side panel. All colors are tokens. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #1c2230;
  --muted: #5b6474;
  --border: #e1e4ea;
  --accent: #4b4fd6;
  --accent-text: #ffffff;
  --accent-soft: #eef0ff;
  --good: #1f7a4d;
  --code-bg: #f0f2f5;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171c;
    --bg-soft: #1c1f26;
    --text: #e7e9ee;
    --muted: #a0a7b4;
    --border: #2c313b;
    --accent: #8a8df0;
    --accent-text: #11131a;
    --accent-soft: #23264a;
    --good: #5cc79a;
    --code-bg: #232731;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; }
.site-header nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--text); }

.site-footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 6px 0; }

/* Hero */
.hero { padding: 64px 0 40px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-block; padding: 11px 18px; border-radius: 6px;
  background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600;
}
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.small { font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 36px 0; }
h2 { font-size: 26px; line-height: 1.25; margin: 0 0 14px; }
h3 { font-size: 18px; margin: 0 0 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--border); border-radius: 8px; padding: 20px; background: var(--bg); }
.card p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 15px;
}
.soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Side-by-side comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare ul { margin: 8px 0 0; padding-left: 20px; }
.compare .card.ours { border-color: var(--accent); }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* A pretend preview row, drawn in HTML */
.preview { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 15px; margin-top: 18px; }
.preview div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--border); }
.preview div:first-child { border-top: 0; background: var(--bg-soft); font-weight: 600; }
.preview s { color: var(--muted); }
.preview b { color: var(--good); }

/* Long-form pages (privacy, terms, help) */
.doc { padding-top: 40px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 21px; margin-top: 32px; }
.doc li { margin: 4px 0; }
.updated { color: var(--muted); font-size: 14px; }
.note {
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  background: var(--bg-soft); border-radius: 6px; padding: 12px 16px; margin: 20px 0;
}
details { border-bottom: 1px solid var(--border); padding: 12px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }
kbd, code { background: var(--code-bg); border-radius: 4px; padding: 1px 6px; font-size: 0.92em; }

@media (max-width: 560px) {
  .site-header nav { gap: 12px; font-size: 14px; }
  .site-header nav .optional { display: none; }
  .hero { padding-top: 40px; }
}
