/* ===========================================================
   SitePin — Construction Spatial Intelligence
   Dark theme · orange/amber accent · premium, grid-aligned
   =========================================================== */

:root {
  /* surfaces */
  --bg: #0b0f14;
  --bg-2: #0f141c;
  --bg-3: #141b25;
  --panel: #121821;
  --panel-2: #1a232d;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  /* text */
  --text: #e6eaf0;
  --text-2: #c2cad6;
  --muted: #8a94a4;
  --dim: #5b6573;

  /* brand accent */
  --amber: #f59e0b;
  --amber-bright: #fbbf24;
  --amber-deep: #d97706;
  --amber-glow: rgba(245, 158, 11, 0.35);
  --amber-soft: rgba(245, 158, 11, 0.12);

  /* pin category palette */
  --c-defect:  #ef4444;
  --c-hazard:  #f59e0b;
  --c-note:    #3b82f6;
  --c-item:    #10b981;
  --c-query:   #eab308;

  /* type */
  --font-display: 'Cabinet Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  /* spacing / radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  /* shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-lg: 0 30px 80px rgba(0,0,0,0.45);
  --shadow-amber: 0 10px 40px -10px rgba(245,158,11,0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --------- Typography --------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  color: var(--text);
}

.display {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
}

h3 { font-size: 1.25rem; letter-spacing: -0.015em; }

.accent { color: var(--amber); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 1px;
  background: var(--amber);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-2);
  max-width: 58ch;
  line-height: 1.55;
}

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .18s ease, background .2s ease, box-shadow .25s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--amber);
  color: #1a1206;
  box-shadow: var(--shadow-amber);
}
.btn-primary:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px -10px rgba(245,158,11,0.65);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(245,158,11,0.04);
}

/* --------- Header --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11,15,20,0.65);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(11,15,20,0.88);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber);
}
.brand-mark {
  width: 26px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(245,158,11,0.4));
}
.brand-pin {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(245,158,11,0.35));
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-word-pin { color: var(--amber); }

.nav-desktop {
  display: flex;
  gap: 32px;
}
.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s ease;
  position: relative;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-desktop a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 10px;
  position: relative;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.nav-mobile a {
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .btn { margin-top: 12px; }

.site-header.open .nav-mobile { display: flex; }

/* --------- Background decor --------- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, #000 55%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, #000 55%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.bg-grid-faded {
  opacity: 0.55;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.bg-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(245,158,11,0.35), transparent 70%);
  top: -120px; right: -120px;
}
.bg-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(217,119,6,0.20), transparent 70%);
  bottom: -120px; left: -80px;
}
.bg-orb-3 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(245,158,11,0.18), transparent 70%);
  top: 10%; right: -160px;
}
.bg-orb-4 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(245,158,11,0.22), transparent 70%);
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
}

/* --------- Hero --------- */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-bright);
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(245,158,11,0.7);
  animation: pulse 2s cubic-bezier(0.25,0.46,0.45,0.94) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.hero-copy .lede {
  margin-top: 20px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--amber); }

/* Hero images */
.hero-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-img-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 60px -20px rgba(245,158,11,0.15);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
}
.hero-img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 80px -15px rgba(245,158,11,0.25);
}
.hero-img-card img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(11,15,20,0.92) 0%, rgba(11,15,20,0.6) 60%, transparent 100%);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-bright);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* --------- Stats --------- */
.stats {
  padding: 64px 0;
  background: linear-gradient(180deg, transparent, rgba(245,158,11,0.02) 50%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 28px 24px;
  border-left: 1px solid var(--border);
}
.stat-card:first-child { border-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num small {
  font-size: 0.4em;
  color: var(--amber-bright);
  font-weight: 700;
  letter-spacing: 0;
}
.stat-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
}
.stat-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* --------- Section head --------- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head h2 {
  margin-bottom: 16px;
}
.section-head p {
  color: var(--text-2);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 58ch;
}

section { position: relative; }

/* --------- Problems --------- */
.problems {
  padding: clamp(72px, 10vw, 120px) 0;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--g, var(--amber));
  opacity: 0.7;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.problem-card:hover::before { transform: scaleX(1); }
.p-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--g) 14%, transparent);
  color: var(--g);
  margin-bottom: 18px;
}
.p-icon svg { width: 22px; height: 22px; }
.problem-card h3 {
  margin-bottom: 10px;
}
.problem-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}
/* 5th card spans nicely on 3-col grid */
.problem-card:nth-child(4),
.problem-card:nth-child(5) { grid-column: span 1; }

/* --------- How it works --------- */
.how {
  padding: clamp(72px, 10vw, 120px) 0;
  background: linear-gradient(180deg, transparent, rgba(245,158,11,0.025), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-soft), transparent);
  z-index: 0;
}
.step {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  z-index: 1;
  transition: border-color .3s ease, transform .3s ease;
}
.step:hover { border-color: var(--amber-soft); transform: translateY(-3px); }
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.step-num::after {
  content: "";
  height: 1px; width: 32px;
  background: var(--amber);
  opacity: 0.5;
}
.step-visual {
  width: 100%;
  height: 120px;
  background: var(--bg-3);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-2);
}
.step-visual svg { width: 80%; height: auto; max-height: 100%; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* --------- Features --------- */
.features {
  padding: clamp(72px, 10vw, 120px) 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.feature-card:hover {
  border-color: var(--amber-soft);
  transform: translateY(-3px);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
.feature-card.accent-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), transparent);
  border-color: rgba(245,158,11,0.25);
}
.f-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: var(--amber-soft);
  color: var(--amber);
  margin-bottom: 14px;
}
.f-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.feature-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

/* --------- Use cases --------- */
.use-cases {
  padding: clamp(72px, 10vw, 120px) 0;
  background: linear-gradient(180deg, transparent, rgba(245,158,11,0.02), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.uc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  padding-bottom: 2px;
}
.uc-tab {
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px 10px 0 0;
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.uc-tab:hover { color: var(--text); }
.uc-tab.active {
  color: var(--amber);
  background: rgba(245,158,11,0.06);
}
.uc-tab.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: -3px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.uc-panels {
  position: relative;
  min-height: 380px;
}
.uc-panel {
  display: none;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  animation: panelIn .4s ease;
}
.uc-panel.active { display: grid; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.uc-for {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.uc-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.uc-copy p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.uc-wins {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.uc-wins li {
  padding: 12px 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--text-2);
}
.uc-wins b { color: var(--amber); font-weight: 700; }

.uc-visual {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

/* --------- VPS Section --------- */
.vps {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vps-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.vps-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.vps-list li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
}
.vps-list .dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 7px;
  box-shadow: 0 0 12px rgba(245,158,11,0.6);
}

.vps-copy p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 20px;
}

.phone {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  border-radius: 42px;
  padding: 12px;
  border: 2px solid #262626;
  position: relative;
  box-shadow:
    0 40px 100px -30px rgba(0,0,0,0.8),
    0 0 80px -20px rgba(245,158,11,0.2),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #000;
  border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: #0b0f14;
}
.pulse-ring {
  animation: pulseRing 2.2s ease-in-out infinite;
  transform-origin: 180px 170px;
}
@keyframes pulseRing {
  0%,100% { r: 22; opacity: 0.7; }
  50% { r: 40; opacity: 0; }
}

/* --------- Pricing --------- */
.pricing {
  padding: clamp(72px, 10vw, 120px) 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  transition: border-color .3s ease, transform .3s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.price-card.featured {
  background: linear-gradient(180deg, rgba(245,158,11,0.06), var(--panel));
  border-color: var(--amber);
  box-shadow: 0 30px 80px -20px rgba(245,158,11,0.2);
}
.pc-tag {
  position: absolute;
  top: -12px; left: 28px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1206;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 8px 20px -4px rgba(245,158,11,0.5);
}
.pc-head h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.pc-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.pc-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.pc-per {
  color: var(--muted);
  font-size: 0.95rem;
}
.pc-list {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pc-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.4;
}
.pc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(245,158,11,0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3L13 4.5' stroke='%23f59e0b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.pc-list li.muted { color: var(--muted); }
.pc-list li.muted::before { display: none; padding-left: 0; }
.pc-list li.muted { padding-left: 0; font-style: italic; font-size: 13px; }
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 32px;
}

/* --------- FAQ --------- */
.faq {
  padding: clamp(72px, 10vw, 120px) 0;
  background: linear-gradient(180deg, transparent, rgba(245,158,11,0.02), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--panel);
  overflow: hidden;
  transition: border-color .25s ease, background .25s ease;
}
.faq-item[open] {
  border-color: var(--amber-soft);
  background: linear-gradient(180deg, var(--panel), rgba(245,158,11,0.02));
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--amber);
  transition: transform .3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
  max-width: 68ch;
}

/* --------- CTA Banner --------- */
.cta-banner {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}
.cta-inner p {
  color: var(--text-2);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* --------- Footer --------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag {
  color: var(--muted);
  font-size: 14px;
  max-width: 32ch;
  margin: 0 0 18px;
  line-height: 1.5;
}
.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
  padding: 6px 12px;
  background: var(--amber-soft);
  border-radius: 999px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-2);
  font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: inline-flex; gap: 24px; }
.footer-links a { color: var(--muted); transition: color .2s ease; }
.footer-links a:hover { color: var(--amber); }

/* --------- Modal --------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: modalFade .25s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 8, 12, 0.75);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 80px -20px rgba(245,158,11,0.25);
  animation: modalRise .35s cubic-bezier(.16,1,.3,1);
}
@keyframes modalRise {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 24px;
  color: var(--muted);
  transition: color .2s ease, background .2s ease;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.modal-card h3 {
  font-size: 1.6rem;
  margin: 8px 0 10px;
}
.modal-sub {
  color: var(--text-2);
  font-size: 15px;
  margin: 0 0 24px;
  line-height: 1.5;
}

.wl-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.field input,
.field select {
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.18);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238a94a4' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.wl-form .btn { margin-top: 8px; }
.fine-print {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.5;
}
.success-mark {
  width: 72px; height: 72px;
  margin: 10px auto 20px;
  color: var(--amber);
}
.modal-step[data-step="success"] { text-align: center; }

/* --------- Reveal animations --------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* --------- Responsive --------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stat-card:nth-child(3) { border-left: 0; }

  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .uc-panel.active { grid-template-columns: 1fr; gap: 28px; }
  .vps-inner { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .nav-desktop { display: none; }
  .hamburger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; padding: 0; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 56px; padding-bottom: 72px; }
  .display { font-size: clamp(2.1rem, 9vw, 3rem); }
  .problems-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-card { border-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .stat-card:first-child { border-top: 0; padding-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .uc-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .uc-tab { flex-shrink: 0; }
  .vps-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .modal-card { padding: 28px 22px; }

}

/* =========== SITE LOG SECTION =========== */
.site-log {
  padding: var(--sec-pad) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.site-log-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.site-log-copy h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 12px 0 20px;
}
.site-log-copy > p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.site-log-features {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-log-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.site-log-features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--amber);
}
.site-log-features li strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.site-log-features li span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Phone mockup */
.sl-phone {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 28px;
  border: 2px solid var(--border-strong);
  background: var(--bg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.sl-screen {
  padding: 24px 20px;
}
.sl-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.sl-site-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 4px;
}
.sl-time {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.sl-disclaimer {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.sl-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 8px;
}
.sl-disclaimer p:last-child {
  margin-bottom: 0;
}
.sl-disclaimer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.sl-disclaimer ul li {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 2px 0 2px 14px;
  position: relative;
}
.sl-disclaimer ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--amber);
}
.sl-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
}
.sl-check {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 2px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  transition: background 0.2s;
}
.sl-check.checked {
  background: var(--amber);
  color: #0b0f14;
}
.sl-check svg {
  width: 12px;
  height: 12px;
}
.sl-btn {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--amber);
  color: #0b0f14;
  border-radius: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.sl-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}
.sl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

@media (max-width: 760px) {
  .site-log-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-log-visual {
    order: -1;
  }
  .sl-phone {
    max-width: 280px;
  }
}

/* Asterisk & disclaimer notes */
.asterisk {
  color: var(--accent);
  font-size: 0.6em;
  vertical-align: super;
  line-height: 0;
}
.hero-asterisk {
  font-size: 0.82rem;
  color: var(--dim);
  margin-top: 1rem;
  line-height: 1.5;
}
.evac-note {
  font-size: 0.82rem;
  color: var(--dim);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

/* ===========================================================
   EVACUATION & SITE SAFETY
   =========================================================== */
.evac {
  padding: var(--sec-y) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.evac-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.evac-copy .eyebrow {
  color: #ef4444;
}
.evac-copy h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.evac-copy > p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.evac-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.evac-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.evac-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: #ef4444;
}
.evac-icon svg {
  width: 22px;
  height: 22px;
}
.evac-feat strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.evac-feat p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

/* Evacuation dashboard mockup */
.evac-dashboard {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}
.evac-dash-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ef4444;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.evac-live {
  margin-left: auto;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  animation: pulse-evac 2s ease-in-out infinite;
}
@keyframes pulse-evac {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.evac-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.evac-stat {
  background: var(--panel-2);
  border-radius: 10px;
  padding: 0.75rem;
  text-align: center;
}
.evac-stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
}
.evac-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.evac-stat-safe .evac-stat-num { color: #10b981; }
.evac-stat-missing .evac-stat-num { color: #ef4444; }

.evac-floors {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.evac-floor {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 0.75rem;
}
.evac-floor-name {
  font-size: 0.82rem;
  color: var(--text-2);
}
.evac-floor-bar {
  height: 6px;
  background: var(--panel-2);
  border-radius: 3px;
  overflow: hidden;
}
.evac-bar-fill {
  height: 100%;
  background: #10b981;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.evac-bar-warn {
  background: #ef4444;
}
.evac-floor-count {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.evac-warn {
  color: #ef4444;
  font-weight: 600;
}

.evac-unaccounted {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.evac-unaccounted strong {
  display: block;
  font-size: 0.82rem;
  color: #ef4444;
  margin-bottom: 0.6rem;
}
.evac-person {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-2);
  padding: 0.35rem 0;
}
.evac-person-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  animation: pulse-evac 2s ease-in-out infinite;
}
.evac-time {
  margin-left: auto;
  color: var(--dim);
  font-size: 0.75rem;
}

@media (max-width: 800px) {
  .evac-inner {
    grid-template-columns: 1fr;
  }
  .evac-dashboard {
    position: static;
  }
  .evac-floor {
    grid-template-columns: 80px 1fr 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
