:root {
  --navy-900:#0a1f3d;
  --navy-800:#102a52;
  --navy-700:#1a3a6b;
  --navy-50:#f5f8fc;
  --accent:#ff6a3d;
  --accent-dark:#e8521f;
  --green:#13a36b;
  --text:#1a2333;
  --text-muted:#5a6478;
  --border:#e3e8f0;
  --card-shadow:0 2px 8px rgba(10,31,61,0.06);
  --card-shadow-hover:0 8px 24px rgba(10,31,61,0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: white;
}
a { color: var(--navy-700); text-decoration: none; }
img { max-width: 100%; }

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.logo-mark {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, #2a6cb8 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.logo-mark .plus {
  color: var(--accent);
  margin-left: 1px;
  font-size: 19px;
  line-height: 1;
}
.logo-mark .version {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
  padding: 2px 6px;
  margin-left: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.14);
  letter-spacing: 0.02em;
}
.logo-mark span { transform: skewX(-10deg); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,82,31,0.3);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--navy-700);
  color: var(--navy-700);
}
.btn-outline:hover {
  background: var(--navy-700);
  color: white;
}
.btn-login {
  background: #1e3a8a;
  color: white;
  border: 1px solid #1e3a8a;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 2px 6px rgba(15,30,75,0.25);
}
.btn-login:hover {
  background: #15306e;
  border-color: #15306e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15,30,75,0.35);
  color: white;
}
.btn-login svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
}
.hero-login {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #1e3a8a;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #15306e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: all 0.15s;
}
.hero-login:hover {
  background: #15306e;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
.hero-login svg {
  width: 14px;
  height: 14px;
}
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: white;
  padding: 90px 24px 110px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,106,61,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,106,61,0.15);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.new-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  margin-bottom: 22px;
  transition: all 0.15s;
}
.new-banner:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,106,61,0.55);
}
.new-tag {
  background: var(--accent);
  color: white;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.new-arrow {
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.2s;
}
.new-banner:hover .new-arrow { transform: translateX(3px); }
.hero-mock-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.new-banner.new-banner-lg {
  align-self: flex-start;
  padding: 9px 24px 9px 9px;
  font-size: 16px;
  font-weight: 600;
  gap: 14px;
  margin-bottom: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.new-banner.new-banner-lg .new-tag {
  padding: 7px 14px;
  font-size: 13px;
}
.new-banner.new-banner-lg .new-arrow {
  font-size: 20px;
}
.new-pill {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  vertical-align: middle;
  margin-left: 4px;
  line-height: 1.5;
}
.eyebrow .new-pill {
  background: var(--accent);
  color: white;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: 19px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-cta .btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: white;
}
.hero-cta .btn-outline:hover {
  background: white;
  color: var(--navy-900);
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Hero mock */
.hero-mock {
  background: white;
  border-radius: 12px;
  padding: 18px;
  color: var(--text);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
}
.clearance-card { padding: 24px; }
.clearance-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  border-bottom: 1px solid #eef1f6;
  padding-bottom: 12px;
}
.clearance-header h4 {
  font-size: 16px;
  color: var(--navy-900);
  font-weight: 700;
  margin: 0;
}
.clearance-meta {
  font-size: 12px;
  color: var(--text-muted);
}
.clearance-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.donut-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 180px;
  margin: 0 auto;
}
.donut {
  width: 100%;
  height: 100%;
  display: block;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.donut-pct {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}
.donut-pct span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 1px;
}
.donut-label {
  font-size: 12px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 4px;
}
.chart-legend {
  list-style: none;
  padding: 0;
  margin: 0;
}
.chart-legend li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f6;
  font-size: 14px;
}
.chart-legend li:last-child { border-bottom: none; }
.chart-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.chart-legend .lbl {
  color: var(--text);
  font-weight: 600;
}
.chart-legend .pct {
  color: var(--navy-900);
  font-weight: 800;
  font-size: 16px;
}
@media (max-width: 540px) {
  .clearance-body { grid-template-columns: 1fr; }
}

/* Section */
section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .eyebrow { color: var(--accent); background: rgba(255,106,61,0.1); }
.section-header h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.module-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.2s;
  cursor: default;
}
.module-card:hover {
  border-color: var(--accent);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
}
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 18px;
}
.module-icon svg { width: 24px; height: 24px; }
.module-card.alt .module-icon { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
a.module-card.module-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: block;
}
.module-arrow {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  transition: transform 0.2s;
}
a.module-card.module-link:hover .module-arrow {
  transform: translateX(4px);
}
.module-card h3 {
  font-size: 18px;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-weight: 700;
}
.module-card p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* Detail sections */
.detail-section {
  border-top: 1px solid var(--border);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail-grid.reverse > :first-child { order: 2; }
.detail-text h2 {
  font-size: 32px;
  color: var(--navy-900);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.detail-text > p {
  font-size: 16.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.feat-list {
  list-style: none;
}
.feat-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
}
.feat-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
  margin-top: 1px;
}
.visual-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: var(--card-shadow);
}
.visual-card.dark {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: white;
  border: none;
}
.visual-card h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.visual-card.dark h4 { color: rgba(255,255,255,0.6); }

/* Photo Bay */
.photo-bay-figure { margin: 0; }
.photo-bay-frame {
  position: relative;
  background: #1f2937;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 12px 32px rgba(10,31,61,0.18);
  border: 1px solid var(--border);
}
.photo-bay-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-bay-figure.app-figure {
  display: flex;
  justify-content: center;
}
.photo-bay-frame.app-frame {
  aspect-ratio: auto;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(10,31,61,0.10);
  max-width: 320px;
  width: 100%;
}
.photo-bay-frame.app-frame:not(.loaded) {
  aspect-ratio: 9 / 16;
}
.photo-bay-frame.app-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.photo-bay-frame img:not([src]),
.photo-bay-frame img[src=""] { display: none; }
.photo-bay-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
}
.photo-bay-placeholder strong {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  color: white;
}
.photo-bay-placeholder code {
  background: rgba(255,255,255,0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.photo-bay-frame.loaded .photo-bay-placeholder { display: none; }
.photo-bay-watermark {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.photo-bay-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.thumb-label {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-weight: 500;
}
.thumb-label.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Ribbon */
.ribbon {
  background: var(--navy-900);
  color: white;
  padding: 60px 24px;
}
.ribbon-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.ribbon-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.ribbon-lbl {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* Phone skin */
.phone-wrap {
  display: flex;
  justify-content: center;
}
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 16;
  background: #0d0d0f;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    0 16px 36px rgba(10,31,61,0.32),
    inset 0 0 0 1.5px #2a2a2e,
    inset 0 0 0 3px #0d0d0f;
}
.phone-notch { display: none; }
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f4f6f9;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: white;
}
.phone-screen img:not([src]),
.phone-screen img[src=""] { display: none; }
.phone-frame.loaded .phone-placeholder { display: none; }
.phone-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  font-size: 13px;
}
.phone-placeholder strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: white;
}
.phone-placeholder code {
  background: rgba(255,255,255,0.12);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.phone-bar { display: none; }

/* Photo Bay dark panel */
.photobay-card { padding: 26px; }
.photo-bay-frame.photobay-frame-dark {
  background: #1f2937;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  margin-bottom: 14px;
}
.photo-bay-thumbs.photobay-thumbs-dark .thumb-label {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.1);
}
.photo-bay-thumbs.photobay-thumbs-dark .thumb-label.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.photobay-checklist {
  margin: 18px 0 18px !important;
}

/* CarsPlus App tablet skin */
.app-card { padding: 26px; }
.app-card-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 22px;
}
.app-phone-frame {
  max-width: 220px;
  aspect-ratio: 841 / 1280;
  background: #1a1a1c;
  border-radius: 18px;
  padding: 12px 8px;
  box-shadow:
    0 14px 28px rgba(0,0,0,0.35),
    inset 0 0 0 1px #2a2a2e;
}
.app-phone-frame .phone-screen {
  border-radius: 6px;
  background: white;
}
.app-phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: white;
}
.app-phone-frame::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3a3a3e;
  z-index: 2;
}
.app-phone-frame::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #3a3a3e;
  background: #1a1a1c;
  z-index: 2;
}
.app-phone-frame { position: relative; }
.app-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.app-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.4;
}
.app-checklist li:last-child { border-bottom: none; }
.app-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235cd9a4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  margin-top: 1px;
}
@media (max-width: 540px) {
  .app-card-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* Simulcast */
.simulcast-card { padding: 26px; }
.simulcast-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
.sim-stat {
  background: rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: 8px;
}
.sim-stat .lbl {
  font-size: 11px;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.sim-stat .val {
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-top: 4px;
  line-height: 1.05;
}
.sim-stat .val.accent { color: var(--accent); }
.sim-stat .plus-mark {
  font-size: 18px;
  margin-left: 2px;
  opacity: 0.85;
}
.simulcast-card .phone-wrap {
  margin: 0 auto 22px;
}
.sim-footer {
  background: rgba(255,255,255,0.05);
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.sim-footer span:first-child { opacity: 0.75; }
.status-dot {
  color: #5cd9a4;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Contact */
.contact-section {
  background: var(--navy-50);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
}
.contact-form label span {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px 12px;
  font-size: 14.5px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,106,61,0.15);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-submit {
  align-self: flex-start;
  margin-top: 6px;
}
.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--green);
  min-height: 18px;
}
.form-note.error { color: #b91c1c; }
.contact-info {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: white;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.contact-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
  font-weight: 800;
}
.info-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 28px;
}
.info-block {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.info-block:last-child { border-bottom: none; }
.info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-icon svg { width: 18px; height: 18px; }
.info-block h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.info-block p {
  font-size: 14.5px;
  line-height: 1.6;
  color: white;
}
.info-block a { color: var(--accent); }
.info-block a:hover { color: white; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .row-2 { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  text-align: center;
}
.cta h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 14px;
  font-weight: 800;
}
.cta p {
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.92);
}
.cta .btn-primary {
  background: white;
  color: var(--accent-dark);
}
.cta .btn-primary:hover {
  background: var(--navy-900);
  color: white;
}
.cta .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: white;
}
.cta .btn-outline:hover { background: white; color: var(--accent-dark); }

/* Footer */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 24px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  color: white;
  font-size: 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; font-size: 14px; }
.footer-grid ul a { color: rgba(255,255,255,0.65); }
.footer-grid ul a:hover { color: var(--accent); }
.footer-about p { font-size: 14px; line-height: 1.7; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .detail-grid.reverse > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: white;
    padding: 20px 24px;
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: block; }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 32px; }
  .section-header h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Blazor error UI */
#blazor-error-ui {
  color-scheme: light only;
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
.blazor-error-boundary {
  background: #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}
.blazor-error-boundary::after { content: "An error has occurred."; }

/* Validation */
.validation-message { color: #b91c1c; font-size: 12px; margin-top: 2px; }
.invalid { border-color: #b91c1c !important; }

/* Handheld promo page */
.hh-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: white;
  padding: 100px 24px 90px;
  position: relative;
  overflow: hidden;
}
.hh-hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,106,61,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.hh-hero::after {
  content: "";
  position: absolute;
  bottom: -180px; left: -140px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,106,61,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hh-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.hh-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,106,61,0.18);
  color: var(--accent);
  border: 1px solid rgba(255,106,61,0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.hh-hero-inner h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hh-hero-inner h1 .accent { color: var(--accent); }
.hh-hero-inner .lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto 32px;
}
.hh-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hh-hero-cta .btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
}
.hh-hero-cta .btn-outline-light:hover {
  background: white;
  color: var(--navy-900);
  border-color: white;
}
.hh-hero-note {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 640px;
  margin: 0 auto;
}
.hh-hero-note a {
  color: var(--accent);
  text-decoration: underline;
}
.hh-hero-note a:hover { color: white; }

.hh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hh-section {
  padding: 90px 0;
  background: white;
}
.hh-section-head {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}
.eyebrow-dark {
  background: rgba(255,106,61,0.10);
  color: var(--accent-dark);
}
.hh-section-head h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin: 14px 0 16px;
}
.hh-section-head p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

.hh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hh-feature {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.15s;
}
.hh-feature:hover {
  border-color: rgba(255,106,61,0.4);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}
.hh-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,106,61,0.12);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.hh-feature-icon svg { width: 22px; height: 22px; }
.hh-feature h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.hh-feature p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.hh-strip {
  padding: 90px 0;
  background: var(--navy-50);
}
.hh-strip-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hh-strip h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
  margin: 12px 0 14px;
}
.hh-strip p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.hh-tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hh-tick-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  color: var(--text);
  font-size: 15px;
}
.hh-tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.hh-strip-card {
  position: relative;
}
.hh-strip-card-inner {
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: white;
  border-radius: 14px;
  padding: 34px;
  box-shadow: 0 20px 40px rgba(10,31,61,0.18);
}
.hh-strip-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.hh-strip-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}
.hh-strip-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.hh-strip-card li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  line-height: 1.5;
}
.hh-strip-card li::before {
  content: "→";
  position: absolute;
  left: 0; top: 8px;
  color: var(--accent);
  font-weight: 700;
}
.hh-strip-cta { width: 100%; }

.hh-cta-final {
  padding: 80px 0 100px;
  text-align: center;
  background: white;
}
.hh-cta-final h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.hh-cta-final p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 24px;
}
.hh-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hh-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hh-strip-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .hh-hero { padding: 70px 20px 60px; }
  .hh-hero-inner h1 { font-size: 36px; }
  .hh-hero-inner .lead { font-size: 16px; }
  .hh-section, .hh-strip { padding: 60px 0; }
  .hh-section-head h2, .hh-strip h2 { font-size: 26px; }
  .hh-feature-grid { grid-template-columns: 1fr; }
}

/* Error page */
.error-page {
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: var(--navy-50);
}
.error-inner {
  max-width: 640px;
  text-align: center;
}
.error-code {
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -3px;
  margin-bottom: 12px;
}
.error-inner h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 14px;
}
.error-inner .lead {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 28px;
}
.error-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.error-request-id {
  color: var(--text-muted);
  font-size: 13px;
}
.error-request-id code {
  background: white;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}
@media (max-width: 700px) {
  .error-code { font-size: 88px; }
  .error-inner h1 { font-size: 26px; }
}
