:root {
  --c-primary:       #d4a843;
  --c-primary-dark:  #B68A25;
  --c-accent:        #D4A84B;
  --c-bg:            #111a3a;
  --c-bg-alt:        #1E3054;
  --c-bg-soft:       color-mix(in srgb, var(--c-bg) 92%, white);
  --c-text:          #f5f0e0;
  --c-text-muted:    #A8B5CC;
  --c-text-subtle:   color-mix(in srgb, var(--c-text-muted) 70%, var(--c-bg));
  --c-border:        #2C4066;
  --c-border-soft:   color-mix(in srgb, var(--c-border) 60%, var(--c-bg));
  --c-success:       #2E7D4F;
  --c-danger:        #C0392B;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(30,42,37,.04), 0 1px 1px rgba(30,42,37,.03);
  --shadow-md: 0 8px 24px -8px rgba(30,42,37,.10), 0 2px 6px rgba(30,42,37,.04);
  --shadow-lg: 0 24px 48px -16px rgba(30,42,37,.14);

  --f-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-body:    system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --measure: 80ch;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: clamp(16px, .35vw + 15px, 18px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Type scale (no webfont needed) ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  color: var(--c-text);
  line-height: 1.18;
  margin: 0 0 .55em;
  letter-spacing: -.018em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 3.6vw + 1rem, 3.4rem); letter-spacing: -.028em; font-weight: 750; }
h2 { font-size: clamp(1.55rem, 1.6vw + 1rem, 2.15rem); margin-top: 2em; letter-spacing: -.02em; }
h3 { font-size: clamp(1.18rem, .6vw + 1rem, 1.4rem); margin-top: 1.4em; letter-spacing: -.012em; }
h4 { font-size: 1.08rem; margin-top: 1.1em; }
p  { margin: 0 0 1.1em; }

a { color: var(--c-primary-dark); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--c-primary-dark) 35%, transparent); text-underline-offset: 2px; }
a:hover { color: var(--c-primary-dark); text-decoration-color: var(--c-primary-dark); }

img, figure { max-width: 100%; }
img { height: auto; display: block; }
figure { margin: 1.6rem 0; }
figure img { border-radius: var(--r-md); box-shadow: var(--shadow-md); }

ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }

strong { font-weight: 650; color: var(--c-text); }

/* ---- Layout container ---- */
.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--wide { max-width: 1180px; }  /* used by landing-page sections */

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--c-border-soft);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--c-text); text-decoration: none; }
.brand:hover { color: var(--c-text); }
.brand img { width: 32px; height: 32px; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }
.brand-name { font-size: 1.02rem; letter-spacing: -.01em; }
.site-nav { display: flex; gap: 1.2rem; }
.site-nav a { color: var(--c-text-muted); font-weight: 600; text-decoration: none; font-size: .95rem; }
.site-nav a:hover { color: var(--c-text); }
.site-nav a[aria-current="page"] { color: var(--c-primary-dark); }

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
}
.site-brand:hover { color: var(--c-text); text-decoration: none; }
.site-brand img { width: 36px; height: 36px; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }

/* ---- Article shell ---- */
.page-article {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-article h1 {
  margin-bottom: .35em;
  font-size: clamp(2.1rem, 3.2vw + 1.1rem, 3.2rem);
  max-width: 22ch;
}

/* Byline directly under H1 */
.byline {
  color: var(--c-text-muted);
  font-size: .96rem;
  margin: 0 0 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--c-border-soft);
}
.byline-author, .byline-reviewer { color: var(--c-text); font-weight: 650; }

/* Hero figure under byline */
.page-hero { margin: 0 0 2rem; }
.page-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* Intro block */
.page-intro { font-size: 1.06em; color: var(--c-text); margin-bottom: 2rem; }
.page-intro > p:first-child { font-size: 1.12em; line-height: 1.55; }

/* Definition blockquote (the `>` markdown block used at the top of pages) */
.page-intro blockquote, blockquote {
  margin: 1.6rem 0;
  padding: 1.1rem 1.3rem;
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-md);
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
}
blockquote p { margin: 0; }
blockquote strong { color: var(--c-primary-dark); }

/* H2 section cards */
.page-section {
  margin: 2.2rem 0;
  padding: 0;
}
.page-section h2 {
  scroll-margin-top: 80px;
}
.page-section h3 {
  scroll-margin-top: 80px;
}

/* Inline images within sections */
.page-inbody { margin: 1rem 0 1.6rem; }
.page-inbody img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }

/* Tables */
.page-section table, article table {
  width: 100%; border-collapse: collapse;
  margin: 1.4rem 0; font-size: .96em;
  background: var(--c-bg-alt);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border-soft);
}
.page-section thead, article thead { background: var(--c-bg-soft); }
.page-section th, article th { text-align: left; font-weight: 650; color: var(--c-text); padding: .75rem .95rem; border-bottom: 1px solid var(--c-border); }
.page-section td, article td { padding: .7rem .95rem; border-bottom: 1px solid var(--c-border-soft); vertical-align: top; }
.page-section tr:last-child td, article tr:last-child td { border-bottom: none; }

/* Inline source links (max 3 per page). Subtle, not screaming. */
a[rel*="nofollow"] {
  color: var(--c-text-muted);
  text-decoration: underline dotted;
  text-decoration-color: var(--c-text-subtle);
  font-size: .92em;
}
a[rel*="nofollow"]:hover { color: var(--c-primary-dark); text-decoration: underline; }

/* Limitations section -- visually distinct, soft accent */
.page-limitations {
  margin-top: 2.4rem;
  padding: 1.4rem 1.5rem 1rem;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg);
}
.page-limitations h2 { margin-top: 0; color: var(--c-text); font-size: 1.4rem; }
.page-limitations ul { margin-bottom: 0; }

/* FAQ accordion */
.page-faq h2 { margin-top: 2.4rem; }
.faq-item {
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  margin: .7rem 0;
  background: var(--c-bg-alt);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item > summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%;
  width: .55rem; height: .55rem;
  border-right: 2px solid var(--c-text-muted);
  border-bottom: 2px solid var(--c-text-muted);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .18s ease;
}
.faq-item[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq-answer { padding: 0 1.1rem 1.1rem; color: var(--c-text-muted); }
.faq-answer p { margin: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-border-soft);
  background: var(--c-bg-alt);
  padding: 2.4rem 0 2rem;
  margin-top: 4rem;
}
.site-footer .container { display: grid; gap: 1.2rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.footer-brand .brand { font-size: 1rem; }
.footer-tagline { color: var(--c-text-muted); margin: 0; max-width: 60ch; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-meta a { color: var(--c-text-muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.footer-meta a:hover { color: var(--c-text); }
.footer-legal { color: var(--c-text-muted); font-size: .9rem; margin-top: .6rem; opacity: .8; }

/* Defer hidden sections to keep LCP tight */
.below-fold { content-visibility: auto; contain-intrinsic-size: 800px; }

/* Mobile */
@media (max-width: 640px) {
  .container { padding: 0 1.1rem; }
  .page-article { padding-top: 1.6rem; }
  .page-hero img, .page-inbody img { border-radius: var(--r-md); }
  .page-section table, article table { font-size: .9em; }
  .page-section th, .page-section td, article th, article td { padding: .55rem .65rem; }
}

/* Respect users who actively pick reduced motion. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* =====================================================
 * LANDING-PAGE COMPONENTS
 * Used by homepage / money pages / pillar pages (anything routed
 * through money_page_renderer.py). Niche-agnostic structural CSS;
 * colors come from the same palette as article pages.
 * ===================================================== */

.lp-hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  background: var(--c-bg);
}
.lp-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.lp-hero__copy h1 {
  font-size: clamp(2.2rem, 3.6vw + 1rem, 3.6rem);
  margin: 0 0 .5em;
  letter-spacing: -.03em;
  font-weight: 750;
  line-height: 1.1;
}
.lp-hero__copy .lead {
  font-size: clamp(1.1rem, .6vw + 1rem, 1.3rem);
  color: var(--c-text-muted);
  margin: 0 0 1.8rem;
  line-height: 1.55;
}
.lp-hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.lp-hero__trust {
  font-size: .92rem;
  color: var(--c-text-muted);
  margin: 0;
}
.lp-hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/* Buttons (also usable on article pages if needed) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-text);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-secondary:hover {
  border-color: var(--c-text);
  color: var(--c-text);
}

/* Section titles for landing pages */
.lp-section-title {
  text-align: center;
  font-size: clamp(1.7rem, 1.6vw + 1rem, 2.4rem);
  margin: 0 0 2rem;
  letter-spacing: -.02em;
}

/* Feature cards grid */
.lp-features { padding: clamp(3rem, 5vw, 5rem) 0; background: var(--c-bg-alt); }
.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.lp-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.lp-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lp-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--c-primary) 14%, var(--c-bg));
  color: var(--c-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}
.lp-card h3 { font-size: 1.15rem; margin: 0 0 .45em; letter-spacing: -.01em; }
.lp-card p  { color: var(--c-text-muted); margin: 0; font-size: .96rem; line-height: 1.55; }

/* Numbered steps */
.lp-how { padding: clamp(3rem, 5vw, 5rem) 0; }
.lp-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}
.lp-steps li {
  counter-increment: step;
  position: relative;
  padding: 1.2rem 1.4rem 1.2rem 4rem;
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border-soft);
}
.lp-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.1rem;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}
.lp-steps li strong { display: block; margin-bottom: .25em; font-size: 1.05rem; }
.lp-steps li p { margin: 0; color: var(--c-text-muted); }

/* Best-for / Not-for two-column */
.lp-best-for { padding: clamp(3rem, 5vw, 5rem) 0; background: var(--c-bg-alt); }
.lp-best-for__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.lp-best-for__col {
  background: var(--c-bg);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  border: 1px solid var(--c-border-soft);
}
.lp-best-for__col h3 { font-size: 1.2rem; margin: 0 0 1rem; }
.lp-best-for__col ul { margin: 0; padding-left: 1.2rem; }
.lp-best-for__col li { margin-bottom: .5em; color: var(--c-text-muted); }
.lp-best-for__col li::marker { color: var(--c-primary); }

/* Evidence / trust strip */
.lp-evidence { padding: clamp(2.5rem, 4vw, 4rem) 0; }
.lp-evidence__stat {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.lp-evidence__big {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.lp-evidence__body { color: var(--c-text-muted); margin: 0; }

/* FAQ on landing pages uses the same .faq-item from the article CSS */
.lp-faq { padding: clamp(3rem, 5vw, 5rem) 0; background: var(--c-bg-alt); }
.lp-faq__inner { max-width: 760px; margin: 0 auto; }

/* Bottom CTA */
.lp-cta {
  padding: clamp(3rem, 5vw, 5rem) 0;
  text-align: center;
  background: var(--c-bg);
}
.lp-cta h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 2.6rem);
  margin: 0 0 .6em;
}
.lp-cta__sub {
  color: var(--c-text-muted);
  margin: 0 0 1.8rem;
  font-size: 1.1rem;
}
.lp-cta__buttons { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Byline inside the LP hero (subtle, doesn't compete with H1) */
.lp-byline {
  color: var(--c-text-muted);
  font-size: .92rem;
  margin: 1rem 0 0;
}

/* Article body inside the LP shell -- inherits .page-section / .page-intro /
 * .page-limitations from the article CSS above, so internal links, tables,
 * blockquotes, sources etc. all work exactly the same. The wrapper only
 * adjusts spacing so the body sits cleanly between the cards strip and
 * the explore/FAQ blocks. */
.lp-article { padding: clamp(2rem, 4vw, 4rem) 0; }
.lp-body-section { margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
.lp-body-section.page-intro { background: transparent; padding: 0; border: 0; }
.lp-body-section.page-section { background: transparent; padding: 0; border: 0; }

/* Mid-page CTA (lighter than the bottom one) */
.lp-cta--mid {
  background: var(--c-bg-alt);
  border-radius: var(--r-lg);
  margin: 2rem 0;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.lp-cta--mid .container { text-align: center; max-width: 720px; }
.lp-cta--mid h2 {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  margin: 0 0 .6em;
}

/* Explore grid (hub-and-spoke internal links from link_planner). Same
 * card aesthetic as feature cards but with clear "tile" affordance. */
.lp-explore { padding: clamp(3rem, 5vw, 5rem) 0; background: var(--c-bg-alt); }
.lp-explore__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.lp-explore__tile {
  display: block;
  background: var(--c-bg);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: var(--c-text);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lp-explore__tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
  color: var(--c-text);
  text-decoration: none;
}
.lp-explore__label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-primary-dark);
  margin-bottom: .25em;
}
.lp-explore__title {
  display: block;
  color: var(--c-text-muted);
  font-size: .92rem;
  line-height: 1.5;
}

/* SCREENSHOT GALLERY (comparison/best-of/feature pages) */
.page-screenshots {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.lp-screenshots { background: var(--c-bg-alt); }
.page-screenshots h2 {
  font-family: var(--f-heading);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0 0 .35em;
  letter-spacing: -.015em;
}
.page-screenshots__lede {
  color: var(--c-text-muted);
  margin: 0 0 1.5rem;
  max-width: 64ch;
}
.screenshot-grid {
  display: grid;
  gap: clamp(1rem, 1.5vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.screenshot-card {
  margin: 0;
  background: var(--c-surface, #fff);
  border: 1px solid var(--c-border, rgba(0,0,0,.08));
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.screenshot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 6px 24px rgba(0,0,0,.08));
}
.screenshot-card a { display: block; }
.screenshot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.screenshot-card figcaption {
  padding: .65rem .85rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.screenshot-card__badge {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-primary);
  font-weight: 700;
}
.screenshot-card__name {
  font-weight: 600;
  color: var(--c-text);
}

/* Mobile reflow */
@media (max-width: 760px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .lp-hero__image { order: -1; }
  .lp-hero__copy h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); }
  .lp-section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
  .screenshot-grid { grid-template-columns: 1fr; }
}


/* =====================================================
 * Nav, footer, design1 homepage (navy/gold — scoped)
 * ===================================================== */
.site-header,
main,
.site-footer { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 22, 51, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.15);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.site-nav a {
  color: #e8e0d0;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
}
.site-nav a:hover { color: #d4a843; text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 10px;
  background: rgba(20, 30, 65, 0.8);
  cursor: pointer;
  color: #d4a843;
}
.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

.container--wide { max-width: 1180px; }

.lp-hero__trust { display: none !important; }

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.footer-col__title {
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 .85rem;
  color: #d4a843;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.footer-links a {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: #c8c0b0;
}
.footer-links a:hover { color: #d4a843; }
.footer-tagline {
  margin: 0 0 1rem;
  font-size: .88rem;
  color: #a8a0a0;
  line-height: 1.45;
  max-width: 28ch;
}
.footer-copy {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 168, 67, 0.15);
  font-size: .82rem;
  color: #888;
  text-align: center;
}

.page-home {
  background: linear-gradient(180deg, #111a3a 0%, #1a2650 45%, #111a3a 100%);
  color: #fff;
}
.page-home .site-footer {
  background: #0d1633;
  border-top: 1px solid rgba(212, 168, 67, 0.12);
  padding: 2.5rem 0 2rem;
}
.page-home .lp-article,
.page-home .lp-explore,
.page-home .lp-faq,
.page-home .lp-cta {
  background: rgba(13, 22, 51, 0.55);
}
.page-home .lp-article h2,
.page-home .lp-section-title { color: #fff; }
.page-home .lp-article p,
.page-home .lp-article li { color: #d8d0c8; }
.page-home .lp-explore__tile {
  background: rgba(20, 30, 65, 0.75);
  border-color: rgba(212, 168, 67, 0.2);
}
.page-home .lp-explore__label { color: #d4a843; }
.page-home .lp-explore__title { color: #b8b0a8; }

.page-home .btn-primary {
  background: #d4a843;
  color: #111a3a;
  border: none;
}
.page-home .btn-primary:hover { background: #e0b855; color: #111a3a; }
.page-home .btn-secondary {
  background: transparent;
  color: #e8e0d0;
  border: 2px solid rgba(212, 168, 67, 0.55);
}
.page-home .btn-secondary:hover {
  background: rgba(212, 168, 67, 0.12);
  color: #fff;
}

/* Homepage hero — split layout */
.hp-hero-split {
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(1rem, 2vw, 2rem);
}
.hp-hero-split__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.hp-hero__eyebrow {
  margin: 0 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #d4a843;
}
.hp-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  min-height: 2.3em;
  margin: 0 0 .75rem;
  color: #fff;
  text-align: left;
}
.hp-hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #c8c0b0;
  max-width: 46ch;
}
.hp-hero-split__visual {
  margin: 0;
  aspect-ratio: 16/9;
  min-height: 200px;
}
.hp-hero-split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.hp-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1rem;
}
.hp-app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #000;
  color: #fff;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.hp-app-store-btn:hover { color: #fff; background: #1a1a1a; text-decoration: none; }
.hp-app-store-btn__icon {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 4px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hp-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hp-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: rgba(20, 30, 65, 0.85);
  border: 1px solid rgba(212, 168, 67, 0.25);
  font-size: .78rem;
  color: #e0dcd0;
}

.hp-styles-band {
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.hp-band__title {
  text-align: center;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  margin: 0 0 1.25rem;
  color: #fff;
}
.hp-style-circles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.25rem;
}
.hp-style-circle {
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.hp-style-circle:hover { text-decoration: none; color: #d4a843; }
.hp-style-circle__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(20, 30, 65, 0.6);
  font-size: 1.5rem;
  margin: 0 auto;
}
.hp-style-circle__label {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #e8e0d0;
}

.hp-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hp-gallery-row__item {
  margin: 0;
  aspect-ratio: 3/2;
  min-height: 120px;
}
.hp-gallery-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(212, 168, 67, 0.15);
}

.hp-steps-band {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: rgba(13, 22, 51, 0.45);
}
.hp-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hp-step-card {
  background: rgba(20, 30, 65, 0.75);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.hp-step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.15);
  border: 2px solid #d4a843;
  color: #d4a843;
  font-weight: 800;
}
.hp-step-card h3 {
  font-size: .85rem;
  margin: 0 0 4px;
  color: #d4a843;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.hp-step-card p {
  margin: 0;
  font-size: .82rem;
  color: #b8b0a8;
  line-height: 1.4;
}

.hp-features-band { padding: clamp(2rem, 4vw, 3rem) 0; }
.hp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-feature-box {
  background: rgba(20, 30, 65, 0.75);
  border: 1px solid rgba(212, 168, 67, 0.18);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.hp-feature-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #d4a843;
  color: #d4a843;
  margin-bottom: .65rem;
}
.hp-feature-box h3 { font-size: 1rem; margin: 0 0 .4rem; color: #fff; }
.hp-feature-box p { margin: 0; font-size: .88rem; color: #b8b0a8; line-height: 1.45; }

.hp-showcase {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  background: rgba(13, 22, 51, 0.35);
}
.hp-showcase__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.hp-showcase__badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #d4a843;
  margin-bottom: .5rem;
}
.hp-showcase__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0 0 .65rem;
  text-align: left;
  color: #fff;
}
.hp-showcase__copy p { color: #c8c0b0; margin-bottom: 1rem; }
.hp-showcase__list { margin: 0 0 1rem; padding-left: 1.2rem; color: #c8c0b0; }
.hp-showcase__shot { margin: 0; }
.hp-showcase__shot img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.hp-showcase__shot figcaption {
  margin-top: .5rem;
  font-size: .82rem;
  color: #a8a0a0;
  text-align: center;
}

.page-home .lp-article h1,
.page-home .lp-article h2 { text-align: left; }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-header__inner { position: relative; flex-wrap: nowrap; min-height: 52px; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem;
    border-radius: 14px;
    background: #141e41;
    border: 1px solid rgba(212, 168, 67, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    z-index: 60;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: .75rem 1rem; border-radius: 10px; }
  .site-nav a:hover { background: rgba(212, 168, 67, 0.1); }
  .site-header.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hp-hero-split__grid { grid-template-columns: 1fr; }
  .hp-hero-split__visual { order: -1; }
  .hp-hero__title { min-height: auto; }
  .hp-gallery-row { grid-template-columns: 1fr; }
  .hp-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-feature-grid { grid-template-columns: 1fr; }
  .hp-showcase__grid { grid-template-columns: 1fr; }
  .hp-showcase__title { text-align: center; }
}

