:root{
  --bg:#f2fbf7;
  --surface:#ffffff;
  --text:#102a20;
  --muted:#2a4a3c;

  /* Accent rule: ONE strong accent reserved for primary CTA */
  --accent:#10b981;
  --accent2:#0891b2;
  --btnText:#000000;

  --line:rgba(16,42,32,.14);
  --line2:rgba(16,42,32,.10);

  --shadow:0 18px 44px rgba(16,42,32,.10);
  --shadowSoft:0 10px 24px rgba(16,42,32,.08);

  --r:16px;
  --padX:40px;
  --padY:72px;
  --gap:24px;

  --fontHead:"Archivo",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --fontBody:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

*,*::before,*::after{
  box-sizing:border-box;
  overflow-wrap:break-word;
}

html{
  font-size:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  margin:0;
  font-size:1rem;
  font-family:var(--fontBody);
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  contain:strict;
  background:
    radial-gradient(1200px 600px at 18% 8%, rgba(8,145,178,.12), rgba(242,251,247,0) 60%),
    radial-gradient(900px 520px at 78% 10%, rgba(16,185,129,.12), rgba(242,251,247,0) 55%),
    radial-gradient(800px 560px at 60% 88%, rgba(8,145,178,.08), rgba(242,251,247,0) 60%);
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}

h1,h2,h3,h4,h5,h6{font-family:var(--fontHead);margin:0 0 10px 0;hyphens:none}
h1{font-weight:800;font-size:3.25rem;line-height:1.18;letter-spacing:-.02em}
h2{font-weight:800;font-size:2.35rem;line-height:1.22;letter-spacing:-.01em}
h3{font-weight:800;font-size:1.45rem;line-height:1.28;letter-spacing:-.01em}
p{margin:0 0 12px 0;color:var(--muted);-webkit-hyphens:auto;hyphens:auto}
ul{margin:10px 0 0 0;padding:0 0 0 18px}
li{margin:6px 0;color:var(--muted)}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 var(--padX);
}

.section{padding:72px 0}
.section-alt{background:linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.50)); border-top:1px solid var(--line2); border-bottom:1px solid var(--line2)}
.section-head{max-width:920px}
.section-head p{max-width:78ch}

.features-section,.steps-section,.faq-section,.cta-section,.risk-section,.stats-section{
  content-visibility:auto;
  contain-intrinsic-size:auto 500px;
}

.cards-grid,.features-grid,.steps-grid,.glow-stats-grid,.checklist-grid{
  contain:layout;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 4px);
  padding:22px;
  box-shadow:var(--shadowSoft);
  contain:content;
}

.card:hover{transform:translateY(-2px)}
.card{transition:transform 180ms ease}

.skip-link{
  position:absolute;
  top:-40px;
  left:0;
  background:var(--accent);
  color:var(--btnText);
  padding:8px;
  z-index:10001;
  font-size:14px;
}
.skip-link:focus{top:0}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.86);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(1.1) blur(10px);
  -webkit-backdrop-filter:saturate(1.1) blur(10px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.brand-name{
  font-family:var(--fontHead);
  font-weight:800;
  letter-spacing:.2px;
}
.brand-mark{
  width:34px;height:34px;border-radius:12px;
  background:linear-gradient(135deg, rgba(16,185,129,.22), rgba(8,145,178,.18));
  border:1px solid rgba(16,185,129,.28);
  box-shadow:0 10px 20px rgba(16,42,32,.08);
}
nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav-links{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav-links a{
  text-decoration:none;
  opacity:.86;
  font-weight:600;
  padding:10px 10px;
  border-radius:12px;
}
.nav-links a:hover{opacity:1}
.nav-cta{
  background:linear-gradient(180deg, rgba(16,185,129,.16), rgba(16,185,129,.10));
  border:1px solid rgba(16,185,129,.26);
}

/* Mobile hamburger toggle - CSS only, no JavaScript (provided baseline) */
.mobile-toggle-input{ display:none; }
.hamburger{
  display:none;
  background:transparent;
  border:1px solid currentColor;
  color:inherit;
  padding:10px 12px;
  cursor:pointer;
  opacity:.75;
  border-radius:12px;
}
.hamburger:hover{opacity:1}
.hamburger-lines{
  width:20px;height:14px;display:inline-block;position:relative;
}
.hamburger-lines::before,.hamburger-lines::after,.hamburger-lines span{
  content:"";position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;
}
.hamburger-lines::before{top:0}
.hamburger-lines::after{bottom:0}
.hamburger-lines span{top:6px}
.mobile-menu{
  display:none;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadowSoft);
  width:min(320px, calc(100vw - 32px));
}
.mobile-menu a{
  display:block;
  padding:12px 16px;
  color:var(--text);
  text-decoration:none;
  border-bottom:1px solid var(--line2);
}
.mobile-menu a:hover{background:rgba(16,42,32,.04)}
.mobile-menu a:last-child{border-bottom:none}
@media (max-width:768px){
  .nav-links{display:none}
  .hamburger{display:flex;align-items:center;justify-content:center}
  .mobile-toggle-input:checked ~ .mobile-menu{display:block}
}

/* Language selector (required CSS) */
.lang-menu{ position: relative; }
.lang-btn{
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:0.25rem;
  padding:0.35rem 0.6rem;
  border:1px solid currentColor;
  border-radius:12px;
  font-size:0.85rem;
  list-style:none;
  color:inherit;
  opacity:0.75;
  min-height:44px;
}
.lang-btn:hover{ opacity:1; }
.lang-btn::-webkit-details-marker{ display:none; }
.lang-btn::marker{ display:none; content:''; }
.lang-arrow{ font-size:0.7rem; transition:transform 0.2s; }
.lang-menu[open] .lang-arrow{ transform:rotate(180deg); }
.lang-dropdown{
  position:absolute;
  top:100%;
  right:0;
  margin-top:0.25rem;
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  max-height:320px;
  overflow-y:auto;
  z-index:1000;
  min-width:180px;
  padding:0.25rem 0;
}
.lang-option{
  display:block;
  padding:0.4rem 1rem;
  text-decoration:none;
  color:#333;
  font-size:0.85rem;
  white-space:nowrap;
}
.lang-option:hover{ background:#f0f0f0; }
.lang-option.active{ font-weight:bold; background:#f5f5f5; }

/* Language Dropdown - ALWAYS BLACK TEXT on WHITE background (dropdown only, not the trigger button) */
.lang-dropdown,.lang-list{ background:#ffffff; }
.lang-option{ color:#000000 !important; background:#ffffff; }
.lang-option:hover{ background:rgba(0,0,0,.05); color:#000000 !important; }
.lang-select option{ color:#000000; background:#ffffff; }

/* Hero */
.hero-section{
  position:relative;
  padding:var(--padY) 0;
  min-height:600px;
}
.hero-inner{
  display:flex;
  align-items:center;
  gap:40px;
}
.hero-left{flex:1;min-width:0}
.hero-lead{font-size:1.05rem;max-width:70ch}
.hero-form{width:100%;max-width:460px;flex-shrink:0}

.hero-decor{
  position:absolute;
  inset:0;
  z-index:-1;
  contain:strict;
  overflow:hidden;
  pointer-events:none;
}
.hero-gradient{
  position:absolute;inset:0;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(8,145,178,.18), rgba(242,251,247,0) 58%),
    radial-gradient(820px 520px at 78% 12%, rgba(16,185,129,.20), rgba(242,251,247,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.65), rgba(242,251,247,.40));
}
.grid-glow{
  position:absolute;inset:-2px;
  background-image:
    linear-gradient(to right, rgba(16,42,32,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,42,32,.07) 1px, transparent 1px);
  background-size:56px 56px;
  opacity:.18;
  transform:translateZ(0);
  contain:strict;
}
.orb{
  position:absolute;
  width:520px;height:520px;border-radius:999px;
  filter:blur(70px);
  opacity:.55;
  transform:translateZ(0);
  contain:strict;
}
.orb-a{left:-220px;top:120px;background:rgba(8,145,178,.22)}
.orb-b{right:-260px;top:40px;background:rgba(16,185,129,.22)}
.orb-c{right:120px;bottom:-280px;background:rgba(8,145,178,.16)}

.hero-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.kicker-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(16,185,129,.28);
  background:rgba(255,255,255,.78);
  font-weight:600;
  color:var(--text);
  hyphens:none;
}
.kicker-pill.subtle{
  border-color:rgba(8,145,178,.26);
}

.mini-badges{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:18px 0 16px;
  contain:content;
}
.trust-row{contain:content}
.trust-badge{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
}
.trust-badge span{font-weight:600;color:var(--text);hyphens:none}
.trust-badge i,[class*="fa-"]{
  display:inline-block;
  width:1em;height:1em;
  line-height:1;
  vertical-align:middle;
  aspect-ratio:1/1;
}

.hero-quicklist{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.quick-item{
  display:flex;
  gap:12px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.70);
}
.quick-icon{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(16,185,129,.26);
  background:linear-gradient(180deg, rgba(16,185,129,.14), rgba(8,145,178,.10));
  flex:0 0 auto;
}
.quick-text strong{display:block;font-weight:800;color:var(--text);hyphens:none}
.quick-text span{display:block;color:var(--muted);font-size:.95rem}

/* Form */
.form-shell{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 10px);
  padding:22px;
  box-shadow:var(--shadow);
}
.form-head{margin-bottom:10px}
.form-title{font-size:1.55rem}
.form-subtitle{margin:0 0 10px 0}

.form-message{min-height:18px;margin:0 0 10px 0;color:var(--muted);font-weight:600}

.lead-form{display:block}
.form-group{margin-bottom:12px}
.form-group label{
  display:block;
  font-weight:700;
  margin:0 0 6px 0;
  color:var(--text);
  hyphens:none;
}
.form-group input{
  width:100%;
  height:50px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(16,42,32,.18);
  background:#ffffff;
  color:var(--text);
  font-size:1rem;
  outline:none;
}
.form-group input:focus{
  box-shadow:0 0 0 4px rgba(16,185,129,.18);
  border-color:rgba(16,185,129,.55);
}

.phone-input-wrapper{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(16,42,32,.18);
  border-radius:14px;
  background:#ffffff;
  padding:0 12px;
  min-height:50px;
}
.phone-prefix{
  font-weight:800;
  color:var(--text);
  opacity:.9;
  min-width:44px;
  text-align:left;
  hyphens:none;
}
.phone-input-wrapper input{
  border:none;
  height:48px;
  padding:0;
  background:transparent;
}
.phone-input-wrapper input:focus{box-shadow:none}

.submit-btn{
  width:100%;
  height:54px;
  border:none;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(16,185,129,1), rgba(16,185,129,.92));
  color:var(--btnText);
  font-weight:900;
  letter-spacing:.02em;
  cursor:pointer;
  transform:translateZ(0);
  transition:transform 180ms ease;
}
.submit-btn:hover{transform:translateY(-2px)}
.submit-btn:focus{outline:3px solid rgba(8,145,178,.40);outline-offset:2px}

/* Form disclaimer text - plain text with Read More link */
.form-disclaimer{ font-size:0.85rem; color:inherit; line-height:1.4; margin-top:0.5rem; }
.form-disclaimer a{color:rgba(8,145,178,1);text-decoration:underline;font-weight:700}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:1px solid transparent;
  min-height:44px;
  hyphens:none;
  transition:transform 180ms ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
  background:var(--accent);
  color:var(--btnText);
}
.btn-secondary{
  background:rgba(255,255,255,.92);
  border-color:rgba(16,42,32,.18);
  color:var(--text);
}

/* Features */
.features-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin-top:26px;
  align-items:stretch;
}
.feature-card h3{margin-top:10px}
.icon-chip{
  width:54px;height:54px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(16,185,129,.26);
  background:linear-gradient(180deg, rgba(16,185,129,.14), rgba(8,145,178,.10));
}

/* Steps */
.steps-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  margin-top:26px;
  align-items:stretch;
}
.step-card{position:relative}
.step-bg{
  position:absolute;
  top:14px;right:14px;
  font-family:var(--fontHead);
  font-weight:800;
  font-size:3.1rem;
  letter-spacing:-.02em;
  color:rgba(16,42,32,.08);
  z-index:0;
  pointer-events:none;
}
.step-card h3,.step-card p,.step-card ul{position:relative;z-index:1}
.step-list{padding-left:18px}

/* Stats */
.glow-stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:26px;
  align-items:stretch;
}
.stat-card{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
}
.stat-icon{
  width:46px;height:46px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(8,145,178,.22);
  background:linear-gradient(180deg, rgba(8,145,178,.12), rgba(16,185,129,.10));
  flex:0 0 auto;
}
.stat-number{
  font-family:var(--fontHead);
  font-weight:800;
  font-size:1.8rem;
  line-height:1.1;
  color:var(--text);
  hyphens:none;
}
.stat-label{color:var(--muted);font-weight:600}

/* FAQ */
.faq-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(16,42,32,.18);
  background:rgba(255,255,255,.82);
  text-decoration:none;
  font-weight:800;
  opacity:.9;
  hyphens:none;
}
.tab:hover{opacity:1}
.tab-active{
  border-color:rgba(16,185,129,.36);
  background:linear-gradient(180deg, rgba(16,185,129,.14), rgba(255,255,255,.86));
}
.faq-panels{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:18px;
  align-items:start;
}
.faq-panel{
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  border-radius:calc(var(--r) + 6px);
  padding:18px;
}
.faq-item{
  border:1px solid rgba(16,42,32,.14);
  border-radius:14px;
  background:#fff;
  padding:10px 12px;
  margin-top:10px;
}
.faq-item summary{
  cursor:pointer;
  font-weight:800;
  color:var(--text);
  list-style:none;
  min-height:44px;
  display:flex;
  align-items:center;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-answer{padding-top:8px}

/* CTA */
.cta-floating-card{
  border-radius:28px;
  padding:34px;
  background:
    radial-gradient(800px 360px at 18% 20%, rgba(8,145,178,.15), transparent 60%),
    radial-gradient(800px 360px at 78% 20%, rgba(16,185,129,.18), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  border:1px solid rgba(16,42,32,.14);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  flex-wrap:wrap;
}
.cta-left{flex:1;min-width:260px}
.countdown{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}
.time-box{
  background:#fff;
  border:1px solid rgba(16,42,32,.14);
  border-radius:18px;
  padding:12px 14px;
  min-width:110px;
}
.time-num{
  font-family:var(--fontHead);
  font-weight:800;
  font-size:1.6rem;
  line-height:1.1;
  color:var(--text);
  hyphens:none;
}
.time-label{font-weight:700;color:var(--muted);font-size:.9rem;hyphens:none}
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

/* Risk checklist */
.checklist-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:26px;
  align-items:stretch;
}
.checklist-card h3{
  display:flex;
  align-items:center;
  gap:10px;
}
.checklist-card i{color:rgba(16,185,129,1)}
.risk-cta-card{
  margin-top:22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(16,42,32,.14);
}
.risk-cta-text{flex:1;min-width:260px}

/* Footer */
.site-footer{
  padding:54px 0 22px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.70);
}
.footer-top{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:start;
}
.footer-brand-link{display:inline-flex}
.footer-note{max-width:60ch}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end;
}
.footer-links a{
  text-decoration:underline;
  font-weight:700;
}
.footer-disclaimer-wrap{margin-top:18px}
.footer-bottom{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
}

/* Cookie Consent - fixed bottom banner with BLACK text */
.cookie-consent { display:none; position:fixed; bottom:0; left:0; right:0; background:#ffffff; border-top:1px solid rgba(0,0,0,.1); padding:16px 24px; z-index:9999; box-shadow:0 -2px 10px rgba(0,0,0,.1); }
.cookie-content { max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; color:#000000; }
.cookie-content p { color:#000000; margin:0; }
.cookie-content a { color:#0066cc !important; text-decoration:underline; font-weight:600; }
.cookie-content a:hover { color:#004499 !important; }
.cookie-btn { padding:10px 24px; background:var(--accent); color:#000; border:none; border-radius:4px; font-weight:700; cursor:pointer; }

/* Disclaimer Popup - Full width bottom banner with Read More */
.disclaimer-popup-overlay { position:fixed; bottom:0; left:0; width:100%; z-index:10000; pointer-events:none; opacity:0; visibility:hidden; transition:opacity 0.3s ease, visibility 0.3s ease; }
.disclaimer-popup-overlay.active { opacity:1; visibility:visible; }
.disclaimer-popup { background:#ffffff; color:#333; width:100%; box-shadow:0 -2px 15px rgba(0,0,0,.1); border-top:1px solid #e5e5e5; transform:translateY(100%); transition:transform 0.3s ease; pointer-events:auto; }
.disclaimer-popup-overlay.active .disclaimer-popup { transform:translateY(0); }
.disclaimer-popup-header { display:flex; justify-content:flex-start; align-items:center; padding:10px 30px; border-bottom:1px solid #eee; }
.disclaimer-popup-header h4 { margin:0; font-size:13px; font-weight:600; color:#1a1a1a; flex:1; }
.disclaimer-close-btn { background:none; border:none; font-size:18px; color:#999; cursor:pointer; padding:0; line-height:1; }
.disclaimer-close-btn:hover { color:#333; }
.disclaimer-popup-body { padding:12px 30px; }
.disclaimer-popup-row { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; }
.disclaimer-popup-content { flex:1; }
.disclaimer-main-text { font-size:12px; line-height:1.5; color:#555; margin:0 0 6px 0; }
.disclaimer-main-text a,.disclaimer-popup-body a { color:#0066cc !important; text-decoration:underline; font-weight:600; }
.disclaimer-main-text a:hover,.disclaimer-popup-body a:hover { color:#004499 !important; }
.disclaimer-read-more { font-size:11px; color:#0066cc; text-decoration:underline; cursor:pointer; }
.disclaimer-read-more:hover { color:#004499; }
.disclaimer-more-text { max-height:0; overflow:hidden; transition:max-height 0.4s ease, margin 0.3s ease, padding 0.3s ease; margin-top:0; padding-top:0; border-top:none; }
.disclaimer-more-text.expanded { max-height:400px; margin-top:12px; padding-top:12px; border-top:1px solid #eee; overflow-y:auto; }
.popup-svg { width:100%; height:auto; max-width:540px; display:block; margin:0 auto; }
.popup-svg-mobile { display:none; }
.disclaimer-popup-footer { flex-shrink:0; }
.disclaimer-understand-btn { padding:10px 24px; background:var(--accent); color:#000; border:none; border-radius:4px; font-weight:600; cursor:pointer; font-size:13px; }
.disclaimer-understand-btn:hover { opacity:0.9; }
@media (max-width:768px) { .disclaimer-popup-header { padding:8px 16px; } .disclaimer-popup-body { padding:10px 16px; } .disclaimer-popup-row { flex-direction:column; gap:12px; } .disclaimer-popup-footer { width:100%; } .popup-svg { display:none; } .popup-svg-mobile { display:block; width:100%; height:auto; } }

/* Terms Popup - centered overlay */
.terms-popup-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:10000; align-items:center; justify-content:center; padding:20px; }
.terms-popup-content { background:#fff; color:#333; border-radius:8px; max-width:700px; width:100%; max-height:90vh; overflow:auto; position:relative; padding:20px; }
.terms-popup-content .close-btn { position:absolute; top:12px; right:12px; background:none; border:none; font-size:28px; color:#333; cursor:pointer; }
.terms-img { width:100%; height:auto; }

/* Desktop/Mobile visibility - CRITICAL: These rules must NOT be overridden! */
.desktop-only { display:block !important; }
.mobile-only { display:none !important; }
@media (max-width:640px) { .desktop-only { display:none !important; } .mobile-only { display:block !important; } }

/* Mobile hamburger toggle - CSS only, no JavaScript (required baseline) */
.mobile-toggle-input { display: none; }
.hamburger { display: none; background: transparent; border: 1px solid currentColor; color: inherit; padding: 10px 12px; cursor: pointer; opacity: 0.75; }
.hamburger:hover { opacity: 1; }
.mobile-menu { display: none; background: var(--bg, #111); border-top: 1px solid rgba(255,255,255,.1); }
.mobile-menu a { display: block; padding: 12px 20px; color: var(--text, #fff); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu a:hover { background: rgba(255,255,255,.08); }
@media (max-width:768px) { .nav-links { display: none; } .hamburger { display: flex; align-items: center; justify-content: center; } .mobile-toggle-input:checked ~ .mobile-menu { display: block; } }

/* Ensure mobile menu stays LIGHT with DARK text in this theme */
@media (max-width:768px){
  .mobile-menu{background:var(--surface);border:1px solid var(--line);border-top:1px solid var(--line)}
  .mobile-menu a{color:var(--text);border-bottom:1px solid var(--line2)}
  .mobile-menu a:hover{background:rgba(16,42,32,.04)}
}

/* Responsive breakpoints */
@media (max-width:1024px){
  :root{--padX:30px;--padY:60px}
  .hero-inner{gap:28px}
  .hero-form{max-width:400px}
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .steps-grid{grid-template-columns:repeat(2,1fr)}
  .glow-stats-grid{grid-template-columns:repeat(2,1fr)}
  .faq-panels{grid-template-columns:1fr 1fr}
  .footer-top{grid-template-columns:1fr 1fr;gap:20px}
}

@media (max-width:768px){
  :root{--padX:16px;--padY:40px;--gap:16px}
  .section-head{text-align:center;margin:0 auto}
  .hero-inner{flex-direction:column;align-items:center;padding:0;gap:24px}
  .hero-left{text-align:center}
  .hero-form{width:100%;max-width:520px}
  .mini-badges{grid-template-columns:1fr;justify-items:center}
  .trust-badge{width:100%;max-width:520px}
  .hero-quicklist{grid-template-columns:1fr}
  .quick-item{max-width:520px;margin:0 auto}
  h1{font-size:1.8rem}
  .features-grid,.steps-grid,.glow-stats-grid,.checklist-grid,.faq-panels{grid-template-columns:1fr !important}
  .footer-top{grid-template-columns:1fr;text-align:center}
  .footer-links{align-items:center}
  .cta-floating-card{padding:28px 18px;border-radius:22px}
  .cta-actions{flex-direction:column;align-items:center}
  .cta-actions .btn{width:100%;max-width:320px}
  .risk-cta-card{flex-direction:column;text-align:center;align-items:center;padding:16px}
  .orb{opacity:.3;filter:blur(40px)}
  .grid-glow{display:none}
  .site-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:rgba(255,255,255,.97)}
  body{overflow-x:hidden}
  section,.section,.section-alt{padding:30px 16px}
}

@media (max-width:480px){
  h1{font-size:1.5rem}
  h2{font-size:1.3rem}
  h3{font-size:1.1rem}
  .hero-kicker{flex-direction:column;align-items:center}
  .kicker-pill{font-size:.85rem;padding:6px 12px}
  .form-shell{padding:16px;border-radius:20px}
  .card{padding:16px;border-radius:18px}
  .submit-btn{height:52px;font-size:.95rem}
  .btn{padding:14px 18px}
  .cta-actions{justify-content:center}
  .risk-cta-card{flex-direction:column;text-align:center;align-items:center}
}

@media (max-width:360px){
  h1{font-size:1.3rem}
  h2{font-size:1.15rem}
  .container{width:calc(100% - 20px);padding:0}
  section,.section,.section-alt{padding:24px 10px}
  .form-shell{padding:12px}
  .form-group input{height:44px;padding:10px 12px;font-size:.95rem}
}

@media (max-height:500px) and (orientation:landscape){
  .hero-section{min-height:auto;padding:20px 16px}
  .hero-inner{gap:16px}
}

/* Touch targets */
@media (pointer:coarse){
  .nav-links a,.btn,.lang-btn,.mobile-menu a,summary,.submit-btn,input{min-height:44px;min-width:44px}
  .form-group input{font-size:16px}
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
  .orb,.grid-glow,.hero-decor{display:none;}
}
/* PHONE-PREFIX-FIX — guarantee the country-code prefix always shows with room (enforced) */
.phone-input-wrapper { display: flex !important; align-items: stretch; width: 100%; }
.phone-input-wrapper .phone-prefix, .phone-input-wrapper #phonePrefix, #phonePrefix {
  display: inline-flex !important; align-items: center; justify-content: center;
  white-space: nowrap; flex: 0 0 auto; min-width: 3.5em; padding: 0 10px; box-sizing: border-box;
}
.phone-input-wrapper #phone, .phone-input-wrapper input[type="tel"] {
  flex: 1 1 auto; min-width: 0; width: 100%;
}

/* PHONE-PREFIX-FIX:start — country-code prefix layout (enforced) */
/* :has(> #phone) targets the real wrapper regardless of its class and, thanks to the
   #phone id, wins specificity over the template's own wrapper rules. */
.phone-input-wrapper, *:has(> #phone), *:has(> .phone-prefix) {
  display: flex !important; align-items: baseline !important; box-sizing: border-box !important;
  width: 100% !important; max-width: 100% !important;
}
/* baseline align — the phone input often has asymmetric top padding (floating label
   / intl-tel-input), so centering leaves the prefix and number on different lines.
   Aligning text baselines puts "+972" and the number on the SAME line regardless. */
.phone-input-wrapper .phone-prefix, #phonePrefix, .phone-prefix {
  display: inline-flex !important; align-items: baseline !important; align-self: baseline !important;
  gap: 6px; white-space: nowrap !important; flex: 0 0 auto !important;
  padding: 0 8px 0 0; margin: 0 !important; font-size: inherit !important; line-height: normal !important;
}
*:has(> #phone) > #phone, .phone-input-wrapper #phone, .phone-input-wrapper input[type="tel"] {
  flex: 1 1 auto !important; min-width: 0 !important; width: 100% !important;
  align-self: baseline !important;
}
/* Symmetric vertical padding so the number sits centered — on the SAME line as the
   prefix / intl-tel-input flag. Floating-label templates give the input a big
   top-only padding, which drops the number below the (centered) flag. Verified on a
   live intl-tel-input site: this lines them up exactly. */
#phone, .iti__tel-input, .phone-input-wrapper input[type="tel"] {
  padding-top: 0.9em !important; padding-bottom: 0.9em !important;
}
/* PHONE-PREFIX-FIX:end */
