
:root {
  --navy: #071428;
  --navy2: #0b1f3a;
  --teal: #14b8a6;
  --violet: #7c3aed;
  --magenta: #ec4899;
  --gold: #f59e0b;
  --bg: #070b14;
  --card: rgba(255,255,255,0.06);
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.12);
  --logo-bg: #ffffff;
}
[data-theme="light"] {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #0b1f3a;
  --muted: #5b6b7c;
  --border: #d8e0ea;
  --logo-bg: #ffffff;
}
[data-theme="light"] body {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 280px);
}
[data-theme="light"] .aurora { opacity: 0.35; filter: blur(14px); }
[data-theme="light"] .lang-switch select, [data-theme="light"] #pdfLang {
  background: #fff; color: var(--text);
}
[data-theme="light"] .scale label { background: #fff; }
[data-theme="light"] .q, [data-theme="light"] .card, [data-theme="light"] .score-box {
  box-shadow: 0 1px 2px rgba(11,31,58,0.06);
}
[data-theme="light"] .bullets { color: var(--text); }
[data-theme="light"] .hero-copy .badge {
  background: linear-gradient(90deg, rgba(20,184,166,0.12), rgba(124,58,237,0.12));
  color: var(--navy2);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: var(--teal); }
.aurora {
  position: fixed; inset: -20% -10% auto -10%; height: 70vh; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(124,58,237,0.45), transparent 60%),
    radial-gradient(ellipse 45% 35% at 80% 20%, rgba(20,184,166,0.4), transparent 55%),
    radial-gradient(ellipse 40% 40% at 60% 60%, rgba(236,72,153,0.25), transparent 50%);
  filter: blur(8px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}
.wrap { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 22px 20px 80px; }


}


/* Logo as user mockup: full-width white card, then controls */
.topbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 16px;
}
.site-logo-link {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}
.site-logo {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 32, 64, 0.14);
  box-shadow: 0 10px 32px rgba(15, 32, 64, 0.10);
  object-fit: contain;
}
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-toggle {
  width: 46px; height: 26px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.08); position: relative; cursor: pointer; padding: 0;
}
[data-theme="light"] .theme-toggle { background: #e8eef6; }
.theme-toggle .knob {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  transition: transform .2s ease;
}
[data-theme="dark"] .theme-toggle .knob { transform: translateX(20px); }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.lang-switch select, #pdfLang {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 10px; background: rgba(0,0,0,0.35); color: var(--text); font: inherit;
}
.hero-open {
  margin: 0 0 22px;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  aspect-ratio: 16 / 9;
  max-height: 360px;
  background: #000;
}
.hero-open img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-copy .badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(20,184,166,0.2), rgba(124,58,237,0.25));
  border: 1px solid var(--border); color: #e2e8f0; font-size: 12px; margin-bottom: 14px;
}
h1 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.03em; }
.lead { font-size: 1.08rem; color: var(--muted); margin: 0 0 22px; }
.bullets { padding-left: 18px; margin: 0 0 26px; color: #cbd5e1; }
.bullets li { margin-bottom: 8px; }
.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal), #0ea5e9 40%, var(--violet));
  color: #fff !important; text-decoration: none;
  padding: 14px 24px; border-radius: 12px; font-weight: 700; border: none; cursor: pointer;
  font-size: 1rem; box-shadow: 0 10px 40px rgba(20,184,166,0.25);
  background-size: 200% 200%; animation: sheen 6s ease infinite;
}
@keyframes sheen {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta.secondary { background: linear-gradient(135deg, var(--violet), var(--magenta)); animation: none; }
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 8px;
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-open { max-height: 220px; aspect-ratio: 16 / 10; }
}
.gallery figure {
  margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: #000; position: relative;
}
.gallery img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
@media (max-width: 700px) { .feature-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 18px; backdrop-filter: blur(10px);
}
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.faq dt { font-weight: 600; margin-top: 12px; }
.faq dd { margin: 4px 0 0; color: var(--muted); }
footer {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--muted);
}
footer a { margin-right: 12px; color: var(--muted); }
.q {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; margin-bottom: 12px;
}
.q p { margin: 0 0 12px; font-weight: 500; }
.scale { display: flex; flex-wrap: wrap; gap: 8px; }
.scale label {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; height: 40px; border: 1px solid var(--border);
  border-radius: 8px; cursor: pointer; font-weight: 600; background: rgba(0,0,0,0.25);
}
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale label:has(input:checked) {
  background: linear-gradient(135deg, var(--teal), var(--violet)); border-color: transparent; color: #fff;
}
.hint { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.controls { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin: 0 0 18px; }
.score-box { padding: 14px 16px; border-radius: 12px; margin-bottom: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); }
.score-box.red { border-color: rgba(236,72,153,0.45); background: rgba(236,72,153,0.08); }
.score-box.amber { border-color: rgba(245,158,11,0.45); background: rgba(245,158,11,0.08); }
.score-box.green { border-color: rgba(20,184,166,0.45); background: rgba(20,184,166,0.08); }
.hidden { display: none; }
.onepager {
  width: 210mm; min-height: 148mm; padding: 22mm 18mm; margin: 12px auto;
  border: 1px solid #ddd; background: #fff; color: #0b1f3a;
}
@media print {
  .no-print, .aurora { display: none !important; }
  body { background: #fff; color: #000; }
  .onepager { border: none; margin: 0; }
}

.brand-block { margin: 8px 0 18px; }



.brand-block 

.brand-title {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.brand-block { text-align: left; }
@media (max-width: 700px) {
  .brand-block { margin-bottom: 12px; }
  .hero-open { margin-bottom: 14px; }
}
.brand-tagline {
  margin: 10px 0 0;
  font-size: clamp(0.92rem, 2.6vw, 1.15rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 36em;
  color: #fe0101;
}



.brand-tagline-line {
  display: block;
}
.brand-sub {
  margin: 10px 0 0;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--muted);
  font-weight: 500;
}
html[dir="rtl"] .brand-tagline { max-width: none; }

.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .feature-grid.three { grid-template-columns: 1fr; }
}
.back-to-top {
  position: fixed; right: 18px; bottom: 22px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--teal), var(--violet));
  color: #fff; font-size: 20px; font-weight: 700;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .2s ease; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.topbar a img { display:block; width:100%; height:auto; }
.brand-title a:hover { opacity: 0.9; }


/* Contact actions: label only, no address/number shown */
.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}
.btn-email, .btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
  min-width: 120px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  color: #fff !important;
}
.btn-email { background: #e11d48; }
.btn-email:hover { background: #be123c; }
.btn-wa { background: #16a34a; }
.btn-wa:hover { background: #15803d; }
footer .contact-btns { justify-content: flex-start; }

/* —— RTL (Arabic) —— */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .bullets { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .brand-block { text-align: right; }
html[dir="rtl"] footer a { margin-right: 0; margin-left: 12px; }
html[dir="rtl"] .topbar { flex-direction: row; }
html[dir="rtl"] .contact-btns { flex-direction: row; justify-content: flex-start; }
html[dir="rtl"] h1, html[dir="rtl"] .lead, html[dir="rtl"] .hint, html[dir="rtl"] .q p { text-align: right; }
html[dir="rtl"] .score-box { text-align: right; }
html[dir="rtl"] .lang-switch { flex-direction: row; }
html[dir="rtl"] .back-to-top { right: auto; left: 20px; }



.cta s, .pay-cta s {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.85;
  font-weight: 600;
}

/* —— Third tagline line: "President as a Service" —— */
.brand-tagline3 {
  margin: 16px 0 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 3.4vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--navy2);
  max-width: 36em;
}
.brand-tagline3 span { text-transform: none; }
[data-theme="dark"] .brand-tagline3 { color: var(--text); }
@media (max-width: 700px) {
  .brand-tagline3 { margin-top: 14px; font-size: 1.12rem; }
}
html[dir="rtl"] .brand-tagline3 { max-width: none; }


.scale-def {
  display: block;
  margin: 12px 0 18px;
  padding: 10px 14px;
  background: #ffe600;
  border-radius: 6px;
  color: #0b1f3a;
  font-size: 1em;
  line-height: 1.45;
}
.scale-def .scale-preamble {
  color: #0b1f3a;
  font-style: italic;
  font-weight: 400;
}
.scale-def > strong {
  color: #0b1f3a;
  font-size: 1.25em;
  font-weight: 700;
}
[data-theme="dark"] .scale-def { background: #ffe600; color: #0b1f3a; }
[data-theme="dark"] .scale-def .scale-preamble { color: #0b1f3a; }
[data-theme="dark"] .scale-def > strong { color: #0b1f3a; }

.scale-def .signal-in-scale {
  display: block;
  margin-top: 8px;
  color: #fe0101;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.35;
}

.signal-philosophy {
  display: block;
  margin: 18px 0;
  padding: 10px 14px;
  background: #22c55e;
  border-radius: 6px;
  color: #0b1f3a;
  font-size: 1em;
  line-height: 1.45;
}
.signal-philosophy > strong:first-child {
  display: block;
  font-size: 1.25em;
  font-weight: 700;
}
.signal-philosophy p { margin: 8px 0; color: inherit; }
.signal-philosophy > strong:last-child {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}
[data-theme="dark"] .signal-philosophy { background: #22c55e; color: #071428; }
.signal-image {
  margin: 18px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.signal-image img { width: 100%; height: auto; display: block; }

.cta-note {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.85em;
  line-height: 1.35;
  text-align: center;
}
[data-theme="dark"] .cta-note { color: #94a3b8; }
/* BoardSignal visual redesign — CSS-only presentation layer. */
:root {
  --gutter: clamp(16px, 4vw, 64px);
  --bg: #07101f;
  --bg-deep: #040914;
  --surface: rgba(15, 28, 49, .76);
  --surface-solid: #0e1b30;
  --text: #f8fafc;
  --muted: #a8b6ca;
  --border: rgba(148, 163, 184, .22);
  --navy2: #0b1f3a;
  --teal: #2dd4bf;
  --violet: #8b5cf6;
}
html { background: var(--bg-deep); scroll-behavior: smooth; }
body {
  min-width: 320px;
  font-family: Inter, "IBM Plex Sans", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 560px at 12% -8%, rgba(20,184,166,.19), transparent 65%),
    radial-gradient(850px 650px at 92% 8%, rgba(124,58,237,.23), transparent 66%),
    linear-gradient(180deg, #081326 0%, var(--bg-deep) 72%);
}
[data-theme="light"] body {
  color: #0b1f3a;
  background:
    radial-gradient(900px 520px at 5% -12%, rgba(45,212,191,.18), transparent 67%),
    radial-gradient(850px 600px at 98% 0%, rgba(139,92,246,.14), transparent 68%),
    linear-gradient(180deg, #fbfdff 0%, #eef3f9 82%);
}
body::selection { background: #ffe600; color: #0b1f3a; }
a { color: #5eead4; }
[data-theme="light"] a { color: #0f766e; }
.aurora { opacity: .5; filter: blur(30px); mix-blend-mode: screen; }
[data-theme="light"] .aurora { opacity: .22; mix-blend-mode: multiply; }
.wrap {
  width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) 96px;
}
.topbar {
  position: sticky; top: 0; z-index: 20; width: calc(100% + var(--gutter) * 2);
  margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1);
  padding: 14px var(--gutter); display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 20px; background: rgba(5,12,26,.72);
  border-bottom: 1px solid rgba(148,163,184,.16); backdrop-filter: blur(20px) saturate(140%);
}
[data-theme="light"] .topbar { background: rgba(250,252,255,.78); border-bottom-color: rgba(11,31,58,.1); }
.site-logo-link { width: auto; max-width: 214px; flex: 0 1 auto; }
.site-logo { width: 214px !important; max-width: 100% !important; height: auto !important; border-radius: 14px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 10px 32px rgba(0,0,0,.2); }
.topbar-right { gap: 12px; }
.theme-toggle { width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.08); }
.lang-switch { font-size: .78rem; font-weight: 600; letter-spacing: .01em; }
.lang-switch select, #pdfLang { border-radius: 999px; padding: 8px 12px; background: rgba(5,12,26,.55); }
[data-theme="light"] .lang-switch select, [data-theme="light"] #pdfLang { background: #fff; border-color: #cbd5e1; }
.brand-block {
  margin: 0 calc(var(--gutter) * -1); padding: clamp(56px, 9vw, 124px) var(--gutter) clamp(36px, 6vw, 72px);
  text-align: left; background: linear-gradient(120deg, rgba(20,184,166,.05), transparent 45%, rgba(124,58,237,.08));
  border-bottom: 1px solid var(--border);
}
.brand-title { font-size: clamp(3rem, 9vw, 7.5rem); line-height: .92; letter-spacing: -.075em; font-weight: 800; max-width: 980px; }
.brand-tagline { margin-top: 24px; max-width: 760px; font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.25; letter-spacing: .03em; }
.brand-tagline3 { margin-top: 24px; font-size: clamp(1.2rem, 2.8vw, 1.7rem); color: var(--muted); }
.brand-sub { margin-top: 10px; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.scale-def { max-width: 860px; margin: 24px 0 0; padding: 16px 20px; border-radius: 14px; box-shadow: 0 14px 42px rgba(0,0,0,.14); }
[data-theme="light"] .scale-def { box-shadow: 0 14px 42px rgba(11,31,58,.12); }
.hero-open {
  width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1) 24px; max-height: none;
  aspect-ratio: 16 / 8.8; border-radius: 0 0 28px 28px; border: 0; box-shadow: 0 28px 70px rgba(0,0,0,.3);
}
.hero-open img { object-fit: cover; }
.wrap > p:has(> .pay-cta) { margin-top: 24px !important; margin-bottom: 0 !important; }
.cta {
  min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 16px; font-size: 1rem; letter-spacing: -.01em;
  background: linear-gradient(105deg, #06b6d4 0%, #0ea5e9 38%, #7c3aed 100%);
  box-shadow: 0 16px 42px rgba(14,165,233,.25), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.cta:hover { transform: translateY(-3px); filter: saturate(1.1); box-shadow: 0 22px 50px rgba(14,165,233,.34); }
.cta-note { max-width: 620px; margin: 8px auto 20px; color: var(--muted); font-size: .78em; }
.signal-philosophy {
  max-width: 1040px; margin: clamp(28px, 5vw, 60px) auto 26px; padding: 24px 28px;
  border-radius: 18px; border: 1px solid rgba(11,31,58,.18); box-shadow: 0 24px 70px rgba(0,0,0,.2);
  background: linear-gradient(135deg, #22c55e, #34d399 55%, #86efac); color: #071428;
}
.signal-philosophy > strong:first-child { font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.03em; }
.signal-philosophy p { margin: 14px 0; }
.signal-philosophy > strong:last-child { margin-top: 16px; }
.signal-image { width: min(1120px, 100%); margin: 26px auto; border-radius: 24px; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.signal-image img { width: 100%; height: auto; display: block; }
.hero-copy { width: min(1040px, 100%); margin: 0 auto; padding-top: 28px; }
.hero-copy .badge { padding: 9px 15px; border-radius: 999px; border-color: rgba(148,163,184,.24); background: linear-gradient(90deg, rgba(45,212,191,.14), rgba(139,92,246,.16)); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.06em; }
h2 { letter-spacing: -.05em; }
.lead { max-width: 820px; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; }
.bullets { max-width: 880px; padding-left: 22px; color: var(--muted); }
.gallery { width: calc(100% + var(--gutter) * 2); margin: 64px calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter); gap: 18px; grid-template-columns: repeat(3, 1fr); }
.gallery figure { border-radius: 22px; border-color: var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.gallery img { height: 220px; }
.feature-grid { max-width: 1120px; margin: 64px auto; gap: 18px; }
.card, .q, .score-box { border-radius: 20px; border-color: var(--border); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025)); box-shadow: 0 18px 50px rgba(0,0,0,.13); padding: 24px; }
[data-theme="light"] .card, [data-theme="light"] .q, [data-theme="light"] .score-box { background: rgba(255,255,255,.72); box-shadow: 0 18px 50px rgba(11,31,58,.08); }
.card h3 { font-size: 1.2rem; letter-spacing: -.02em; }
footer { margin: 90px calc(var(--gutter) * -1) 0; padding: 42px var(--gutter) 12px; border-top: 1px solid var(--border); background: rgba(3,9,20,.38); }
[data-theme="light"] footer { background: rgba(255,255,255,.4); }
.contact-btns { gap: 12px; }
.btn-email, .btn-wa { border-radius: 14px; min-height: 48px; padding: 13px 20px; box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn-email { background: linear-gradient(135deg,#e11d48,#fb7185); }
.btn-wa { background: linear-gradient(135deg,#16a34a,#22c55e); }
.back-to-top { width: 50px; height: 50px; right: 24px; bottom: 24px; }
.onepager { max-width: 1000px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.18); }
html[dir="rtl"] .brand-block, html[dir="rtl"] .hero-copy { text-align: right; }
html[dir="rtl"] .signal-philosophy { text-align: right; }
html[dir="rtl"] .topbar { flex-direction: row; }
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  .topbar { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .site-logo-link { max-width: 170px; }
  .site-logo { width: 170px !important; }
  .topbar-right { gap: 7px; }
  .lang-switch { font-size: .7rem; }
  .lang-switch select { max-width: 106px; padding: 7px 9px; }
  .brand-block { padding-top: 52px; padding-bottom: 32px; }
  .brand-title { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .brand-tagline { margin-top: 18px; }
  .hero-open { aspect-ratio: 16 / 10; border-radius: 0 0 22px 22px; }
  .cta { width: min(100%, 560px); font-size: .98rem; padding-left: 18px; padding-right: 18px; }
  .signal-philosophy { padding: 20px; border-radius: 16px; }
  .signal-image { border-radius: 18px; }
  .gallery { grid-template-columns: 1fr; margin-top: 44px; }
  .gallery img { height: 220px; }
  .feature-grid { margin-top: 44px; }
  footer { margin-top: 64px; }
  .btn-email, .btn-wa { width: 100%; }
}
@media (min-width: 1000px) {
  .brand-block { min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
  .signal-philosophy { font-size: 1.02em; }
}
/* Reassert intrinsic image sizing for the full-bleed hero. */
.hero-open img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
/* Viewport hygiene for true edge-to-edge mobile layout. */
html, body { margin: 0; padding: 0; }
.gallery img { width: 100%; max-width: 100%; }
.wrap > p:has(> .pay-cta) { width: 100%; max-width: 100%; }
.cta { max-width: 100%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: border-box; }
/* Keep the third brand line in the same modern type system as the redesign. */
.brand-tagline3 {
  font-family: Inter, "IBM Plex Sans", "Avenir Next", system-ui, sans-serif;
  font-style: normal;
  font-weight: 650;
  letter-spacing: -.02em;
}

/* 2026 polish pass: readable controls, inline CTAs, and a true hero stage. */
[data-theme="light"] .lang-switch,
[data-theme="light"] .lang-switch select,
[data-theme="light"] #pdfLang {
  color: #0b1f3a;
}
[data-theme="light"] .lang-switch select,
[data-theme="light"] #pdfLang {
  background: #ffffff;
  border-color: #94a3b8;
  color-scheme: light;
}
[data-theme="dark"] .lang-switch select,
[data-theme="dark"] #pdfLang {
  color: #f8fafc;
  background: #101d33;
  border-color: #64748b;
  color-scheme: dark;
}
.lang-switch select option,
#pdfLang option { color: #0b1f3a; background: #fff; }

/* Text plus <s> must remain one natural inline sentence, never flex columns. */
a.cta.pay-cta {
  display: block;
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.35;
}
.btn-email, .btn-wa {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

/* Restore the intentional serif contrast and make supporting text readable. */
.brand-tagline3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  color: #334155;
}
.brand-sub { color: #334155; }
[data-theme="dark"] .brand-tagline3,
[data-theme="dark"] .brand-sub { color: #e2e8f0; }
[data-theme="light"] .lead,
[data-theme="light"] .bullets,
[data-theme="light"] .hint,
[data-theme="light"] .cta-note,
[data-theme="light"] .card p,
[data-theme="light"] .faq dd,
[data-theme="light"] .q,
[data-theme="light"] .score-box { color: #243b5a; }

/* The landing hero is a dark, image-led two-column stage on desktop. */
.hero-stage {
  width: calc(100% + var(--gutter) * 2);
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(38px, 6vw, 84px) var(--gutter);
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 82% 40%, rgba(20,184,166,.26), transparent 68%),
    radial-gradient(680px 520px at 8% 90%, rgba(124,58,237,.28), transparent 70%),
    linear-gradient(125deg, #061226 0%, #0b1f3a 52%, #111a3a 100%);
  color: #f8fafc;
}
.hero-stage .brand-block {
  margin: 0;
  min-height: 0;
  padding: clamp(10px, 2vw, 28px) 0;
  background: transparent;
  border: 0;
}
.hero-stage .brand-title { color: #fff; }
.hero-stage .brand-tagline3 { color: #dbeafe; }
.hero-stage .brand-sub { color: #cbd5e1; }
.hero-stage .scale-def { box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.hero-stage .hero-open {
  width: 100%;
  margin: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  overflow: hidden;
}
.hero-stage .hero-open img { object-position: center; }
@media (max-width: 700px) {
  .hero-stage {
    display: block;
    padding: 28px var(--gutter) 36px;
  }
  .hero-stage .brand-block { padding: 18px 0 28px; }
  .hero-stage .hero-open {
    aspect-ratio: 16 / 10;
    border-radius: 22px;
  }
  .hero-stage a.cta.pay-cta { width: 100%; }
  .card, .q, .score-box, .lead, .bullets, .hint { font-size: 1rem; }
}
@media (max-width: 700px) {
  .cta-note { font-size: .9rem; color: #334155; }
  footer { font-size: 1rem; }
  footer [data-i="footerCredit"] { font-size: 1rem !important; }
}

/* Light theme: neutral white canvas, with no cool blue wash. */
html[data-theme="light"],
html[data-theme="light"] body {
  background: #ffffff !important;
}
html[data-theme="light"] .aurora {
  opacity: 0 !important;
  display: none;
}
html[data-theme="light"] .topbar,
html[data-theme="light"] footer {
  background: #ffffff !important;
  border-color: #e5e7eb;
}
html[data-theme="light"] .card,
html[data-theme="light"] .q,
html[data-theme="light"] .score-box,
html[data-theme="light"] .gallery figure,
html[data-theme="light"] .onepager {
  background: #ffffff !important;
  border-color: #e5e7eb;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}
html[data-theme="light"] .hero-copy .badge {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
html[data-theme="light"] .wrap {
  background: #ffffff;
}

/* Keep test/status cards neutral in the white light theme too. */
html[data-theme="light"] .card[style*="fffbeb"],
html[data-theme="light"] .card[style*="245,158,11"] {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
}
@media screen and (max-width: 700px) {
  .onepager {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 32px 22px;
    margin: 16px auto;
  }
}
/* Pages without the theme script (including the thanks fallback) stay light by default. */
html:not([data-theme="dark"]) body {
  background: #ffffff;
  color: #0b1f3a;
}
html:not([data-theme="dark"]) .aurora {
  display: none;
}
html:not([data-theme="dark"]) .topbar,
html:not([data-theme="dark"]) footer {
  background: #ffffff;
}

/* Opening cover: index-only, dismissed once like a roller blind. */
.site-cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #fff;
  transform: translateY(0);
  transition: transform .78s cubic-bezier(.76,0,.24,1);
  touch-action: none;
}
.site-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.site-cover.is-dismissed {
  transform: translateY(-100%);
  pointer-events: none;
}
.site-cover-cue {
  position: absolute;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(11,31,58,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #0b1f3a;
  transform: translateX(-50%);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15,23,42,.14);
  animation: cover-cue-bob 1.8s ease-in-out infinite;
}
.site-cover-cue::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translate(-50%, -62%) rotate(45deg);
}
@keyframes cover-cue-bob { 0%,100% { margin-bottom: 0; } 50% { margin-bottom: -7px; } }
@media (prefers-reduced-motion: reduce) {
  .site-cover { transition: none; }
  .site-cover-cue { animation: none; }
}

/* Portrait cover: preserve the complete logo artwork without cropping. */
.site-cover img {
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* Reverse cover handle: visible only after the cover has lifted. */
.site-cover-tab {
  position: fixed;
  z-index: 1001;
  top: max(8px, env(safe-area-inset-top));
  left: 50%;
  width: 52px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(11,31,58,.22);
  border-top: 0;
  border-radius: 0 0 15px 15px;
  background: #fff;
  color: #0b1f3a;
  box-shadow: 0 7px 20px rgba(15,23,42,.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -130%);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.site-cover-tab.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.site-cover-tab::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .site-cover-tab { transition: none; }
}

/* Arrow-only mode: lock the page while the opening cover is down. */
html.cover-locked,
html.cover-locked body {
  overflow: hidden !important;
  height: 100%;
  overscroll-behavior: none;
}
.site-cover-cue {
  width: 52px;
  height: 52px;
  border: 2px solid #0b1f3a;
  background: #fff;
  box-shadow: 0 9px 26px rgba(15,23,42,.2);
}
.site-cover-cue::before {
  width: 12px;
  height: 12px;
  border-width: 2px;
}
.site-cover-tab {
  height: 30px;
  border-width: 2px;
  border-top: 0;
}
.site-cover-tab::before {
  width: 9px;
  height: 9px;
  border-width: 2px;
}
