/* =========================================
   ClaimGap – Shared Stylesheet
   ========================================= */

/* ---- CSS Variables ---- */
:root {
  --navy:        #0b1a30;
  --deep-blue:   #0b3d71;
  --accent-blue: #1e60ad;
  --accent-blue-hover: #1754a0;
  --orange:      #f77f00;
  --orange-hover:#d66d00;
  --bg-light:    #eef3f8;
  --bg-mid:      #e4ecf6;
  --text:        #15314f;
  --muted:       #60738a;
  --border:      #d0dcea;
  --border-dark: #b8cce0;
  --white:       #ffffff;
  --card-shadow: 0 1px 4px rgba(11,26,48,.08), 0 2px 10px rgba(11,26,48,.06);
  --radius:      8px;
  --radius-lg:   10px;
  --font:        'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---- Inter font import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent-blue); text-decoration: none; }
a:hover { color: var(--accent-blue-hover); }

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: .95rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }

/* ---- Layout Utilities ---- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 64px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark p { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1rem;
  margin-top: .45rem;
}

/* ---- Audience list ---- */
.audience-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

.audience-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.audience-item svg { flex-shrink: 0; color: var(--accent-blue); margin-top: .15rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.50);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.85);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}
.btn-outline:hover {
  background: var(--accent-blue);
  color: var(--white);
}

.btn-dark {
  background: var(--deep-blue);
  color: var(--white);
  border-color: var(--deep-blue);
}
.btn-dark:hover {
  background: #083262;
  border-color: #083262;
  color: var(--white);
}

.btn-lg {
  font-size: 1rem;
  padding: .8rem 1.9rem;
}

.btn-sm {
  font-size: .85rem;
  padding: .45rem 1rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.5rem;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  color: var(--accent-blue);
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 { margin-bottom: .4rem; }

/* ---- Grid ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ---- Navbar ---- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 1px 8px rgba(0,0,0,.22);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.5px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  color: rgba(255,255,255,.76);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
  padding: .2rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--orange);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--white);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---- Mobile Nav ---- */
@media (max-width: 820px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: block; }

  .site-header.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    background: var(--navy);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 20px rgba(0,0,0,.3);
  }

  .site-header.nav-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--navy);
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    padding: 0 1.25rem 1.5rem;
  }

  .site-header.nav-open .nav-links a {
    padding: .55rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .97rem;
  }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, #0d2d5c 100%);
  padding: 80px 0 72px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(247,127,0,.14);
  color: var(--orange);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: .22rem .7rem;
  margin-bottom: 1rem;
}

.hero h1 { color: var(--white); margin-bottom: 1rem; }

.hero-sub {
  color: rgba(255,255,255,.74);
  font-size: 1.05rem;
  margin-bottom: 1.85rem;
  line-height: 1.7;
}

/* Hero screenshot frame */
.hero-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.10);
  background: var(--deep-blue);
  position: relative;
}

.hero-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-gallery-stage {
  position: relative;
}

.hero-gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero-gallery-trigger:focus-visible,
.hero-gallery-nav:focus-visible,
.hero-gallery-close:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 3px;
}

.hero-gallery-trigger img {
  transition: transform .2s ease, filter .2s ease;
}

.hero-gallery-trigger:hover img {
  transform: scale(1.01);
  filter: brightness(1.04);
}

.hero-gallery-nav,
.hero-gallery-close {
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.hero-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(11,26,48,.84);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.hero-gallery-nav:hover,
.hero-gallery-nav:focus-visible {
  background: rgba(11,61,113,.96);
  transform: translateY(-50%) scale(1.04);
}

.hero-gallery-nav--prev {
  left: .85rem;
}

.hero-gallery-nav--next {
  right: .85rem;
}

.hero-gallery-nav svg,
.hero-gallery-close svg {
  width: 18px;
  height: 18px;
}

.hero-gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: .9rem;
  align-items: flex-start;
  padding: .85rem .95rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(6,18,33,.22);
}

.hero-gallery-caption,
.hero-gallery-detail,
.hero-gallery-help,
.hero-gallery-modal-title,
.hero-gallery-modal-subtitle,
.hero-gallery-modal-caption,
.hero-gallery-modal-count {
  margin: 0;
}

.hero-gallery-caption {
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  font-weight: 600;
}

.hero-gallery-detail {
  margin-top: .25rem;
  color: rgba(255,255,255,.58);
  font-size: .77rem;
  line-height: 1.5;
  max-width: 28rem;
}

.hero-gallery-help {
  color: rgba(255,255,255,.54);
  font-size: .76rem;
  line-height: 1.5;
  text-align: right;
  max-width: 18rem;
}

.hero-gallery-modal[hidden] {
  display: none;
}

.hero-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.hero-gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,13,24,.82);
  backdrop-filter: blur(8px);
}

.hero-gallery-modal-dialog {
  position: relative;
  width: min(1320px, 96vw);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #091525;
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
}

.hero-gallery-modal-header,
.hero-gallery-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
}

.hero-gallery-modal-header {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.hero-gallery-modal-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.hero-gallery-modal-subtitle,
.hero-gallery-modal-caption,
.hero-gallery-modal-count {
  color: rgba(255,255,255,.66);
  font-size: .82rem;
  line-height: 1.5;
}

.hero-gallery-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  flex-shrink: 0;
}

.hero-gallery-close:hover,
.hero-gallery-close:focus-visible {
  background: rgba(255,255,255,.14);
  transform: scale(1.04);
}

.hero-gallery-modal-stage {
  position: relative;
  padding: 1rem 1.25rem;
  background: #0b1a30;
}

.hero-gallery-modal-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f9fc;
  border-radius: 12px;
  overflow: hidden;
}

.hero-gallery-modal-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  cursor: zoom-out;
}

.hero-gallery-modal .hero-gallery-nav {
  width: 48px;
  height: 48px;
}

.hero-gallery-modal .hero-gallery-nav--prev {
  left: 2rem;
}

.hero-gallery-modal .hero-gallery-nav--next {
  right: 2rem;
}

.hero-gallery-modal-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  align-items: center;
}

/* App shell mock (used when real screenshot not available) */
.hero-mock-shell {
  background: #f0f4fa;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 4px 32px rgba(0,0,0,.42);
}

.mock-titlebar {
  background: var(--navy);
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.mock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mock-dot.red    { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green  { background: #28c840; }

.mock-titlebar-label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  margin-left: .45rem;
}

.mock-body {
  display: flex;
  min-height: 280px;
}

.mock-sidebar {
  background: #091525;
  width: 130px;
  flex-shrink: 0;
  padding: .75rem .6rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.mock-nav-group-label {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.32);
  padding: .5rem .5rem .25rem;
}

.mock-nav-item {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  padding: .38rem .6rem;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-nav-item.active {
  background: var(--accent-blue);
  color: var(--white);
  font-weight: 600;
}

.mock-content {
  flex: 1;
  padding: .85rem 1rem;
  background: white;
}

.mock-page-hero {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
}

.mock-page-hero-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-page-hero-icon svg { width: 14px; height: 14px; color: white; }
.mock-page-hero-title { font-size: .78rem; font-weight: 700; color: var(--navy); }
.mock-page-hero-sub { font-size: .66rem; color: var(--muted); margin-top: .1rem; }

.mock-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: .9rem;
}

.mock-action-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .65rem .7rem;
  background: white;
  text-align: center;
  cursor: pointer;
}

.mock-action-card.highlight {
  border-color: var(--accent-blue);
  background: var(--bg-light);
}

.mock-action-icon {
  font-size: .9rem;
  margin-bottom: .2rem;
  color: var(--accent-blue);
}

.mock-action-title {
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy);
}

.mock-action-sub {
  font-size: .62rem;
  color: var(--muted);
  margin-top: .1rem;
}

.mock-action-badge {
  font-size: .58rem;
  font-weight: 700;
  background: var(--accent-blue);
  color: white;
  border-radius: 3px;
  padding: .08rem .35rem;
  margin-top: .25rem;
  display: inline-block;
}

.mock-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .45rem;
}

.mock-table-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--navy);
}

.mock-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
  border-radius: 5px;
  padding: .4rem .65rem;
  margin-bottom: .3rem;
  font-size: .7rem;
}

.mock-table-row-name { color: var(--text); font-weight: 500; }

.mock-chip {
  font-size: .6rem;
  font-weight: 700;
  border-radius: 3px;
  padding: .1rem .4rem;
}

.mock-chip-inprogress { background: rgba(30,96,173,.12); color: var(--accent-blue); }
.mock-chip-ready { background: rgba(40,200,100,.12); color: #1e9c4e; }

.mock-workflow {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .6rem .85rem;
  margin-top: .5rem;
}

.mock-workflow-title {
  font-size: .68rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}

.mock-workflow-step {
  font-size: .63rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  padding: .18rem 0;
}

.mock-workflow-num {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: white;
  font-size: .55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .04rem;
}

.mock-footer-bar {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  padding: .35rem .85rem;
  font-size: .62rem;
  color: var(--muted);
  text-align: center;
}

/* Old mock styles – kept for backward compat on index hero fallback */
.hero-mockup {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.mock-title {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-left: .5rem;
}

.mock-score-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.mock-score-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: .25rem;
}

.mock-score-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.mock-score-badge {
  font-size: .72rem;
  background: rgba(247,127,0,.18);
  color: var(--orange);
  border-radius: 4px;
  padding: .2rem .55rem;
  margin-bottom: .25rem;
  font-weight: 600;
}

.mock-conditions {
  margin-bottom: 1.25rem;
}

.mock-section-title {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: .6rem;
}

.mock-condition-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
  color: rgba(255,255,255,.82);
}

.mock-pill {
  font-size: .68rem;
  font-weight: 600;
  border-radius: 4px;
  padding: .15rem .5rem;
}

.mock-pill.strong   { background: rgba(40,200,100,.2); color: #4de899; }
.mock-pill.moderate { background: rgba(247,127,0,.2);  color: var(--orange); }
.mock-pill.weak     { background: rgba(220,60,60,.2);  color: #ff6b6b; }

.mock-status-row {
  display: flex;
  gap: .6rem;
}

.mock-status-item {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  padding: .6rem .7rem;
}

.mock-status-item .label {
  font-size: .62rem;
  color: rgba(255,255,255,.42);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
  margin-bottom: .2rem;
}

.mock-status-item .val {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.mock-score-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.mock-score-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: .25rem;
}

.mock-score-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.mock-score-badge {
  font-size: .72rem;
  background: rgba(247,127,0,.18);
  color: var(--orange);
  border-radius: 4px;
  padding: .2rem .55rem;
  margin-bottom: .25rem;
  font-weight: 600;
}

.mock-conditions {
  margin-bottom: 1.25rem;
}

.mock-section-title {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: .6rem;
}

.mock-condition-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
  color: rgba(255,255,255,.82);
}

.mock-pill {
  font-size: .68rem;
  font-weight: 600;
  border-radius: 4px;
  padding: .15rem .5rem;
}

.mock-pill.strong   { background: rgba(40,200,100,.2); color: #4de899; }
.mock-pill.moderate { background: rgba(247,127,0,.2);  color: var(--orange); }
.mock-pill.weak     { background: rgba(220,60,60,.2);  color: #ff6b6b; }

.mock-status-row {
  display: flex;
  gap: .6rem;
}

.mock-status-item {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  padding: .6rem .7rem;
}

.mock-status-item .label {
  font-size: .62rem;
  color: rgba(255,255,255,.42);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
  margin-bottom: .2rem;
}

.mock-status-item .val {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

/* ---- Page Header (interior pages) ---- */
.page-header {
  background: linear-gradient(140deg, var(--navy) 0%, #0d2d5c 100%);
  padding: 52px 0 46px;
  text-align: center;
}

.page-header h1 { color: var(--white); margin-bottom: .5rem; font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
.page-header p  { color: rgba(255,255,255,.68); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ---- Feature Cards ---- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 1.75rem;
  transition: box-shadow .18s;
}

.feature-card:hover {
  box-shadow: 0 3px 16px rgba(11,26,48,.12);
}

/* ---- Screenshot in content sections ---- */
.screen-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 2px 16px rgba(11,26,48,.12);
  background: var(--navy);
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-caption {
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
  margin-top: .5rem;
  display: block;
}

/* Naming-mismatch note  */
.naming-note {
  font-size: .78rem;
  color: var(--muted);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .55rem .85rem;
  margin-top: .5rem;
  line-height: 1.55;
}

/* ---- Steps ---- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: var(--white);
  font-weight: 800;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 { margin-bottom: .3rem; }
.step-body p  { color: var(--muted); margin: 0; }
.step-body p + p { margin-top: .65rem; }

/* ---- Checklist ---- */
.checklist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--text);
  font-size: .9rem;
}

.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: .15rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%231e60ad'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: .9rem 1.15rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  transition: background .15s;
  font-family: var(--font);
}

.faq-question:hover { background: var(--bg-light); }

.faq-question svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--muted);
  transition: transform .2s;
}

.faq-item.open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.15rem 1rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ---- Download Card ---- */
.download-card {
  background: var(--white);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(30,96,173,.10);
  padding: 2.5rem;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.download-card .os-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.15rem;
  color: var(--accent-blue);
}

.download-card h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.download-card .version-line {
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: 1.65rem;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.download-links a {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-links a:hover { color: var(--accent-blue); }

/* ---- Sysreq ---- */
.sysreq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.sysreq-table th,
.sysreq-table td {
  text-align: left;
  padding: .65rem .95rem;
  border-bottom: 1px solid var(--border);
}

.sysreq-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--bg-light);
}

/* ---- Notice / Disclaimer ---- */
.notice {
  background: var(--bg-light);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.15rem;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.65;
}

.notice strong { color: var(--text); }

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(140deg, var(--deep-blue) 0%, var(--navy) 100%);
  padding: 64px 0;
  text-align: center;
}

.cta-banner h2, .cta-banner p { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 520px; margin: .7rem auto 1.85rem; font-size: 1rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  padding: 52px 0 26px;
  color: rgba(255,255,255,.62);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand .nav-logo { display: inline-block; margin-bottom: .8rem; }
.footer-brand p { font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,.50); }

.footer-col h4 {
  color: var(--white);
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .9rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.54);
  font-size: .84rem;
  transition: color .15s;
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  font-size: .76rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-disclaimer {
  margin-top: .9rem;
  font-size: .76rem;
  color: rgba(255,255,255,.36);
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: .9rem;
}

/* ---- Support categories ---- */
.support-cat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

.support-cat-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-top: .1rem;
}

.support-cat-icon svg { width: 20px; height: 20px; }

/* ---- Support contact box ---- */
.support-contact-box {
  background: var(--deep-blue);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--white);
  align-items: flex-start;
}

.support-contact-box p {
  font-size: .8rem;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .4rem;
}

.contact-detail {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  display: block;
  line-height: 1.45;
}

/* ---- Two-col layout helper ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ---- Who it's for ---- */
.audience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.audience-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.audience-item svg {
  flex-shrink: 0;
  margin-top: .15rem;
  color: var(--accent-blue);
}

/* ---- Process phases ---- */
.process-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.process-phase-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 1.25rem;
  text-align: center;
}

.process-phase-card--active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: var(--white);
}

.process-phase-eyebrow {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
  opacity: .75;
}

.process-phase-title {
  font-size: 1rem;
  font-weight: 700;
  color: inherit;
}

.process-phase-copy {
  font-size: .82rem;
  margin-top: .35rem;
  color: inherit;
  opacity: .88;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-gallery-meta,
  .hero-gallery-modal-header,
  .hero-gallery-modal-footer {
    flex-direction: column;
  }

  .hero-gallery-help {
    text-align: left;
    max-width: none;
  }

  .hero-screenshot,
  .hero-mock-shell {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .mock-body {
    flex-direction: column;
  }

  .mock-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .3rem;
    padding: .5rem .6rem;
  }

  .mock-nav-group-label { display: none; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .support-contact-box {
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .hero-gallery-nav {
    width: 38px;
    height: 38px;
  }

  .hero-gallery-nav--prev {
    left: .6rem;
  }

  .hero-gallery-nav--next {
    right: .6rem;
  }

  .hero-gallery-modal-stage {
    padding: .85rem;
  }

  .hero-gallery-modal .hero-gallery-nav--prev {
    left: 1.1rem;
  }

  .hero-gallery-modal .hero-gallery-nav--next {
    right: 1.1rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }

  .hero { padding: 60px 0 52px; }
  .cta-banner { padding: 48px 0; }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .download-card { padding: 1.75rem 1.25rem; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-cat {
    padding: 1rem;
  }

  .support-contact-box {
    padding: 1.25rem;
  }

  .step-item {
    flex-direction: column;
    gap: .75rem;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: .8rem;
  }

  .download-links {
    flex-direction: column;
    align-items: center;
  }

  .sysreq-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
