/* MojoForge site theme — cream parchment, deep navy, teal, burnt orange. */
   cream parchment, deep navy, teal, burnt orange.
   Instrument Serif body, Space Grotesk headings. */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --cream: #F8F5F0;
  --parchment: #F2ECD9;
  --ink: #1e293b;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --navy: #131f38;
  --navy-soft: #1e2f52;
  --teal: #0F766E;
  --orange: #C2410C;
  --orange-deep: #9A3412;
  --tan: #C9A876;
  --surface-navy: #131f38;
  --surface-text: #F2ECD9;
  --border: rgba(148, 163, 184, 0.55);
  --card-border: #cbd5e1;
  --shadow: 0 8px 28px rgba(19, 31, 56, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* Map-cloth grid, charted with faint nautical & earth marks:
   compass rose, anchor, ship's helm, waves, globe, mountains. */
.fantasy-bg {
  background-color: var(--cream);
  background-image:
    /* compass rose */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg opacity='0.06' fill='none' stroke='%23131f38' stroke-width='2'%3E%3Ccircle cx='120' cy='120' r='104'/%3E%3Ccircle cx='120' cy='120' r='84'/%3E%3C/g%3E%3Cg opacity='0.06' fill='%23131f38'%3E%3Cpolygon points='120,10 130,110 120,120 110,110'/%3E%3Cpolygon points='120,230 130,130 120,120 110,130'/%3E%3Cpolygon points='10,120 110,110 120,120 110,130'/%3E%3Cpolygon points='230,120 130,110 120,120 130,130'/%3E%3Cpolygon points='50,50 113,105 120,120 105,113'/%3E%3Cpolygon points='190,50 135,105 120,120 127,113'/%3E%3Cpolygon points='50,190 105,135 120,120 113,127'/%3E%3Cpolygon points='190,190 127,127 120,120 135,135'/%3E%3C/g%3E%3C/svg%3E"),
    /* anchor */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg opacity='0.06' fill='none' stroke='%23131f38' stroke-width='7' stroke-linecap='round'%3E%3Ccircle cx='100' cy='38' r='16'/%3E%3Cline x1='100' y1='54' x2='100' y2='158'/%3E%3Cline x1='64' y1='84' x2='136' y2='84'/%3E%3Cpath d='M40 122 Q44 162 100 168 Q156 162 160 122'/%3E%3Cpath d='M40 122 L28 140 M40 122 L58 132'/%3E%3Cpath d='M160 122 L172 140 M160 122 L142 132'/%3E%3C/g%3E%3C/svg%3E"),
    /* ship's helm */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg opacity='0.06' fill='none' stroke='%23131f38' stroke-width='6' stroke-linecap='round'%3E%3Ccircle cx='110' cy='110' r='58'/%3E%3Ccircle cx='110' cy='110' r='20'/%3E%3Cg%3E%3Cline x1='110' y1='16' x2='110' y2='90'/%3E%3Cline x1='110' y1='130' x2='110' y2='204'/%3E%3Cline x1='16' y1='110' x2='90' y2='110'/%3E%3Cline x1='130' y1='110' x2='204' y2='110'/%3E%3Cline x1='44' y1='44' x2='96' y2='96'/%3E%3Cline x1='124' y1='124' x2='176' y2='176'/%3E%3Cline x1='176' y1='44' x2='124' y2='96'/%3E%3Cline x1='96' y1='124' x2='44' y2='176'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    /* waves */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 120'%3E%3Cg opacity='0.06' fill='none' stroke='%23131f38' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M10 30 Q40 10 70 30 T130 30 T190 30 T250 30'/%3E%3Cpath d='M10 60 Q40 40 70 60 T130 60 T190 60 T250 60'/%3E%3Cpath d='M10 90 Q40 70 70 90 T130 90 T190 90 T250 90'/%3E%3C/g%3E%3C/svg%3E"),
    /* globe with meridians */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg opacity='0.06' fill='none' stroke='%23131f38' stroke-width='5'%3E%3Ccircle cx='110' cy='110' r='86'/%3E%3Cellipse cx='110' cy='110' rx='40' ry='86'/%3E%3Cellipse cx='110' cy='110' rx='86' ry='40'/%3E%3Cline x1='24' y1='110' x2='196' y2='110'/%3E%3Cline x1='110' y1='24' x2='110' y2='196'/%3E%3C/g%3E%3C/svg%3E"),
    /* mountain range */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 140'%3E%3Cg opacity='0.06' fill='none' stroke='%23131f38' stroke-width='6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M10 124 L74 40 L108 84 L138 24 L206 124'/%3E%3Cpath d='M188 100 L214 66 L250 124'/%3E%3Cpath d='M62 56 L74 40 L86 56'/%3E%3Cpath d='M126 48 L138 24 L150 48'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: 300px, 170px, 190px, 230px, 200px, 240px, 24px 24px, 24px 24px;
  background-position:
    right -60px top 140px,
    left 4% top 26%,
    right 6% top 44%,
    left -40px top 62%,
    right 3% top 78%,
    left 8% top 94%,
    0 0,
    0 0;
}


.heading {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-header {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.eyebrow {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.prose-muted { color: var(--ink-soft); }
.prose-quiet { color: var(--ink-muted); font-size: 0.9rem; }

main p a:not(.btn) { color: var(--orange-deep); }
[data-theme="dark"] main p a:not(.btn) { color: var(--tan); }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-narrow {
  max-width: 46rem;
  margin: 0 auto;
}

/* —— Nav —— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(248, 245, 240, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.site-logo svg { width: 2.25rem; height: 2.25rem; }

.site-logo-text {
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-logo-text .logo-forge { color: var(--orange); }

.site-logo-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-muted);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: 0.06em;
}

.site-nav-links {
  display: flex;
  gap: 1.5rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav-links a:hover,
.site-nav-links a.is-active {
  color: var(--navy);
  border-bottom-color: var(--orange);
}

/* —— Buttons —— */
.btn {
  display: inline-block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 0.55rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 120ms ease, background-color 120ms ease;
}

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

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--card-border);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.72); }

/* —— Hero —— */
.hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.hero h1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.06;
  color: var(--navy);
  margin: 0.75rem 0 1rem;
}

.hero h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* —— Sections —— */
.section { padding: 4.5rem 0 1rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  border: 1px solid var(--card-border);
  border-radius: 0.9rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.card-solid { background: #fff; }

.card h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  background: var(--parchment);
  border: 1px solid var(--tan);
}

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: step;
}

.step {
  border: 1px solid var(--card-border);
  border-radius: 0.9rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.step h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* —— Try-it panel —— */
.try-panel {
  margin-top: 2rem;
  border-radius: 1rem;
  background: var(--surface-navy);
  color: var(--surface-text);
  padding: 2.25rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.try-panel h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.try-panel p { margin: 0 0 0.75rem; color: rgba(242, 236, 217, 0.85); }

.try-cmds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.try-cmds li {
  font-family: 'Space Grotesk', ui-monospace, monospace;
  font-size: 0.82rem;
  background: var(--navy-soft);
  border: 1px solid rgba(201, 168, 118, 0.4);
  color: var(--tan);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

/* —— Mobile nav menu —— */
.nav-menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.55rem;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.nav-menu-btn:hover { background: rgba(148, 163, 184, 0.18); }

@media (max-width: 720px) {
  .try-panel { grid-template-columns: 1fr; }
  .nav-menu-btn { display: inline-flex; }
  .site-nav-links {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 0.9rem;
    background: rgba(248, 245, 240, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 30px rgba(19, 31, 56, 0.12);
  }
  .site-nav.nav-open .site-nav-links { display: flex; }
  .site-nav-links a {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  }
  .site-nav-links a:last-child { border-bottom: none; }
  .site-nav-links a:hover,
  .site-nav-links a.is-active { border-bottom-color: rgba(148, 163, 184, 0.25); }
}

/* —— Footer —— */
.site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  background: rgba(242, 236, 217, 0.45);
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.site-footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}
.site-footer-links a:hover { color: var(--orange); }

.site-footer-disclaimer {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* —— Legal pages —— */
.legal-main { padding: 3.5rem 0 4.5rem; }
.legal-main h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin: 0 0 1rem;
}
.legal-card { margin-top: 1rem; }
.legal-card h2 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.legal-card p { margin: 0; color: var(--ink-soft); }

/* —— Mojotron page —— */
.wrap-reading {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--tan);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.wisdom p {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.6rem;
}

.wisdom p:first-child::first-letter {
  font-size: 2.6em;
  line-height: 0.85;
  float: left;
  padding-right: 0.12em;
  color: var(--orange);
  font-style: italic;
}

.wisdom .oath {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--orange);
  padding-left: 1.1rem;
}

.spin-slow {
  transform-origin: 120px 120px;
  animation: mojo-spin 60s linear infinite;
}

@keyframes mojo-spin {
  to { transform: rotate(360deg); }
}

.btn-primary-lg {
  font-size: 1.05rem;
  padding: 0.9rem 1.6rem;
}

/* —— FAQ accordion (native details/summary) —— */
.faq {
  border: 1px solid var(--card-border);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  margin-top: 0.75rem;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.5rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--orange);
}

.faq[open] summary::after { content: '−'; }

.faq .faq-body {
  padding: 0 1.5rem 1.2rem;
  color: var(--ink-soft);
}

.faq .faq-body p { margin: 0 0 0.75rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* —— Contact band —— */
.contact-band {
  margin-top: 2rem;
  border-radius: 1rem;
  background: var(--surface-navy);
  color: var(--surface-text);
  padding: 2.75rem 2rem;
  text-align: center;
}

.contact-band h3 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin: 0 0 0.6rem;
  color: #fff;
}

.contact-band p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: rgba(242, 236, 217, 0.85);
}

.contact-band .contact-note {
  margin: 1.25rem auto 0;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.82rem;
  color: rgba(242, 236, 217, 0.6);
}

/* —— Homepage quote banner —— */
.quote-banner {
  margin: 4.5rem auto 0;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface-navy);
  color: var(--surface-text);
}

.quote-banner blockquote {
  margin: 0 auto;
  max-width: 44rem;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-style: italic;
  line-height: 1.5;
}

.quote-banner cite {
  display: block;
  margin-top: 1rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tan);
}

.quote-banner a {
  color: var(--tan);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1.25rem;
}
.quote-banner a:hover { color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .spin-slow { animation: none; }
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ————————————————— Dark mode —————————————————
   Set by site.js: <html data-theme="dark">. Defaults to system preference. */
[data-theme="dark"] {
  --cream: #0E1526;
  --parchment: #1A2440;
  --ink: #EAE4D6;
  --ink-soft: #C7C0AF;
  --ink-muted: #8F8B7C;
  --navy: #EAE4D6;
  --orange: #D9541A;
  --border: rgba(148, 163, 184, 0.28);
  --card-border: #2C3A5E;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .fantasy-bg {
  background-color: var(--cream);
  background-image:
    /* compass rose */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg opacity='0.05' fill='none' stroke='%23F2ECD9' stroke-width='2'%3E%3Ccircle cx='120' cy='120' r='104'/%3E%3Ccircle cx='120' cy='120' r='84'/%3E%3C/g%3E%3Cg opacity='0.05' fill='%23F2ECD9'%3E%3Cpolygon points='120,10 130,110 120,120 110,110'/%3E%3Cpolygon points='120,230 130,130 120,120 110,130'/%3E%3Cpolygon points='10,120 110,110 120,120 110,130'/%3E%3Cpolygon points='230,120 130,110 120,120 130,130'/%3E%3Cpolygon points='50,50 113,105 120,120 105,113'/%3E%3Cpolygon points='190,50 135,105 120,120 127,113'/%3E%3Cpolygon points='50,190 105,135 120,120 113,127'/%3E%3Cpolygon points='190,190 127,127 120,120 135,135'/%3E%3C/g%3E%3C/svg%3E"),
    /* anchor */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg opacity='0.05' fill='none' stroke='%23F2ECD9' stroke-width='7' stroke-linecap='round'%3E%3Ccircle cx='100' cy='38' r='16'/%3E%3Cline x1='100' y1='54' x2='100' y2='158'/%3E%3Cline x1='64' y1='84' x2='136' y2='84'/%3E%3Cpath d='M40 122 Q44 162 100 168 Q156 162 160 122'/%3E%3Cpath d='M40 122 L28 140 M40 122 L58 132'/%3E%3Cpath d='M160 122 L172 140 M160 122 L142 132'/%3E%3C/g%3E%3C/svg%3E"),
    /* ship's helm */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg opacity='0.05' fill='none' stroke='%23F2ECD9' stroke-width='6' stroke-linecap='round'%3E%3Ccircle cx='110' cy='110' r='58'/%3E%3Ccircle cx='110' cy='110' r='20'/%3E%3Cg%3E%3Cline x1='110' y1='16' x2='110' y2='90'/%3E%3Cline x1='110' y1='130' x2='110' y2='204'/%3E%3Cline x1='16' y1='110' x2='90' y2='110'/%3E%3Cline x1='130' y1='110' x2='204' y2='110'/%3E%3Cline x1='44' y1='44' x2='96' y2='96'/%3E%3Cline x1='124' y1='124' x2='176' y2='176'/%3E%3Cline x1='176' y1='44' x2='124' y2='96'/%3E%3Cline x1='96' y1='124' x2='44' y2='176'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    /* waves */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 120'%3E%3Cg opacity='0.05' fill='none' stroke='%23F2ECD9' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M10 30 Q40 10 70 30 T130 30 T190 30 T250 30'/%3E%3Cpath d='M10 60 Q40 40 70 60 T130 60 T190 60 T250 60'/%3E%3Cpath d='M10 90 Q40 70 70 90 T130 90 T190 90 T250 90'/%3E%3C/g%3E%3C/svg%3E"),
    /* globe with meridians */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg opacity='0.05' fill='none' stroke='%23F2ECD9' stroke-width='5'%3E%3Ccircle cx='110' cy='110' r='86'/%3E%3Cellipse cx='110' cy='110' rx='40' ry='86'/%3E%3Cellipse cx='110' cy='110' rx='86' ry='40'/%3E%3Cline x1='24' y1='110' x2='196' y2='110'/%3E%3Cline x1='110' y1='24' x2='110' y2='196'/%3E%3C/g%3E%3C/svg%3E"),
    /* mountain range */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 140'%3E%3Cg opacity='0.05' fill='none' stroke='%23F2ECD9' stroke-width='6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M10 124 L74 40 L108 84 L138 24 L206 124'/%3E%3Cpath d='M188 100 L214 66 L250 124'/%3E%3Cpath d='M62 56 L74 40 L86 56'/%3E%3Cpath d='M126 48 L138 24 L150 48'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(rgba(248, 245, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 245, 240, 0.05) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size: 300px, 170px, 190px, 230px, 200px, 240px, 24px 24px, 24px 24px;
  background-position:
    right -60px top 140px,
    left 4% top 26%,
    right 6% top 44%,
    left -40px top 62%,
    right 3% top 78%,
    left 8% top 94%,
    0 0,
    0 0;
}

[data-theme="dark"] .site-nav {
  background: rgba(14, 21, 38, 0.85);
  border-bottom-color: rgba(44, 58, 94, 0.8);
}

[data-theme="dark"] .card,
[data-theme="dark"] .step,
[data-theme="dark"] .chip,
[data-theme="dark"] .faq {
  background: rgba(26, 36, 64, 0.65);
}

@media (max-width: 720px) {
  [data-theme="dark"] .site-nav-links {
    background: rgba(14, 21, 38, 0.98);
    border-bottom-color: rgba(44, 58, 94, 0.8);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  }
}

[data-theme="dark"] .card-solid { background: #16203A; }
[data-theme="dark"] .card-icon { background: rgba(26, 36, 64, 0.9); }
[data-theme="dark"] .btn-secondary:hover { background: rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .site-footer { background: rgba(26, 36, 64, 0.45); }

/* —— Theme toggle —— */
.theme-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-right: 0.6rem;
}

.theme-toggle:hover { background: rgba(148, 163, 184, 0.18); }

.theme-toggle .tt-sun { display: none; }
[data-theme="dark"] .theme-toggle .tt-sun { display: inline; }
[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
