/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
   Note Buying — Financial Services
   Moxxie navy + cyan accent, clean sans-serif
════════════════════════════════════════════════════ */

:root,
[data-theme='light'] {
  /* Surfaces — light warm white with slight cool tint */
  --color-bg: #f5f6fa;
  --color-surface: #ffffff;
  --color-surface-2: #eef0f8;
  --color-surface-offset: #e6e9f4;
  --color-divider: #d4d8ec;
  --color-border: #c4c9e2;

  /* Text */
  --color-text: #0e1628;
  --color-text-muted: #4a5272;
  --color-text-faint: #9098b8;
  --color-text-inverse: #f5f6fa;

  /* Primary — Moxxie Medium Blue */
  --color-primary: #3a5fd4;
  --color-primary-hover: #2a4fbf;
  --color-primary-active: #1e3fa8;
  --color-primary-highlight: #dce5fa;

  /* Accent — Moxxie Cyan-Blue (bright face of the cube) */
  --color-accent: #38b8e8;
  --color-accent-hover: #1e9fd0;
  --color-accent-active: #0e7aaa;
  --color-accent-highlight: #d4f0fc;

  /* Success */
  --color-success: #1e8a5a;
  --color-success-highlight: #d0eedd;

  /* Dark section — Moxxie logo background navy */
  --color-dark-bg: #0a1628;
  --color-dark-surface: #0f1f3a;
  --color-dark-text: #e0e8f8;
  --color-dark-muted: #8090b8;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.07);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.14);
  --shadow-xl: 0 24px 60px rgba(10, 22, 40, 0.18);

  /* Transitions */
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 1000px;
  --content-wide: 1240px;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.28vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  --text-hero: clamp(2.25rem, 1rem + 5vw, 4.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

[data-theme='dark'] {
  /* Moxxie dark: true navy background, blue-shifted surfaces */
  --color-bg: #07101e;
  --color-surface: #0d1a2e;
  --color-surface-2: #112038;
  --color-surface-offset: #0f1d34;
  --color-divider: #1c3050;
  --color-border: #264268;
  --color-text: #dce8f8;
  --color-text-muted: #7a9ac8;
  --color-text-faint: #3d5878;
  --color-text-inverse: #07101e;
  /* Primary brightens in dark mode */
  --color-primary: #5b84e8;
  --color-primary-hover: #7a9ef0;
  --color-primary-active: #9ab8f8;
  --color-primary-highlight: #142040;
  /* Accent: Moxxie cyan lightens */
  --color-accent: #38b8e8;
  --color-accent-hover: #5ecdf4;
  --color-accent-highlight: #0a2035;
  --color-dark-bg: #040e1a;
  --color-dark-surface: #091525;
  --color-dark-text: #d8e8f8;
  --color-dark-muted: #6888a8;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.50);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.60);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0d1f35;
    --color-surface: #13293f;
    --color-surface-2: #1a3350;
    --color-surface-offset: #162c49;
    --color-divider: #243d5a;
    --color-border: #2c4a68;
    --color-text: #e0e8f0;
    --color-text-muted: #8aa0b8;
    --color-text-faint: #4d6880;
    --color-text-inverse: #0d1f35;
    --color-primary: #6a9fd8;
    --color-primary-hover: #89b4e4;
    --color-primary-active: #a8caea;
    --color-primary-highlight: #1e3550;
    --color-accent: #38b8e8;
    --color-accent-hover: #e0bc6a;
    --color-accent-highlight: #2a2210;
  }
}

/* ═══════════════════════════════════════════════════
   BASE RESET
════════════════════════════════════════════════════ */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; }
p, li { text-wrap: pretty; max-width: 70ch; }

::selection {
  background: rgba(26, 58, 92, 0.2);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { color: var(--color-primary-hover); }

/* ═══════════════════════════════════════════════════
   LAYOUT
════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.container.narrow {
  max-width: var(--content-narrow);
}

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-light { background: var(--color-surface); }
.section-offset { background: var(--color-surface-2); }

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-label-light {
  color: #38b8e8;
  opacity: 1;
}

.section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 62ch;
}

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
.two-col-reverse .col-text { order: 2; }
.two-col-reverse .about-visual { order: 1; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col-reverse .col-text { order: 1; }
  .two-col-reverse .about-visual { order: 2; }
}

.col-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.col-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}
.col-text .btn { margin-top: var(--space-4); }

/* ═══════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost:hover {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
}

/* Ghost button on dark/hero backgrounds */
.hero .btn-ghost {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--color-dark-bg);
  border-color: #ffffff;
}
.btn-white:hover {
  background: #f0f4f8;
  color: var(--color-dark-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #6870b4;
  border-bottom: none;
  transition: box-shadow var(--transition);
}

[data-theme='dark'] .site-header {
  background: rgba(13, 31, 53, 0.95);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: var(--space-4);
}

.nav-cta-bar {
  display: flex;
  justify-content: center;
  padding: 0.5rem var(--space-6) 0.6rem;
  background: #6870b4;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo:hover { color: var(--color-text); opacity: 0.85; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size: var(--text-sm);
  color: #ffffff;
  font-weight: 500;
}
.nav-links a:hover { color: #ffffff; opacity: 0.8; }

.hamburger {
  display: none !important;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5) var(--space-5);
  background: #6870b4 !important;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  color: #ffffff;
  font-weight: 500;
  border-bottom: 1px solid var(--color-divider);
}
.mobile-nav a:last-child { border: none; margin-top: var(--space-3); }
.mobile-nav .btn { text-align: center; }

.form-width-wrapper {
  max-width: 76%;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-cta-bar { justify-content: center; }
  .form-width-wrapper { max-width: 100% !important; }
}

/* ═══════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: linear-gradient(160deg, #0a1628 0%, #0f2245 50%, #1e3a7a 100%);
  padding-block: clamp(var(--space-20), 12vw, var(--space-24));
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 75%, rgba(56, 184, 232, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 122, 224, 0.14) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(56, 184, 232, 0.12);
  color: #38b8e8;
  border: 1px solid rgba(56, 184, 232, 0.3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-heading .accent {
  color: #38b8e8;
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(220, 232, 245, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 60ch;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.hero-note {
  font-size: var(--text-xs);
  color: rgba(160, 176, 192, 0.8);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════
   TRUST STRIP
════════════════════════════════════════════════════ */

.trust-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-5);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}
.trust-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   VISUAL CARDS
════════════════════════════════════════════════════ */

.col-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.visual-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: box-shadow var(--transition), transform var(--transition);
}
.visual-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.visual-card-icon { flex-shrink: 0; }

.visual-card-stat strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.visual-card-stat p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
   EXPLAINER GRID
════════════════════════════════════════════════════ */

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.explainer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-top: 3px solid var(--color-accent);
}
.explainer-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.explainer-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   PERSONA GRID
════════════════════════════════════════════════════ */

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.persona-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: box-shadow var(--transition), transform var(--transition);
}
.persona-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.persona-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-3);
}
.persona-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.persona-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   DARK SECTION (PROBLEMS)
════════════════════════════════════════════════════ */

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-dark-text);
}
.section-dark h2.light,
.section-dark .section-intro.light {
  color: var(--color-dark-text) !important;
}
.section-dark .section-intro.light {
  color: var(--color-dark-muted) !important;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.problem-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.problem-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.problem-number {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.problem-item h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: var(--space-3);
}
.problem-item p {
  font-size: var(--text-sm);
  color: var(--color-dark-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════
   OPTIONS SPLIT (FULL / PARTIAL)
════════════════════════════════════════════════════ */

.options-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (max-width: 680px) {
  .options-split { grid-template-columns: 1fr; }
}

.option-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 2px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition);
}
.option-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.option-full {
  background: var(--color-primary-highlight);
  border-color: var(--color-primary);
}
.option-partial {
  background: var(--color-accent-highlight);
  border-color: var(--color-accent);
}

.option-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.option-full .option-label {
  background: var(--color-primary);
  color: white;
}
.option-partial .option-label {
  background: var(--color-accent);
  color: white;
}

.option-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.option-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  line-height: 1.65;
}
.option-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.option-list li {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  padding-left: var(--space-5);
  position: relative;
}
.option-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.option-partial .option-list li::before {
  color: var(--color-accent);
}

.options-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  line-height: 1.65;
  max-width: 100%;
}

/* ═══════════════════════════════════════════════════
   STEPS
════════════════════════════════════════════════════ */

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
}

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: var(--space-6);
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.step-connector {
  width: 2px;
  height: 2.5rem;
  background: linear-gradient(var(--color-primary), var(--color-primary-highlight));
  margin-left: calc(3.5rem / 2 - 1px);
  opacity: 0.4;
}

.step-content {
  padding-top: var(--space-3);
  padding-bottom: var(--space-8);
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.step-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  line-height: 1.65;
}
.step-note {
  font-size: var(--text-sm) !important;
  color: var(--color-accent) !important;
  font-weight: 500;
  margin-bottom: 0 !important;
}

/* ═══════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════ */

.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-quote-card {
  background: var(--color-primary-highlight);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
}
.about-quote-card .quote-icon {
  margin-bottom: var(--space-3);
  opacity: 0.7;
}
.about-quote-card p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.value-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════════ */

.cta-banner {
  background: linear-gradient(135deg, #1a3a7a 0%, #0a1628 100%);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: white;
  margin-bottom: var(--space-3);
  max-width: 50ch;
}
.cta-text p {
  font-size: var(--text-base);
  color: rgba(220, 232, 245, 0.85);
  max-width: 50ch;
}

@media (max-width: 680px) {
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text h2, .cta-text p { max-width: 100%; }
  .cta-inner .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   FORM
════════════════════════════════════════════════════ */

.note-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

fieldset {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

legend {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  padding-inline: var(--space-3);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-divider);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.form-group:first-of-type { margin-top: var(--space-4); }

label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
label span { color: var(--color-accent); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

input::placeholder, textarea::placeholder {
  color: var(--color-text-faint);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:focus) { border-color: #c0392b; }

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236b6a65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

textarea { resize: vertical; min-height: 100px; }

.form-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  max-width: 100%;
}

.form-success {
  text-align: center;
  padding: var(--space-10);
  background: var(--color-success-highlight);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-success);
}
.form-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 50ch;
  text-align: center;
}

/* ═══════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8.25' stroke='%237b80e8' stroke-width='1.5'/%3E%3Cpath d='M6 9h6M9 6v6' stroke='%237b80e8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8.25' stroke='%237b80e8' stroke-width='1.5'/%3E%3Cpath d='M6 9h6' stroke='%237b80e8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  transform: rotate(0deg);
}
.faq-item summary:hover { color: var(--color-primary); }
.faq-item[open] summary { color: var(--color-primary); }

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-top: var(--space-4);
}

/* ═══════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */

.site-footer {
  background: var(--color-dark-bg);
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand .logo {
  color: #e0e8f0;
  margin-bottom: var(--space-3);
}
.footer-brand .logo:hover { opacity: 0.85; }
.footer-brand .logo-text { color: #e0e8f0; }
.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-dark-muted);
  max-width: 28ch;
  line-height: 1.6;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-nav a {
  font-size: var(--text-sm);
  color: var(--color-dark-muted);
  font-weight: 700;
}
.footer-nav a:hover { color: var(--color-dark-text); }

.footer-disclaimer p {
  font-size: var(--text-xs);
  color: rgba(160, 176, 192, 0.6);
  line-height: 1.65;
  max-width: 36ch;
}
.footer-copy {
  margin-top: var(--space-4);
  color: rgba(160, 176, 192, 0.5) !important;
}

/* ═══════════════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE POLISH
════════════════════════════════════════════════════ */

@media (max-width: 500px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
}

/* ═══════════════════════════════════════════════════
   LOGO IMAGE
════════════════════════════════════════════════════ */

.nav-logo-img {
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* ═══════════════════════════════════════════════════
   PHOTO BAND (4-column grid below trust strip)
════════════════════════════════════════════════════ */

.photo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 260px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .photo-band {
    grid-template-columns: repeat(2, 1fr);
    height: 320px;
  }
}

@media (max-width: 480px) {
  .photo-band {
    grid-template-columns: 1fr 1fr;
    height: 260px;
  }
}

.photo-band-item {
  position: relative;
  overflow: hidden;
}

.photo-band-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.photo-band-item:hover img {
  transform: scale(1.05);
}

.photo-band-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.72));
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   ABOUT PHOTO
════════════════════════════════════════════════════ */

.about-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  margin-bottom: var(--space-5);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════
   FULL-BLEED PHOTO FEATURE
════════════════════════════════════════════════════ */

.full-bleed-photo {
  position: relative;
  height: clamp(280px, 35vw, 440px);
  overflow: hidden;
}

.full-bleed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.full-bleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 40, 0.82) 0%,
    rgba(10, 22, 40, 0.55) 60%,
    rgba(10, 22, 40, 0.20) 100%
  );
  display: flex;
  align-items: center;
}

.full-bleed-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 560px;
}

.full-bleed-quote {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #ffffff;
  line-height: 1.4;
  font-style: italic;
  max-width: 100%;
}

@media (max-width: 640px) {
  .full-bleed-photo { height: 320px; }
  .full-bleed-overlay { background: rgba(10, 22, 40, 0.70); }
  .full-bleed-inner { max-width: 100%; }
  .full-bleed-quote { font-size: var(--text-lg); }
}

/* Nav CTA button — ensure white text over Moxxie blue */
.nav-links .btn-primary {
  background: #3a5fd4;
  border-color: #3a5fd4;
  color: #ffffff !important;
}
.nav-links .btn-primary:hover {
  background: #2a4fbf;
  border-color: #2a4fbf;
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════
   GOHIGHLEVEL FORM EMBEDS
════════════════════════════════════════════════════ */

.ghl-form-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ghl-form-wrap iframe {
  width: 100%;
  height: auto;
  min-height: 200px;
  border: none;
  display: block;
  border-radius: var(--radius-lg);
}

.ghl-form-wrap-dark {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: visible;
  margin-top: var(--space-6);
  min-height: 560px;
}

.free-quote-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
}

.free-quote-badge {
  background: rgba(123,128,232,0.18);
  color: #c5c8ff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(123,128,232,0.4);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════
   HANDBOOK LEAD MAGNET
════════════════════════════════════════════════════ */

/* Override dark section h2 colour */
#free-handbook h2.light {
  color: var(--color-dark-text);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-5);
}

.handbook-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.handbook-list li {
  font-size: var(--text-sm);
  color: var(--color-dark-muted);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.55;
  max-width: 100%;
}

.handbook-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.9;
  flex-shrink: 0;
}

.handbook-form-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.handbook-form-card {
  background: var(--color-dark-surface);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  width: 100%;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: var(--space-5);
}

.handbook-form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
}

.handbook-form-header strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-dark-text);
  margin-bottom: var(--space-1);
}

.handbook-form-header span {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .handbook-form-col {
    width: 100%;
  }
  .handbook-form-card {
    padding: var(--space-5);
  }
}

/* ═══════════════════════════════════════════════════
   HERO LOGO
════════════════════════════════════════════════════ */

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.hero-logo-img {
  width: clamp(200px, 28vw, 320px);
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  /* Subtle glow matching the cube's cyan */
  filter: drop-shadow(0 0 24px rgba(56, 184, 232, 0.35));
}

/* ═══════════════════════════════════════════════════
   MOXXIE COLOR OVERRIDES — purge all remaining gold
   Primary text accents now use Moxxie periwinkle (#7b80e8)
   or Moxxie cyan (#38b8e8) depending on context
════════════════════════════════════════════════════ */

/* Hero heading accent line — periwinkle from the MOXXIE wordmark */
.hero-heading .accent {
  color: #7b80e8 !important;
}

/* Hero badge — cyan */
.hero-badge {
  background: rgba(123, 128, 232, 0.15) !important;
  color: #7b80e8 !important;
  border-color: rgba(123, 128, 232, 0.4) !important;
}

/* Trust strip icons — cyan */
.trust-item svg {
  color: #4a4db8 !important;
}

/* Section labels — cyan */
.section-label {
  color: #7b80e8 !important;
  font-weight: 700 !important;
}

/* Explainer card top border — periwinkle */
.explainer-card {
  border-top-color: #7b80e8 !important;
}

/* Step numbers — Moxxie mid-blue */
.step-number {
  background: #4a7ae0 !important;
}

/* Step note text — cyan instead of gold */
.step-note {
  color: #7b80e8 !important;
  font-weight: 700 !important;
}

/* About section quote border-left — periwinkle */
.about-quote-card {
  border-left-color: #7b80e8 !important;
  background: rgba(123, 128, 232, 0.08) !important;
}
.about-quote-card .quote-icon path {
  fill: #7b80e8 !important;
}

/* Value checkmarks — cyan */
.value-item svg {
  stroke: #38b8e8 !important;
}

/* Option cards — restyle with Moxxie blues instead of gold/navy */
.option-full {
  background: rgba(74, 122, 224, 0.08) !important;
  border-color: #4a7ae0 !important;
}
.option-partial {
  background: rgba(56, 184, 232, 0.08) !important;
  border-color: #38b8e8 !important;
}
.option-full .option-label {
  background: #4a7ae0 !important;
  color: #ffffff !important;
}
.option-partial .option-label {
  background: #38b8e8 !important;
  color: #0a1628 !important;
}
.option-full .option-list li::before {
  color: #4a7ae0 !important;
}
.option-partial .option-list li::before {
  color: #38b8e8 !important;
}

/* Options disclaimer note */
.options-note {
  border-color: rgba(56, 184, 232, 0.25) !important;
}

/* Problem item number badges — cyan */
.problem-number {
  color: #38b8e8 !important;
}

/* FAQ open state — periwinkle */
.faq-item[open] {
  border-color: #7b80e8 !important;
}
.faq-item[open] summary,
.faq-item summary:hover {
  color: #7b80e8 !important;
}

/* Handbook bullet dots — cyan */
.handbook-list li::before {
  background: #38b8e8 !important;
}

/* Handbook form header span */
.handbook-form-header span {
  color: #38b8e8 !important;
}

/* Footer brand paragraph */
.footer-brand p {
  color: rgba(160, 192, 220, 0.7);
}

/* Persona card hover border */
.persona-card:hover {
  border-color: rgba(56, 184, 232, 0.3);
}

/* Visual card hover */
.visual-card:hover {
  border-color: rgba(56, 184, 232, 0.3);
}

/* ═══════════════════════════════════════════════════
   HERO HEADLINE — ARIAL BOLD
════════════════════════════════════════════════════ */

.hero-line-1 {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  font-weight: 700 !important;
  display: block;
  color: #d6e9ff;
}

.hero-spacer {
  display: block;
  margin-bottom: 0.4em;
  line-height: 0;
  content: '';
}

.hero-line-2 {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  font-weight: 700 !important;
  display: block;
}

.hero-line-3 {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  font-weight: 700 !important;
  display: block;
  font-size: 0.72em;
  color: #ffffff;
  opacity: 0.88;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════
   REQUEST A FREE NOTE REVIEW BUTTON — DARK PERIWINKLE
════════════════════════════════════════════════════ */

/* Hero primary CTA */
.hero .btn-primary,
.hero-actions .btn-primary {
  background: #3a5fd4 !important;
  border-color: #3a5fd4 !important;
  color: #ffffff !important;
}
.hero .btn-primary:hover,
.hero-actions .btn-primary:hover {
  background: #2a4fbf !important;
  border-color: #2a4fbf !important;
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════════
   NAV LOGO — 2X LARGER + ARIAL BRAND NAME
════════════════════════════════════════════════════ */

.nav-logo-img {
  width: 72px !important;
  height: 72px !important;
  border-radius: var(--radius-md) !important;
}

.logo-text {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  font-weight: 700 !important;
}

/* Nav height — full height preserved for logo, bottom space reduced */
.nav-inner {
  height: auto !important;
  padding-top: 0.4rem !important;
  padding-bottom: 0 !important;
}

.nav-logo-img {
  width: 64px !important;
  height: 64px !important;
}

@media (max-width: 768px) {
  .nav-inner { height: 2.8rem !important; }
  .nav-cta-bar { padding: 0.35rem var(--space-4); }
  .logo img { width: 36px !important; height: 36px !important; }
}

/* ── Nav layout fix: tighter gaps + smaller link text to fit larger logo ── */
.nav-inner {
  gap: var(--space-4) !important;
}
.nav-links {
  gap: var(--space-4) !important;
}
.nav-links a:not(.btn) {
  font-size: 0.8rem !important;
  white-space: nowrap !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
.nav-links .btn-sm {
  font-size: 0.78rem !important;
  padding: var(--space-2) var(--space-3) !important;
  white-space: nowrap !important;
}

/* ═══════════════════════════════════════════════════
   TRUST PHOTO GRID
════════════════════════════════════════════════════ */
.trust-photo-section {
  background: #f4f5fe;
  padding: var(--space-12) 0;
}
.trust-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.trust-photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.trust-photo-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.trust-photo-item:hover img {
  transform: scale(1.04);
}
.trust-photo-caption {
  background: rgba(123, 128, 232, 0.88);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  padding: var(--space-3);
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .trust-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .trust-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Section CTA button wrap ── */
.section-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
  padding-bottom: var(--space-4);
}

/* ── How We Advise Grid ── */
.advise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (max-width: 640px) {
  .advise-grid { grid-template-columns: 1fr; }
}

.advise-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-left: 4px solid #7b80e8;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.advise-icon {
  font-size: 1.8rem;
  margin-bottom: var(--space-3);
}

.advise-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: #3a4aab;
  margin-bottom: var(--space-2);
}

.advise-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Note Holder Stages ── */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

@media (max-width: 768px) {
  .stages-grid { grid-template-columns: 1fr; }
}

.stage-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
  position: relative;
}

.stage-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(123,128,232,0.4);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stage-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #d6e9ff;
  margin-bottom: var(--space-3);
}

.stage-card p {
  font-size: var(--text-sm);
  color: var(--color-dark-muted);
  margin-bottom: var(--space-4);
}

.stage-link {
  color: #7b80e8;
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
}

.stage-link:hover { color: #d6e9ff; }

/* ── Know Your Value section ── */
.value-reasons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-6) auto;
  max-width: 480px;
}

.value-reason-item {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  width: 100%;
}

.value-cta-row {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-6);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── Who We Help Grid ── */
.who-we-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-8);
}

@media (max-width: 900px) {
  .who-we-help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .who-we-help-grid { grid-template-columns: 1fr; }
}

.who-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.who-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.who-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: #3a4aab;
  margin-bottom: var(--space-2);
}

.who-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Trust Promise Bar ── */
.trust-promise-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.trust-promise-item {
  background: rgba(123,128,232,0.15);
  border: 1px solid rgba(123,128,232,0.3);
  color: #d6e9ff;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ── Handbook CTA label + button ── */
.handbook-cta-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e0e8f0;
  margin: 0;
  text-align: center;
}
.handbook-cta-btn {
  display: block;
  width: auto;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  background: #3a5fd4 !important;
  border-color: #3a5fd4 !important;
}
.handbook-cta-btn:hover {
  background: #2a4fbf !important;
  border-color: #2a4fbf !important;
}

/* ── Note paperwork photo strip ── */
.note-photo-strip {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
  width: 100%;
}
.note-photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  background: #ffffff;
  border: 1px solid #d0d4f0;
  width: 100%;
}
.note-photo-item img {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: #ffffff;
  padding: 0;
  transition: transform 0.3s ease;
}
.note-photo-item:hover img {
  transform: scale(1.04);
}
.note-photo-caption {
  background: rgba(74, 77, 184, 0.88);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
  padding: var(--space-3);
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════
   TESTIMONIALS SECTION
════════════════════════════════════════════════════ */
/* WHY SELL GRID */
.why-sell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.why-sell-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 2px 12px rgba(123,128,232,0.10);
  border-left: 4px solid #7b80e8;
}
.why-sell-icon {
  color: #7b80e8;
  font-size: 0.6rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}
.why-sell-item h4 {
  color: #4a4db8;
  font-weight: 700;
  margin: 0 0 var(--space-2);
  font-size: 1rem;
}
.why-sell-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .why-sell-grid {
    grid-template-columns: 1fr;
  }
}

.testimonials-section {
  background: #f0f1fc;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 4px solid #7b80e8;
}
.testimonial-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 260px;
}
.testimonial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.testimonial-stars {
  color: #f5a623;
  font-size: 1.2rem;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin: 0;
  flex: 1;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-3);
}
.testimonial-author strong {
  font-size: 0.95rem;
  color: #1a3a7a;
  font-weight: 700;
}
.testimonial-author span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.testimonial-badge {
  display: inline-block;
  margin-top: var(--space-1);
  background: #7b80e8;
  color: #fff !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  width: fit-content;
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Remove whitespace between intro text and form in note review section ── */
#note-review-form .section-intro {
  margin-bottom: var(--space-4) !important;
}
#note-review-form .ghl-form-wrap {
  margin-top: 0 !important;
}

/* ═══════════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════════════ */
.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(123,128,232,0.12);
  border: 1px solid #d0d4f0;
  padding: var(--space-8) var(--space-10);
  margin-top: var(--space-8);
  display: inline-block;
  text-align: left;
  min-width: 320px;
}
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: 1rem;
  line-height: 1.6;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-icon {
  font-size: 1.3rem;
  color: #7b80e8;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-row strong {
  color: #4a4db8;
  font-weight: 700;
}
.contact-row a {
  color: #3a5fd4;
  font-weight: 600;
  text-decoration: none;
}
.contact-row a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════
   TOP CONTACT BAR
════════════════════════════════════════════════════ */
.top-contact-bar {
  background: #0a1628;
  border-bottom: 1px solid rgba(123,128,232,0.3);
  padding: 0.45rem 0;
}
.top-contact-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.top-contact-left {
  display: flex;
  flex-direction: row;
  gap: var(--space-5);
  align-items: center;
  flex-shrink: 0;
}
.top-contact-item {
  color: #d6e9ff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.top-contact-item:hover {
  color: #7b80e8;
}

/* FOOTER CONTACT */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: var(--space-3);
}
.footer-contact-item {
  color: #b8d4f8;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-contact-item:hover {
  color: #ffffff;
}



/* GREEN PHONE ICON */
.phone-icon {
  color: #2ecc71;
}

/* TOP BAR TAGLINE */
.top-tagline {
  color: rgba(214, 233, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.02em;
  text-align: right;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: var(--space-4);
}

/* NAV TAGLINE */
.nav-tagline {
  color: rgba(214, 233, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

/* ── Hero trust row ──────────────────────────────── */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.hero-trust-item {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
}

/* ── Compact Homepage FAQ ────────────────────────────────────────────────── */
.compact-faq-section { padding-block: var(--space-12); }
.compact-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
  text-align: left;
}
.compact-faq-item {
  background: #fff;
  border: 1px solid rgba(123,128,232,0.18);
  border-radius: 10px;
  padding: var(--space-6);
  box-shadow: 0 2px 8px rgba(10,22,40,0.05);
}
.compact-faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}
.compact-faq-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Hero secondary CTA text link ───────────────────────────────────────── */
.hero-cta-sub {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.hero-cta-link {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.hero-cta-link:hover { color: #fff; }
