/* ============================================================
   SOLID ROCK DIGITAL — Shared Stylesheet
   Brand: Deep Navy / Metallic Silver / Crisp White
   Simple, spacious, friendly. Built for Abilene businesses.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:        #0B1F3A;
  --navy-mid:    #122B4E;
  --navy-dark:   #071626;
  --silver-100:  #F8FAFC;
  --silver-200:  #E2E8F0;
  --silver-300:  #C5CDD8;
  --silver-400:  #94A3B8;
  --white:       #FFFFFF;
  --text:        #1A2B42;
  --text-soft:   #4B5D73;
  --text-muted:  #6B7E95;
  --border:      #E2E8F0;
  --border-soft: rgba(197,205,216,0.4);
  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 1px 4px rgba(7,20,38,0.07);
  --shadow-md:   0 4px 20px rgba(7,20,38,0.11);
  --shadow-lg:   0 8px 36px rgba(7,20,38,0.17);
  --font:        'Plus Jakarta Sans', system-ui, sans-serif;
  --mono:        'JetBrains Mono', 'Courier New', monospace;
  --nav-h:       68px;
  --nav-h-mob:   60px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--text-soft); line-height: 1.72; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--silver-400);
  display: block;
  margin-bottom: 14px;
}

/* ── Layout ────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 600px) { .wrap { padding: 0 18px; } }

section { padding: 92px 0; }
@media (max-width: 860px) { section { padding: 60px 0; } }

.section-header { max-width: 580px; margin-bottom: 56px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1.08rem; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  min-height: 48px;
  text-decoration: none;
  font-family: var(--font);
}
.btn-primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--silver-200);
  border-color: var(--silver-200);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--silver-200);
  border-color: rgba(197,205,216,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: var(--silver-300);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--silver-100);
  border-color: var(--silver-300);
}

/* ── Preview Bar ───────────────────────────────────────── */
#previewBar {
  display: none;
  background: #0B1F3A;
  color: #F8FAFC;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 7px 16px;
  letter-spacing: 0.05em;
}
#previewBar.visible { display: block; }

/* ── Site Header ───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(197,205,216,0.15);
  display: flex;
  align-items: center;
  transition: box-shadow 0.22s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 28px rgba(7,20,38,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg,
.logo-hex { width: 40px; height: 40px; display: block; }
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}
.brand-name {
  font-family: 'Michroma', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
}
.brand-sub {
  font-family: 'Michroma', sans-serif;
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--silver-300);
  text-transform: uppercase;
  line-height: 1;
}
.logo-name {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}
.logo-name span {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--silver-400);
  font-family: var(--mono);
  margin-top: 3px;
  text-transform: uppercase;
}

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-300);
  padding: 8px 16px;
  border-radius: 7px;
  transition: all 0.18s var(--ease);
  text-decoration: none;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* Desktop right cluster */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-400);
  transition: color 0.18s;
  white-space: nowrap;
  text-decoration: none;
}
.header-phone:hover { color: var(--white); }
.header-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--white);
  padding: 9px 20px;
  border-radius: 7px;
  transition: all 0.18s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--silver-200);
  transform: translateY(-1px);
}

/* Mobile header */
.mobile-right {
  display: none;
  align-items: center;
  gap: 10px;
}
.hamburger-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 7px;
  transition: background 0.18s;
}
.hamburger-btn:hover { background: rgba(255,255,255,0.08); }
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--silver-300);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  transform-origin: center;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: var(--nav-h-mob);
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
}
.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--silver-200);
  padding: 16px 8px;
  border-radius: var(--radius);
  transition: all 0.18s;
  min-height: 56px;
  display: flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid rgba(197,205,216,0.08);
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-actions {
  padding-top: 28px;
  border-top: 1px solid rgba(197,205,216,0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  min-height: 52px;
  text-decoration: none;
  transition: all 0.18s;
}
.mobile-action-call {
  background: rgba(255,255,255,0.08);
  color: var(--silver-200);
  border: 1px solid rgba(197,205,216,0.2);
}
.mobile-action-call:hover { background: rgba(255,255,255,0.13); color: var(--white); }
.mobile-action-primary {
  background: var(--white);
  color: var(--navy);
}
.mobile-action-primary:hover { background: var(--silver-200); }

/* Show/Hide responsive */
@media (min-width: 860px) {
  .mobile-right { display: none !important; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 859px) {
  .desktop-nav { display: none; }
  .header-right { display: none; }
  .mobile-right { display: flex; }
  .site-header { height: var(--nav-h-mob); }
  .header-inner { padding: 0 16px; }
}

/* Page offset */
.page-wrap { padding-top: var(--nav-h); }
@media (max-width: 859px) { .page-wrap { padding-top: var(--nav-h-mob); } }

/* anchor scroll offset */
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
@media (max-width: 859px) { [id] { scroll-margin-top: calc(var(--nav-h-mob) + 12px); } }

/* ── Hero (Navy) ───────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 96px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,205,216,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,205,216,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(197,205,216,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 em {
  font-style: normal;
  color: var(--silver-300);
}
.hero-subhead {
  font-size: 1.1rem;
  color: var(--silver-300);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-subhead strong { color: var(--white); font-weight: 700; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Phone Mockup (Hero Visual) ───────────────────────── */
.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 240px;
  background: var(--navy-dark);
  border: 2.5px solid rgba(197,205,216,0.25);
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 32px 72px rgba(0,0,0,0.5), inset 0 1px 0 rgba(197,205,216,0.08);
}
.phone-screen {
  background: #111827;
  border-radius: 32px;
  overflow: hidden;
}
.phone-notch-bar {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
}
.phone-notch-pill {
  width: 72px; height: 9px;
  background: var(--navy-dark);
  border-radius: 10px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 2px 18px 6px;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  font-family: var(--mono);
}
.sms-wrap { padding: 10px 12px 20px; display: flex; flex-direction: column; gap: 8px; }
.sms-label {
  font-family: var(--mono);
  font-size: 0.57rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
  padding-bottom: 6px;
}
.sms-bubble {
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 0.7rem;
  line-height: 1.4;
  font-weight: 500;
  max-width: 86%;
}
.sms-in {
  background: rgba(197,205,216,0.1);
  color: rgba(255,255,255,0.65);
  border-radius: 16px 16px 16px 4px;
  align-self: flex-start;
}
.sms-out {
  background: #163a6e;
  color: rgba(255,255,255,0.9);
  border-radius: 16px 16px 4px 16px;
  align-self: flex-end;
}
.sms-confirmed {
  background: rgba(45,106,79,0.22);
  border: 1px solid rgba(45,106,79,0.4);
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  align-self: stretch;
}
.sms-confirmed-icon {
  width: 18px; height: 18px;
  background: rgba(45,106,79,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
}
.sms-time {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.28);
  align-self: center;
}

/* ── What We Build Cards ───────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; color: var(--silver-300); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }

/* ── Quick Demo Section ────────────────────────────────── */
.demo-section {
  background: var(--silver-100);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) { .demo-layout { grid-template-columns: 1fr; gap: 36px; } }

.demo-controls { display: flex; flex-direction: column; gap: 20px; }
.demo-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.demo-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-pill {
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--white);
  transition: all 0.18s var(--ease);
  cursor: pointer;
}
.demo-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.demo-pill:hover:not(.active) { border-color: var(--navy); color: var(--navy); }

.demo-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-simulate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  min-height: 48px;
  transition: all 0.18s var(--ease);
  cursor: pointer;
  font-family: var(--font);
}
.demo-simulate:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.demo-simulate:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.demo-reset {
  display: inline-flex;
  align-items: center;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--white);
  transition: all 0.18s;
  cursor: pointer;
  min-height: 48px;
  font-family: var(--font);
}
.demo-reset:hover { border-color: var(--navy); color: var(--navy); }

/* Demo phone */
.demo-phone-wrap { display: flex; justify-content: center; }
.demo-phone {
  width: 280px;
  background: var(--navy-dark);
  border: 2px solid rgba(197,205,216,0.2);
  border-radius: 32px;
  padding: 20px 16px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
}
.demo-phone-header {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(197,205,216,0.4);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197,205,216,0.07);
  margin-bottom: 10px;
}
.demo-feed { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.demo-msg {
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.4;
  max-width: 86%;
}
.demo-msg-in {
  background: rgba(197,205,216,0.1);
  color: rgba(255,255,255,0.65);
  align-self: flex-start;
  border-radius: 14px 14px 14px 3px;
}
.demo-msg-out {
  background: #163a6e;
  color: rgba(255,255,255,0.9);
  align-self: flex-end;
  border-radius: 14px 14px 3px 14px;
}
.demo-msg-sys {
  background: rgba(45,106,79,0.18);
  border: 1px solid rgba(45,106,79,0.35);
  color: rgba(255,255,255,0.75);
  align-self: center;
  text-align: center;
  border-radius: 10px;
  font-size: 0.68rem;
  max-width: 95%;
}
.demo-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(197,205,216,0.08);
  border-radius: 14px 14px 14px 3px;
  align-self: flex-start;
}
.demo-typing span {
  width: 6px; height: 6px;
  background: rgba(197,205,216,0.5);
  border-radius: 50%;
  animation: typing-dot 1.4s ease-in-out infinite;
}
.demo-typing span:nth-child(2) { animation-delay: 0.2s; }
.demo-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.demo-appear { animation: fadeUp 0.35s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.demo-idle-hint {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(197,205,216,0.3);
  text-align: center;
  margin-top: 12px;
}

/* ── Bottom CTA Band ───────────────────────────────────── */
.cta-band {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,205,216,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,205,216,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: var(--silver-300); font-size: 1.08rem; max-width: 500px; margin: 0 auto 36px; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Page Hero (sub-pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,205,216,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,205,216,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: var(--silver-300); font-size: 1.08rem; max-width: 580px; }

.legal-doc {
  max-width: 760px;
  padding: 12px 0 64px;
}
.legal-doc h2 {
  margin: 36px 0 12px;
  color: var(--navy);
  font-size: 1.25rem;
}
.legal-doc p, .legal-doc li {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 0.98rem;
}
.legal-doc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 16px;
}
.legal-doc a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-updated {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── Work / Portfolio ──────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.portfolio-preview {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
  overflow: hidden;
}
.portfolio-preview--roofing { background: linear-gradient(135deg, #0B1F3A 0%, #1a3a5c 100%); }
.portfolio-preview--medspa  { background: linear-gradient(135deg, #0d1f2d 0%, #122B4E 100%); }
.portfolio-preview--wedding { background: linear-gradient(135deg, #1a1522 0%, #2d1e4f 100%); }
.portfolio-preview--open    { background: linear-gradient(135deg, #071626 0%, #0B1F3A 100%); }
.preview-label {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.45);
  color: rgba(255,255,255,0.75);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.portfolio-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.portfolio-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--silver-100);
}
.tag--web { background: var(--navy); color: rgba(255,255,255,0.75); border-color: var(--navy); }
.tag--ai  { background: rgba(16,40,73,0.08); color: var(--navy-mid); border-color: rgba(16,40,73,0.2); }
.tag--open { background: rgba(45,106,79,0.1); color: #1a4d35; border-color: rgba(45,106,79,0.25); }
.tag--spots { background: rgba(197,167,0,0.1); color: #6b5900; border-color: rgba(197,167,0,0.3); }

.portfolio-body h3 { font-size: 1.15rem; }
.portfolio-body p { font-size: 0.9rem; }
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
  padding-top: 10px;
  text-decoration: none;
  transition: gap 0.18s;
}
.portfolio-link:hover { gap: 10px; }

/* ── Packages ──────────────────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 1000px) { .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.pkg-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.pkg-card--featured {
  border-color: var(--silver-300);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.pkg-badge {
  background: var(--silver-300);
  color: var(--navy-dark);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px;
}

.pkg-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
}
.pkg-card--featured .pkg-header { border-bottom-color: rgba(197,205,216,0.15); }

.pkg-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pkg-card--featured .pkg-name { color: var(--silver-400); }

.pkg-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.pkg-card--featured .pkg-price { color: var(--white); }
.pkg-price sup { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.pkg-mo {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}
.pkg-card--featured .pkg-mo { color: var(--silver-400); }
.pkg-desc { font-size: 0.9rem; color: var(--text-soft); line-height: 1.6; }
.pkg-card--featured .pkg-desc { color: var(--silver-300); }

.pkg-features { padding: 24px 32px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pkg-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.pkg-card--featured .pkg-feat { color: var(--silver-300); }
.feat-check { flex-shrink: 0; color: var(--navy); font-weight: 700; margin-top: 1px; }
.pkg-card--featured .feat-check { color: var(--silver-300); }

.pkg-cta { padding: 24px 32px; }
.pkg-cta .btn { width: 100%; justify-content: center; }

/* ── Add-ons ───────────────────────────────────────────── */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .addons-grid { grid-template-columns: 1fr; } }

.addon-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.addon-card--highlight { border-color: var(--silver-300); background: var(--silver-100); }
.addon-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--silver-200);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  align-self: flex-start;
}
.addon-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.addon-price-note { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.addon-desc { font-size: 0.9rem; color: var(--text-soft); line-height: 1.65; }
.addon-feats { display: flex; flex-direction: column; gap: 8px; }
.addon-feat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-soft);
}
.addon-check { color: var(--navy); font-weight: 700; flex-shrink: 0; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  transition: background 0.18s;
  font-family: var(--font);
}
.faq-q:hover { background: var(--silver-100); }
.faq-icon {
  width: 24px; height: 24px;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.22s var(--ease), background 0.22s;
  line-height: 1;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--silver-300);
  color: var(--navy);
}
.faq-a { display: none; padding: 0 28px 22px; }
.faq-a.open { display: block; }
.faq-a p { font-size: 0.95rem; }

/* ── Contact Page ──────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 44px; } }

.contact-form-wrap { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.form-label .optional { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s;
  min-height: 48px;
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(18,43,78,0.09);
}
textarea.form-control { min-height: 110px; resize: vertical; }
select.form-control { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5D73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.form-checkbox-group { display: flex; align-items: center; gap: 10px; }
.form-checkbox-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--navy); flex-shrink: 0; }
.form-checkbox-group label { font-size: 0.9rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.form-consent-group { align-items: flex-start; }
.form-consent-group input[type="checkbox"] { margin-top: 3px; }
.form-consent-group label { font-size: 0.82rem; font-weight: 500; line-height: 1.55; color: var(--text-soft); }
.form-consent-group a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; min-width: 160px; justify-content: center; }

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 1.4em;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.form-status.is-ok { color: var(--navy); }
.form-status.is-err { color: var(--navy-dark); }
.turnstile-host { margin: 4px 0 8px; }
.form-actions .btn[disabled] { opacity: 0.65; cursor: wait; transform: none; }

.contact-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-card-title { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.contact-item:hover { opacity: 0.8; }
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.09);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; color: var(--silver-300); }
.ci-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--silver-400); font-family: var(--mono); }
.ci-value { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-top: 2px; }
.contact-note {
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(197,205,216,0.1);
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--silver-400);
  line-height: 1.65;
}

/* ── Sample Site Styles ─────────────────────────────────── */
.sample-back-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(197,205,216,0.15);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sample-back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--silver-300);
  text-decoration: none;
  transition: color 0.18s;
}
.sample-back-link:hover { color: var(--white); }
.sample-banner {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-400);
  background: rgba(197,205,216,0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

/* AI Widget (floating in sample pages) */
.ai-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  width: 60px;
  height: 60px;
  background: var(--navy);
  border: 2px solid rgba(197,205,216,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font);
}
.ai-widget-btn:hover { transform: scale(1.08); box-shadow: 0 12px 36px rgba(7,20,38,0.3); }
.ai-widget-btn svg { width: 26px; height: 26px; color: var(--white); }
.ai-widget-btn .ai-pulse {
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  background: #2d9e63;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.ai-widget-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 501;
  width: 300px;
  background: var(--navy-dark);
  border: 1px solid rgba(197,205,216,0.2);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.ai-widget-panel.open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.ai-panel-header {
  padding: 14px 16px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(197,205,216,0.1);
}
.ai-panel-dot {
  width: 8px; height: 8px;
  background: #2d9e63;
  border-radius: 50%;
  animation: ai-pulse 2s ease-in-out infinite;
}
@keyframes ai-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,158,99,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(45,158,99,0); }
}
.ai-panel-title { font-size: 0.85rem; font-weight: 700; color: var(--white); }
.ai-panel-sub { font-size: 0.7rem; color: var(--silver-400); font-family: var(--mono); }
.ai-panel-close {
  margin-left: auto;
  color: var(--silver-400);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.18s;
}
.ai-panel-close:hover { color: var(--white); }
.ai-panel-feed {
  flex: 1;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}
.ai-bubble {
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 86%;
}
.ai-bubble--bot {
  background: rgba(197,205,216,0.1);
  color: rgba(255,255,255,0.75);
  border-radius: 13px 13px 13px 3px;
  align-self: flex-start;
}
.ai-bubble--user {
  background: #163a6e;
  color: rgba(255,255,255,0.9);
  border-radius: 13px 13px 3px 13px;
  align-self: flex-end;
}
.ai-bubble--sys {
  background: rgba(45,158,99,0.15);
  border: 1px solid rgba(45,158,99,0.3);
  color: rgba(255,255,255,0.7);
  align-self: center;
  text-align: center;
  border-radius: 10px;
  font-size: 0.68rem;
  max-width: 95%;
}
.ai-panel-chips {
  padding: 8px 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ai-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 100px;
  border: 1px solid rgba(197,205,216,0.25);
  color: var(--silver-200);
  background: rgba(197,205,216,0.07);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font);
}
.ai-chip:hover { background: rgba(197,205,216,0.14); color: var(--white); }

/* ── Sample Page Shared Layouts ─────────────────────────── */
.sample-hero {
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.sample-hero h1 { color: var(--white); margin-bottom: 16px; }
.sample-hero p { color: var(--silver-300); font-size: 1.1rem; max-width: 540px; }

.cta-strip {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cta-strip--navy { background: var(--navy); border: 1px solid rgba(197,205,216,0.15); }
.cta-strip p { font-size: 0.95rem; font-weight: 600; color: var(--silver-200); margin: 0; }

.sample-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 700px) { .sample-services { grid-template-columns: 1fr; } }

.sample-service-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.sample-service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(197,205,216,0.1);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px; }
.footer-brand .logo-mark { width: 36px; height: 36px; }
.footer-brand .logo-hex { width: 36px; height: 36px; }
.footer-brand .brand-name { font-size: 10px; }
.footer-brand .brand-sub { font-size: 6px; }
.footer-brand .logo-name { font-size: 0.85rem; }
.footer-brand .logo-name span { font-size: 0.57rem; }
.about-emblem {
  display: block;
  width: min(280px, 78vw);
  height: auto;
  margin: 0 auto 36px;
}
.footer-blurb { font-size: 0.875rem; color: var(--silver-400); line-height: 1.65; margin-bottom: 16px; }
.footer-contact-links { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver-400);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-contact-links a:hover { color: var(--white); }

.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-400);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--silver-400);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(197,205,216,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--silver-400); }
.footer-copy a {
  color: var(--silver-400);
  text-decoration: none;
  margin-left: 8px;
}
.footer-copy a:hover { color: var(--white); }
.footer-loc {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--silver-400);
  letter-spacing: 0.06em;
}

/* ── Feature Split (responsive 2-col) ───────────────────── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Utilities ─────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }

/* ═══════════════════════════════════════════════════════════════════
   iOS Messages Phone Chrome — hero + quick-demo
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero phone wrap ───────────────────────────────────────────── */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

/* ── iPhone chassis ─────────────────────────────────────────────── */
.iphone {
  position: relative;
  width: 268px;
  background: #0B1F3A;
  border-radius: 44px;
  border: 3px solid #C5CDD8;
  box-shadow:
    0 0 0 1px rgba(197,205,216,0.15),
    0 32px 80px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(197,205,216,0.08);
  overflow: hidden;
  flex-shrink: 0;
}

/* Volume buttons (left) */
.iphone::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 100px;
  width: 3px;
  height: 30px;
  background: #C5CDD8;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 42px 0 rgba(197,205,216,0.4);
}

/* Power button (right) */
.iphone::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 140px;
  width: 3px;
  height: 54px;
  background: #C5CDD8;
  border-radius: 0 2px 2px 0;
}

.iphone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
  background: #F8FAFC;
  border-radius: 42px;
  overflow: hidden;
}

/* ── Status bar ─────────────────────────────────────────────────── */
.iphone-top {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  padding: 10px 10px 6px;
  background: #0B1F3A;
  flex-shrink: 0;
  color: #C5CDD8;
}

.iphone-time {
  font-size: 0.72rem;
  font-weight: 700;
  color: #C5CDD8;
  letter-spacing: 0.03em;
  font-family: var(--mono, monospace);
}

.iphone-di-pill {
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  margin: 0 auto;
}

.iphone-status-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  color: #C5CDD8;
}

/* ── Messages contact header ────────────────────────────────────── */
.iphone-msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 10px;
  background: rgba(248,250,252,0.97);
  border-bottom: 1px solid rgba(197,205,216,0.4);
  flex-shrink: 0;
}

.iphone-back {
  font-size: 1.3rem;
  color: #0B1F3A;
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
}

.iphone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0B1F3A;
  color: #C5CDD8;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iphone-contact-info { flex: 1; min-width: 0; }

.iphone-contact-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0B1F3A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iphone-contact-sub {
  font-size: 0.62rem;
  color: rgba(11,31,58,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Home bar ────────────────────────────────────────────────────── */
.iphone-home-bar {
  padding: 6px 0 10px;
  display: flex;
  justify-content: center;
  background: #F8FAFC;
  flex-shrink: 0;
}

.iphone-home-pill {
  width: 90px;
  height: 4px;
  background: rgba(11,31,58,0.25);
  border-radius: 3px;
}

/* ── Hero static thread ─────────────────────────────────────────── */
.hero-sms-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 6px;
  background: #F8FAFC;
  overflow-y: auto;
}

.hero-system-pill {
  align-self: center;
  background: rgba(11,25,44,0.08);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.6rem;
  color: rgba(11,31,58,0.55);
  margin: 2px 0;
}

.bubble {
  max-width: 76%;
  padding: 7px 11px;
  font-size: 0.72rem;
  line-height: 1.4;
  word-break: break-word;
}

.bubble.ai {
  background: #E8ECF0;
  color: #0B1F3A;
  border-radius: 18px 18px 18px 4px;
  align-self: flex-start;
}

.bubble.user {
  background: #0B1F3A;
  color: #F8FAFC;
  border-radius: 18px 18px 4px 18px;
  align-self: flex-end;
}

.bubble.meta {
  background: rgba(11,25,44,0.06);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.62rem;
  color: rgba(11,31,58,0.5);
  align-self: center;
  max-width: 90%;
  text-align: center;
}

.hero-delivered {
  align-self: flex-end;
  font-size: 0.58rem;
  color: rgba(11,31,58,0.4);
  margin-top: -2px;
}

/* ── Hero compose bar ───────────────────────────────────────────── */
.hero-compose-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #F8FAFC;
  border-top: 1px solid rgba(197,205,216,0.4);
  flex-shrink: 0;
}

.hero-input-pill {
  flex: 1;
  height: 30px;
  background: rgba(197,205,216,0.25);
  border: 1px solid rgba(197,205,216,0.5);
  border-radius: 15px;
  padding: 0 10px;
  font-size: 0.65rem;
  color: rgba(11,31,58,0.4);
  display: flex;
  align-items: center;
}

.hero-send-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0B1F3A;
  color: #C5CDD8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   Quick Demo section (#quick-demo with #qdTabs)
   ═══════════════════════════════════════════════════════════════════ */

.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.industry-tab {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border, rgba(197,205,216,0.4));
  background: transparent;
  color: var(--navy, #0B1F3A);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.industry-tab:hover { background: rgba(11,31,58,0.06); }

.industry-tab.active {
  background: var(--navy, #0B1F3A);
  color: #F8FAFC;
  border-color: var(--navy, #0B1F3A);
}

.qd-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 720px) {
  .qd-layout {
    grid-template-columns: 1fr;
  }
  .qd-phone-wrap { order: 1; }
  .qd-controls   { order: 2; }
}

.qd-phone-wrap {
  display: flex;
  justify-content: center;
}

.qd-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.qd-controls h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy, #0B1F3A);
  margin: 0;
}

.qd-controls p {
  font-size: 0.95rem;
  color: var(--text-soft, rgba(11,31,58,0.65));
  margin: 0;
  line-height: 1.6;
}

/* ── SMS thread inside quick-demo ───────────────────────────────── */
.sms-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 6px;
  background: #F8FAFC;
  overflow-y: auto;
  scrollbar-width: none;
}

.sms-thread::-webkit-scrollbar { display: none; }

/* ── SMS compose bar ────────────────────────────────────────────── */
.sms-compose {
  background: #F8FAFC;
  border-top: 1px solid rgba(197,205,216,0.4);
  padding: 6px 8px;
  flex-shrink: 0;
}

.compose-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.compose-row input {
  flex: 1;
  height: 30px;
  background: rgba(197,205,216,0.25);
  border: 1px solid rgba(197,205,216,0.5);
  border-radius: 15px;
  padding: 0 10px;
  font-size: 0.72rem;
  color: #0B1F3A;
  outline: none;
}

.compose-row input::placeholder { color: rgba(11,31,58,0.4); }

.compose-row button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0B1F3A;
  color: #C5CDD8;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Chips row ──────────────────────────────────────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.chip {
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid rgba(11,31,58,0.2);
  background: rgba(197,205,216,0.2);
  color: #0B1F3A;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}

.chip:hover { background: rgba(11,31,58,0.08); }

/* ── Slot picker ────────────────────────────────────────────────── */
.slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}

.slot-btn {
  padding: 4px 10px;
  border-radius: 14px;
  border: 1px solid rgba(11,31,58,0.25);
  background: white;
  color: #0B1F3A;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.slot-btn:hover, .slot-btn.selected {
  background: #0B1F3A;
  color: #F8FAFC;
  border-color: #0B1F3A;
}

/* ── Typing indicator ───────────────────────────────────────────── */
.typing {
  align-self: flex-start;
  display: flex;
  gap: 3px;
  padding: 8px 12px;
  background: #E8ECF0;
  border-radius: 18px 18px 18px 4px;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(11,31,58,0.4);
  animation: typingDot 1.2s infinite ease-in-out;
  font-style: normal;
}

.typing i:nth-child(2) { animation-delay: 0.2s; }
.typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   Solid Rock Digital AI Assistant Widget (main pages)
   Uses ID selectors — no collision with samples' class-based widget
   ═══════════════════════════════════════════════════════════════════ */

.ai-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ai-widget-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: #0B1F3A;
  color: #F8FAFC;
  border: none;
  border-radius: 28px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(11,31,58,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.ai-widget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11,31,58,0.45);
}

.ai-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C5CDD8;
  flex-shrink: 0;
  animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197,205,216,0.6); }
  50%       { box-shadow: 0 0 0 5px rgba(197,205,216,0); }
}

.ai-panel {
  width: 340px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(11,31,58,0.22);
  border: 1px solid rgba(197,205,216,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: min(540px, calc(100vh - 100px));
}

.ai-panel[hidden] { display: none; }

.ai-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  background: #0B1F3A;
  flex-shrink: 0;
}

.ai-panel-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.3;
}

.ai-panel-sub {
  font-size: 0.72rem;
  color: rgba(197,205,216,0.8);
  margin-top: 2px;
  line-height: 1.35;
}

.ai-close {
  background: none;
  border: none;
  color: rgba(197,205,216,0.7);
  font-size: 1rem;
  cursor: pointer;
  padding: 2px;
  flex-shrink: 0;
  line-height: 1;
}

.ai-close:hover { color: #F8FAFC; }

.ai-thread {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(197,205,216,0.4) transparent;
}

.ai-bubble-in, .ai-bubble-out {
  max-width: 86%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.ai-bubble-in {
  background: #F0F4F8;
  color: #0B1F3A;
  align-self: flex-start;
  border-radius: 4px 14px 14px 14px;
}

.ai-bubble-out {
  background: #0B1F3A;
  color: #F8FAFC;
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}

.ai-typing-row {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: #F0F4F8;
  border-radius: 4px 14px 14px 14px;
}

.ai-typing-row i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(11,31,58,0.4);
  animation: typingDot 1.2s infinite ease-in-out;
  font-style: normal;
}

.ai-typing-row i:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-row i:nth-child(3) { animation-delay: 0.4s; }

.ai-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 14px 10px;
  flex-shrink: 0;
  border-top: 1px solid rgba(197,205,216,0.3);
}

.ai-chip {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(11,31,58,0.2);
  background: rgba(197,205,216,0.15);
  color: #0B1F3A;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s;
}

.ai-chip:hover { background: rgba(11,31,58,0.08); }

.ai-compose {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(197,205,216,0.3);
  flex-shrink: 0;
}

.ai-input {
  flex: 1;
  height: 36px;
  background: rgba(197,205,216,0.2);
  border: 1px solid rgba(197,205,216,0.5);
  border-radius: 18px;
  padding: 0 12px;
  font-size: 0.82rem;
  color: #0B1F3A;
  outline: none;
}

.ai-input:focus { border-color: #0B1F3A; }

.ai-input::placeholder { color: rgba(11,31,58,0.4); }

.ai-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0B1F3A;
  color: #F8FAFC;
  border: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* Mobile: compact circle button, label hidden */
@media (max-width: 540px) {
  .ai-widget { bottom: 16px; right: 16px; }
  .ai-widget-label { display: none; }
  .ai-widget-btn { padding: 10px; border-radius: 50%; width: 46px; height: 46px; justify-content: center; }
  .ai-panel { width: calc(100vw - 32px); }
}

/* ═══════════════════════════════════════════════════════════════════
   7-capability homepage, system previews, about page
   ═══════════════════════════════════════════════════════════════════ */

.cards-grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cap-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--silver-400);
  margin-bottom: 8px;
}

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hero-tab {
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(197,205,216,0.35);
  background: transparent;
  color: var(--silver-200);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.hero-tab.active {
  background: #F8FAFC;
  color: #0B1F3A;
  border-color: #F8FAFC;
}

.hero-visual-stage {
  min-height: 420px;
  width: 100%;
}

.sys-preview {
  background: #F8FAFC;
  border: 1px solid rgba(197,205,216,0.55);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  min-height: 480px;
}

.sys-preview-bar {
  background: #0B1F3A;
  color: #C5CDD8;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.sys-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.sys-kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.sys-kpi strong {
  display: block;
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 800;
}

.sys-kpi span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sys-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.sys-table th, .sys-table td {
  text-align: left;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
}

.sys-table th {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.sys-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.sys-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(197,205,216,0.35);
  color: var(--navy);
  white-space: nowrap;
}

.sys-badge.urgent {
  background: #0B1F3A;
  color: #F8FAFC;
}

.sys-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 14px;
}

.sys-chip, .inv-chip {
  padding: 5px 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.sys-chip.active, .inv-chip.active {
  background: #0B1F3A;
  color: #F8FAFC;
  border-color: #0B1F3A;
}

.sys-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
}

.showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.showcase-pane[hidden] { display: none !important; }

.ai-int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.ai-int-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.ai-int-card h3 { margin-bottom: 8px; }

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
}

.about-block h2 { margin-bottom: 10px; }

.principles-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.principles-list li {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-soft);
}

.principles-list strong { color: var(--navy); }

@media (max-width: 860px) {
  .hero-visual-stage { min-height: 0; }
  .sys-kpis { grid-template-columns: 1fr 1fr; }
  .sys-preview { min-height: 0; }
}
