/* ============================================================
   AAVARTAM — SHARED DESIGN SYSTEM
   Brand: deep navy + warm cream + gold swoosh (per logo).
   Editorial, premium, trustworthy. Fraunces (display) + Inter (body).
============================================================ */
:root {
  /* Brand palette — from the Aavartam logo */
  --navy:          #1B2034;   /* logo background navy */
  --navy-deep:     #121624;
  --navy-soft:     #283050;
  --gold:          #E8A23B;   /* swoosh gold */
  --gold-deep:     #D98E2B;
  --gold-dim:      rgba(217,142,43,0.12);
  --gold-glow:     rgba(232,162,59,0.30);

  /* Light surfaces */
  --bg-base:       #F8F4EC;   /* warm cream */
  --bg-surface:    #FFFFFF;
  --bg-elevated:   #F1EAE0;
  --bg-card:       #FFFFFF;
  --border:        rgba(20,32,63,0.10);
  --border-bright: rgba(20,32,63,0.20);

  /* Text on light */
  --text-primary:  #1B2034;
  --text-secondary:#48526B;
  --text-muted:    #8A90A2;

  /* Text on navy */
  --cream:         #F6F1E7;
  --cream-soft:    #C3C8D8;
  --cream-muted:   #7E879F;
  --border-navy:   rgba(246,241,231,0.12);

  --red:           #D95B45;
  --red-dim:       rgba(217,91,69,0.12);
  --green:         #2E9E6B;
  --green-dim:     rgba(46,158,107,0.12);
  --amber:         #E8A23B;
  --amber-dim:     rgba(232,162,59,0.14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-card: 0 1px 3px rgba(20,32,63,0.08), 0 10px 32px rgba(20,32,63,0.10);
  --shadow-deep: 0 2px 6px rgba(13,23,48,0.35), 0 18px 48px rgba(13,23,48,0.35);
  --shadow-glow: 0 0 44px rgba(232,162,59,0.18);

  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);

  --max-w: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; }

/* ── Typography ── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.25;
}
.display-xl em, .display-lg em, .display-md em {
  font-style: italic;
  color: var(--gold-deep);
}
.label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.body-lg { font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary); }
.body-md { font-size: 1rem; line-height: 1.65; color: var(--text-secondary); }
.body-sm { font-size: 0.875rem; line-height: 1.6; color: var(--text-secondary); }

/* ── Navy sections ── */
.section-navy {
  background: var(--navy);
  color: var(--cream);
}
.section-navy .display-lg, .section-navy .display-xl, .section-navy .display-md { color: var(--cream); }
.section-navy .display-lg em, .section-navy .display-xl em, .section-navy .display-md em { color: var(--gold); }
.section-navy .label { color: var(--gold); }
.section-navy .body-lg, .section-navy .body-md, .section-navy .body-sm { color: var(--cream-soft); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover {
  background: #F2B255;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(20,32,63,0.3); }
.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-bright); }
.btn-ghost:hover { border-color: var(--gold-deep); color: var(--text-primary); background: var(--gold-dim); }
.section-navy .btn-ghost, .hero .btn-ghost, .footer .btn-ghost, .nav .btn-ghost {
  color: var(--cream-soft); border-color: rgba(246,241,231,0.25);
}
.nav .btn-ghost:hover { border-color: var(--gold); color: var(--cream); background: rgba(232,162,59,0.1); }
.section-navy .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--gold); color: var(--cream); background: rgba(232,162,59,0.10); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Section scaffolding ── */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header.centered { text-align: center; }
.section-header .label { margin-bottom: 1rem; display: block; }
.section-header .body-lg { margin-top: 1rem; max-width: 640px; }
.section-header.centered .body-lg { margin: 1rem auto 0; }

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.nav-logo .logo-img { height: 42px; width: auto; display: block; }
.footer-brand .logo-img { height: 50px; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: 0 8px 32px rgba(13,23,48,0.35);
  border-color: var(--border-navy);
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: var(--cream-soft); transition: color var(--transition); }
.nav-links a:hover { color: var(--cream); }
.nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; padding: 4px; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--cream-soft); border-radius: 2px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions .btn-ghost { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy);
  padding: 5.5rem var(--gutter) 2rem;
  flex-direction: column;
  gap: 1.4rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--cream);
  border-bottom: 1px solid var(--border-navy);
  padding-bottom: 1.4rem;
}

/* ── Home hero (navy) ── */
.hero {
  background: var(--navy);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9.5rem var(--gutter) 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232,162,59,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,162,59,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 95%);
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 640px;
  background: radial-gradient(ellipse, rgba(232,162,59,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero .display-xl { color: var(--cream); }
.hero .display-xl em { color: var(--gold); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.9rem;
  background: rgba(232,162,59,0.12);
  border: 1px solid rgba(232,162,59,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 2rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--cream-soft);
  max-width: 700px;
  margin: 1.75rem auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.25rem; font-size: 0.8rem; color: var(--cream-muted); }

/* ── Page hero (inner pages, light) ── */
.page-hero {
  padding: clamp(8.5rem, 15vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,32,63,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,32,63,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}
.page-hero .container { position: relative; }
.page-hero .body-lg { max-width: 680px; margin-top: 1.25rem; }

/* ── Product screenshots ── */
.shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: var(--shadow-card);
  background: var(--bg-surface);
}
.shot img { width: 100%; height: auto; display: block; }
.shot-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--border-navy);
}
.shot-bar .dot { width: 9px; height: 9px; border-radius: 50%; }
.shot-bar .dot:nth-child(1) { background: #FF5F57; }
.shot-bar .dot:nth-child(2) { background: #FEBC2E; }
.shot-bar .dot:nth-child(3) { background: #28C840; }
.shot-bar .shot-url {
  margin-left: 0.8rem;
  flex: 1;
  background: rgba(246,241,231,0.07);
  border: 1px solid var(--border-navy);
  border-radius: 6px;
  padding: 0.2rem 0.75rem;
  color: var(--cream-muted);
  font-size: 0.72rem;
  text-align: left;
}
.hero .shot {
  margin: 4rem auto 0;
  max-width: 1020px;
  border-color: rgba(246,241,231,0.18);
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

/* ── Card grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: 0 1px 2px rgba(20,32,63,0.05);
}
.card:hover { border-color: var(--border-bright); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text-primary); }
.card p { font-size: 0.9rem; line-height: 1.65; color: var(--text-secondary); }
.card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 20px; height: 20px; color: var(--gold-deep); }
.card-icon.navy { background: rgba(20,32,63,0.08); }
.card-icon.navy svg { color: var(--navy); }

.section-navy .card { background: var(--navy-soft); border-color: var(--border-navy); box-shadow: none; }
.section-navy .card h3 { color: var(--cream); }
.section-navy .card p { color: var(--cream-soft); }
.section-navy .card-icon { background: rgba(232,162,59,0.15); }
.section-navy .card-icon svg { color: var(--gold); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.section-navy .tag { background: rgba(246,241,231,0.08); border-color: var(--border-navy); color: var(--cream-soft); }

/* ── Pillars (what we do) ── */
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}
.pillar .pillar-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.pillar h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 0.7rem; }
.pillar p { font-size: 0.92rem; color: var(--text-secondary); }
.pillar ul { margin-top: 1rem; display: grid; gap: 0.45rem; }
.pillar ul li { font-size: 0.85rem; color: var(--text-secondary); display: flex; gap: 0.5rem; }
.pillar ul li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 1.1rem;
}
.step-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ── Feature split rows ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.split + .split { border-top: 1px solid var(--border); }
.split.flip .split-media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
}
.split-copy h2 { margin: 0.75rem 0 1rem; }
.split-copy .label { display: block; }
.split-copy p { color: var(--text-secondary); line-height: 1.7; }
.split-list { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.split-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.split-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--gold-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8.5l2.5 2.5 4.5-5' stroke='%23D98E2B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.split-list li strong { color: var(--text-primary); font-weight: 600; }
.split-media { min-width: 0; }

/* ── Quote / testimonial ── */
.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-primary);
}
.quote-card .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote-card .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
}
.quote-card .who-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.quote-card .who-role { font-size: 0.75rem; color: var(--text-muted); }

/* ── Big stat band ── */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 880px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat-band .big {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--gold-deep);
  line-height: 1.1;
}
.section-navy .stat-band .big { color: var(--gold); }
.stat-band .cap { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.4rem; }
.section-navy .stat-band .cap { color: var(--cream-soft); }

/* ── Agent chips ── */
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .agent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-chip {
  background: var(--navy-soft);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
}
.agent-chip h4 { font-size: 0.92rem; font-weight: 600; color: var(--cream); margin-bottom: 0.3rem; }
.agent-chip p { font-size: 0.78rem; color: var(--cream-soft); line-height: 1.55; }

/* ── Pricing ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 980px) { .tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 1px 2px rgba(20,32,63,0.05);
}
.tier.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.tier .flag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
}
.tier .tier-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.tier .tier-for { font-size: 0.85rem; color: var(--text-muted); margin: 0.35rem 0 1.5rem; }
.tier .tier-price { font-size: 1rem; font-weight: 600; color: var(--gold-deep); margin-bottom: 1.5rem; }
.tier ul { display: grid; gap: 0.65rem; margin-bottom: 2rem; }
.tier ul li {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.875rem; color: var(--text-secondary);
}
.tier ul li::before {
  content: '✓';
  color: var(--gold-deep);
  font-weight: 700;
  flex-shrink: 0;
}
.tier .btn { margin-top: auto; justify-content: center; }

/* ── Comparison table ── */
.compare { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.compare th, .compare td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { color: var(--text-primary); font-weight: 600; font-size: 0.8rem; }
.compare td { color: var(--text-secondary); }
.compare td.c, .compare th.c { text-align: center; }
.compare .yes { color: var(--gold-deep); font-weight: 700; }
.compare .no { color: var(--text-muted); }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.compare-wrap .compare th { background: var(--bg-elevated); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-q .chev { transition: var(--transition); color: var(--text-muted); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--gold-deep); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 460px; }
.faq-a-inner { padding: 0 0 1.4rem; max-width: 720px; }

/* ── Security page checklist ── */
.sec-list { display: grid; gap: 0.9rem; }
.sec-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}
.sec-item .sec-ic {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green-dim);
  display: flex; align-items: center; justify-content: center;
}
.sec-item .sec-ic svg { width: 15px; height: 15px; color: var(--green); }
.sec-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.sec-item p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; }

/* ── CTA band ── */
.cta-band {
  position: relative;
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7rem) var(--gutter);
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
}
.cta-band .display-lg { color: var(--cream); }
.cta-band .display-lg em { color: var(--gold); }
.cta-band .label { color: var(--gold); }
.cta-band .body-lg { color: var(--cream-soft); }
.cta-band::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(232,162,59,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band .hero-cta { margin-top: 2.25rem; }
.cta-band .btn-ghost { color: var(--cream-soft); border-color: var(--border-navy); }
.cta-band .btn-ghost:hover { border-color: var(--gold); color: var(--cream); background: rgba(232,162,59,0.1); }
.cta-band .hero-note { color: var(--cream-muted); }

/* ── Forms ── */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2348526B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; background-size: 14px; }
.form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: var(--cream-soft);
  padding: 4rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: var(--cream-muted); max-width: 320px; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.875rem; color: var(--cream-soft); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border-navy);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--cream-muted);
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Scroll-to-top ── */
.scroll-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-card);
}
.scroll-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { background: var(--gold); border-color: var(--gold); }
.scroll-top:hover svg { color: var(--navy-deep); }
.scroll-top svg { width: 16px; height: 16px; color: var(--text-secondary); }

/* ── Architecture stack diagram ── */
.arch-stack { display: grid; gap: 0.9rem; }
.arch-layer {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--navy-soft);
  border: 1px solid var(--border-navy);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
}
@media (max-width: 720px) { .arch-layer { grid-template-columns: 1fr; gap: 0.6rem; } }
.arch-layer .al-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.arch-layer h3 { font-size: 1.05rem; font-weight: 600; color: var(--cream); }
.arch-layer p { font-size: 0.86rem; color: var(--cream-soft); line-height: 1.6; margin-bottom: 0.8rem; }
.arch-layer .tag-row { margin-top: 0; }

/* ── Cycle (flywheel) diagram ── */
.cycle-wrap {
  position: relative;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.cycle-wrap::before {
  content: '';
  position: absolute;
  inset: 17%;
  border: 2px dashed rgba(217,142,43,0.45);
  border-radius: 50%;
}
.cycle-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 31%;
  aspect-ratio: 1;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  color: var(--cream);
  box-shadow: var(--shadow-card);
  padding: 1rem;
}
.cycle-center .cc-word { font-family: var(--font-display); font-size: clamp(0.8rem, 1.4vw, 1rem); letter-spacing: 0.08em; }
.cycle-center .cc-sub { font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.cycle-node {
  position: absolute;
  width: 38%;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.85rem 1rem;
  text-align: center;
}
.cycle-node h4 { font-size: 0.88rem; font-weight: 700; color: var(--text-primary); }
.cycle-node h4 span { color: var(--gold-deep); margin-right: 0.3rem; }
.cycle-node p { font-size: 0.7rem; color: var(--text-secondary); line-height: 1.45; margin-top: 0.2rem; }
.cycle-node.n1 { top: 0; left: 50%; transform: translateX(-50%); }
.cycle-node.n2 { top: 50%; right: 0; transform: translateY(-50%); }
.cycle-node.n3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.cycle-node.n4 { top: 50%; left: 0; transform: translateY(-50%); }
@media (max-width: 560px) {
  .cycle-wrap { aspect-ratio: auto; max-width: 380px; display: grid; gap: 0.8rem; }
  .cycle-wrap::before, .cycle-center { display: none; }
  .cycle-node { position: static; width: 100%; transform: none; }
}

/* ── Mini concept flow ── */
.flow {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.flow-step {
  flex: 1 1 0;
  min-width: 110px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 0.9rem;
  text-align: center;
}
.flow-step h5 { font-size: 0.78rem; font-weight: 700; color: var(--text-primary); }
.flow-step p { font-size: 0.66rem; color: var(--text-muted); line-height: 1.4; margin-top: 0.15rem; }
.flow-arrow { display: flex; align-items: center; color: var(--gold-deep); font-weight: 700; }
.concept-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.concept-panel .cp-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
