/* FREEsite marketing site — construction management SaaS.
   Palette: slate ink + teal accent (matches the portals/apps). */
:root {
  --ink: #0E1726;          /* deep blueprint slate */
  --ink-2: #1E293B;
  --muted: #5A6B82;
  --line: #E4E9F0;
  --bg: #FFFFFF;
  --bg-soft: #F2F5F9;      /* cool concrete */
  --teal: #14B8A6;
  --teal-d: #0D9488;
  --amber: #F59E0B;
  --shadow: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -8px rgba(15,23,42,.10);
  --shadow-lg: 0 1px 2px rgba(15,23,42,.04), 0 30px 60px -18px rgba(15,23,42,.18);
  --radius: 16px;
  --radius-lg: 22px;

  /* Typography — Archivo (industrial display) · Inter (body) · IBM Plex Mono
     (engineering callouts / data). Loaded via <link> in each page <head>. */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Construction-grounded accents (flat — no gradients) */
  --hi: #F59E0B;           /* hi-vis safety amber, used sparingly */
  --blueprint: rgba(15,23,42,.045);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: transform .08s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); box-shadow: 0 8px 20px rgba(20,184,166,.3); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .dot { width: 11px; height: 11px; border-radius: 3px; background: var(--teal); display: inline-block; }
.brand-mark { width: 26px; height: 26px; object-fit: contain; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* Hero */
.hero { padding: 84px 0 64px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-d); background: rgba(20,184,166,.10);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.03em;
  font-weight: 800; max-width: 16ch;
}
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 56ch; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Logos / trust row */
.trust { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.trust .container { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; color: var(--muted); font-size: 14px; }
.trust strong { color: var(--ink); }

/* Sections */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 12px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: rgba(20,184,166,.12); color: var(--teal-d); margin-bottom: 16px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
  position: relative;
}
.plan.highlighted { border-color: var(--teal); box-shadow: 0 14px 36px rgba(20,184,166,.18); }
.plan .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 19px; font-weight: 800; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 14px 0 2px; }
.plan .price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .plan-desc { color: var(--muted); font-size: 14px; min-height: 40px; }
.plan ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.plan li { font-size: 14px; display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { flex: 0 0 auto; margin-top: 3px; color: var(--teal); }
.plan .btn { margin-top: auto; }
.plan .trial { font-size: 13px; color: var(--teal-d); font-weight: 600; margin-top: 10px; text-align: center; }

/* CTA band */
.cta-band { padding: 70px 0; text-align: center; background: var(--ink); color: #fff; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { color: #CBD5E1; margin: 12px auto 28px; max-width: 50ch; }

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); } footer a:hover { color: var(--ink); }

/* ===== Funnel (signup.html) ===== */
.funnel-wrap { min-height: 100vh; background: var(--bg-soft); display: flex; flex-direction: column; }
.funnel-main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 48px 20px; }
.funnel-card { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 36px; }
.steps { display: flex; gap: 8px; margin-bottom: 28px; }
.steps .step { flex: 1; height: 5px; border-radius: 999px; background: var(--line); transition: background .2s; }
.steps .step.active, .steps .step.done { background: var(--teal); }
.funnel-card h2 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.funnel-card .sub { color: var(--muted); font-size: 15px; margin: 6px 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; outline: none; background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }
.funnel-actions { display: flex; gap: 12px; margin-top: 24px; }
.funnel-actions .btn { flex: 1; }
.plan-pick { display: grid; gap: 12px; }
.plan-opt {
  border: 1.5px solid var(--line); border-radius: 12px; padding: 16px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: border-color .15s, background .15s;
}
.plan-opt:hover { border-color: var(--teal); }
.plan-opt.selected { border-color: var(--teal); background: rgba(20,184,166,.06); }
.plan-opt .pname { font-weight: 700; }
.plan-opt .pmeta { font-size: 13px; color: var(--muted); }
.plan-opt .pprice { font-weight: 800; font-size: 18px; }
.confirm-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.confirm-row:last-child { border-bottom: 0; }
.confirm-row .k { color: var(--muted); }
.confirm-row .v { font-weight: 600; }
.msg { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; display: none; }
.msg.error { display: block; background: #FEE2E2; border: 1px solid #FCA5A5; color: #991B1B; }
.muted-link { color: var(--muted); font-size: 14px; text-align: center; display: block; margin-top: 18px; }
.muted-link a { color: var(--teal-d); font-weight: 600; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Success */
.success-card { text-align: center; }
.success-card .check { width: 72px; height: 72px; border-radius: 50%; background: rgba(20,184,166,.12); color: var(--teal-d); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }

/* ============================================================
   MULTI-PAGE EXPANSION — shared nav, sub-page heroes, content
   blocks, FAQ, contact, legal, footer columns. Builds on the
   tokens + components above; same slate-ink + teal system.
   ============================================================ */

/* --- Top nav: dropdown + mobile menu --- */
.nav-cta { display: inline-flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; color: var(--ink);
  width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.mobile-nav {
  display: none; border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-nav.open { display: block; }
.mobile-nav .container { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 16px; gap: 2px; }
.mobile-nav a { padding: 12px 8px; color: var(--ink-2); font-weight: 600; border-radius: 8px; }
.mobile-nav a:hover { background: var(--bg-soft); }
.mobile-nav .mn-cta { margin-top: 8px; }
@media (max-width: 860px) {
  .nav-links .nav-page { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* --- Sub-page hero --- */
.subhero { padding: 70px 0 40px; border-bottom: 1px solid var(--line); }
.subhero .eyebrow { margin-bottom: 16px; }
.subhero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; max-width: 18ch; }
.subhero p { font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); max-width: 62ch; margin-top: 18px; }
.subhero .hero-actions { margin-top: 26px; }

/* --- Generic section helpers --- */
.section.alt { background: var(--bg-soft); }
.section.tight { padding: 56px 0; }
.center { text-align: center; }
.lead-narrow { max-width: 60ch; margin: 0 auto; color: var(--muted); }

/* --- "How it works" steps --- */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: how; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how .step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.how .step-card::before {
  counter-increment: how; content: counter(how); position: absolute; top: -16px; left: 24px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff;
  font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(20,184,166,.35);
}
.how h3 { font-size: 17px; font-weight: 700; margin: 8px 0 6px; }
.how p { color: var(--muted); font-size: 15px; }

/* --- Alternating feature rows --- */
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.feat-row:first-of-type { border-top: 0; }
.feat-row.flip .feat-visual { order: -1; }
@media (max-width: 860px) { .feat-row { grid-template-columns: 1fr; gap: 28px; } .feat-row.flip .feat-visual { order: 0; } }
.feat-row .eyebrow { margin-bottom: 14px; }
.feat-row h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; font-weight: 800; }
.feat-row p { color: var(--muted); font-size: 16px; margin: 14px 0 18px; }
.feat-row ul { list-style: none; display: grid; gap: 10px; }
.feat-row li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.feat-row li svg { flex: 0 0 auto; margin-top: 3px; color: var(--teal); }
/* Decorative product "mock" panel */
.feat-visual { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; min-height: 240px; }
.mock-bar { height: 12px; border-radius: 6px; background: var(--line); margin-bottom: 12px; }
.mock-bar.s { width: 45%; } .mock-bar.m { width: 70%; } .mock-bar.teal { background: rgba(20,184,166,.45); width: 60%; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-top: 14px; box-shadow: var(--shadow); }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-dot { width: 28px; height: 28px; border-radius: 8px; background: rgba(20,184,166,.15); flex: 0 0 auto; }
.mock-pill { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--teal-d); background: rgba(20,184,166,.12); padding: 3px 9px; border-radius: 999px; }

/* --- Module grid (features.html) --- */
.module-group { margin-top: 48px; }
.module-group > h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.module-group > h2 .gi { width: 30px; height: 30px; border-radius: 8px; background: rgba(20,184,166,.12); color: var(--teal-d); display: inline-flex; align-items: center; justify-content: center; }
.module-group > p { color: var(--muted); margin: 6px 0 22px; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .modules { grid-template-columns: 1fr; } }
.module { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.module h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.module h3 svg { color: var(--teal-d); }
.module p { color: var(--muted); font-size: 14px; }

/* --- Stats band --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat .n { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* --- Audience / solutions cards --- */
.aud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .aud { grid-template-columns: 1fr; } }
.aud .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aud .card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.aud .card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.aud .card ul { list-style: none; display: grid; gap: 8px; }
.aud .card li { display: flex; gap: 9px; font-size: 14px; align-items: flex-start; }
.aud .card li svg { color: var(--teal); flex: 0 0 auto; margin-top: 3px; }

/* --- Testimonial / quote --- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote blockquote { font-size: clamp(20px, 2.6vw, 27px); font-weight: 700; letter-spacing: -.02em; line-height: 1.4; }
.quote .by { color: var(--muted); margin-top: 18px; font-size: 15px; }

/* --- App / mobile section --- */
.appcta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .appcta { grid-template-columns: 1fr; } }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.store-badge small { display: block; font-size: 10px; font-weight: 500; color: #CBD5E1; line-height: 1; }
.store-badge b { font-size: 15px; line-height: 1.2; }
.store-badge.soon { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.phone-mock { background: var(--ink); border-radius: 28px; padding: 14px; max-width: 280px; margin: 0 auto; box-shadow: var(--shadow); }
.phone-mock .screen { background: #fff; border-radius: 18px; padding: 16px; min-height: 360px; }

/* --- FAQ accordion --- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q .chev { transition: transform .2s; flex: 0 0 auto; color: var(--muted); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 18px; font-weight: 800; margin: 18px 0 6px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 15px; }
.contact-info a { color: var(--teal-d); font-weight: 600; }
.field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; outline: none; font-family: inherit; resize: vertical; min-height: 130px; }
.field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,184,166,.12); }
.msg.ok { display: block; background: #DCFCE7; border: 1px solid #86EFAC; color: #166534; }

/* --- Legal prose --- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 20px; font-weight: 800; margin: 30px 0 10px; letter-spacing: -.01em; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15px; margin-bottom: 10px; }
.prose ul { padding-left: 20px; margin-bottom: 12px; }
.prose .updated { color: var(--muted); font-size: 14px; }

/* --- Footer columns --- */
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 8px; }
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer-cols .col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 12px; }
.footer-cols .col a { display: block; color: var(--muted); padding: 5px 0; font-size: 14px; }
.footer-cols .col a:hover { color: var(--teal-d); }
.footer-cols .about p { color: var(--muted); font-size: 14px; margin: 12px 0; max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; }
.footer-bottom .legal-links a { margin-left: 16px; color: var(--muted); }
.footer-bottom .legal-links a:hover { color: var(--ink); }

/* --- 404 --- */
.nf { text-align: center; padding: 100px 0; }
.nf .code { font-size: 90px; font-weight: 800; letter-spacing: -.04em; color: var(--teal); line-height: 1; }

/* --- Two-column hero + product preview (index) --- */
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-grid .hero-copy h1 { max-width: 18ch; }
.hero-preview { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.hero-preview .pv-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.hero-preview .pv-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.hero-preview .pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pv-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pv-tile .k { font-size: 12px; color: var(--muted); }
.pv-tile .v { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.pv-tile .v.teal { color: var(--teal-d); }
.pv-wide { grid-column: 1/-1; }
.pv-line { height: 10px; border-radius: 5px; background: var(--line); margin: 8px 0; }
.pv-line.teal { background: rgba(20,184,166,.4); width: 64%; }
.pv-line.s { width: 40%; } .pv-line.m { width: 78%; }
.badge-soft { display:inline-flex; align-items:center; gap:6px; font-size:12px;font-weight:700;color:var(--teal-d);background:rgba(20,184,166,.12);padding:4px 10px;border-radius:999px; }

/* ===========================================================================
   MODERN REFRESH — appended last so it wins the cascade. Construction-grounded:
   industrial display type, IBM Plex Mono "engineering callout" labels, a faint
   blueprint grid, hi-vis amber accent, and a "stamp" signature. Backward
   compatible — only restyles existing classes + adds new feature-page parts.
   =========================================================================== */

/* --- Type system --- */
h1, h2, h3, .brand,
.hero h1, .subhero h1, .section-head h2, .feat-row h2, .module-group > h2,
.plan h3, .aud .card h3, .cta-band h2, .quote blockquote, .nf .code, .stat .n {
  font-family: var(--font-display);
  letter-spacing: -.025em;
}
.brand { letter-spacing: -.03em; }
h1, .hero h1, .subhero h1 { font-weight: 800; }
.stat .n { font-weight: 800; }

/* Eyebrow → mono dimension/datum callout (the signature label voice). */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-d); background: none; padding: 0; border-radius: 0; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: "\253C"; /* ┼ survey datum mark */
  color: var(--teal); font-size: 13px; line-height: 1; opacity: .9;
}

/* Mono utility voice for data + labels */
.stat .l, .pv-tile .k, .badge-soft, .store-badge small, .crumbs,
.module-group > h2 .gi + *, .footer-cols .col h4 {
  font-family: var(--font-mono);
}
.footer-cols .col h4 { letter-spacing: .1em; font-weight: 600; }
.badge-soft { letter-spacing: .04em; text-transform: uppercase; font-size: 11px; }

/* --- Blueprint grid signature (ambient, subtle) --- */
.hero, .subhero, .cta-band {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%230F172A' stroke-opacity='0.045' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 28px 28px;
  background-position: center top;
}
.hero { position: relative; }
.cta-band {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0V28' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}

/* --- Buttons (refined, subtle depth) --- */
.btn { border-radius: 11px; font-weight: 600; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.btn-primary { background: var(--teal); box-shadow: 0 1px 1px rgba(0,0,0,.04), 0 8px 20px -6px rgba(20,184,166,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(20,184,166,.55); background: var(--teal-d); }
.btn-ghost { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-d); }

/* --- Header / nav --- */
.site-header { background: rgba(255,255,255,.72); backdrop-filter: saturate(160%) blur(14px); }
.brand .dot { width: 14px; height: 14px; border-radius: 4px; background: var(--teal); box-shadow: 0 2px 8px rgba(20,184,166,.5); }
.nav-links a:not(.btn) { font-size: 14.5px; }

/* --- Cards: feature / module / plan / aud / how --- */
.feature, .module, .plan, .aud .card, .how .step-card {
  border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover, .module:hover, .aud .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D5DEEA; }
.module:hover { box-shadow: var(--shadow); }
.feature .ico { background: var(--teal); color: #fff; box-shadow: 0 6px 16px -4px rgba(20,184,166,.5); }
.feature .ico svg { stroke: #fff; }

/* Section heading hairline rhythm */
.section-head h2 { line-height: 1.1; }

/* --- Sub-page hero polish --- */
.subhero { border-bottom: 1px solid var(--line); }

/* --- NEW: breadcrumbs (feature pages) --- */
.crumbs { font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--teal-d); }
.crumbs .sep { opacity: .5; }
.crumbs .cur { color: var(--ink); }

/* --- NEW: spec list (engineering "what you get" checklist) --- */
.spec { list-style: none; display: grid; gap: 12px; margin: 8px 0; }
.spec li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.spec li svg { margin-top: 3px; color: var(--teal); }
.spec li b { font-weight: 700; }

/* --- NEW: benefit grid (feature pages) --- */
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 860px){ .benefits { grid-template-columns: 1fr; } }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit .bi { width: 42px; height: 42px; border-radius: 11px; background: rgba(20,184,166,.12); color: var(--teal-d); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.benefit h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; font-family: var(--font-display); letter-spacing: -.01em; }
.benefit p { color: var(--muted); font-size: 14px; }

/* --- NEW: related features (internal linking / SEO silo) --- */
.related { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 860px){ .related { grid-template-columns: 1fr; } }
.related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.related a .rt { font-weight: 700; font-family: var(--font-display); letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.related a .rd { color: var(--muted); font-size: 13px; margin-top: 4px; }
.related a .arrow { color: var(--teal-d); }

/* --- NEW: "stamp" signature element (signed & timestamped — core to the product) --- */
.stamp {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: var(--font-mono); color: var(--teal-d); border: 2px solid var(--teal);
  border-radius: 10px; padding: 8px 14px; transform: rotate(-4deg);
  text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 600;
  background: rgba(20,184,166,.06);
}
.stamp b { font-size: 14px; font-family: var(--font-display); letter-spacing: .02em; }

/* --- Hub: feature index groups --- */
.hub-group { margin-top: 44px; }
.hub-group h2 { font-size: 14px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-d); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hub-group h2::before { content: "\253C"; color: var(--teal); }

/* --- Quality floor --- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .faq-q:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .btn:hover, .feature:hover, .module:hover, .aud .card:hover, .related a:hover { transform: none; }
}

/* ===========================================================================
   POLISH PASS — "measured drawing" language + simple motion. Flat (no gradients).
   Spends the boldness in one place: dimension lines, corner crop-ticks, and
   engineering callouts, so the page reads like a construction document set
   rather than a generic SaaS template.
   =========================================================================== */

/* Trim ambient grid to just the hero + CTA so it doesn't compete with the
   dimension-line devices below. */
.subhero { background-image: none; }

/* --- Type presence --- */
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.02; }
.subhero h1 { font-size: clamp(32px, 4.6vw, 50px); }
.section-head h2, .feat-row h2 { line-height: 1.08; }

/* Hi-vis marker highlight for one keyword in a headline (flat amber). */
.hl { box-shadow: inset 0 -0.30em 0 rgba(245,158,11,.34); border-radius: 1px; }

/* --- Eyebrow → measured callout: datum mark + trailing extension line --- */
.eyebrow::after {
  content: ""; display: inline-block; width: 30px; height: 2px;
  background: currentColor; opacity: .35; margin-left: 4px;
}

/* --- Dimension line under each section heading (drawn SVG, flat) --- */
.section-head::after, .feat-text .eyebrow + h2::after {
  content: ""; display: block; width: 72px; height: 9px; margin: 18px auto 0;
  background: center / 72px 9px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='9'%3E%3Cpath d='M1 4.5H71 M1 1V8 M71 1V8' stroke='%2314B8A6' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  transform: scaleX(0); transform-origin: center; transition: transform .5s ease .1s;
}
.section-head { position: relative; }
/* reveal-driven draw-in (falls back to drawn when motion is off) */
html.anim .section-head.reveal::after { transform: scaleX(0); }
html.anim .section-head.reveal.in::after { transform: scaleX(1); }
html:not(.anim) .section-head::after { transform: scaleX(1); }

/* --- Corner crop-ticks on the product visuals (engineering detail) --- */
.hero-preview, .feat-visual, .phone-mock, .plan.highlighted { position: relative; }
.hero-preview::before, .feat-visual::before, .plan.highlighted::before,
.hero-preview::after,  .feat-visual::after,  .plan.highlighted::after {
  content: ""; position: absolute; width: 13px; height: 13px; pointer-events: none; opacity: .6;
}
.hero-preview::before, .feat-visual::before, .plan.highlighted::before {
  top: 9px; left: 9px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal);
}
.hero-preview::after, .feat-visual::after, .plan.highlighted::after {
  bottom: 9px; right: 9px; border-bottom: 2px solid var(--teal); border-right: 2px solid var(--teal);
}

/* --- Drawing-viewport hero preview: hairline title bar w/ mono tag --- */
.hero-preview { border-radius: 14px; }
.hero-preview .pv-top { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.hero-preview .pv-top::before {
  content: "DWG"; font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .14em; color: var(--muted); margin-right: 4px;
}

/* --- Mono dimension caption helper (e.g. under the hero mock) --- */
.dim-cap {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 10px; margin-top: 16px; justify-content: center;
}
.dim-cap::before, .dim-cap::after { content: ""; height: 1px; flex: 1; background: var(--line); max-width: 70px; }

/* --- Footer: faint column rules (drawing-grid feel) --- */
.footer-cols .col + .col { border-left: 1px solid var(--line); padding-left: 28px; }
@media (max-width: 720px) { .footer-cols .col + .col { border-left: 0; padding-left: 0; } }

/* --- Nav underline grow --- */
.nav-links a.nav-page { position: relative; }
.nav-links a.nav-page::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  background: var(--teal); transition: right .25s ease;
}
.nav-links a.nav-page:hover::after { right: 0; }

/* --- Stamp: settle straight on hover --- */
.stamp { transition: transform .2s ease; }
.stamp:hover { transform: rotate(0deg); }

/* --- Card hover: reveal corner-tick accent a touch more --- */
.feature:hover .ico, .benefit:hover .bi { transform: translateY(-2px); transition: transform .18s ease; }

/* ============================ MOTION ============================ */
html.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
html.anim .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.anim .reveal { opacity: 1 !important; transform: none !important; }
  .section-head::after { transform: scaleX(1) !important; }
  .nav-links a.nav-page::after { transition: none; }
}

/* --- Feature grid as a drawing "index": mono leading-zero numbers + sharper
   spec-sheet treatment (de-templates the generic white card grid). --- */
.features { counter-reset: feat; }
.feature { position: relative; border-radius: 12px; }
.feature::after {
  counter-increment: feat;
  content: counter(feat, decimal-leading-zero);
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--muted); opacity: .6;
}
.feature::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
  background: var(--teal); border-radius: 12px 12px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.feature:hover::before { transform: scaleX(1); }
.feature:hover::after { color: var(--teal-d); opacity: 1; }
.feature h3 { padding-right: 34px; font-family: var(--font-display); letter-spacing: -.01em; }

/* ---- Billing interval toggle (pricing cards + funnel plan pick) ---- */
.billing-toggle {
  display: flex; justify-content: center; gap: 0;
  width: max-content; margin: 0 auto 26px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
}
.billing-toggle button {
  appearance: none; border: 0; cursor: pointer;
  font: 600 14px/1 var(--font-family); color: var(--muted);
  background: transparent; border-radius: 999px; padding: 9px 18px;
  transition: background .15s ease, color .15s ease;
}
.billing-toggle button.on { background: var(--ink); color: #fff; }
.billing-toggle button em {
  font-style: normal; font-family: var(--font-mono); font-size: 11px;
  color: var(--teal); margin-left: 4px;
}
.billing-toggle button.on em { color: #5EEAD4; }
.plan .annual-note {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--teal-d); margin: -6px 0 10px;
}


/* ---- Success-page plane (A/B variant B) ----
   The animated confirmation FREEZ asked for. An inline SVG rather than a GIF:
   crisp at any size, no asset to ship, and it can respect reduced-motion. */
.pilota-plane svg { overflow: visible; }
.pilota-plane { animation: pilota-takeoff .9s cubic-bezier(.22,.61,.36,1) both; }
.pilota-plane .pilota-trail {
  animation: pilota-trail 1.1s ease-out .25s both;
}
@keyframes pilota-takeoff {
  0%   { opacity: 0; transform: translate3d(-14px, 10px, 0) rotate(-12deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes pilota-trail {
  0%   { stroke-dashoffset: 24; opacity: 0; }
  40%  { opacity: .45; }
  100% { stroke-dashoffset: 0; opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .pilota-plane, .pilota-plane .pilota-trail { animation: none; }
}
