/* ============================================================
   CryptoCard Insider — Shared Guide Styles v20260819
   Lab light SEO surface (from guide.css) (#a67c00) + Apple-grade motion
   ============================================================ */
:root {
  --bg: #dde4ee;
  --bg-soft: #e8eef6;
  --surface: rgba(166,124,0,0.06);
  --surface-strong: rgba(166,124,0,0.10);
  --border: #b8c4d4;
  --border-bright: #9aabbf;
  --text: #0f1419;
  --text-dim: #4a5568;
  --text-faint: #6b7788;
  --rp-red: #a67c00;
  --rp-red-dark: #8a6800;
  --rp-red-light: #c9a227;
  --rp-red-soft: rgba(166,124,0,0.12);
  --accent: #a67c00;
  --accent-2: #c9a227;
  --grad: linear-gradient(135deg, #a67c00 0%, #c9a227 50%, #e8b020 100%);
  --grad-btn: linear-gradient(135deg, #a67c00, #c9a227);
  --grad-hot: linear-gradient(135deg, #8a6800, #a67c00);
  --green: #157a4f;
  --amber: #f59e0b;
  --red: #c43d22;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 60px rgba(15,20,25,0.10);
  --shadow-glow: 0 0 40px rgba(166,124,0,0.18);
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: var(--rp-red); }
a:hover { color: var(--rp-red-dark); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(166,124,0,.10), transparent 55%),
    linear-gradient(180deg, #e8eef6 0%, var(--bg) 42%, #d5dde8 100%);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Ambient aurora background ---- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(166,124,0,0.08), transparent 60%),
    radial-gradient(900px 550px at -10% 25%, rgba(201,162,39,0.05), transparent 60%),
    radial-gradient(800px 500px at 50% 115%, rgba(166,124,0,0.06), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ---- Scroll progress bar (top) ---- */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1000;
  width: 0%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(166,124,0,0.4);
  transition: width 0.1s linear;
}

/* ---- Top navigation ---- */
.guide-nav {
  position: sticky; top: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 40px);
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.guide-nav .brand {
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.guide-nav .brand .logo-dot {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--grad); -webkit-text-fill-color: initial;
  display: grid; place-items: center; color: #fff; font-size: 0.7rem; font-weight: 900;
  box-shadow: 0 4px 14px rgba(166,124,0,0.25);
}
.guide-nav .nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.guide-nav .nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 0.86rem; font-weight: 500;
  padding: 7px 13px; border-radius: 999px; transition: all 0.25s var(--ease-out);
}
.guide-nav .nav-links a:hover { color: var(--text); background: var(--surface-strong); }
.guide-nav .nav-links a.active { color: #fff; background: var(--grad-btn); box-shadow: 0 4px 16px rgba(166,124,0,0.4); }
.guide-nav .nav-cta {
  background: var(--grad-hot); color: #fff !important; font-weight: 700;
  box-shadow: 0 6px 20px rgba(201,162,39,0.35);
  animation: pulseCta 2.6s infinite;
}
@keyframes pulseCta {
  0%,100% { box-shadow: 0 6px 20px rgba(201,162,39,0.35); }
  50% { box-shadow: 0 6px 28px rgba(201,162,39,0.6); }
}

/* ---- Hero ---- */
.guide-hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) clamp(18px, 5vw, 48px) clamp(40px, 6vw, 70px);
  text-align: center;
  overflow: hidden;
}
.guide-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(201,162,39,0.10); border: 1px solid rgba(201,162,39,0.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.guide-hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.12; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 18px;
}
.guide-hero h1 .grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.guide-hero .hero-sub {
  max-width: 640px; margin: 0 auto 30px;
  color: var(--text-dim); font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.guide-hero .hero-meta {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--text-faint);
}
.guide-hero .hero-meta .chip {
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---- Countdown ---- */
.countdown-wrap {
  display: flex; justify-content: center; gap: clamp(8px, 2vw, 14px);
  margin: 26px 0 6px;
}
.cd-cell {
  min-width: 74px;
  background: var(--surface-strong);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  padding: 14px 10px 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cd-cell .num {
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd-cell .lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: none; cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out), filter 0.3s;
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 12px 32px rgba(166,124,0,0.25);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px rgba(166,124,0,0.35); filter: brightness(1.08); }
.btn-hot {
  background: var(--grad-hot); color: #fff;
  box-shadow: 0 12px 32px rgba(201,162,39,0.38);
  animation: pulseCta 2.6s infinite;
}
.btn-hot:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 44px rgba(201,162,39,0.55); filter: brightness(1.08); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-strong); transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn .arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- Layout ---- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.section { padding: clamp(48px, 7vw, 84px) 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-head .kicker {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 1.02rem; }

/* ---- Reveal animation (IntersectionObserver) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Glass card ---- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}
.glass:hover { transform: translateY(-4px); border-color: var(--border-bright); box-shadow: 0 30px 70px rgba(0,0,0,0.12), var(--shadow-glow); }

/* ---- Step cards (overview) ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
.step-card {
  position: relative; padding: 30px 22px 24px; text-align: center; overflow: hidden;
}
.step-card .step-badge {
  position: absolute; top: -26px; right: -18px;
  font-size: 6.5rem; font-weight: 900; line-height: 1;
  color: rgba(255,255,255,0.045); letter-spacing: -0.05em; user-select: none;
}
.step-card .step-num {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--grad-btn); color: #fff; font-weight: 800; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(166,124,0,0.25);
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.87rem; color: var(--text-dim); line-height: 1.55; }
.step-card .step-time {
  margin-top: 12px; font-size: 0.74rem; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 5px;
}

/* ---- Sticky in-page TOC (scrollspy) ---- */
.toc-bar {
  position: sticky; top: 66px; z-index: 800;
  display: flex; gap: 6px; overflow-x: auto; padding: 10px 4px;
  margin: 0 auto 30px; max-width: 1080px;
  scrollbar-width: none;
}
.toc-bar::-webkit-scrollbar { display: none; }
.toc-bar a {
  flex: 0 0 auto;
  font-size: 0.82rem; font-weight: 600; color: var(--text-dim);
  text-decoration: none; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out); white-space: nowrap;
}
.toc-bar a:hover { color: var(--text); border-color: var(--border-bright); }
.toc-bar a.on { color: #fff; background: var(--grad-btn); border-color: transparent; box-shadow: 0 6px 18px rgba(166,124,0,0.3); }

/* ---- Step content blocks ---- */
.step-block { display: grid; gap: 28px; margin-bottom: 30px; }
.step-block .step-head { display: flex; align-items: flex-start; gap: 16px; }
.step-block .step-head .step-big {
  flex: 0 0 auto;
  width: 54px; height: 54px; border-radius: 18px;
  background: var(--grad-btn); color: #fff;
  font-size: 1.4rem; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(166,124,0,0.3);
}
.step-block h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); letter-spacing: -0.02em; font-weight: 800; }
.step-block .step-head p { color: var(--text-dim); margin-top: 6px; font-size: 0.95rem; }

/* ---- Info panels ---- */
.panel {
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 18px 0;
  border: 1px solid;
  display: flex; gap: 14px; align-items: flex-start;
}
.panel .icon { font-size: 1.25rem; line-height: 1.4; flex: 0 0 auto; }
.panel p { font-size: 0.92rem; }
.panel strong { color: var(--text); }
.panel-tip { background: rgba(52,211,153,0.07); border-color: rgba(52,211,153,0.22); color: #a7f3d0; }
.panel-warn { background: rgba(251,191,36,0.07); border-color: rgba(251,191,36,0.25); color: #fde68a; }
.panel-danger { background: rgba(201,162,39,0.08); border-color: rgba(201,162,39,0.28); color: #fecaca; }
.panel-info { background: rgba(166,124,0,0.06); border-color: rgba(124,58,237,0.3); color: var(--text-dim); }

/* ---- Ordered checklist ---- */
.checklist { list-style: none; counter-reset: cl; display: grid; gap: 14px; }
.checklist > li {
  counter-increment: cl;
  position: relative;
  padding: 18px 20px 18px 58px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.checklist > li:hover { border-color: var(--border-bright); background: var(--surface-strong); transform: translateX(4px); }
.checklist > li::before {
  content: counter(cl, decimal-leading-zero);
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-weight: 800; font-size: 0.95rem;
  color: var(--rp-red);
  background: rgba(166,124,0,0.1);
  border: 1px solid rgba(166,124,0,0.25);
  width: 30px; height: 30px; border-radius: 10px;
  display: grid; place-items: center;
}
.checklist b, .checklist strong { color: var(--text); }
.checklist .sub { color: var(--text-dim); font-size: 0.9rem; margin-top: 2px; display: block; }
.checklist code, .inline-code {
  font-family: "SF Mono", ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.82em; background: rgba(166,124,0,0.1); color: var(--rp-red);
  padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(166,124,0,0.2);
}

/* ---- Comparison table ---- */
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); }
table.guide-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.92rem; }
.guide-table th {
  text-align: left; padding: 14px 16px; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-faint); font-weight: 700;
  border-bottom: 1px solid var(--border-bright); background: rgba(0,0,0,0.02);
}
.guide-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table tr { transition: background 0.25s; }
.guide-table tbody tr:hover { background: rgba(166,124,0,0.04); }
.guide-table .win { color: var(--green); font-weight: 700; }
.guide-table .lose { color: var(--red); }
.guide-table .best { background: rgba(166,124,0,0.06); }
.guide-table .best td { color: var(--text); font-weight: 600; }

/* ---- Tab switcher (P2P vs Wallet) ---- */
.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px; width: fit-content; margin: 0 auto 30px; flex-wrap: wrap; justify-content: center; }
.tab-btn {
  border: none; background: transparent; color: var(--text-dim);
  font-family: inherit; font-size: 0.9rem; font-weight: 600;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.tab-btn.active { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 18px rgba(166,124,0,0.3); }
.tab-pane { display: none; animation: fadeUp 0.5s var(--ease-out); }
.tab-pane.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- FAQ accordion ---- */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(166,124,0,0.3); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 18px 22px; font-weight: 650; font-size: 1rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 700;
  background: var(--surface-strong); border: 1px solid var(--border-bright);
  color: var(--text-dim);
  transition: transform 0.4s var(--ease-spring), background 0.3s, color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad-btn); color: #fff; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.95rem; }
.faq-item .faq-body a { color: var(--accent); text-decoration: none; }
.faq-item .faq-body strong { color: var(--text); }

/* ---- CTA box ---- */
.cta-box {
  position: relative; overflow: hidden;
  text-align: center; padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 60px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(166,124,0,0.10), rgba(201,162,39,0.05) 60%, rgba(255,255,255,0.4));
  border: 1px solid rgba(166,124,0,0.2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.cta-box::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0%, rgba(166,124,0,0.25) 25%, transparent 50%, rgba(201,162,39,0.2) 75%, transparent 100%);
  animation: spinGlow 8s linear infinite;
  filter: blur(30px); opacity: 0.6;
}
@keyframes spinGlow { to { transform: rotate(360deg); } }
.cta-box h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-box p { color: var(--text-dim); max-width: 560px; margin: 0 auto 26px; }
.cta-box .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-box .code-row { margin-top: 22px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.code-pill {
  font-size: 0.8rem; font-weight: 600; color: var(--text-dim);
  background: var(--surface-strong); border: 1px solid var(--border-bright);
  padding: 7px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.code-pill .v { color: #fff; font-weight: 800; letter-spacing: 0.04em; }
.evidence-bar {
  margin: 14px auto 0;
  max-width: 40rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.code-tray {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media (min-width: 720px) {
  .code-tray { grid-template-columns: 1fr 1fr 1fr; max-width: 720px; }
}
.code-slot {
  border: 1px solid var(--border-bright);
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.code-slot .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); }
.code-slot code { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; color: var(--text); }
.code-slot .price { font-size: 0.82rem; color: var(--text-dim); }
.copy-code {
  align-self: flex-start;
  cursor: pointer;
  border: 1px solid var(--border-bright);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 8px;
}
.copy-code:active { transform: scale(0.98); }
.copy-code.is-copied { border-color: var(--green); color: #047857; }
.field-split {
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
}
.field-split--hero {
  margin: 20px auto 0;
  max-width: 720px;
  text-align: left;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}
.field-row:first-child { border-top: 0; }
.field-row.head {
  background: var(--surface-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
@media (min-width: 720px) {
  .field-row { grid-template-columns: 1.1fr 1.2fr 1.7fr; gap: 12px; align-items: start; }
}
.field-row code { font-weight: 800; }
.country-promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.country-promo-links a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
}
.country-promo-links a:hover { border-color: var(--rp-red); }

/* ---- Pricing / fee cards ---- */
.fee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.fee-card { padding: 26px 24px; }
.fee-card .fee-name { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); font-weight: 700; margin-bottom: 8px; }
.fee-card .fee-val { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; }
.fee-card .fee-val small { font-size: 0.85rem; color: var(--text-faint); font-weight: 600; }
.fee-card .fee-note { margin-top: 8px; font-size: 0.82rem; color: var(--text-dim); }
.fee-card.hot { background: linear-gradient(160deg, rgba(201,162,39,0.14), rgba(124,58,237,0.10)); border-color: rgba(201,162,39,0.35); }
.fee-card.hot .fee-val { color: var(--red); }
.fee-card .old { color: var(--text-faint); text-decoration: line-through; font-size: 1.05rem; font-weight: 600; margin-right: 8px; }

/* ---- Quick answer ---- */
.quick-answer {
  max-width: 860px; margin: 30px auto 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(166,124,0,0.08), rgba(201,162,39,0.03));
  border: 1px solid rgba(166,124,0,0.15);
  padding: 24px 28px; text-align: left;
}
.quick-answer .qa-label {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.quick-answer p { color: var(--text); font-size: 1rem; }

/* ---- Flow diagram (CSS steps) ---- */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.flow .flow-node {
  background: var(--surface); border: 1px solid var(--border-bright);
  border-radius: 14px; padding: 14px 18px; text-align: center; min-width: 130px;
  font-size: 0.85rem; font-weight: 650;
  transition: transform 0.3s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
}
.flow .flow-node:hover { transform: translateY(-4px); border-color: rgba(166,124,0,0.4); box-shadow: 0 12px 30px rgba(166,124,0,0.15); }
.flow .flow-node small { display: block; font-size: 0.7rem; color: var(--text-faint); font-weight: 500; margin-top: 3px; }
.flow .flow-arrow { align-self: center; color: var(--accent); font-size: 1.2rem; font-weight: 800; }

/* ---- Calculator ---- */
.calc {
  max-width: 520px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg); padding: 28px;
  backdrop-filter: blur(16px);
}
.calc label { font-size: 0.8rem; font-weight: 700; color: var(--text-dim); display: block; margin-bottom: 8px; }
.calc input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  outline: none; cursor: pointer; margin-bottom: 6px;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 4px solid var(--accent);
  box-shadow: 0 4px 14px rgba(166,124,0,0.3);
  transition: transform 0.2s var(--ease-spring);
}
.calc input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.calc .calc-out { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border-bright); }
.calc .calc-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-dim); padding: 4px 0; }
.calc .calc-row.total { color: var(--text); font-weight: 800; font-size: 1.05rem; }
.calc .calc-row.total .amt { color: var(--red); }
.calc .calc-row .amt { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--text); }

/* ---- Footer (unified site-footer) ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  margin-top: 60px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; margin: 0; }
.footer-brand .promo-tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.footer-brand .promo-tag {
  display: inline-block; padding: 4px 10px;
  background: var(--rp-red-soft); color: var(--rp-red);
  font-size: 0.72rem; font-weight: 700; border-radius: 6px;
}
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 14px;
}
.footer-col a {
  display: block; color: var(--text-dim); text-decoration: none;
  font-size: 0.85rem; padding: 5px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--rp-red); }
.footer-col p { font-size: 0.85rem; color: var(--text-dim); margin: 0 0 6px; }
.footer-col .promo-box {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.footer-col .promo-box .label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 2px; }
.footer-col .promo-box .code { font-size: 1rem; font-weight: 800; color: var(--rp-red); font-family: monospace; }
.footer-col .promo-box .note { font-size: 0.72rem; color: var(--text-faint); }
.footer-bottom {
  max-width: 1100px; margin: 32px auto 0; padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center; color: var(--text-faint); font-size: 0.78rem; line-height: 1.8;
}
.footer-bottom a { color: var(--text-dim); }
.footer-region {
  max-width: 1100px; margin: 12px auto 0; padding-top: 12px;
  border-top: 1px solid var(--border); font-size: 0.75rem;
  color: var(--text-faint); line-height: 1.6;
}

/* Legacy guide-footer (for backwards compat, redirects to site-footer style) */
.guide-footer { border-top: 1px solid var(--border); padding: 44px 0 40px; margin-top: 30px; }
.guide-footer .foot-links { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.guide-footer .foot-links a { color: var(--text-dim); text-decoration: none; font-size: 0.86rem; padding: 6px 12px; border-radius: 999px; transition: color 0.25s, background 0.25s; }
.guide-footer .foot-links a:hover { color: var(--text); background: var(--surface-strong); }
.guide-footer .foot-note { text-align: center; color: var(--text-faint); font-size: 0.8rem; line-height: 1.8; }
.guide-footer .foot-note a { color: var(--text-dim); }

/* ---- Sticky mobile CTA ---- */
.sticky-mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; align-items: center; gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--border-bright);
}
.sticky-mobile-cta .price { flex: 1; font-size: 0.8rem; color: var(--text-dim); line-height: 1.3; }
.sticky-mobile-cta .price strong { color: var(--red); font-size: 1.15rem; display: block; }
.sticky-mobile-cta .price .old { text-decoration: line-through; }
.sticky-mobile-cta .btn { padding: 12px 22px; font-size: 0.92rem; }
@media (max-width: 720px) {
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .guide-nav .nav-links > a:not(.nav-cta) { display: none; }
  .cd-cell { min-width: 62px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .site-footer { padding: 32px 16px 20px; margin-top: 40px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .option-card .opt-icon { margin: 0 auto 12px; }
}

/* ---- Scroll-to-top ---- */
#backTop {
  position: fixed; right: 22px; bottom: 96px; z-index: 940;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-strong); border: 1px solid var(--border-bright);
  color: var(--text); font-size: 1.1rem; cursor: pointer;
  display: grid; place-items: center; opacity: 0; pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease-spring);
  backdrop-filter: blur(10px);
}
#backTop.show { opacity: 1; pointer-events: auto; }
#backTop:hover { transform: translateY(-4px); }
@media (max-width: 720px) { #backTop { bottom: 168px; } }

/* ---- Misc ---- */
.mono { font-family: "SF Mono", ui-monospace, Menlo, monospace; }
.small-note { font-size: 0.78rem; color: var(--text-faint); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-bright), transparent); border: none; margin: 40px 0; }

/* ============================================================
   v2 — Apple-grade motion layer (2026-08-18)
   View Transitions · scroll-driven fx · 3D tilt · magnetic
   cursor spotlight · count-up · flowing gradient · iOS accordion
   ============================================================ */

/* ---- View Transitions API (same-document page morph) ---- */
@supports (view-transition-name: root) {
  ::view-transition-old(root) { animation: vtOut 0.32s var(--ease-out) both; }
  ::view-transition-new(root) { animation: vtIn 0.42s var(--ease-out) both; }
}
@keyframes vtOut { to { opacity: 0; transform: scale(0.985) translateY(6px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: scale(1.012) translateY(-6px); filter: blur(4px); } }

/* ---- Scroll-driven hero parallax (CSS scroll timeline) ---- */
@supports (animation-timeline: scroll()) {
  .guide-hero { animation: heroParallax linear both; animation-timeline: scroll(root); animation-range: 0 500px; }
  @keyframes heroParallax { to { opacity: 0.25; transform: translateY(-40px); } }
}

/* ---- 3D Tilt cards ---- */
.tilt-wrap { perspective: 1000px; }
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  will-change: transform;
}
.tilt-card.flattened { transition: transform 0.5s var(--ease-out); }
.tilt-card .tilt-inner { transform: translateZ(28px); }

/* ---- Magnetic buttons ---- */
.magnetic { transition: transform 0.35s var(--ease-out); will-change: transform; }

/* ---- Cursor spotlight (desktop only) ---- */
@media (hover: hover) and (pointer: fine) {
  .cursor-spotlight {
    position: fixed; left: 0; top: 0; width: 480px; height: 480px;
    margin: -240px 0 0 -240px; border-radius: 50%; z-index: 1; pointer-events: none;
    background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, rgba(168,85,247,0.06) 40%, transparent 70%);
    opacity: 0; transition: opacity 0.5s var(--ease-out);
    mix-blend-mode: screen;
  }
  body.spot-on .cursor-spotlight { opacity: 1; }
  .cursor-spotlight.hot { background: radial-gradient(circle, rgba(201,162,39,0.16) 0%, rgba(124,58,237,0.07) 40%, transparent 70%); }
}

/* ---- Count-up numbers ---- */
.count-up { font-variant-numeric: tabular-nums; }

/* ---- Flowing gradient text ---- */
.grad-flow {
  background: linear-gradient(120deg, #a67c00, #c9a227, #e8b020, #f0d78a, #a67c00);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradFlow 7s linear infinite;
}
@keyframes gradFlow { to { background-position: 300% 0; } }

/* ---- iOS-style accordion (grid-rows smooth open) ---- */
.faq-item-ios { display: grid; grid-template-rows: auto 0fr; transition: grid-template-rows 0.5s var(--ease-out), border-color 0.3s; }
.faq-item-ios[open] { grid-template-rows: auto 1fr; }
.faq-item-ios .faq-body { overflow: hidden; min-height: 0; opacity: 0; transform: translateY(-6px); transition: opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out); }
.faq-item-ios[open] .faq-body { opacity: 1; transform: none; }

/* ---- Shimmer border on hover (hub cards) ---- */
.shimmer-border { position: relative; overflow: hidden; }
.shimmer-border::after {
  content: ""; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(168,85,247,0.16) 40deg, rgba(201,162,39,0.12) 80deg, transparent 120deg);
  animation: shimmerSpin 6s linear infinite;
  pointer-events: none; opacity: 0; transition: opacity 0.4s;
}
.shimmer-border:hover::after { opacity: 1; }
@keyframes shimmerSpin { to { transform: rotate(360deg); } }

/* ---- Micro ripple on buttons ---- */
.btn.ripple { position: relative; overflow: hidden; }
.btn.ripple::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,0.45) 0%, transparent 55%);
  opacity: 0; transform: scale(0.4); transition: opacity 0.5s, transform 0.6s var(--ease-out);
  pointer-events: none;
}
.btn.ripple:active::after { opacity: 1; transform: scale(2.2); transition: 0s; }

/* ---- Bounce-in step cards (staggered) ---- */
.stagger > * { opacity: 0; transform: translateY(22px) scale(0.97); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger > *:nth-child(1) { transition-delay: 0.02s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.14s; }
.stagger > *:nth-child(4) { transition-delay: 0.20s; }
.stagger > *:nth-child(5) { transition-delay: 0.26s; }
.stagger > *:nth-child(6) { transition-delay: 0.32s; }

/* ---- Tooltip chip (hover hints) ---- */
.hint-chip { position: relative; }
.hint-chip::before {
  content: attr(data-hint);
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px) scale(0.96);
  background: #0f172a; border: 1px solid var(--border-bright); color: var(--text);
  font-size: 0.74rem; font-weight: 500; white-space: nowrap;
  padding: 6px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  z-index: 50;
}
.hint-chip:hover::before { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }

/* ---- Reduced motion: disable all v2 fx ---- */
@media (prefers-reduced-motion: reduce) {
  .tilt-card { transition: none !important; }
  .grad-flow { animation: none; }
  .shimmer-border::after { animation: none; display: none; }
  .cursor-spotlight { display: none; }
  .count-up { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ============================================================
   v2b — Search-Intent Board (geo questions, 2026-08-18)
   ============================================================ */
.search-board { max-width: 860px; margin: 0 auto; }
.sb-countries { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.sb-chip {
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-dim); font-family: inherit; font-size: .85rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: all .3s var(--ease-spring);
}
.sb-chip:hover { border-color: rgba(168,85,247,.5); color: var(--text); transform: translateY(-2px); }
.sb-chip.on { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(124,58,237,.45); }
.sb-panel {
  display: none;
  background: linear-gradient(160deg, rgba(124,58,237,.10), rgba(201,162,39,.05));
  border: 1px solid rgba(168,85,247,.28); border-radius: 22px;
  padding: clamp(20px, 4vw, 30px);
}
.sb-panel.on { display: block; animation: sbIn .5s var(--ease-out); }
@keyframes sbIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.sb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sb-flag { font-size: 2.2rem; line-height: 1; }
.sb-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.sb-sub { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.sb-qs { display: grid; gap: 10px; }
.sb-q {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; text-decoration: none; color: var(--text);
  font-size: .93rem; line-height: 1.5;
  transition: all .3s var(--ease-out);
}
.sb-q::before { content: "🔍"; flex: 0 0 auto; }
.sb-q:hover { border-color: rgba(168,85,247,.5); background: var(--surface-strong); transform: translateX(4px); }
.sb-pains { display: grid; gap: 8px; margin-top: 16px; }
.sb-pain { display: flex; gap: 10px; font-size: .9rem; color: var(--text-dim); line-height: 1.5; }
.sb-pain::before { content: "⚡"; flex: 0 0 auto; }
.sb-cta { margin-top: 18px; text-align: center; }

/* ============================================================
   Mobile hardening (2026-08-22) — overflow fixes & tap targets
   ============================================================ */
html { overflow-x: hidden; }
img, svg, video, iframe, canvas { max-width: 100%; }
pre, .code-block { max-width: 100%; overflow-x: auto; }
.panel, .step-card, .flow-card, .option-card, .cta-box { max-width: 100%; min-width: 0; }
a, span, code, strong, b, em { overflow-wrap: break-word; }
.checklist { grid-template-columns: minmax(0, 1fr); }
.tbl-wrap { max-width: 100%; }

/* ---- Mobile nav menu (hamburger) ---- */
.nav-menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-bright); border-radius: 12px;
  background: var(--surface-strong); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0; -webkit-tap-highlight-color: transparent; flex: 0 0 auto;
}
.nav-menu-btn span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .guide-nav { flex-wrap: nowrap; }
  .guide-nav .nav-links {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap;
    background: var(--bg, #fff); border: 1px solid var(--border-bright);
    border-radius: 16px; padding: 10px; gap: 4px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    max-height: 70vh; overflow-y: auto; z-index: 990;
  }
  .guide-nav .nav-links.open { display: flex; }
  .guide-nav .nav-links a:not(.nav-cta) {
    display: block; text-align: center; padding: 13px 16px; font-size: 0.95rem;
  }
  .nav-menu-btn { display: flex; }

  /* footer: neutralize any leftover inline 280px/4-col styles */
  .footer-inner { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 20px !important; }

  /* bigger tap targets */
  .site-footer a, .guide-footer a { display: inline-block; padding: 5px 0; }
  .faq-q, .accordion-header { min-height: 48px; }
}

@media (pointer: coarse) {
  .guide-nav .nav-cta, .btn, .cta-button { min-height: 44px; }
}

/* ---- Mobile nav menu: .site-nav variant (pages using header.site-nav) ---- */
@media (max-width: 720px) {
  .site-nav nav {
    display: none !important; /* override inline display:flex */
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap;
    background: var(--bg, #fff); border: 1px solid var(--border-bright);
    border-radius: 16px; padding: 10px; gap: 4px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    max-height: 70vh; overflow-y: auto; z-index: 990;
  }
  .site-nav nav.open { display: flex !important; }
  .site-nav nav a {
    display: block; text-align: center; padding: 13px 16px; font-size: 0.95rem;
  }
  .site-nav .nav-inner { flex-wrap: nowrap; }
}

/* ---- Mobile polish pass (v20260823): smooth menu, touch feedback, easy UX ---- */
html { scroll-behavior: smooth; }

/* Mobile menu panel: smooth entrance instead of abrupt display flip */
@media (max-width: 720px) {
  .site-nav nav.open,
  .guide-nav .nav-links.open {
    animation: mobileMenuIn 0.24s var(--ease-out) both;
    transform-origin: top center;
  }
  /* Language switcher inside the mobile menu: full-width, thumb-friendly */
  .site-nav nav .i18n-switcher,
  .guide-nav .nav-links .i18n-switcher {
    display: flex; justify-content: center; margin: 4px 0;
  }
  .site-nav nav .i18n-toggle,
  .guide-nav .nav-links .i18n-toggle {
    min-height: 44px; padding: 10px 18px; font-size: 0.92rem;
  }
}
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* Touch feedback: subtle press states (transform only = GPU-smooth) */
@media (pointer: coarse) {
  .btn:active, .cta-button:active, .nav-cta:active, .step-card:active,
  .hub-card:active, .option-card:active, .faq-q:active, .accordion-header:active,
  .country-card:active, .lang-switcher:active, .i18n-toggle:active {
    transform: scale(0.97);
  }
  .btn, .cta-button, .nav-cta, .step-card, .hub-card, .option-card,
  .faq-q, .accordion-header, .country-card, .i18n-toggle {
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease;
  }
}

/* Tablet range (721-1080px): keep full nav, tighten pills to fit one row */
@media (min-width: 721px) and (max-width: 1080px) {
  .site-nav .nav-inner { flex-wrap: wrap; row-gap: 8px; }
  .guide-nav { flex-wrap: wrap; row-gap: 8px; }
  .site-nav .nav-inner nav a { padding: 7px 8px; font-size: 0.8rem; }
  nav > a, .nav-links a { font-size: 0.82rem; }
}


/* ===== Lab window chrome (CCI product shell) ===== */
.lab-window {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: color-mix(in srgb, #ffffff 82%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.lab-window a { color: var(--text); font-weight: 600; font-size: 0.85rem; }
.lab-window a:hover { color: var(--rp-red); }
.lab-window .lab-window-title {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.lab-window .lab-window-actions { display:flex; gap:8px; flex-wrap:wrap; }
.lab-window .pill {
  display:inline-flex; align-items:center; padding:6px 12px; border-radius:999px;
  border:1px solid var(--border); background:#fff; font-size:0.75rem; font-weight:600;
}
.lab-window .pill.primary { background: var(--rp-red); color:#14110a; border-color:transparent; }
.guide-nav .brand img { border-radius: 10px; }
