/* ════════════════════════════════════════════════════════════
   Coating Inspector — Design System (AMPP CIP theme)
   Aesthetic: clean, technical, indigo-purple + pink blush.
   Palette: #1e1b4b · #4338ca · #6d70e0 · #c4b5fd · #f0abfc
   Type: Barlow Condensed (display) + Barlow (body).
   ════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* AMPP CIP brand palette */
  --deep:         #1e1b4b;
  --mid:          #4338ca;
  --cornflower:   #6d70e0;
  --lavender:     #c4b5fd;
  --blush:        #f0abfc;

  /* Paper & ink — clean white surface */
  --paper:        #ffffff;
  --paper-2:      #f8f7ff;     /* soft alt-section bg */
  --paper-3:      #ece9ff;
  --cream:        #ffffff;     /* cards */
  --bone:         rgba(99,91,195,0.15);
  --ink:          #1e1b4b;     /* primary text / dark sections */
  --ink-2:        #4338ca;     /* primary indigo */
  --graphite:     #6b7280;     /* secondary text */
  --steel:        #8b8fc7;
  --fog:          #b9bce8;

  /* Accents — names kept for backward compatibility.
     Action / emphasis = indigo (--mid); decorative pop = blush pink. */
  --ember:        #4338ca;     /* primary action + heading accent */
  --ember-deep:   #1e1b4b;     /* hover darken */
  --ember-soft:   #ece9ff;     /* soft tint bg */
  --rust:         #6d70e0;
  --accent:       #f0abfc;     /* pink blush — dots, glows */

  --moss:         #16a34a;     /* "pass" green */
  --moss-soft:    #dcfce7;

  --slate:        #4338ca;
  --slate-soft:   #ece9ff;

  --warn:         #b45309;
  --warn-soft:    #fde68a;

  --fail:         #dc2626;
  --fail-soft:    #fee2e2;

  /* Geometry */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 2px rgba(67,56,202,0.06), 0 1px 3px rgba(67,56,202,0.08);
  --shadow-2: 0 6px 28px rgba(67,56,202,0.12), 0 2px 8px rgba(67,56,202,0.08);
  --shadow-3: 0 24px 60px -28px rgba(30,27,75,0.40), 0 8px 16px -10px rgba(67,56,202,0.20);
  --shadow-phone: 0 50px 110px -40px rgba(30,27,75,0.45), 0 28px 56px -30px rgba(67,56,202,0.28);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { height: 100%; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* clean surface — no paper grain */
body::before { content: none; }

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

::selection { background: var(--mid); color: #fff; }

/* ─── Type system ─────────────────────────────────────────── */
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--deep);
}
.serif-italic {
  font-family: 'Barlow Condensed', sans-serif;
  font-style: normal;
  font-weight: 900;
  color: var(--mid);
}
.mono { font-family: 'Barlow', sans-serif; }

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  letter-spacing: -0.005em;
  line-height: 1.05;
}

/* heading accent words (markup uses <em>) — colour, not italic */
.display em, h1 em, h2 em, h3 em, h4 em,
.hero h1 em, .section-head h2 em, .cta-band h2 em {
  font-style: normal;
  font-weight: 900;
  color: var(--mid);
}

/* ─── Shell / containers ─────────────────────────────────── */
.container { width: min(1240px, 100% - 48px); margin-inline: auto; position: relative; z-index: 2; }
.container-wide { width: min(1440px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--mid);
  color: #fff;
  box-shadow: 0 0 24px rgba(67,56,202,0.25);
}
.btn-primary:hover { background: var(--deep); transform: translateY(-2px); box-shadow: 0 0 40px rgba(67,56,202,0.4); }
.btn-ghost {
  background: transparent;
  color: var(--deep);
  border: 1.5px solid var(--bone);
}
.btn-ghost:hover { border-color: var(--mid); color: var(--mid); background: transparent; transform: translateY(-2px); }
.btn-ember {
  background: var(--mid);
  color: #fff;
}
.btn-ember:hover { background: var(--deep); }
.btn-arrow { width: 18px; height: 12px; flex-shrink: 0; }

/* ─── Marker tag ─────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 6px 14px 5px;
  background: rgba(67,56,202,0.07);
  border: 1px solid rgba(67,56,202,0.2);
  border-radius: 999px;
}
.tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blush);
}

/* ═══ NAV ═══════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--bone);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--mid);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
}
.brand sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--graphite);
  text-transform: uppercase;
  margin-left: 4px;
  align-self: flex-end;
  padding-bottom: 3px;
}

/* Old-site wordmark logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: 26px; letter-spacing: 0.02em;
  text-transform: none; color: var(--deep);
}
.logo .brand-mark { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; object-fit: contain; }
.logo span { color: var(--cornflower); }

.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--graphite);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color .15s;
}
.nav-links a:hover { color: var(--mid); }

.nav-cta {
  background: var(--mid); color: #fff;
  padding: 9px 22px; border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--deep); transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border-radius: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px; background: var(--deep); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(30,27,75,0.98);
  flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem; padding-top: 80px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: #fff; transition: color .2s;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--blush); }
.mobile-menu .mobile-cta {
  background: var(--mid); color: #fff;
  padding: 0.8rem 2.3rem; border-radius: 6px; font-size: 1.3rem; margin-top: 0.4rem;
}

/* ═══ HERO ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}

.hero-eyebrow-row {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 26px;
}
.hero-eyebrow-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(67,56,202,0.25), transparent);
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(56px, 8vw, 116px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--deep);
}
.hero h1 em {
  font-style: normal;
  color: var(--mid);
  font-weight: 900;
}

.hero-lede {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 500px;
}

.hero-cta-row {
  display: flex; gap: 14px; align-items: center;
  margin-top: 38px;
}

.hero-meta {
  display: flex; gap: 28px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--bone);
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--mid);
  letter-spacing: 0;
  line-height: 1;
}
.hero-meta span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
}

/* Hero device showcase */
.hero-device-stage {
  position: relative;
  height: 720px;
  display: flex; align-items: flex-end; justify-content: flex-end;
}

/* ═══ PHONE FRAME ═══════════════════════════════════════════ */
.phone {
  width: 320px;
  height: 660px;
  background: var(--ink);
  border-radius: 44px;
  padding: 9px;
  box-shadow: var(--shadow-phone);
  position: relative;
  flex-shrink: 0;
}
.phone-sm { width: 270px; height: 552px; border-radius: 38px; padding: 7px; }
.phone::before {
  content: "";
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px;
  background: var(--ink);
  border-radius: 16px;
  z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}
.phone-sm .phone-screen { border-radius: 32px; }

.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.statusbar-icons { display: flex; gap: 5px; align-items: center; }
.statusbar-icons svg { width: 15px; height: 11px; }

/* Phone tilt frames in showcase */
.phone-tilt-l { transform: rotate(-3deg) translateY(20px); }
.phone-tilt-r { transform: rotate(3deg); }

/* Hero rotating phone */
.hero-device-stage .phone {
  transform: translateY(20px) rotate(-2deg);
  animation: phoneFloat 8s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(20px) rotate(-2deg); }
  50%      { transform: translateY(0) rotate(-2deg); }
}

/* Decorative hero elements */
.hero-deco-circle {
  position: absolute;
  top: 60px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(67,56,202,0.12);
  pointer-events: none;
}
.hero-deco-circle::after {
  content: "";
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px dashed rgba(240,171,252,0.35);
}

.hero-stamp {
  position: absolute;
  top: 110px; left: 52%;
  transform: rotate(-7deg);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mid);
  border: 1.5px solid var(--mid);
  border-radius: 6px;
  padding: 7px 12px 5px;
  text-transform: uppercase;
  background: #fff;
  pointer-events: none;
  z-index: 4;
}

/* ═══ SECTION SHELLS ═══════════════════════════════════════ */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.section-dark {
  background: var(--ink);
  color: var(--cream);
}
.section-dark .display, .section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .eyebrow { color: var(--fog); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 900;
  letter-spacing: -0.005em;
  line-height: 1.0;
  text-transform: uppercase;
}
.section-head h2 em { font-style: normal; color: var(--mid); }
.section-dark .section-head h2 em { color: var(--lavender); }
.section-head p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  max-width: 460px;
}
.section-dark .section-head p { color: rgba(255,255,255,0.7); }

/* ═══ FEATURE CARDS ═══════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: var(--radius-lg);
  padding: 34px 30px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(67,56,202,0.3); box-shadow: var(--shadow-2); }

.feature-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--cornflower);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.feature-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  color: var(--deep);
}
.feature-card p {
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.6;
}
.feature-card .feature-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(67,56,202,0.08);
  border: 1px solid rgba(67,56,202,0.12);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.feature-card .feature-icon svg { width: 22px; height: 22px; stroke: var(--mid); }

.feature-card.span-6 { grid-column: span 6; }
.feature-card.span-4 { grid-column: span 4; }
.feature-card.span-8 { grid-column: span 8; }
.feature-card.span-12 { grid-column: span 12; }

.feature-card.feat-photo {
  background: linear-gradient(140deg, var(--deep) 0%, var(--mid) 100%);
  color: #fff;
  min-height: 380px;
  padding: 36px;
  overflow: hidden;
}
.feature-card.feat-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 70% 30%, rgba(240,171,252,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.feature-card.feat-photo h3 { color: #fff; }
.feature-card.feat-photo .feature-num { color: var(--lavender); position: relative; z-index: 1; }
.feature-card.feat-photo p { color: rgba(255,255,255,0.75); position: relative; z-index: 1; }
.feature-card.feat-photo h3 { position: relative; z-index: 1; }
.feature-card.feat-photo .feature-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); position: relative; z-index: 1; }
.feature-card.feat-photo .feature-icon svg { stroke: var(--lavender); }

.feature-card.feat-weather {
  background: var(--paper-2);
  min-height: 380px;
}

/* ═══ MOBILE SCREEN MOCKUPS ═══════════════════════════════ */
.screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.screen-card .phone-sm {
  margin-bottom: 18px;
}
.screen-card-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 4px;
}
.screen-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
}

/* ═══ MOBILE APP UI (inside phone screens) ═══════════════ */
/* Reused for landing & demo */
.app-screen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  background: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: var(--ink);
}

.app-statusbar {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.app-header {
  flex-shrink: 0;
  padding: 16px 22px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.app-header .app-greeting,
.app-header h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}
.app-header .app-greeting em,
.app-header h1 em { color: var(--ember); font-style: normal; }
.app-header .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ember), var(--rust));
  color: var(--cream);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Barlow Condensed', sans-serif;
}

.app-body { flex: 1; overflow: hidden; padding: 0 18px 12px; }

.kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

/* In-app cards */
.app-card {
  background: var(--cream);
  border: 1px solid rgba(17,17,132,0.08);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.app-card-dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.app-card-ember { background: var(--ember); color: var(--cream); border-color: var(--ember); }

.proj-row {
  display: flex; gap: 12px; align-items: flex-start;
}
.proj-thumb {
  width: 46px; height: 46px;
  border-radius: 10px;
  flex-shrink: 0;
  background-size: cover; background-position: center;
}
.proj-info { flex: 1; min-width: 0; }
.proj-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.proj-meta {
  font-size: 11px;
  color: var(--steel);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
}
.proj-stat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--graphite);
  margin-top: 6px;
}

/* Pills / badges */
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px 3px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
}
.pill-ember { background: var(--ember-soft); color: var(--ember-deep); }
.pill-moss  { background: var(--moss-soft); color: var(--moss); }
.pill-warn  { background: var(--warn-soft); color: var(--warn); }
.pill-fail  { background: var(--fail-soft); color: var(--fail); }
.pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  opacity: .7;
}

/* Tab bar */
.app-tabbar {
  flex-shrink: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 8px 14px 16px;
  border-top: 1px solid rgba(17,17,132,0.08);
  background: var(--cream);
}
.app-tabbar button {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 6px 4px;
}
.app-tabbar svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.app-tabbar .center {
  background: var(--ember); color: var(--cream);
  border-radius: 18px;
  padding: 8px 6px;
  margin: -16px 4px 0;
  box-shadow: 0 8px 18px -8px var(--ember);
}
.app-tabbar button.active { color: var(--ink); }

/* ═══ DASHBOARD SCREEN ═══════════════════════════════════ */
.dash-stat {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,17,132,0.08);
  margin-bottom: 8px;
}
.dash-stat .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.dash-stat .num em { color: var(--ember);  }
.dash-stat .lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Test runner screen */
.dft-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  margin: 18px auto;
  background:
    conic-gradient(var(--ember) 0% 75%, rgba(17,17,132,0.08) 75% 100%);
  display: grid; place-items: center;
  position: relative;
}
.dft-circle::before {
  content: "";
  position: absolute; inset: 12px;
  border-radius: 50%;
  background: var(--cream);
}
.dft-circle .dft-val {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1;
}
.dft-circle .dft-val small {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--graphite);
  margin-top: 4px;
  text-transform: uppercase;
}

.measure-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(17,17,132,0.12);
  font-size: 12px;
}
.measure-row:last-child { border: 0; }
.measure-row .v {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--ink);
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.photo-grid > div {
  aspect-ratio: 1;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Weather widget */
.weather-widget {
  background: linear-gradient(150deg, #f8f7ff 0%, #ece9ff 55%, #dcd9ff 100%);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(17,17,132, 0.08);
}
.weather-widget .temp {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.weather-widget .kicker { color: var(--graphite) !important; }
.weather-widget .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 12px; }
.weather-widget .grid2 div { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; color: var(--ink); }
.weather-widget .grid2 small { display: block; color: var(--graphite); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }

/* ═══ TECH STACK SECTION ═══════════════════════════════════ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.stack-cell {
  background: var(--ink);
  padding: 36px 30px;
}
.stack-cell .stack-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.18em;
  margin-bottom: 24px;
}
.stack-cell h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.stack-cell h4 em { color: var(--ember);  }
.stack-cell p {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}
.stack-cell .stack-cost {
  margin-top: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--ember);
  letter-spacing: 0.04em;
}

/* ═══ STANDARDS BAND ═══════════════════════════════════════ */
.standards-band {
  background: var(--paper-2);
  padding: 48px 0;
  overflow: hidden;
}
.standards-track {
  display: flex; gap: 48px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.standards-track > span {
  display: flex; align-items: center; gap: 48px;
}
.standards-track > span::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--blush);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ WORKFLOW STRIP ═══════════════════════════════════════ */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.workflow-step {
  position: relative;
  padding-top: 40px;
}
.workflow-step::before {
  content: "";
  position: absolute;
  top: 14px; left: 0; right: -24px;
  height: 1px;
  background: rgba(17,17,132,0.18);
}
.workflow-step:last-child::before { right: 0; }
.workflow-step::after {
  content: "";
  position: absolute;
  top: 11px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blush);
}
.workflow-step .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--graphite);
  margin-bottom: 10px;
}
.workflow-step h4 {
  font-size: 20px;
  margin-bottom: 6px;
}
.workflow-step p {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.55;
}
.section-dark .workflow-step::before { background: rgba(255,255,255,0.18); }
.section-dark .workflow-step .num { color: var(--steel); }
.section-dark .workflow-step p { color: var(--steel); }

/* ═══ TESTIMONIAL ═══════════════════════════════════════ */
.quote-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quote-block blockquote {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote-block blockquote em {
  
  color: var(--ember);
}
.cite {
  margin-top: 28px;
  display: flex; gap: 12px; align-items: center;
}
.cite .av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--graphite), var(--ink));
  color: var(--cream);
  display: grid; place-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
}
.cite-info span { display: block; font-size: 14px; }
.cite-info small { font-family: 'Barlow Condensed', sans-serif; font-size: 10px; color: var(--graphite); letter-spacing: 0.1em; text-transform: uppercase; }

/* ═══ CTA BAND ═══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 60%, var(--cornflower) 100%);
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(240,171,252,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -0.005em;
  line-height: 1.0;
  text-transform: uppercase;
  color: #fff;
  position: relative;
}
.cta-band h2 em { color: var(--lavender); }
.cta-band p {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 540px;
  margin-inline: auto;
  color: rgba(255,255,255,0.8);
  position: relative;
}
.cta-band .cta-row {
  margin-top: 38px;
  display: flex; gap: 14px; justify-content: center;
  position: relative;
}
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--deep); box-shadow: 0 0 30px rgba(255,255,255,0.25); }
.cta-band .btn-primary:hover { background: var(--lavender); color: var(--deep); }

/* ═══ FOOTER ═══════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--paper-3); transition: color .15s; }
.footer ul a:hover { color: var(--ember); }
.footer-brand p { color: var(--steel); margin-top: 16px; max-width: 320px; font-size: 14px; line-height: 1.6; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 56px;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.1em;
}

/* ═══ DEMO PAGE STYLES ═════════════════════════════════ */
.demo-shell {
  min-height: 100vh;
  display: flex;
  align-items: center; justify-content: center;
  padding: 48px 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,143,0,0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(44,57,64,0.1), transparent 50%),
    var(--paper);
}
.demo-frame {
  display: grid;
  grid-template-columns: 280px 360px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}
.demo-side h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 18px;
}
.demo-side h1 em {  color: var(--ember); }
.demo-side p { font-size: 15px; color: var(--graphite); line-height: 1.55; }

.demo-screens-list {
  margin-top: 32px;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(17,17,132,0.12);
}
.demo-screens-list button {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17,17,132,0.12);
  text-align: left;
  width: 100%;
  font-size: 14px;
  color: var(--graphite);
  transition: color .15s;
}
.demo-screens-list button .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--steel);
}
.demo-screens-list button.active { color: var(--ember); }
.demo-screens-list button.active .num { color: var(--ember); }
.demo-screens-list button:hover { color: var(--ink); }

.demo-phone {
  width: 360px; height: 740px;
  background: var(--ink);
  border-radius: 50px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  position: relative;
}
.demo-phone::before {
  content: "";
  position: absolute;
  top: 24px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px;
  background: var(--ink);
  border-radius: 18px;
  z-index: 5;
}
.demo-phone-screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 41px;
  overflow: hidden;
  position: relative;
}
.demo-phone-screen .app-screen { display: none; }
.demo-phone-screen .app-screen.active { display: flex; animation: screenIn .35s ease; }
@keyframes screenIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-aside {
  align-self: stretch;
  display: flex; flex-direction: column;
  padding: 32px 0;
}
.demo-aside .demo-meta-card {
  border: 1px solid rgba(17,17,132,0.12);
  border-radius: 14px;
  padding: 22px;
  background: var(--cream);
  margin-bottom: 16px;
}
.demo-aside .demo-meta-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.demo-aside .demo-meta-card p {
  font-size: 13px;
  color: var(--graphite);
  line-height: 1.55;
}
.demo-aside .specs li {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(17,17,132,0.12);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.demo-aside .specs li:last-child { border: 0; }
.demo-aside .specs li span:last-child { color: var(--ember); }

/* ═══ RESPONSIVE ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-device-stage { height: auto; justify-content: center; padding: 40px 0; }
  .feature-card.span-6, .feature-card.span-4, .feature-card.span-8 { grid-column: span 12; }
  .screens-row { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .quote-block { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .demo-frame { grid-template-columns: 1fr; gap: 24px; }
  .demo-aside { display: none; }
  .section-head { grid-template-columns: 1fr; gap: 28px; }
}
/* ════════════════════════════════════════════════════════════
   Additions — Coating Inspector (platforms, split, tools, pricing, FAQ)
   ════════════════════════════════════════════════════════════ */

/* Platform band */
.platform-band { border-top: 1px solid var(--bone); border-bottom: 1px solid var(--bone); background: var(--cream); }
.platform-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding: 26px 0; }
.platform-row .lbl { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite); }
.platform-chip { display: inline-flex; align-items: center; gap: 9px; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; color: var(--ink); }
.platform-chip svg { width: 20px; height: 20px; }

/* Two-purpose split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.split-card { background: var(--cream); border: 1px solid var(--bone); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.split-card.dark { background: linear-gradient(150deg, var(--deep), #15123a); color: var(--cream); border-color: transparent; }
.split-card .split-kicker { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember); }
.split-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; margin: 12px 0 12px; letter-spacing: -0.02em; }
.split-card.dark h3, .split-card.dark p { color: var(--cream); }
.split-card ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.split-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.split-card li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; background: var(--ember); }
.split-card.dark li::before { background: var(--blush); }

/* Tools cloud */
.tool-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tool-chip { font-family: 'Barlow Condensed', sans-serif; font-size: 12.5px; letter-spacing: 0.01em; padding: 9px 14px; border-radius: 100px; background: var(--cream); border: 1px solid var(--bone); color: var(--ink-2); box-shadow: var(--shadow-1); }
.tool-chip strong { color: var(--blush); font-weight: 500; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.price-card { background: var(--cream); border: 1px solid var(--bone); border-radius: var(--radius-lg); padding: 34px 32px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.price-card.feature { border-color: var(--ember); box-shadow: var(--shadow-2); position: relative; }
.price-tag { position: absolute; top: 20px; right: 24px; }
.price-name { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.price-amt { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; letter-spacing: -0.03em; margin: 12px 0 2px; color: var(--ink); }
.price-amt small { font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--graphite); letter-spacing: 0; }
.price-sub { font-size: 13px; color: var(--graphite); }
.price-card ul { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.4; }
.price-card li svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: var(--moss); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 40px; }
.faq-item { border-top: 1px solid var(--bone); padding-top: 18px; }
.faq-item h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.faq-item p { font-size: 14.5px; color: var(--graphite); line-height: 1.55; }

@media (max-width: 860px) {
  .split-grid, .price-grid, .faq-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   Additions — App Preview (screenshots), Get Started Today,
   ported from the previous site and re-themed to the new system.
   ════════════════════════════════════════════════════════════ */

/* ─── APP PREVIEW / SCREENSHOTS ─── */
.screenshots-section { background: var(--paper); overflow: visible; }
.shots-lede { color: var(--graphite); font-size: 17px; line-height: 1.7; max-width: 580px; margin-top: 16px; }

.device-toggle {
  display: inline-flex; gap: 0.3rem; margin-top: 26px;
  padding: 0.3rem; background: rgba(67,56,202,0.06);
  border: 1px solid var(--bone); border-radius: 100px;
}
.device-toggle-btn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--graphite); padding: 0.5rem 1.4rem; border-radius: 100px;
  transition: all 0.2s; min-height: 40px;
}
.device-toggle-btn.active { background: var(--mid); color: #fff; box-shadow: 0 4px 14px rgba(67,56,202,0.3); }
.device-toggle-btn:hover:not(.active) { color: var(--mid); }

.screenshots-track-wrap {
  margin-top: 2.4rem; overflow-x: auto; padding-bottom: 1.5rem;
  scrollbar-width: thin; scrollbar-color: rgba(67,56,202,0.3) transparent;
  -webkit-overflow-scrolling: touch;
}
.screenshots-track-wrap::-webkit-scrollbar { height: 4px; }
.screenshots-track-wrap::-webkit-scrollbar-track { background: transparent; }
.screenshots-track-wrap::-webkit-scrollbar-thumb { background: rgba(67,56,202,0.35); border-radius: 4px; }
.screenshots-track { display: flex; gap: 1.6rem; width: max-content; padding: 1rem 0.5rem 0.5rem; align-items: flex-start; }
.screenshot-frame {
  flex-shrink: 0; width: 210px; cursor: pointer;
  transition: transform 0.25s ease;
}
.screenshot-frame:hover { transform: translateY(-8px) scale(1.03); }
.screenshot-frame:hover .screenshot-caption { color: var(--mid); }
.screenshot-frame img {
  width: 100%; height: auto; display: block; background: transparent; object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(67,56,202,0.22));
}
.screenshot-frame.ipad { width: 320px; }
.screenshot-caption {
  text-align: center; font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem; color: var(--graphite);
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.9rem 0.5rem 0;
}
[hidden] { display: none !important; }

/* ─── SCREENSHOT MODAL ─── */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(15,12,41,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  align-items: center; justify-content: center; flex-direction: column; gap: 1.2rem; padding: 1rem;
}
.modal-backdrop.active { display: flex; animation: modalFadeIn 0.2s ease; }
@keyframes modalFadeIn { from { opacity:0; } to { opacity:1; } }
.modal-phone-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  animation: modalSlideUp 0.28s cubic-bezier(0.34,1.56,0.64,1); max-height: calc(100vh - 120px);
}
@keyframes modalSlideUp {
  from { opacity:0; transform:translateY(40px) scale(0.92); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.modal-screen { position: relative; display: flex; align-items: center; justify-content: center; }
.modal-screen img {
  height: calc(100vh - 170px); max-height: 860px; width: auto; max-width: 92vw;
  object-fit: contain; display: block; background: transparent;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.55)) drop-shadow(0 0 50px rgba(109,112,224,0.18));
  transition: opacity 0.15s ease;
}
.modal-caption {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blush); text-align: center;
}
.modal-counter { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-align: center; margin-top: -0.4rem; }
.modal-close {
  position: fixed; top: 1.2rem; right: 1.2rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 1rem; width: 44px; height: 44px; border-radius: 50%;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; z-index: 10;
}
.modal-close:hover { background: rgba(109,112,224,0.3); border-color: var(--cornflower); color: var(--lavender); }
.modal-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 2.2rem; width: 52px; height: 52px; border-radius: 50%;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; z-index: 10;
}
.modal-nav:hover { background: rgba(109,112,224,0.22); border-color: var(--cornflower); color: var(--lavender); }
.modal-prev { left: 1.5rem; }
.modal-next { right: 1.5rem; }

/* ─── GET STARTED TODAY ─── */
.getstarted-section {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 60%, var(--cornflower) 100%);
  padding: 110px 0; position: relative; overflow: hidden; text-align: center;
}
.getstarted-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(240,171,252,0.18) 0%, transparent 70%);
}
.getstarted-desc {
  color: rgba(255,255,255,0.78); font-size: 18px; line-height: 1.7;
  max-width: 540px; margin: 22px auto 36px;
}
.getstarted-disclaimer {
  color: rgba(255,255,255,0.5); font-size: 0.78rem; line-height: 1.6;
  max-width: 560px; margin: 2rem auto 0;
}
.store-badges { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 0.7rem 1.3rem; border-radius: 10px; color: #fff;
  transition: all 0.2s; min-height: 52px;
}
.store-badge:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.store-badge-text small { font-size: 0.66rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }
.store-badge-text strong { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; }

/* ─── RESPONSIVE: nav drawer + screenshots ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  /* Keep the primary download CTA visible on mobile */
  .nav-cta { padding: 8px 14px; font-size: 13px; margin-left: auto; margin-right: 6px; }
}
@media (max-width: 768px) {
  .screenshot-frame { width: 170px; }
  .screenshot-frame.ipad { width: 250px; }
  .modal-prev { left: 0.3rem; width: 44px; height: 44px; font-size: 1.6rem; }
  .modal-next { right: 0.3rem; width: 44px; height: 44px; font-size: 1.6rem; }
  .modal-screen img { height: calc(100dvh - 150px); max-width: 86vw; }
}


/* ═══ Build 06 additions ══════════════════════════════════ */

/* Skip link (a11y) */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--mid); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px;
}
.skip-link:focus { left: 0; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mid);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Active nav link */
.nav-links a.active { color: var(--mid); }

/* Hide screenshot frames whose image files are missing */
.screenshot-frame.missing { display: none; }

/* Merged closing CTA — web-app row */
.getstarted-webrow {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  margin-top: 26px;
}
.getstarted-webrow .btn-primary {
  background: #fff; color: var(--deep);
  box-shadow: 0 0 30px rgba(255,255,255,0.22);
}
.getstarted-webrow .btn-primary:hover { background: var(--lavender); color: var(--deep); }
.getstarted-webnote {
  font-size: 14px; color: rgba(255,255,255,0.65);
}

/* Scroll-reveal (only when JS opts in; reduced motion never opts in) */
body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
body.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* Log in nav link */
.nav-login {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--graphite);
  margin-right: 14px;
  transition: color .15s;
}
.nav-login:hover { color: var(--mid); }
@media (max-width: 900px) { .nav-login { display: none; } }


/* ═══ Build 10 — mobile optimization (≤640px) ═════════════ */
@media (max-width: 640px) {
  /* tighter rhythm */
  .section { padding: 64px 0; }
  .section-tight { padding: 52px 0; }
  .hero { padding: 44px 0 36px; }
  .container { width: min(1240px, 100% - 36px); }

  /* hero */
  .hero h1 { font-size: clamp(44px, 13vw, 56px); }
  .hero-lede { font-size: 16px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
  .hero-cta-row .btn { justify-content: center; }
  .hero-meta { gap: 18px; margin-top: 36px; padding-top: 22px; flex-wrap: wrap; }
  .hero-meta strong { font-size: 26px; }
  .hero-device-stage { padding: 12px 0 0; }
  .phone { width: 280px; height: 578px; }
  .hero-deco-circle { display: none; }

  /* marquee */
  .standards-track { font-size: 20px; gap: 28px; }
  .standards-track > span { gap: 28px; }

  /* content grids */
  .workflow { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-card { padding: 26px 22px; }
  .feature-card.feat-photo { min-height: 0; }
  .feat-photo > div[style] { display: none !important; } /* decorative polaroids off (beats inline style) */

  /* screenshots + CTA */
  .shots-lede { font-size: 15px; }
  .getstarted-webrow { flex-direction: column; gap: 10px; }
  .getstarted-webrow .btn { justify-content: center; width: 100%; max-width: 340px; }
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 340px; justify-content: center; }

  /* comfortable tap targets */
  .mobile-menu a { padding: 6px 0; }
  .device-toggle-btn { min-height: 44px; }
}


/* ═══ Mobile nav compaction (≤640px) ═══ */
@media (max-width: 640px) {
  .nav-inner { padding: 12px 0; gap: 8px; }
  .logo { font-size: 19px; gap: 7px; min-width: 0; }
  .logo .brand-mark { width: 26px; height: 26px; }
  .nav-cta { padding: 8px 12px; font-size: 12.5px; margin-right: 2px; letter-spacing: 0.04em; }
  .nav-hamburger { width: 40px; height: 40px; flex-shrink: 0; }
}
@media (max-width: 360px) {
  .logo { font-size: 17px; }
  .nav-cta { padding: 7px 10px; font-size: 12px; }
}


/* Comfortable tap targets on touch layouts */
@media (max-width: 900px) {
  .footer ul a { display: inline-block; padding: 6px 0; }
  .faq-item h4 { padding-top: 2px; }
  .tool-chip { padding-top: 8px; padding-bottom: 8px; }
}


/* ═══ Build 10 — mobile optimization ══════════════════════ */

/* No grey tap flash on iOS/Android */
a, button { -webkit-tap-highlight-color: transparent; }

/* Balanced multi-line headings */
.display, .section-head h2, .hero h1 { text-wrap: balance; }

/* Swipeable screenshot track: snap per frame, momentum scroll */
.screenshots-track-wrap { scroll-snap-type: x proximity; }
.screenshot-frame { scroll-snap-align: center; }

@media (max-width: 640px) {
  /* shorter sticky nav on mobile */
  html { scroll-padding-top: 68px; }

  /* let the hero headline wrap naturally instead of forced breaks */
  .hero h1 br { display: none; }
  .hero h1 { line-height: 1.02; }

  /* section headings a touch smaller for phone rhythm */
  .section-head h2 { font-size: clamp(34px, 10vw, 48px); }
  .section-head p { font-size: 15.5px; }

  /* split cards + pricing breathing room */
  .split-card { padding: 28px 22px; }
  .price-card { padding: 28px 22px; }

  /* getstarted headline: inline clamp overridden for phones */
  .getstarted-section h2.display { font-size: clamp(34px, 11vw, 48px) !important; }
  .getstarted-desc { font-size: 15.5px; }
  .getstarted-disclaimer { font-size: 12px; }

  /* workflow steps compact */
  .workflow-step { padding: 20px 18px; }

  /* marquee slightly slower repaint area */
  .standards-track { font-size: 18px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: clamp(38px, 12.5vw, 44px); }
  .hero-meta { gap: 14px; }
  .hero-meta strong { font-size: 22px; }
}


/* ═══ Build 11 — hero real screenshots ════════════════════ */
.hero-shots {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 0;
}
.hero-shots img {
  width: 200px;
  display: block;
  /* screenshots include their own phone bezel — no extra frame */
  filter: drop-shadow(0 26px 40px rgba(26,22,68,0.30));
}
/* center shot forward, sides tucked + tilted */
.hero-shots img:nth-child(1) { transform: rotate(-6deg) translateX(26px) translateY(6px); z-index: 1; }
.hero-shots img:nth-child(2) { width: 225px; z-index: 3; position: relative; }
.hero-shots img:nth-child(3) { transform: rotate(6deg) translateX(-26px) translateY(6px); z-index: 2; }

@media (max-width: 1100px) {
  .hero-shots img { width: 165px; }
  .hero-shots img:nth-child(2) { width: 200px; }
}
@media (max-width: 640px) {
  .hero-shots img { width: 31vw; max-width: 135px; }
  .hero-shots img:nth-child(2) { width: 37vw; max-width: 165px; }
  .hero-shots img:nth-child(1) { transform: rotate(-6deg) translateX(18px) translateY(5px); }
  .hero-shots img:nth-child(3) { transform: rotate(6deg) translateX(-18px) translateY(5px); }
}
/* hide broken frames until files exist */
.hero-shots img.missing { visibility: hidden; }


/* ═══ Build 17 — hero feature callouts ════════════════════ */
.hero-chip {
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--bone);
  border-radius: 100px;
  padding: 8px 14px 6px;
  box-shadow: 0 10px 24px rgba(26,22,68,0.12);
  pointer-events: none;
  z-index: 4;
  white-space: nowrap;
}
.hero-chip::before {
  content: ""; display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mid); margin-right: 8px;
  vertical-align: 1px;
}
.hero-chip-a { top: 26%; left: -6px; transform: rotate(-4deg); }
.hero-chip-b { top: 52%; right: -14px; transform: rotate(3deg); }
.hero-chip-c { bottom: 8%; left: 4%; transform: rotate(2deg); }
.hero-chip-b::before { background: var(--ember, #f0abfc); }

@media (max-width: 1100px) {
  .hero-chip-a { left: 2%; }
  .hero-chip-b { right: 2%; }
}
@media (max-width: 640px) {
  .hero-chip { font-size: 11px; padding: 6px 11px 5px; }
  .hero-chip-a { top: 18%; left: 0; }
  .hero-chip-b { top: 48%; right: 0; }
  .hero-chip-c { bottom: 4%; left: 2%; }
}
