@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* Shared site chrome — nav + floating contact bar */
:root {
  --woad-blue: #0D1B2A;
  --woad-blue-light: #1B3A5C;
  --crimson: #8B1A1A;
  --crimson-bright: #B22222;
  --lichen-violet: #9B7EB9;
  --lichen-violet-light: #C4A7D4;
  --gold: #D4A017;
  --gold-bright: #F0C040;
  --earth-brown: #2B1D0E;
  --earth-brown-light: #4A3A28;
  --stone-grey: #5C5C5C;
  --cream: #F5F0E1;
  --cream-dim: #D8D0BD;
  --frp-chrome-bg: var(--woad-blue);
  --frp-chrome-card: var(--woad-blue-light);
  --frp-chrome-border: var(--earth-brown-light);
  --frp-chrome-text: var(--cream);
  --frp-chrome-muted: var(--cream-dim);
  --frp-chrome-purple: var(--lichen-violet);
  --frp-chrome-gold: var(--gold);
}

html {
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6,
.site-nav-brand,
.norse-accordion summary,
.cta-button {
  font-family: 'Cinzel', serif;
}

.site-nav,
.site-floating-contact,
.sticky-cta-bar,
.norse-accordion,
.floating-qr {
  font-family: 'Crimson Text', Georgia, serif;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.site-nav{
  position:relative;
  background:var(--woad-blue);
  border-bottom:1px solid var(--earth-brown-light);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.75rem 1.25rem;flex-wrap:wrap;z-index:40;
}
.site-nav a{text-decoration:none}
.site-nav-brand{
  display:flex;align-items:center;gap:.65rem;
  font-weight:800;font-size:1rem;color:var(--cream);
}
.site-nav-brand img{
  height:52px;width:auto;display:block;
}
.site-nav-links{
  display:flex;gap:1.1rem;list-style:none;margin:0;padding:0;flex-wrap:wrap;
}
.site-nav-links a{
  color:var(--cream-dim);font-size:.88rem;font-weight:500;
}
.site-nav-links a:hover{color:var(--gold)}
.site-nav-toggle{
  display:none;background:transparent;border:1px solid var(--earth-brown-light);
  color:var(--cream);padding:.35rem .65rem;border-radius:6px;cursor:pointer;
  font-size:.85rem;min-height:44px;min-width:44px;
}
@media(max-width:768px){
  .site-nav-toggle{display:block}
  .site-nav-links{
    display:none;width:100%;flex-direction:column;gap:.65rem;
    padding:.5rem 0 .25rem;
  }
  .site-nav-links.is-open{display:flex}
}
.site-floating-contact{
  position:fixed;bottom:0;left:0;right:0;
  background:var(--woad-blue);border-top:1px solid var(--gold);
  display:flex;justify-content:center;align-items:center;gap:1.25rem;flex-wrap:wrap;
  padding:.45rem .75rem;z-index:50;box-shadow:0 -2px 12px rgba(0,0,0,.3);
}
.site-floating-contact a{
  font-weight:600;font-size:.82rem;text-decoration:none;
}
.site-floating-contact .phone{color:var(--gold-bright)}
.site-floating-contact .email{color:var(--lichen-violet-light)}
.site-floating-contact .next{color:var(--gold)}
body.has-site-chrome{padding-bottom:3rem}
body.has-site-chrome.no-floating-bar{padding-bottom:0}
body.has-sticky-cta{padding-bottom:5rem}
.tos-updated-indicator{
  font-size:.78em;font-weight:400;white-space:nowrap;
  color:rgba(212,160,23,.72);
}
.site-nav-links .tos-updated-indicator{color:rgba(240,192,64,.65)}

/* Norse accordion */
.norse-accordion {
  width: 100%;
  margin: 0 0 1rem;
  border: 1px solid var(--earth-brown-light);
}
.norse-accordion summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cream);
  background: linear-gradient(135deg, var(--crimson), var(--woad-blue));
  border-left: 4px solid var(--gold);
  list-style: none;
}
.norse-accordion summary::-webkit-details-marker {
  display: none;
}
.norse-accordion summary::before {
  content: "ᚠ";
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 400;
  text-transform: none;
}
.norse-accordion[open] summary::before {
  content: "ᛟ";
}
.norse-accordion[open] summary {
  border-left-color: var(--crimson-bright);
}
.norse-accordion .accordion-content {
  padding: 2rem;
  background: var(--woad-blue);
  color: var(--cream);
  line-height: 1.7;
  font-size: 18px;
}
.norse-accordion .accordion-content img.accordion-img,
img.accordion-img {
  display: block;
  max-width: 70%;
  max-height: 220px;
  width: auto;
  height: auto;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--gold);
}
.back-to-top-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 997;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background: var(--cream);
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.back-to-top-float.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.back-to-top-float:hover,
.back-to-top-float:focus-visible {
  background: var(--gold);
  color: var(--woad-blue);
  outline: none;
}
body.has-sticky-cta .back-to-top-float {
  bottom: 5.5rem;
}
body.has-site-chrome:not(.has-sticky-cta) .back-to-top-float {
  bottom: 4rem;
}
@media (max-width: 768px) {
  .back-to-top-float {
    left: 16px;
  }
  body.has-sticky-cta .back-to-top-float {
    bottom: 6rem;
  }
}

/* Floating QR */
.floating-qr {
  position: fixed;
  right: 1.5rem;
  bottom: 5rem;
  z-index: 999;
  background: var(--woad-blue);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  color: var(--cream);
  font-size: 0.85rem;
}
.floating-qr img {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 0.5rem;
}
@media (max-width: 768px) {
  .floating-qr {
    right: 0.5rem;
    bottom: 4rem;
    padding: 0.5rem;
  }
  .floating-qr img {
    width: 80px;
    height: 80px;
  }
}

/* Sticky CTA bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(180deg, var(--woad-blue), var(--woad-blue-light));
  border-top: 2px solid var(--gold);
  flex-wrap: wrap;
}
.cta-button {
  background: var(--gold);
  color: var(--woad-blue);
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.cta-button:hover {
  background: var(--gold-bright);
  color: var(--woad-blue);
}

/* Rune divider */
.rune-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  color: var(--lichen-violet);
  font-size: 1.2rem;
  opacity: 0.7;
  gap: 1rem;
}
.rune-divider::before,
.rune-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--lichen-violet), transparent);
}

/* Marketing pages — shared base */
.marketing-page {
  font-family: 'Crimson Text', Georgia, serif;
  background: var(--woad-blue);
  color: var(--cream);
  line-height: 1.7;
  font-size: 18px;
}
.marketing-page h1,
.marketing-page h2,
.marketing-page h3,
.marketing-page h4,
.saga-chapter__title,
.saga-chapter__number {
  font-family: 'Cinzel', serif;
}
.marketing-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  background: radial-gradient(ellipse at top, rgba(27, 58, 92, 0.45), transparent 60%),
              radial-gradient(ellipse at bottom, rgba(212, 160, 23, 0.08), transparent 60%);
}
.marketing-hero__logo {
  width: 200px;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.25rem;
  display: block;
}
.marketing-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.marketing-hero .sub {
  font-size: 18px;
  color: var(--cream-dim);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.marketing-footer {
  background: var(--woad-blue);
  border-top: 2px solid var(--gold);
  padding: 3rem 2rem 5rem;
  text-align: center;
  color: var(--cream);
}
.marketing-footer__logo {
  width: 200px;
  max-width: 220px;
  height: auto;
  margin: 0 auto 1.25rem;
  display: block;
}
.marketing-footer a {
  color: var(--cream);
  font-size: 18px;
}
.marketing-footer a:hover {
  color: var(--gold-bright);
}
.marketing-footer .disclaimer {
  font-size: 14px;
  color: var(--stone-grey);
  margin-top: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
.btn-gold {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  background: var(--gold);
  color: var(--woad-blue);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 160, 23, 0.4);
  color: var(--woad-blue);
}
.btn-outline-gold {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline-gold:hover {
  background: rgba(212, 160, 23, 0.1);
  color: var(--gold);
}
button.legal-print-btn {
  cursor: pointer;
  font: inherit;
}
.legal-print-wrap {
  margin: 0.75rem 0 1rem;
}
.norse-accordion[open] + .elevated-cta {
  display: flex;
}
.norse-accordion:not([open]) + .elevated-cta {
  display: none;
}
.elevated-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--woad-blue-light);
  border: 2px solid var(--gold);
  border-radius: 8px;
}
.problem-box {
  background: rgba(139, 26, 26, 0.15);
  border-left: 4px solid var(--crimson);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.solution-box {
  background: rgba(27, 58, 92, 0.55);
  border-left: 4px solid var(--lichen-violet);
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.marketing-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 18px;
}
.marketing-page table th {
  background: var(--crimson);
  color: var(--cream);
  padding: 0.7rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Cinzel', serif;
}
.marketing-page table td {
  padding: 0.7rem;
  border-bottom: 1px solid var(--earth-brown-light);
}
.marketing-page table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}
.callout-box {
  background: var(--woad-blue-light);
  border: 1px solid var(--earth-brown-light);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
}
.callout-box .big-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
  font-family: 'Cinzel', serif;
}
.callout-box .label {
  font-size: 18px;
  color: var(--cream-dim);
  margin-top: 0.4rem;
}
.pitch-card {
  background: var(--woad-blue-light);
  border: 1px solid var(--earth-brown-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.pitch-card h3 {
  color: var(--gold-bright);
  font-size: 1.4rem;
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.5rem;
}
.pitch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.pitch-grid__item {
  background: var(--woad-blue);
  border: 1px solid var(--earth-brown-light);
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
}
.pitch-grid__item--highlight {
  border: 2px solid var(--gold);
}
.pitch-grid__item--accent {
  border: 2px solid var(--lichen-violet);
}
.media-text-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}
.media-text-row img {
  flex: 0 0 auto;
  max-width: 280px;
  border-radius: 8px;
  border: 2px solid var(--gold);
}
.media-text-row__body {
  flex: 1;
  min-width: min(100%, 280px);
}
.saga-chapter {
  padding: 3rem 0;
  border-bottom: 1px solid var(--earth-brown-light);
}
.saga-chapter:last-of-type {
  border-bottom: none;
}
.saga-chapter__number {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.saga-chapter__title {
  font-size: 2.2rem;
  color: var(--cream);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.saga-chapter p,
.saga-chapter li {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cream);
}
.saga-chapter .saga-lead {
  font-size: 1.15rem;
  color: var(--cream-dim);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.flag-banner {
  width: min(100%, 320px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 2px solid var(--gold);
  display: block;
  margin: 0 auto;
}
.qr-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--woad-blue-light);
  border: 2px solid var(--gold);
  border-radius: 12px;
  margin: 1.5rem 0;
}
.qr-cta-panel img {
  border: 2px solid var(--gold);
  border-radius: 8px;
}
@media (max-width: 768px) {
  .marketing-hero h1 { font-size: 1.85rem; }
  .saga-chapter__title { font-size: 1.75rem; }
}
