/* FloorFile marketing site — self-contained, system fonts, no external assets. */

:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-soft: #dbeafe;
  --dark: #0b1220;
  --dark-line: #1e293b;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 23 42 / 0.05), 0 12px 40px -12px rgb(15 23 42 / 0.18);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.eyebrow.light { color: #93c5fd; background: rgb(37 99 235 / 0.18); }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn.lg { padding: 13px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { color: var(--ink); border-color: var(--line); background: var(--bg); }
.btn.ghost:hover { border-color: var(--ink-faint); }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none;
}
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 0; text-align: center; overflow: hidden; }
.hero .lede {
  max-width: 620px; margin: 22px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft);
}
.cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.cta-note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-faint); }

/* Browser frame around screenshots */
.frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.frame-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame-bar em {
  margin-left: 10px; font-style: normal; font-size: 0.75rem;
  color: var(--ink-faint); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.hero-shot {
  margin: 64px auto -140px;
  max-width: 980px;
  position: relative;
}
.hero::after { content: ""; display: block; height: 140px; }

/* ── Steps ───────────────────────────────────────────────────────── */
.steps { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 210px 0 84px; }
.steps h2 { text-align: center; margin-bottom: 48px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.9rem;
  margin-bottom: 14px;
}
.step p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 6px; }
@media (max-width: 860px) { .step-grid { grid-template-columns: 1fr; } }

/* ── Feature sections ────────────────────────────────────────────── */
.feature { padding: 96px 0; }
.feature.alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.split {
  display: grid; grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: 56px; align-items: center;
}
.split.reverse { grid-template-columns: 7fr minmax(300px, 5fr); }
.split.reverse .copy { order: 2; }
.split.reverse .frame { order: 1; }
.copy h2 { margin-bottom: 16px; }
.copy > p { color: var(--ink-soft); }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-soft); font-size: 0.97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft);
}
.ticks li::after {
  content: ""; position: absolute; left: 4.5px; top: 9.5px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg);
}
.ticks.light li { color: #cbd5e1; }
@media (max-width: 920px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .copy { order: 1; }
  .split.reverse .frame { order: 2; }
}

/* ── Offline (dark) ──────────────────────────────────────────────── */
.offline { background: var(--dark); color: #f1f5f9; padding: 96px 0; }
.offline h2 { color: #fff; }
.offline .copy > p { color: #cbd5e1; }
.offline .split { grid-template-columns: 7fr 4fr; align-items: start; }
.phone {
  border: 6px solid #1e293b; border-radius: 34px; overflow: hidden;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.6);
  max-width: 320px; margin: 0 auto;
  background: #000;
}
.dark-shot { margin-top: 36px; border-color: var(--dark-line); }
.dark-shot .frame-bar { background: #0f172a; border-color: var(--dark-line); }
.dark-shot .frame-bar span { background: var(--dark-line); }
@media (max-width: 920px) { .offline .split { grid-template-columns: 1fr; } }

/* ── Modules ─────────────────────────────────────────────────────── */
.modules { padding: 96px 0; }
.modules h2 { text-align: center; }
.section-lede {
  max-width: 640px; margin: 14px auto 48px; text-align: center; color: var(--ink-soft);
}
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mod {
  border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  position: relative; background: #fff;
}
.mod h4 { font-size: 0.98rem; margin-bottom: 6px; }
.mod p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.45; }
.mod.adv { background: var(--bg-soft); }
.mod.adv span {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft);
  border-radius: 999px; padding: 2px 8px;
}
.mod.adv h4 { padding-right: 76px; }
@media (max-width: 1000px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .module-grid { grid-template-columns: 1fr; } }

/* ── Trust ───────────────────────────────────────────────────────── */
.trust { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 72px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 56px; }
.trust h4 { margin-bottom: 8px; }
.trust p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { padding: 96px 0; }
.faq h2 { text-align: center; margin-bottom: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 40px 20px 4px; font-weight: 600; font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--ink-faint);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 4px 22px; color: var(--ink-soft); }

/* ── Final CTA / footer ──────────────────────────────────────────── */
.final-cta {
  text-align: center; padding: 96px 0;
  background: var(--dark); color: #fff;
}
.final-cta p { color: #cbd5e1; margin: 14px 0 30px; }
.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.9rem; color: var(--ink-faint); flex-wrap: wrap; gap: 12px;
}
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--ink-soft); text-decoration: none; }
.footer a:hover { color: var(--ink); }
