/* =========================================================================
   Murravyn — light "Atlantic morning" theme
   Tokens: porcelain bg, verdant green accent, Atlantic slate, warm sand.
   Display: Plus Jakarta Sans (self-hosted). Body: system stack.
   ========================================================================= */

/* ---- Self-hosted display font -------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/display-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/display-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --bg: #F5F8F6;
  --surface: #FFFFFF;
  --surface-2: #EAF1EE;
  --border: #D7E3DE;
  --text: #12271F;
  --text-muted: #51685F;
  --accent: #0E7B4F;
  --accent-hover: #0A6140;
  --accent-tint: #DFF0E7;
  --slate: #33566B;
  --sand: #E9DFC8;
  --danger: #B3362B;
  --ok: #0E7B4F;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(18, 39, 31, .07), 0 2px 6px rgba(18, 39, 31, .05);
  --shadow-md: 0 1px 2px rgba(18, 39, 31, .06), 0 8px 24px rgba(18, 39, 31, .09);
  --shadow-lg: 0 2px 4px rgba(18, 39, 31, .07), 0 16px 40px rgba(18, 39, 31, .13);
  --ease: cubic-bezier(.2, .6, .2, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { color: var(--text); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  background: var(--surface);
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.skip-link:focus { left: 12px; }

/* ---- Layout primitive ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.section { padding: clamp(44px, 7vw, 84px) 0; position: relative; }
.section--tint { background: var(--surface-2); }
.section--sand {
  background:
    radial-gradient(900px 300px at 12% 0%, rgba(233, 223, 200, .5), transparent 70%),
    linear-gradient(180deg, #F8F6EF, var(--bg));
}
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Decorative mesh texture for band sections */
.section--mesh {
  background-image:
    radial-gradient(1000px 400px at 85% 10%, var(--accent-tint), transparent 65%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60h120M60 0v120' stroke='%23D7E3DE' stroke-width='.6' opacity='.45'/%3E%3C/svg%3E");
  background-size: auto, 120px 120px;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-tint);
  color: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-2px);
}
.btn-block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.06rem; }

/* ---- Icons / badges -------------------------------------------------------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 20px; height: 20px; }
.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
  flex: none;
  margin-bottom: 14px;
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--slate { background: #E3EBF1; color: var(--slate); }
.icon-badge--sand { background: var(--sand); color: var(--text); }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 248, 246, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.01em;
  text-decoration: none;
}
.logo:hover { color: var(--text); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; color: var(--accent); flex: none; }
.logo-word { color: var(--text); }

.nav-groups {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  background: none;
  border: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] {
  background: var(--accent-tint);
  color: var(--accent-hover);
}
.nav-caret { transition: transform .15s var(--ease); }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 264px;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  z-index: 120;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
}
.dropdown[data-open="true"] { opacity: 1; transform: translateY(0); }
.nav-group.align-right .dropdown { left: auto; right: 0; }
.dropdown-notch {
  position: absolute;
  top: -6px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-group.align-right .dropdown-notch { left: auto; right: 26px; }
.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .93rem;
  line-height: 1.4;
  transition: background-color .13s var(--ease), color .13s var(--ease);
}
.dropdown-list a:hover, .dropdown-list a:focus-visible {
  background: var(--accent-tint);
  color: var(--accent-hover);
  text-decoration: none;
}

.header-cta { margin-left: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
  color: var(--text);
  line-height: 0;
}
.nav-close-icon { display: none; }
.nav-toggle[aria-expanded="true"] .nav-open-icon { display: none; }
.nav-toggle[aria-expanded="true"] .nav-close-icon { display: block; }

.mobile-menu {
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 12px 0 20px;
}
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  background: none;
  border: 0;
  padding: 15px 4px;
  cursor: pointer;
}
.mobile-panel ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: .95rem;
}
.mobile-panel a:hover { background: var(--accent-tint); color: var(--accent-hover); text-decoration: none; }
.mobile-cta { margin-top: 16px; }

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(200px, 24vw, 280px);
  background:
    radial-gradient(1100px 500px at 88% 8%, var(--accent-tint), transparent 62%),
    linear-gradient(180deg, #F8FAF8 0%, var(--bg) 78%);
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 590px; }
.hero h1 { margin-bottom: .45em; }
.hero-lead { font-size: 1.12rem; color: var(--text-muted); margin-bottom: 20px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .icon { width: 17px; height: 17px; color: var(--accent); }
.hero-badge:hover { text-decoration: none; border-color: var(--accent); }

.flags-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.flags-line span { font-size: .95rem; color: var(--text-muted); }
.flag {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.flag svg { width: 100%; height: 100%; display: block; }

/* Hero split with form */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.hero-split .form-block { margin-top: 6px; }

/* ---- Form block --------------------------------------------------------------- */
.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
.form-block__heading {
  font-size: 1.22rem;
  margin-bottom: .5em;
}
.form-block__intro { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.form-block .beacon-form__submit, .form-block input[type="submit"] { width: 100%; }
.form-legal { font-size: .82rem; color: var(--text-muted); margin: 12px 0 0; }
.form-manager {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--accent-hover);
  margin: 10px 0 0;
}
.form-manager .icon { color: var(--accent); }

/* ---- Cards -------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 2.6vw, 28px);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
}
.card-grid--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-link { display: block; color: var(--text); }
.card-link:hover { text-decoration: none; color: var(--text); }
.card-link:hover h3 { color: var(--accent-hover); }

/* Two-column stagger to avoid identical card rows */
.grid-stagger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 24px); }
.grid-stagger .card:nth-child(2) { margin-top: 26px; }
@media (max-width: 767px) {
  .grid-stagger { grid-template-columns: 1fr; }
  .grid-stagger .card:nth-child(2) { margin-top: 0; }
}

/* ---- Numbered steps ----------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 2.2vw, 24px); }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 2.6vw, 26px);
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.08rem; margin-bottom: .35em; }
.step p { font-size: .95rem; color: var(--text-muted); margin: 0; }

/* ---- Tables ------------------------------------------------------------------ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
caption { caption-side: top; text-align: left; padding: 14px 16px 4px; font-weight: 600; color: var(--text-muted); font-size: .9rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(234, 241, 238, .45); }
td .tick { color: var(--ok); font-weight: 700; }
td .cross { color: var(--danger); font-weight: 700; }

/* Comparison table */
.compare-table th:first-child, .compare-table td:first-child { width: 34%; }
.compare-col { font-family: var(--font-display); font-weight: 800; }
.compare-col-yes { color: var(--accent); }

/* ---- Exchange chips --------------------------------------------------------- */
.exchange-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.exchange-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease);
}
.exchange-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.exchange-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: .8; }

/* ---- Reviews ------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(14px, 2.2vw, 24px); }
.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-head { display: flex; align-items: center; gap: 13px; }
.review-photo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-tint);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.review-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin: 0; }
.review-role { color: var(--text-muted); font-size: .86rem; margin: 0; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px; }
.review-stat {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 6px 11px;
  font-size: .8rem;
  color: var(--text);
}
.review-stat strong { color: var(--accent-hover); }
.review p { margin: 0; font-size: .95rem; color: var(--text); }
.reviews-note { font-size: .84rem; color: var(--text-muted); margin-top: 18px; }

/* ---- Illustration blocks -------------------------------------------------------- */
.illus-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(16px, 2.4vw, 28px);
}
.illus-frame img { display: block; width: 100%; height: auto; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}
.split--rev > .split-media { order: -1; }
.split-media img { width: 100%; height: auto; }

/* ---- Breadcrumbs ------------------------------------------------------------------ */
.breadcrumbs { padding: 16px 0 0; font-size: .88rem; color: var(--text-muted); }
.breadcrumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-hover); }

/* ---- Page hero (inner pages) -------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px) 0;
  background:
    radial-gradient(900px 420px at 90% 0%, var(--accent-tint), transparent 60%),
    linear-gradient(180deg, #F8FAF8, var(--bg));
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(14, 123, 79, .1), transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(51, 86, 107, .07) 14px 15px);
  pointer-events: none;
}
.page-hero h1 { max-width: 640px; }
.page-hero .section-head { margin-bottom: 0; }

/* ---- FAQ accordion -------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  background: none;
  border: 0;
  padding: 16px 18px;
  cursor: pointer;
}
.faq-q:hover { color: var(--accent-hover); }
.faq-q .icon { transition: transform .16s var(--ease); color: var(--accent); }
.faq-q[aria-expanded="true"] .icon { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--text-muted); }
.faq-a > *:last-child { margin-bottom: 0; }

/* ---- Map embed ------------------------------------------------------------------------- */
.map-embed {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  margin: 0 auto;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Callout / notes ---------------------------------------------------------------------- */
.callout {
  background: var(--accent-tint);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text);
}
.callout p:last-child { margin-bottom: 0; }
.note-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: .92rem;
  color: var(--text-muted);
}
.note-strip .icon { color: var(--accent); flex: none; }

/* ---- Prose pages ---------------------------------------------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose table { min-width: 520px; }

.doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: clamp(14px, 2.2vw, 22px); }

/* ---- Footer --------------------------------------------------------------------------------- */
.site-footer {
  background: #0F241C;
  color: #D7E3DE;
  padding: clamp(44px, 6vw, 72px) 0 28px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(4, minmax(150px, .8fr));
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(215, 227, 222, .16);
}
.footer-brand .logo { color: #FFFFFF; margin-bottom: 14px; }
.footer-brand .logo-word { color: #FFFFFF; }
.footer-brand .logo-mark { color: #6FC79E; }
.footer-note { font-size: .88rem; color: #A9BFB6; margin: 0 0 8px; }
.footer-col h2 {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8FB8A4;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a {
  display: inline-block;
  color: #D7E3DE;
  font-size: .9rem;
  padding: 4px 0;
}
.footer-col a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-disclaimer { padding: 28px 0; border-bottom: 1px solid rgba(215, 227, 222, .16); }
.footer-disclaimer h2 { font-size: 1rem; color: #FFFFFF; }
.footer-disclaimer p { font-size: .84rem; line-height: 1.7; color: #A9BFB6; margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  font-size: .85rem;
  color: #A9BFB6;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #D7E3DE; }

/* ---- Scroll reveal ------------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Calculator section ----------------------------------------------------------------------- */
.calc-section .calc-widget-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(16px, 2.6vw, 28px);
}

/* ---- Special offer ------------------------------------------------------------------------------ */
.urgency-strip {
  background: #0F241C;
  color: #FFFFFF;
  font-size: .88rem;
}
.urgency-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  padding-block: 11px;
}
.urgency-strip strong { color: #8FE0B4; }
.urgency-strip .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35C27A;
  margin-right: 7px;
  vertical-align: 1px;
}
.so-hero {
  background:
    radial-gradient(1000px 460px at 12% 0%, rgba(14, 123, 79, .16), transparent 60%),
    linear-gradient(180deg, #F8FAF8, var(--bg));
}
.so-countdown { display: flex; gap: 8px; align-items: center; margin: 18px 0 6px; }
.so-countdown .cd-seg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  min-width: 64px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  font-variant-numeric: tabular-nums;
}
.so-countdown .cd-colon { font-weight: 800; color: var(--text-muted); font-size: 1.4rem; }
.cd-label { font-size: .84rem; color: var(--text-muted); }
.so-benefits .card { text-align: left; }
.so-final {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(14, 123, 79, .22), transparent 70%),
    linear-gradient(180deg, #0F241C, #123028);
  color: #FFFFFF;
  text-align: center;
}
.so-final h2 { color: #FFFFFF; }
.so-final p { color: #C7D9D0; max-width: 620px; margin-inline: auto; }
.so-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(15, 36, 28, .66); }
.so-modal__card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 470px;
  width: 100%;
  padding: 30px 28px 26px;
  text-align: center;
}
.so-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.so-modal__close:hover { color: var(--text); background: var(--surface-2); }
.so-modal__card h2 { font-size: 1.6rem; }
.so-modal__card img { width: 120px; height: auto; margin: 0 auto 8px; display: block; }

/* ---- Utility ------------------------------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-check { list-style: none; padding: 0; }
.list-check li { display: flex; gap: 10px; align-items: flex-start; }
.list-check .icon { color: var(--accent); margin-top: 4px; }

/* ---- Responsive --------------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev > .split-media { order: 0; }
}
@media (max-width: 767px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .hero { padding-bottom: clamp(150px, 40vw, 210px); }
  .hero-art svg { height: 108%; }
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 480px) {
  .compare-table { min-width: 480px; }
  .so-countdown .cd-seg { font-size: 1.35rem; min-width: 54px; padding: 6px 9px; }
  .btn { font-size: .93rem; padding: 13px 20px; }
  .reviews { grid-template-columns: 1fr; }
}

.tv-ticker-wrapper {
  padding-top: 0 !important;
  height: 58px !important;
}

.conversion-hero {--refresh-bg:#f5f7fa;--refresh-wash:#f5f7fac7;--refresh-card:#fffffff5;--refresh-text:#192b3b;--refresh-muted:#4c6070;--refresh-grid:#43627e10;}

/* Homepage refresh: city photography, a focused form and market details. */
.hero.conversion-hero { position:relative; isolation:isolate; overflow:hidden; padding:64px 0 42px; background:var(--refresh-bg); color:var(--refresh-text); border-bottom:1px solid var(--border); }
.conversion-hero::before { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,var(--refresh-bg) 6%,var(--refresh-wash) 58%,var(--refresh-wash)),url('../images/hero-city.jpg') center 48%/cover no-repeat; }
.conversion-hero::after { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; background-image:linear-gradient(var(--refresh-grid) 1px,transparent 1px),linear-gradient(90deg,var(--refresh-grid) 1px,transparent 1px); background-size:72px 72px; mask-image:linear-gradient(90deg,transparent,black); }
.conversion-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); grid-template-areas:"title form" "details form" "market form"; gap:24px 64px; align-items:start; position:relative; z-index:1; }
.conversion-title { grid-area:title; min-width:0; }
.conversion-title h1 { font-size:clamp(2.25rem,4.1vw,4rem); line-height:1.08; letter-spacing:-.045em; margin:14px 0 0; max-width:17ch; color:inherit; }
.conversion-title h1 em,.conversion-title h1 .accent { color:var(--accent); font-style:normal; }
.conversion-location { display:inline-flex; gap:10px; align-items:center; font-size:.76rem; font-weight:700; text-transform:uppercase; letter-spacing:.16em; color:var(--refresh-muted); }
.conversion-location::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 5px var(--refresh-grid); }
.conversion-form { grid-area:form; width:100%; min-width:0; border:1px solid var(--border); border-top:3px solid var(--accent); border-radius:24px; padding:28px; background:var(--refresh-card); box-shadow:0 24px 70px #0002; }
.conversion-form .form-block { margin:0; max-width:none; padding:0; border:0; background:transparent; box-shadow:none; }
.conversion-form .form-block__heading { font-size:1.65rem; line-height:1.2; margin:6px 0 20px; color:var(--refresh-text); }
.conversion-form .form-block__card { padding:0; border:0; background:transparent; box-shadow:none; }
.conversion-form input:not([type=checkbox]):not([type=hidden]) { min-height:48px; border-radius:10px; }
.conversion-form button[type=submit],.conversion-form input[type=submit] { min-height:52px; width:100%; border-radius:10px; font-weight:700; }
.conversion-form .form-legal { line-height:1.55; font-size:.75rem; color:var(--refresh-muted); }
.conversion-form .form-manager { margin-bottom:0; padding-top:14px; border-top:1px solid var(--border); color:var(--refresh-text); }
.conversion-step { font-size:.7rem; color:var(--accent); font-weight:800; text-transform:uppercase; letter-spacing:.14em; margin:0 0 10px; }
.conversion-details { grid-area:details; min-width:0; }
.conversion-details>p:first-child,.conversion-details .hero__lead { font-size:1.06rem; line-height:1.7; color:var(--refresh-muted); max-width:58ch; margin:0 0 20px; }
.conversion-details .eyebrow,.conversion-details .hero__kicker { display:none; }
.conversion-details [class*=flags],.conversion-details .flags-line,.conversion-details .flag-row { margin:16px 0; }
.conversion-details [class*=links],.conversion-details .hero-trust,.conversion-details .hero-badges,.conversion-details .hero-icons { display:flex; flex-wrap:wrap; gap:12px; margin:16px 0 0; }
.conversion-details a { font-size:.85rem; }
.conversion-benefits { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; padding:0; list-style:none; }
.conversion-benefits li { font-size:.76rem; font-weight:600; padding:7px 11px; border-radius:8px; border:1px solid var(--border); background:var(--refresh-card); }
.conversion-benefits li::before { content:'✓'; color:var(--accent); margin-right:7px; }
.conversion-market { grid-area:market; min-width:0; padding:18px 20px 12px; background:var(--refresh-card); border:1px solid var(--border); border-radius:16px; position:relative; }
.conversion-market__tokens { display:flex; align-items:center; gap:18px; font-size:.76rem; font-weight:700; letter-spacing:.06em; }
.conversion-market__tokens span { display:flex; gap:8px; align-items:center; }
.conversion-market__tokens b { width:26px; height:26px; display:grid; place-items:center; border:1px solid var(--border); border-radius:50%; color:var(--accent); font-size:1rem; }
.conversion-market svg { width:100%; height:86px; display:block; margin:8px 0; color:var(--accent); overflow:visible; }
.conversion-market small { color:var(--refresh-muted); font-size:.65rem; }
#main:has(.conversion-hero)>.section { padding-block:clamp(48px,6vw,88px); }
#main:has(.conversion-hero) :is(.section__head,.section-head) { max-width:760px; margin-bottom:32px; }
#main:has(.conversion-hero) :is(.section__head,.section-head) h2 { font-size:clamp(1.8rem,3vw,2.8rem); line-height:1.15; letter-spacing:-.035em; }
#main:has(.conversion-hero) :is(.card,.review,.step,.review-card) { border-radius:18px; box-shadow:0 8px 24px #00000008; }
#main:has(.conversion-hero) :is(.exchange-row,.exchanges) { padding:20px; border:1px solid var(--border); border-radius:16px; gap:12px; }
#main:has(.conversion-hero) :is(.review-photo,.review-card__photo,.review__avatar img,.review__photo) { width:64px; height:64px; min-width:64px; border-radius:50%; object-fit:cover; display:block; }
.review__avatar:has(img) { padding:0; overflow:hidden; }
/* hidden panels must never be made visible by a responsive display rule. */
.mobile-menu[hidden],.mobile-menu [hidden] { display:none !important; }
.mobile-menu button { min-height:48px; width:100%; text-align:left; }
.mobile-menu a { min-height:44px; }
.mobile-menu :is(.mobile-sub,.mobile-group__panel,.mobile-accordion__panel):not([hidden]) { display:block; grid-template-rows:none; max-height:none; }
.mobile-menu :is(.mobile-sub-inner,.mobile-accordion__list) { overflow:visible; }
@media(max-width:767px) {
 .mobile-menu.is-open:not([hidden]) { display:block; position:fixed; z-index:110; left:0; right:0; top:var(--mobile-menu-top,68px); bottom:0; margin:0; overflow-y:auto; overscroll-behavior:contain; padding:12px 20px 32px; max-height:none; box-shadow:0 18px 30px #0002; }
 body.mobile-nav-open { overflow:hidden; }
 .conversion-grid { column-gap:28px; }
 .conversion-form { padding:22px; }
}
@media(max-width:767px) {
 .hero.conversion-hero { padding:28px 0 32px; }
 .conversion-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:"title" "form" "details" "market"; gap:24px; }
 .conversion-title h1 { font-size:clamp(2rem,8.6vw,3rem); max-width:22ch; margin-top:12px; }
 .conversion-title { margin:0; }
 .conversion-form { padding:22px 18px; border-radius:18px; }
 .conversion-details { margin:0; }
 .conversion-hero::before { background:linear-gradient(180deg,var(--refresh-wash),var(--refresh-bg) 78%),url('../images/hero-city.jpg') center top/auto 560px no-repeat; }
 .conversion-benefits { gap:6px; }
 .conversion-market__tokens { gap:12px; }
}
@media(min-width:768px) { .mobile-menu { display:none !important; } }

.city-credit { display:block; position:relative; z-index:1; text-align:right; font-size:.65rem; opacity:.7; margin-top:16px; color:var(--refresh-muted); }

.conversion-coins { position:absolute; inset:0; pointer-events:none; z-index:-1; overflow:hidden; color:var(--accent); opacity:.09; }
.conversion-coins span { position:absolute; font-size:150px; line-height:1; border:2px solid currentColor; border-radius:50%; width:200px; height:200px; display:grid; place-items:center; transform:rotate(-18deg); }
.conversion-coins span:first-child { top:18%; right:2%; }
.conversion-coins span:last-child { bottom:-70px; left:35%; transform:rotate(18deg); }
