/* Visualibro — public site. Static, no framework. */
:root {
  --paper: #faf7f2;
  --paper-2: #f1ece3;
  --ink: #1d1a16;
  --ink-2: #4a443c;
  --ink-3: #7a7268;
  --line: #e2dbcf;
  --accent: #1f5f8b;
  --accent-ink: #164a6d;
  --accent-soft: #e4eef5;
  --ok: #2f7a4f;
  --radius: 14px;
  --maxw: 1080px;
  --gutter: 16px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #15130f;
    --paper-2: #1e1b16;
    --ink: #f1ece3;
    --ink-2: #c9c1b4;
    --ink-3: #8f877b;
    --line: #2d2922;
    --accent: #7db6dd;
    --accent-ink: #a8d0ec;
    --accent-soft: #1b2a36;
    --ok: #6fbf8d;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; padding: 6px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 7vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36rem; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.page-mock { aspect-ratio: 3 / 4; width: 100%; max-width: 380px; margin: 0 auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px -30px rgba(0,0,0,.35); }
.page-mock .t { height: 14px; width: 60%; background: var(--ink-3); opacity: .55; border-radius: 4px; }
.page-mock .fig { flex: 1; border-radius: 10px; background: linear-gradient(135deg, var(--accent-soft), var(--paper)); border: 1px dashed var(--line); display: grid; place-items: center; color: var(--accent); font-family: var(--font-serif); font-size: 1.05rem; text-align: center; padding: 16px; }
.page-mock .l { height: 8px; background: var(--ink-3); opacity: .3; border-radius: 4px; }
.page-mock .l.s { width: 70%; }

/* Sections */
section.block { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
section.block.alt { background: var(--paper-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
section.block.alt .card { background: var(--paper); }
.card h3 { margin-top: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; padding-top: 48px; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-family: var(--font-serif); }
.price-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; }
.price-table th, .price-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.price { font-family: var(--font-serif); font-size: 1.25rem; white-space: nowrap; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.badge { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: .9rem; font-weight: 600; background: var(--paper); color: var(--ink-2); }
.check { list-style: none; padding: 0; }
.check li { padding-left: 28px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8'/%3E%3C/svg%3E"); }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: .25em; }
.legal .updated { color: var(--ink-3); margin-bottom: 2.5em; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal address { font-style: normal; }
.summary { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 2em; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--ink-2); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer address { font-style: normal; line-height: 1.5; }
.site-footer a { color: var(--ink-2); }
.site-footer .legalline { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; color: var(--ink-3); font-size: .88rem; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .page-mock { max-width: 300px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; }
  .nav { justify-content: flex-start; gap: 4px 16px; }
  .nav a { min-height: 40px; }
  .price-table th:nth-child(3), .price-table td:nth-child(3) { display: none; }
}
