/* Scrollane site styles — simple, light, responsive, dark-aware. No framework. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5a5a5a;
  --faint: #888888;
  --line: #e6e6e6;
  --card: #fafafa;
  --accent: #2b6cb0;
  --accent-fg: #ffffff;
  --mark: #3a3a3a;
  --maxw: 760px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --fg: #eaeaea;
    --muted: #b3b3b3;
    --faint: #7c7c7c;
    --line: #2a2a2e;
    --card: #17171a;
    --accent: #5aa0e6;
    --accent-fg: #0e0e10;
    --mark: #3a3a3a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; }
.brand a { color: var(--fg); }
.langswitch { font-size: 0.9rem; color: var(--muted); }

/* Hero */
.hero { text-align: center; padding: 48px 0 8px; }
.hero .mark { width: 84px; height: 84px; margin-bottom: 20px; }
.hero h1 { font-size: 2.1rem; line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); margin: 0 auto 24px; max-width: 34em; }
.hero-demo {
  display: block; width: 100%; max-width: 34em;
  border-radius: 10px; border: 1px solid var(--line);
  margin: 0 auto 24px; background: var(--card);
}
.req-note { color: var(--muted); font-size: 0.95rem; }
.req-strong { font-weight: 600; }

/* Buttons */
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 8px 0; align-items: center; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { text-decoration: none; opacity: 0.92; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-secondary:hover { text-decoration: none; border-color: var(--muted); }
.btn-note { color: var(--faint); font-size: 0.85rem; }

/* Sections */
section { padding: 36px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.5rem; margin: 0 0 16px; letter-spacing: -0.01em; }
section h2:first-child { margin-top: 0; }
ul.plain { padding-left: 1.2em; }
ul.plain li { margin-bottom: 12px; }
.intro { color: var(--muted); }

/* Steps */
ol.steps { padding-left: 1.3em; }
ol.steps li { margin-bottom: 12px; }

/* Pricing */
.price-big { font-size: 1.8rem; font-weight: 700; margin: 0 0 6px; }
.price-sub { color: var(--muted); margin: 0 0 18px; }

/* Table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; min-width: 560px; }
th, td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
thead th { background: var(--card); }
th:first-child, td:first-child { position: sticky; left: 0; background: var(--bg); }
thead th:first-child { background: var(--card); }
.table-note { color: var(--faint); font-size: 0.85rem; margin-top: 10px; }

/* FAQ */
.faq h3 { font-size: 1.05rem; margin: 20px 0 4px; }
.faq p { margin: 0 0 8px; color: var(--muted); }

/* Callout */
.callout { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }

/* Footer */
footer.site {
  border-top: 1px solid var(--line); padding: 28px 0 48px; margin-top: 12px;
  color: var(--faint); font-size: 0.9rem; text-align: center;
}
footer.site .links { margin-bottom: 12px; }
footer.site .trademark { font-size: 0.82rem; }

/* Legal / doc pages */
.doc { padding: 32px 0 48px; }
.doc h1 { font-size: 1.8rem; margin: 0 0 8px; }
.doc h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.doc .updated { color: var(--faint); font-size: 0.9rem; margin-bottom: 20px; }
.doc table th, .doc table td { font-size: 0.95rem; }
.doc blockquote {
  border-left: 3px solid var(--line); margin: 0 0 20px; padding: 8px 14px;
  color: var(--faint); font-size: 0.9rem; background: var(--card);
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 1.7rem; }
  .price-big { font-size: 1.5rem; }
}
