/* The marketing page at the front door. Colours, type, buttons, panels and form fields come from app.css, so the page
   follows the product's ink-and-copper look in light and dark; this file only lays the page out. */
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.home { background: var(--bg); height: auto; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.home h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; max-width: 26ch; margin: 8px 0 28px; }
.home h3 { font-size: 1.05rem; }

/* Top bar */
.site-head { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.site-logo { font-size: 1.4rem; color: var(--ink); }
.site-logo:hover { text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav > a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: 0.95rem; }

/* Opening section: ink, like the product's side menu */
.hero { background: var(--rail); color: var(--rail-ink); padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero-eyebrow { color: var(--rail-accent); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 16px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.04; max-width: 12ch; }
.hero-lede { color: var(--rail-muted); font-size: 1.15rem; line-height: 1.6; max-width: 46ch; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn:hover { text-decoration: none; }
.hero-ghost { background: transparent; color: var(--rail-ink); border-color: var(--rail-line); }
.hero-ghost:hover { background: var(--rail-2); border-color: var(--rail-muted); }
.hero-shot { margin: 0; display: grid; gap: 12px; color: var(--ink); }
.hero-shot .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-shot .panel-head .eyebrow { font-size: 0.66rem; }

/* Sections */
.band { padding: 84px 0; }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 22px; }
.feature h3::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.feature p { color: var(--ink-2); margin: 8px 0 0; }
.gulf, .book { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 1.05rem; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.3em; width: 7px; height: 13px; border: solid var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.steps p { color: var(--ink-2); margin: 6px 0 0; }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-bottom: 14px;
  background: var(--accent-soft); color: var(--accent-text); font-family: var(--font-display); font-weight: 700; }

/* Book a demo */
.book-copy p:not(.eyebrow) { color: var(--ink-2); font-size: 1.05rem; max-width: 40ch; }
.book-fields { display: grid; gap: 16px; padding: 22px; }
.book-fields .input, .book-fields .select, .book-fields .textarea { font-size: 1rem; padding: 10px 12px; }
.optional { color: var(--muted); font-weight: 400; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--bad); margin: 0; }
.book-done .panel-body { padding: 28px; }
.book-done p { color: var(--ink-2); margin: 8px 0 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; }
.site-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.site-foot .dalla { font-size: 1.1rem; }

@media (max-width: 900px) {
  .hero-grid, .gulf, .book { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .site-nav { gap: 14px; }
  .site-nav > a[href^="#"]:not(.btn) { display: none; }
  .hero { padding: 48px 0 56px; }
  .band { padding: 56px 0; }
  .hero-shot .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-shot .kpi:nth-child(3) { display: none; }
}
