/* =========================================================================
   Rege Reifungswerk — Werkstatt graphite + Swiss signal red
   Design system: dark machined fintech, Archivo display, machined shadows.
   ========================================================================= */

/* ---------- Self-hosted display font (Archivo, latin 600/800) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/archivo-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/archivo-800.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --bg: #101317;
  --surface: #181D23;
  --surface-2: #20262E;
  --border: #333C47;
  --border-soft: #2A323B;
  --text: #ECEFF3;
  --muted: #9BA6B2;
  --accent: #E63946;          /* Swiss signal red */
  --accent-hover: #F25E69;
  --accent-tint: #2E1A1D;
  --btn-bg: #D42B39;          /* deeper signal red — AA with white label */
  --btn-bg-hover: #E63946;
  --link: #F25E69;
  --steel: #8FA3B8;
  --brass: #C9A227;
  --brass-soft: #A8871F;

  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --r-sm: 12px;
  --r-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(6, 9, 12, 0.5), 0 2px 6px rgba(6, 9, 12, 0.35);
  --shadow-md: 0 2px 4px rgba(6, 9, 12, 0.45), 0 10px 28px rgba(6, 9, 12, 0.42);
  --shadow-lg: 0 4px 8px rgba(6, 9, 12, 0.5), 0 24px 56px rgba(6, 9, 12, 0.55);

  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);

  /* fine Swiss-grid texture used behind several bands */
  --tex-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='%238FA3B8' stroke-opacity='.07'/%3E%3C/svg%3E");
  --tex-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Ccircle cx='3' cy='3' r='1.4' fill='%238FA3B8' fill-opacity='.14'/%3E%3Ccircle cx='20' cy='12' r='1.4' fill='%23C9A227' fill-opacity='.10'/%3E%3Ccircle cx='10' cy='26' r='1.4' fill='%238FA3B8' fill-opacity='.10'/%3E%3C/svg%3E");
  --tex-coins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Ccircle cx='14' cy='14' r='8' fill='none' stroke='%23C9A227' stroke-opacity='.14'/%3E%3Ccircle cx='42' cy='38' r='11' fill='none' stroke='%23C9A227' stroke-opacity='.10'/%3E%3Ccircle cx='30' cy='52' r='4' fill='%23C9A227' fill-opacity='.12'/%3E%3C/svg%3E");
  --tex-hatch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M-2 26 26 -2M4 26 26 4' stroke='%23E63946' stroke-opacity='.12' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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); line-height: 1.18; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(242, 94, 105, 0.4); text-underline-offset: 3px; transition: color 0.16s var(--ease), text-decoration-color 0.16s var(--ease); }
a:hover { color: #FF8A92; text-decoration-color: #FF8A92; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--text); }
::selection { background: rgba(230, 57, 70, 0.35); }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.skip-link {
  position: absolute; left: 12px; top: -52px; z-index: 200;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 10px 16px; font-weight: 600; text-decoration: none;
  transition: top 0.16s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; flex: none; }
.icon--xs { width: 16px; height: 16px; }
.icon--sm { width: 19px; height: 19px; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent-hover);
  border: 1px solid rgba(230, 57, 70, 0.28);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.icon-badge .icon { width: 23px; height: 23px; }
.icon-badge--steel { background: rgba(143, 163, 184, 0.12); color: var(--steel); border-color: rgba(143, 163, 184, 0.3); }
.icon-badge--brass { background: rgba(201, 162, 39, 0.12); color: var(--brass); border-color: rgba(201, 162, 39, 0.32); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.99rem;
  line-height: 1.2; letter-spacing: 0.01em;
  padding: 13px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn-primary { background: var(--btn-bg); color: #FFFFFF; box-shadow: var(--shadow-sm); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--btn-bg-hover); color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.35), 0 8px 26px rgba(230, 57, 70, 0.28); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--accent); color: var(--accent-hover); background: rgba(230, 57, 70, 0.07); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--muted); padding: 10px 14px; }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 19, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled { background: rgba(13, 16, 20, 0.97); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); }
.logo__mark { width: 40px; height: 40px; color: var(--accent); flex: none; }
.logo__word { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.logo__word em { font-style: normal; font-weight: 600; color: var(--muted); margin-left: 5px; letter-spacing: 0.02em; }
.logo:hover .logo__mark { color: var(--accent-hover); }

.main-nav { margin-left: auto; }
.nav-groups { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-group { position: relative; }
.nav-group__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: 0.93rem;
  padding: 10px 13px; border-radius: 10px;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.nav-group__btn:hover { background: var(--surface-2); }
.nav-group__btn .icon { transition: transform 0.18s var(--ease); color: var(--muted); }
.nav-group__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 110;
  min-width: 264px; max-width: 320px;
  background: #151A20; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__notch {
  position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
  background: #151A20; border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-group--right .dropdown, .nav-group:last-child .dropdown { left: auto; right: 0; }
.nav-group--right .dropdown__notch, .nav-group:last-child .dropdown__notch { left: auto; right: 22px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; }
.dropdown__item {
  display: block; padding: 10px 12px; border-radius: 9px;
  color: var(--text); text-decoration: none; font-size: 0.92rem;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.dropdown__item:hover, .dropdown__item:focus-visible { background: var(--accent-tint); color: var(--accent-hover); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 9px; color: var(--text); cursor: pointer; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--border-soft); background: #12161B; }
.mobile-menu.is-open { display: block; }
.mobile-group { border-bottom: 1px solid var(--border-soft); }
.mobile-group__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; cursor: pointer; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  padding: 15px 2px;
}
.mobile-group__btn .icon { color: var(--muted); transition: transform 0.18s var(--ease); }
.mobile-group__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-group__panel { display: none; padding: 2px 0 12px; }
.mobile-group__btn[aria-expanded="true"] + .mobile-group__panel { display: block; }
.mobile-group__list { list-style: none; margin: 0; padding: 0; }
.mobile-group__list a {
  display: block; padding: 9px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 0.94rem;
}
.mobile-group__list a:hover { background: var(--surface-2); color: var(--text); }
.mobile-menu__cta { margin: 16px 0 20px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(52rem 30rem at 82% 12%, rgba(230, 57, 70, 0.09), transparent 62%),
    radial-gradient(46rem 34rem at 8% 90%, rgba(143, 163, 184, 0.07), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border-soft);
}
.hero__tex {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--tex-grid);
  opacity: 0.75;
  will-change: transform;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 6vw, 78px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--brass); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.hero__kicker::before { content: ""; width: 26px; height: 2px; background: var(--brass); }
.hero h1 { margin-bottom: 14px; }
.hero h1 .accent { color: var(--accent-hover); }
.hero__lead { color: var(--muted); font-size: 1.06rem; max-width: 54ch; margin-bottom: 22px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }

.flag-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.88rem; }
.flag-row .flags { display: inline-flex; gap: 7px; }
.flag { width: 22px; height: 16px; border-radius: 3px; overflow: hidden; display: inline-block; box-shadow: 0 0 0 1px rgba(236, 239, 243, 0.16); }

.trust-links { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 0.89rem; font-weight: 600;
  transition: border-color 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.trust-link .icon { color: var(--steel); }
.trust-link:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--text); }
.trust-link:hover .icon { color: var(--accent-hover); }

.hero__visual { position: relative; }
.hero-machine { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 42px rgba(6, 9, 12, 0.55)); }

/* ---------- Page hero (inner pages with form) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(44rem 26rem at 88% 6%, rgba(230, 57, 70, 0.08), transparent 60%),
    linear-gradient(180deg, #141920, var(--bg));
  border-bottom: 1px solid var(--border-soft);
}
.page-hero__tex { position: absolute; inset: 0; background-image: var(--tex-grid); opacity: 0.5; }
.page-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(26px, 4vw, 56px); align-items: start; padding-block: clamp(38px, 5vw, 62px); }
.page-hero__text h1 { margin-bottom: 14px; }
.page-hero__text .lead { color: var(--muted); font-size: 1.03rem; max-width: 58ch; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 6vw, 84px); position: relative; }
.section--surface { background: var(--surface); border-block: 1px solid var(--border-soft); }
.section--tint { background: linear-gradient(180deg, #131820, #11151b); }
.section--grid-tex { background-image: var(--tex-grid); }
.section--dots-tex { background-image: var(--tex-dots); }
.section--coins-tex { background-image: var(--tex-coins); }
.section--red-band {
  background:
    linear-gradient(120deg, rgba(230, 57, 70, 0.14), rgba(230, 57, 70, 0.05) 55%, transparent),
    var(--surface);
  border-block: 1px solid rgba(230, 57, 70, 0.22);
}

.section-head { max-width: 72ch; margin-bottom: clamp(26px, 3vw, 40px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { color: var(--muted); font-size: 1.02rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--brass); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 24px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: rgba(230, 57, 70, 0.55); box-shadow: var(--shadow-lg), 0 0 24px rgba(230, 57, 70, 0.13); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.card--feature { background: linear-gradient(160deg, #1C232C, var(--surface)); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.step:hover { transform: translateY(-3px); border-color: rgba(230, 57, 70, 0.5); box-shadow: var(--shadow-lg); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent-hover);
  border: 1px solid rgba(230, 57, 70, 0.4);
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  margin-bottom: 13px;
}
.step h3 { font-size: 1.04rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 0.93rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.93rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.table-wrap thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: rgba(32, 38, 46, 0.35); }
.table-wrap td.ok { color: #7FD99A; }
.table-wrap td.no { color: var(--muted); }

.tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(97, 176, 116, 0.14); color: #7FD99A; }
.tick .icon { width: 13px; height: 13px; }
.cross { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(230, 57, 70, 0.12); color: var(--accent-hover); }
.cross .icon { width: 13px; height: 13px; }

/* ---------- Comparison table ---------- */
.compare-table th:first-child { width: 34%; }
.compare-table .col-us { background: rgba(230, 57, 70, 0.06); }
.compare-table thead .col-us { background: var(--accent-tint); color: var(--accent-hover); }

/* ---------- Exchange row ---------- */
.exchange-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.exchange-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.exchange-chip:hover { color: var(--text); border-color: var(--steel); transform: translateY(-2px); }
.exchange-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); box-shadow: inset 0 0 0 2px rgba(143, 163, 184, 0.35); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 18px; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 13px; transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.review-card:hover { transform: translateY(-3px); border-color: rgba(201, 162, 39, 0.5); box-shadow: var(--shadow-lg); }
.review-card__head { display: flex; align-items: center; gap: 13px; }
.review-card__img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201, 162, 39, 0.4); flex: none; }
.review-card__name { font-family: var(--font-display); font-weight: 600; font-size: 0.99rem; }
.review-card__role { color: var(--muted); font-size: 0.84rem; }
.review-card__stars { color: var(--brass); letter-spacing: 2px; font-size: 0.85rem; }
.review-card__text { color: var(--muted); font-size: 0.93rem; margin: 0; flex: 1; }
.review-card__data { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--border-soft); padding-top: 12px; font-size: 0.84rem; color: var(--muted); }
.review-card__data b { color: var(--text); font-weight: 600; }
.reviews-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 20px; max-width: 68ch; margin-inline: auto; }

/* ---------- Company block ---------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.company-facts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.company-facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.94rem; }
.company-facts li .icon { color: var(--steel); margin-top: 3px; }
.company-facts li b { color: var(--text); font-weight: 600; }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.company-link {
  display: flex; align-items: center; gap: 13px; padding: 15px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.93rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.company-link:hover { transform: translateY(-2px); border-color: rgba(230, 57, 70, 0.5); box-shadow: var(--shadow-md); color: var(--text); }

/* ---------- Calculator band ---------- */
.calc-band { overflow: hidden; }
.calc-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); gap: clamp(24px, 3.5vw, 44px); align-items: center; }
.maturation-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 16px; }
.maturation-panel canvas { display: block; width: 100%; height: auto; border-radius: 10px; background: #12161C; }
.maturation-panel__cap { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.78rem; padding: 10px 4px 0; }

/* ---------- Form block ---------- */
.form-block { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: clamp(20px, 2.6vw, 30px); }
.form-block__heading { font-size: 1.18rem; margin-bottom: 6px; }
.form-block__intro { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.form-block__card { border: 0; padding: 0; }
.form-legal { color: var(--muted); font-size: 0.8rem; margin: 12px 0 4px; }
.form-manager { display: flex; align-items: center; gap: 9px; color: var(--brass); font-size: 0.86rem; margin: 0; }
.form-manager .icon { color: var(--brass); }

/* beacon formFactory base look (module ships its own css in production) */
.beacon-form .beacon-form__row { margin-bottom: 13px; }
.beacon-form .beacon-form__label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.beacon-form .beacon-form__input {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: #12161C; border: 1px solid var(--border); border-radius: 10px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.beacon-form .beacon-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.18); }
.beacon-form .beacon-form__submit {
  width: 100%; margin-top: 4px; padding: 13px 18px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--btn-bg); color: #FFFFFF; font-family: var(--font-display); font-weight: 600; font-size: 0.97rem; white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s var(--ease), transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.beacon-form .beacon-form__submit:hover, .beacon-form .beacon-form__submit:focus-visible { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(230, 57, 70, 0.3); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.16s var(--ease); }
.faq-item.is-open { border-color: rgba(230, 57, 70, 0.45); }
.faq-item__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 0.99rem;
  padding: 16px 18px;
}
.faq-item__btn .icon { color: var(--muted); transition: transform 0.18s var(--ease); flex: none; }
.faq-item__btn[aria-expanded="true"] .icon { transform: rotate(180deg); color: var(--accent-hover); }
.faq-item__panel { max-height: 0; overflow: hidden; transition: max-height 0.24s var(--ease); }
.faq-item__body { padding: 0 18px 18px; color: var(--muted); font-size: 0.94rem; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Prose (documentation pages) ---------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul li, .prose ol li { margin-bottom: 0.4em; }
.prose .table-wrap { margin: 1.4em 0; }
.prose-note {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brass);
  border-radius: var(--r-sm); padding: 15px 17px; color: var(--muted); font-size: 0.92rem; margin: 1.3em 0;
}
.prose-note .icon { color: var(--brass); margin-top: 2px; }
.alert {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--accent-tint); border: 1px solid rgba(230, 57, 70, 0.35); border-radius: var(--r-sm);
  padding: 15px 17px; color: var(--muted); font-size: 0.92rem; margin: 1.3em 0;
}
.alert .icon { color: var(--accent-hover); margin-top: 2px; }
.alert b { color: var(--text); }

/* risk/security cards with icon */
.risk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.risk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease); }
.risk-card:hover { transform: translateY(-3px); border-color: rgba(230, 57, 70, 0.5); box-shadow: var(--shadow-lg); }
.risk-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.02rem; margin-bottom: 9px; }
.risk-card p { color: var(--muted); font-size: 0.93rem; margin: 0 0 0.7em; }
.risk-card p:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), rgba(201, 162, 39, 0.5)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 26px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline::before { left: 8px; }
.timeline .tl-year { position: relative; }
.timeline .tl-dot { position: absolute; left: -32px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12); }
.timeline h3 { font-size: 1.05rem; color: var(--accent-hover); margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-bottom: 34px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); }
.contact-card h3 { display: flex; align-items: center; gap: 11px; font-size: 0.99rem; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.map-embed { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); max-width: 920px; aspect-ratio: 16 / 9; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Vacancies ---------- */
.vacancy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-md); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; transition: transform 0.16s var(--ease), border-color 0.16s var(--ease); }
.vacancy:hover { transform: translateY(-2px); border-color: rgba(230, 57, 70, 0.45); }
.vacancy__body { flex: 1 1 380px; }
.vacancy h3 { margin-bottom: 6px; }
.vacancy p { color: var(--muted); font-size: 0.92rem; margin: 0 0 8px; }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { font-size: 0.76rem; color: var(--steel); border: 1px solid var(--border); background: var(--surface-2); padding: 3px 10px; border-radius: 999px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: #12161B; border-bottom: 1px solid var(--border-soft); padding-block: 11px; font-size: 0.84rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-hover); }
.breadcrumbs .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0D1014; border-top: 1px solid var(--border-soft); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.9fr 1.25fr 0.9fr 1fr; gap: clamp(20px, 3vw, 40px); padding-block: clamp(40px, 5vw, 64px) 28px; }
.footer-brand__text { color: var(--muted); font-size: 0.9rem; margin: 16px 0 14px; max-width: 34ch; }
.footer-brand__meta { color: var(--muted); font-size: 0.85rem; line-height: 2; margin: 0; }
.footer-brand__meta .icon { color: var(--steel); margin-right: 4px; vertical-align: -3px; }
.footer-col__title { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.footer-col__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col__list a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer-col__list a:hover { color: var(--accent-hover); }
.footer-disclaimer { border-top: 1px solid var(--border-soft); padding-block: 22px; }
.footer-disclaimer h2 { font-size: 0.95rem; color: var(--text); margin-bottom: 8px; }
.footer-disclaimer p { color: var(--muted); font-size: 0.8rem; line-height: 1.7; margin: 0; max-width: 110ch; }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-block: 18px 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; color: var(--muted); font-size: 0.82rem; }
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.error-page__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4.4rem, 10vw, 7rem); color: var(--accent); line-height: 1; letter-spacing: -0.03em; }

/* ---------- Special offer ---------- */
.urgency-strip { background: linear-gradient(90deg, #7E1D26, var(--accent) 55%, #B02330); color: #FFF5F5; font-size: 0.85rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: center; padding-block: 9px; }
.urgency-strip span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.urgency-strip .pulse { width: 8px; height: 8px; border-radius: 50%; background: #FFD9DD; box-shadow: 0 0 0 0 rgba(255, 217, 221, 0.7); animation: so-pulse 1.8s var(--ease) infinite; }
@keyframes so-pulse { 70% { box-shadow: 0 0 0 7px rgba(255, 217, 221, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 217, 221, 0); } }

.so-hero { position: relative; overflow: hidden; background: radial-gradient(48rem 28rem at 85% 8%, rgba(230, 57, 70, 0.16), transparent 62%), linear-gradient(180deg, #1A1418, var(--bg)); border-bottom: 1px solid rgba(230, 57, 70, 0.3); }
.so-hero__tex { position: absolute; inset: 0; background-image: var(--tex-hatch), var(--tex-grid); opacity: 0.6; }
.so-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(26px, 4vw, 52px); align-items: start; padding-block: clamp(36px, 5vw, 60px); }
.so-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-tint); border: 1px solid rgba(230, 57, 70, 0.5); color: var(--accent-hover); font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; padding: 7px 15px; margin-bottom: 16px; }
.so-countdown { display: inline-flex; gap: 8px; align-items: center; margin: 18px 0 6px; }
.so-countdown__cell { min-width: 62px; padding: 9px 8px 7px; text-align: center; background: #171B21; border: 1px solid rgba(230, 57, 70, 0.4); border-radius: 10px; box-shadow: var(--shadow-sm); }
.so-countdown__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--text); font-variant-numeric: tabular-nums; }
.so-countdown__lab { display: block; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.so-countdown__sep { color: var(--accent-hover); font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.so-cta-band { background: linear-gradient(120deg, #8E2029, var(--accent) 60%, #C22633); background-image: var(--tex-hatch), linear-gradient(120deg, #8E2029, var(--accent) 60%, #C22633); border-block: 1px solid rgba(255, 255, 255, 0.08); text-align: center; }
.so-cta-band .container { padding-block: clamp(30px, 4vw, 46px); }
.so-cta-band h2 { color: #FFF6F6; }
.so-cta-band p { color: rgba(255, 240, 240, 0.85); max-width: 56ch; margin-inline: auto; }
.so-cta-band .btn { background: #101317; color: #FFFFFF; margin-top: 8px; }
.so-cta-band .btn:hover { background: #232B34; transform: translateY(-2px); }

.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(8, 10, 13, 0.78); backdrop-filter: blur(3px); }
.so-modal__card {
  position: relative; z-index: 1; width: min(480px, 100%);
  background: #171B21; border: 1px solid rgba(230, 57, 70, 0.45); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 28px; text-align: center;
  animation: so-card-in 0.22s var(--ease);
}
@keyframes so-card-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.so-modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer; transition: color 0.14s var(--ease), border-color 0.14s var(--ease); }
.so-modal__close:hover { color: var(--text); border-color: var(--accent); }
.so-modal__card h2 { margin: 12px 0 10px; }
.so-modal__card p { color: var(--muted); font-size: 0.94rem; }
.so-modal__art { width: 132px; height: auto; margin: 0 auto; display: block; }

/* ---------- Reveal (active only when JS is present) ---------- */
html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Ticker row (beacon injects after header) ---------- */
.beacon-ticker-row + main, header + .beacon-ticker-row { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .nav-group__btn { padding: 10px 9px; font-size: 0.88rem; }
}
@media (max-width: 920px) {
  .hero__inner, .page-hero__inner, .so-hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; margin-inline: auto; }
  .company-grid { grid-template-columns: 1fr; }
  .calc-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-inner { gap: 12px; }
  .logo__word { font-size: 1rem; }
  .hero__visual { display: none; }   /* mobile: heading + form first, static scene skipped */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .cards--4, .steps { grid-template-columns: 1fr; }
  .exchange-row { gap: 8px; }
  .exchange-chip { padding: 8px 14px; font-size: 0.85rem; }
  .btn { font-size: 0.93rem; padding: 12px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .so-countdown__cell { min-width: 54px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  .urgency-strip .pulse { animation: none; }
}

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

.conversion-hero {--refresh-bg:#0d1420;--refresh-wash:#0d1420b8;--refresh-card:#131e2df5;--refresh-text:#f2f5fa;--refresh-muted:#afbdd0;--refresh-grid:#b2c8e012;}

/* 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:920px) {
 .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:921px) { .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); }

.iti__selected-country, .iti__country-name {color: #111!important;}
