/* SCP+ Softwarehouse — shared site styles */

:root {
  --mint: #6DEDD4;
  --sky: #61C5FA;
  --indigo: #468FF1;
  --ink: #14141f;
  --ink-soft: #4a4a5a;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --card-border: #e6ebf2;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(20, 20, 31, 0.08);
  --max-width: 1080px;
  color-scheme: light;
}

:root {
  --footer-bg: #14141f;
  --surface-raised: #ffffff;
}

:root[data-theme="dark"] {
  --ink: #edeff7;
  --ink-soft: #a9afc4;
  --bg: #12131c;
  --bg-soft: #1a1c28;
  --card-border: #2b2e3f;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --footer-bg: #090a10;
  --surface-raised: #242637;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans Thai', 'Noto Sans JP', 'Segoe UI', -apple-system, Tahoma, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--indigo);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  text-decoration: none;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
:root[data-theme="dark"] .site-header {
  background: rgba(18, 19, 28, 0.85);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; }
.brand .plus { color: var(--indigo); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--indigo); text-decoration: none; }
.nav-links a.current { color: var(--indigo); position: relative; }
.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
}
@media (max-width: 640px) {
  .nav-links a.current::after { display: none; }
  .nav-links a.current { background: var(--bg-soft); }
}

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.lang-switch a {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.lang-switch a:hover { text-decoration: none; color: var(--indigo); }
.lang-switch a.active {
  background: var(--surface-raised);
  color: var(--indigo);
  box-shadow: 0 2px 6px rgba(20,20,31,0.1);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--card-border); }
.theme-toggle .theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-icon-dark { display: inline; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Anchor targets should clear the sticky header */
#products, #about, #contact { scroll-margin-top: 88px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 55%, var(--indigo) 100%);
  color: #ffffff;
  padding: 88px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}
.hero::before { width: 420px; height: 420px; top: -220px; left: -140px; }
.hero::after { width: 300px; height: 300px; bottom: -180px; right: -100px; background: rgba(255,255,255,0.08); }
.hero .wrap { position: relative; z-index: 2; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto 24px; }
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.12);
}
.hero p.tagline {
  font-size: 19px;
  font-weight: 500;
  opacity: 0.96;
  max-width: 560px;
  margin: 0 auto;
}

/* Two-column hero with product visual */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  text-align: left;
  padding-bottom: 64px;
}
.hero-copy { flex: 1 1 480px; max-width: 560px; }
.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-badge-row .hero-badge { margin-bottom: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-badge img { width: 22px; height: 22px; border-radius: 6px; }
.hero-inner h1 { font-size: 46px; }
.hero-inner p.tagline { margin: 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-inner .cta-row { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  margin-top: 20px;
}
.phone-mock {
  border-radius: 28px;
  border: 6px solid rgba(255,255,255,0.65);
  box-shadow: 0 30px 60px rgba(10, 20, 50, 0.35);
  overflow: hidden;
  transform: rotate(-3deg);
  background: #0b1220;
}
.phone-mock img { display: block; width: 100%; height: auto; }
.floating-badge {
  position: absolute;
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(20,20,31,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.floating-badge.top-badge { top: 8%; left: -18%; }
.floating-badge.bottom-badge { bottom: 10%; right: -22%; color: #16794D; }

.hero-wave { line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }
.hero-wave svg path { fill: var(--bg); }
.hero-wave.wave-soft svg path { fill: var(--bg-soft); }

/* ---------- Decorative section blobs ---------- */
.deco { position: relative; overflow: hidden; }
.deco::before, .deco::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.deco::before {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(70,143,241,0.10), transparent 70%);
  top: -120px; right: -80px;
}
.deco::after {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(109,237,212,0.16), transparent 70%);
  bottom: -100px; left: -60px;
}
.deco .wrap { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card.linkable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(20,20,31,0.12);
}
.product-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-icon-wrap.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
}
.product-card h3 { font-size: 21px; font-weight: 800; }
.product-card p.desc { color: var(--ink-soft); font-size: 15px; flex-grow: 1; }
.status-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.status-badge.live { background: #DFF7EC; color: #16794D; }
.status-badge.dev { background: #FFF2D6; color: #9A6300; }
.product-card .cta { font-weight: 700; font-size: 14px; }

/* ---------- About / values ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.about-item {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.about-item .emoji { font-size: 28px; margin-bottom: 10px; }
.about-item h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.about-item p { color: var(--ink-soft); font-size: 15px; }

.mission-quote {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.mission-quote p {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}
.mission-quote .mark {
  font-size: 48px;
  font-weight: 800;
  color: var(--indigo);
  opacity: 0.35;
  line-height: 0.5;
  display: block;
  margin-bottom: 8px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--mint), var(--sky));
}
.contact-text { min-width: 0; }
.contact-card h4 { font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.contact-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg);
  color: #cfd3e0;
  padding: 48px 0 32px;
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
footer .brand-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
}
footer .brand-foot img { width: 26px; height: 26px; }
footer a { color: #cfd3e0; }
footer a:hover { color: var(--mint); }
footer .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .foot-contact { display: flex; gap: 20px; flex-wrap: wrap; }
footer .copyright { width: 100%; text-align: center; margin-top: 28px; color: #7c8194; font-size: 13px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: #ffffff;
  color: var(--indigo);
  box-shadow: 0 10px 24px rgba(10,20,50,0.18);
}
.btn-primary:hover { text-decoration: none; opacity: 0.95; transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--indigo);
  color: var(--indigo);
}
.btn-outline:hover { text-decoration: none; background: rgba(70,143,241,0.08); transform: translateY(-2px); }
.btn-outline-invert {
  border: 2px solid #ffffff;
  color: #ffffff;
}
.btn-outline-invert:hover { text-decoration: none; background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ---------- Product detail page ---------- */
.detail-hero {
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 55%, var(--indigo) 100%);
  color: #fff;
  padding: 72px 0 0;
}
.detail-hero .inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 56px;
}
.detail-hero .icon {
  width: 140px; height: 140px;
  border-radius: 34px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 4px solid rgba(255,255,255,0.5);
  overflow: hidden;
  flex-shrink: 0;
}
.detail-hero .icon img { width: 100%; height: 100%; }
.detail-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.detail-hero p { font-size: 17px; opacity: 0.95; max-width: 520px; }
.detail-hero .cta-row { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }

.feature-group { margin-bottom: 40px; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--indigo);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-item {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}
.feature-item .emoji { font-size: 30px; margin-bottom: 10px; }
.feature-item h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Product detail extras ---------- */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.stat-pill {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.persona-card { background: var(--bg-soft); border-radius: var(--radius-md); padding: 26px; }
.persona-card .level-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--indigo);
  background: var(--surface-raised);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.persona-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.persona-card p { font-size: 14px; color: var(--ink-soft); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), var(--indigo));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 16px;
}
.step-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.step-card p { font-size: 14px; color: var(--ink-soft); }

.cefr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.cefr-card { text-align: center; background: var(--bg-soft); border-radius: var(--radius-md); padding: 20px 14px; }
.cefr-card .level { font-size: 22px; font-weight: 800; color: var(--indigo); margin-bottom: 4px; }
.cefr-card .name { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.cefr-card p { font-size: 12.5px; color: var(--ink-soft); }

.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 4px 20px; background: var(--bg); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--indigo); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { padding-bottom: 18px; color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.final-cta { text-align: center; }
.final-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.final-cta p { color: var(--ink-soft); font-size: 16px; margin-bottom: 20px; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  justify-items: center;
}
.shot-card { text-align: center; max-width: 270px; }
.shot-card .frame {
  border-radius: 22px;
  border: 6px solid var(--ink);
  box-shadow: 0 20px 40px rgba(20,20,31,0.16);
  overflow: hidden;
  margin-bottom: 18px;
}
.shot-card img { height: 520px; display: block; }
.shot-card h4 { font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.shot-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Error page ---------- */
.btn-solid {
  background: var(--indigo);
  color: #ffffff;
}
.btn-solid:hover { text-decoration: none; opacity: 0.92; }
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 60px 0;
}
.error-page .code {
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 55%, var(--indigo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.error-page h1 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.error-page p { color: var(--ink-soft); font-size: 16px; margin-bottom: 32px; }
.error-page .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Policy page ---------- */
.policy-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
.policy-wrap h1 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.policy-wrap .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.policy-wrap h2 { font-size: 19px; font-weight: 800; margin-top: 34px; margin-bottom: 10px; }
.policy-wrap p { font-size: 16px; color: var(--ink); white-space: pre-line; margin-bottom: 6px; }
.summary-en {
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 3px solid var(--indigo);
  padding-left: 16px;
  margin-bottom: 32px;
  background: var(--bg-soft);
  padding: 16px 16px 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mobile-cta-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-header .wrap { position: relative; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--card-border); }
  .hero h1 { font-size: 32px; }
  .hero-inner { flex-direction: column; text-align: center; padding-bottom: 48px; }
  .hero-inner h1 { font-size: 32px; }
  .hero-copy { max-width: 100%; }
  .hero-stats, .hero-inner .cta-row { justify-content: center; }
  .hero-visual { width: 200px; margin: 8px auto 0; }
  .floating-badge { font-size: 11px; padding: 8px 12px; }
  .floating-badge.top-badge { left: -8%; }
  .floating-badge.bottom-badge { right: -10%; }
  .detail-hero .inner { flex-direction: column; text-align: center; }
  .detail-hero .cta-row { justify-content: center; }
  .shot-card img { height: 400px; }

  body.has-mobile-cta { padding-bottom: 84px; }
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: var(--bg);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(20,20,31,0.16);
    border-top: 1px solid var(--card-border);
  }
  .mobile-cta-bar .btn { width: 100%; text-align: center; }
}
