/* ============================================================
   AI Sales Floor — approved design, rebuilt as a real website
   ============================================================ */

:root{
  --navy-900:#010A1F;
  --navy-800:#001031;
  --navy-750:#03153B;
  --navy-700:#08204B;
  --navy-600:#0C2A5C;
  --navy-line:rgba(120,164,255,.20);

  --blue:#2E7BF6;
  --blue-600:#1C63DC;
  --blue-400:#4F8DF8;
  --blue-300:#7FB0FF;
  --blue-200:#A9C8FF;

  --gold:#C9A227;

  --ice:#F4F6FB;
  --ice-2:#E7EBF3;
  --ink:#0B1D3F;
  --ink-2:#46587A;

  --white:#fff;

  --serif:'Playfair Display',Georgia,'Times New Roman',serif;
  --sans:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;

  --header-h:72px;
  --shell:1340px;
  --pad:clamp(20px,4vw,56px);
  --radius:14px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  background:var(--navy-800);
  color:var(--white);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.55;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  -webkit-overflow-scrolling:touch;
}

img{max-width:100%;display:block}
h1,h2,h3,p,ul,ol,figure{margin:0}
ul,ol{list-style:none;padding:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}

.sprite{position:absolute;width:0;height:0;overflow:hidden}
.ic{width:1.25em;height:1.25em;flex:none;fill:none}
.ic-lg{width:30px;height:30px}

.shell{
  width:100%;
  max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--pad);
}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--blue);color:#fff;padding:12px 20px;border-radius:0 0 10px 0;font-weight:700;
}
.skip-link:focus{left:0}

:focus-visible{outline:3px solid var(--blue-300);outline-offset:3px;border-radius:6px}

section[id]{scroll-margin-top:calc(var(--header-h) + 8px)}

/* ---------------- shared bits ---------------- */

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border:0;border-radius:10px;
  padding:14px 24px;
  font-family:var(--sans);
  font-size:15px;font-weight:700;letter-spacing:.01em;
  line-height:1.2;
  cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
  text-align:center;
}
.btn .ic{width:19px;height:19px}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 10px 26px -12px rgba(46,123,246,.85)}
.btn-primary:hover{background:var(--blue-600)}
.btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(140,180,255,.55)}
.btn-ghost:hover{border-color:var(--blue-300);background:rgba(46,123,246,.12)}
.btn:active{transform:translateY(1px)}
.btn-sm{padding:10px 18px;font-size:14px}
.btn-block{width:100%}

.eyebrow{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(15px,1.5vw,20px);
  letter-spacing:.11em;
  text-transform:uppercase;
  color:var(--ink);
  text-align:center;
  line-height:1.4;
}

.section-title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(24px,2.6vw,34px);
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#fff;
  line-height:1.2;
}
.section-title-sm{font-size:clamp(19px,2vw,26px);letter-spacing:.07em}

/* ornament: small star + rule (matches approved divider) */
.ornament{display:flex;align-items:center;gap:10px}
.ornament-center{justify-content:center}
.ornament .rule{height:1px;width:46px;background:linear-gradient(90deg,transparent,var(--blue-400),transparent);display:block}
.ornament .star{
  width:11px;height:11px;flex:none;background:var(--blue-400);
  clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);
}
.ornament.is-dark .star{background:#5B87D6}
.ornament.is-dark .rule{background:linear-gradient(90deg,transparent,#8FAEDD,transparent)}

/* ---------------- header ---------------- */

.site-header{
  position:sticky;top:0;z-index:40;
  background:rgba(0,14,44,.94);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(120,164,255,.14);
}
.header-inner{
  height:var(--header-h);
  display:flex;align-items:center;gap:20px;
}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand-mark{width:44px;height:44px;object-fit:contain}
.brand-name{
  font-family:var(--serif);
  font-size:clamp(19px,2vw,26px);
  font-weight:500;
  letter-spacing:.005em;
  color:#fff;
  white-space:nowrap;
}

.main-nav{flex:1;display:flex;align-items:center;justify-content:center}
.main-nav ul{display:flex;align-items:center;gap:clamp(16px,2.4vw,40px)}
.main-nav a{
  font-size:14.5px;font-weight:500;color:rgba(233,240,255,.92);
  padding:8px 2px;display:inline-block;position:relative;
}
.main-nav a::after{
  content:"";position:absolute;left:0;right:0;bottom:2px;height:1.5px;
  background:var(--blue-400);transform:scaleX(0);transform-origin:left;transition:transform .2s ease;
}
.main-nav a:hover::after{transform:scaleX(1)}
.nav-cta{display:none}

.header-right{display:flex;align-items:center;gap:12px;flex:none;margin-left:auto}

.lang-switch{
  display:flex;align-items:center;gap:2px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(140,180,255,.28);
  border-radius:999px;padding:3px;
}
.lang-btn{
  border:0;background:transparent;color:rgba(226,236,255,.75);
  font-size:12.5px;font-weight:800;letter-spacing:.06em;
  padding:6px 14px;border-radius:999px;cursor:pointer;
  transition:background-color .18s ease,color .18s ease;
  min-width:44px;
}
.lang-btn:hover{color:#fff}
.lang-btn.is-active{background:var(--blue);color:#fff}

.menu-toggle{
  display:none;
  width:44px;height:44px;border:1px solid rgba(140,180,255,.28);
  background:rgba(255,255,255,.06);border-radius:10px;
  align-items:center;justify-content:center;cursor:pointer;color:#fff;
}
.menu-toggle .ic{width:22px;height:22px}
.menu-toggle .ic-shut{display:none}
body.nav-open .menu-toggle .ic-open{display:none}
body.nav-open .menu-toggle .ic-shut{display:block}

/* ---------------- hero ---------------- */

.hero{
  position:relative;
  background:
    radial-gradient(120% 90% at 10% 0%,#04184A 0%,transparent 60%),
    var(--navy-800);
  overflow:hidden;
  isolation:isolate;
}
.hero-media{
  position:absolute;inset:0 0 0 auto;
  width:52%;
  z-index:0;
}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:52% 50%}
.hero-media-fade{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,var(--navy-800) 0%,rgba(0,16,49,.92) 14%,rgba(0,16,49,.42) 34%,rgba(0,16,49,.10) 62%,rgba(0,16,49,.28) 100%),
    linear-gradient(180deg,rgba(0,16,49,.35) 0%,transparent 22%,transparent 72%,rgba(0,16,49,.55) 100%);
}

.hero-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,336px);
  align-items:center;
  gap:clamp(28px,4vw,64px);
  padding-block:clamp(52px,6.5vw,86px);
}

.hero-copy{max-width:640px;position:relative;z-index:1}

.hero-title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(32px,4.6vw,56px);
  line-height:1.12;
  letter-spacing:-.005em;
  display:grid;
}
.hero-title .line-1{color:#fff}
.hero-title .line-2{color:var(--blue-400)}

.hero .ornament{margin:clamp(16px,2vw,24px) 0}

.hero-sub{
  font-size:clamp(16px,1.35vw,19px);
  line-height:1.6;
  color:rgba(224,234,252,.92);
  max-width:34ch;
  font-weight:400;
}

.hero-actions{
  display:flex;flex-wrap:wrap;gap:14px;
  margin-top:clamp(22px,2.6vw,32px);
}

.trust-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,1.6vw,26px);
  margin-top:clamp(30px,3.6vw,46px);
  max-width:600px;
}
.trust-row li{
  display:flex;flex-direction:column;align-items:center;gap:10px;
  text-align:center;
  font-size:13px;font-weight:600;line-height:1.35;
  color:rgba(226,236,255,.94);
}
.trust-row .ic{color:var(--blue-400)}

/* --- live conversation pulse card --- */

.pulse{
  background:linear-gradient(180deg,rgba(4,22,60,.96),rgba(2,14,42,.97));
  border:1px solid rgba(120,164,255,.26);
  border-radius:16px;
  padding:20px;
  box-shadow:0 30px 70px -30px rgba(0,0,0,.85);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  justify-self:end;
  width:100%;
  position:relative;
  z-index:1;
}
.pulse-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--navy-line)}
.pulse-head h2{font-size:15px;font-weight:700;letter-spacing:.005em;color:#fff}
.ai-badge{
  width:30px;height:30px;flex:none;border-radius:50%;
  border:1.4px solid var(--blue-400);color:var(--blue-300);
  display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:.04em;
}

.pulse-score{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--navy-line)}
.pulse-score-copy{flex:none}
.pulse-label{font-size:11.5px;color:rgba(190,210,245,.75);font-weight:500}
.pulse-value{display:flex;align-items:baseline;gap:8px;font-size:32px;font-weight:800;color:var(--blue-400);line-height:1.1}
.pulse-value em{font-size:11.5px;font-style:normal;font-weight:600;color:rgba(200,220,255,.78)}
.spark{flex:1;min-width:0;height:44px;color:var(--blue-300)}
.spark circle{fill:#CFE0FF}

.pulse-metrics{padding:14px 0;border-bottom:1px solid var(--navy-line);display:grid;gap:11px}
.pulse-metrics li{display:grid;grid-template-columns:18px minmax(0,1.15fr) minmax(56px,1fr) 26px;align-items:center;gap:9px}
.pulse-metrics .ic{width:16px;height:16px;color:var(--blue-300)}
.pulse-metrics span:not(.bar){font-size:12px;font-weight:500;line-height:1.25;color:rgba(226,236,255,.94)}
.pulse-metrics b{font-size:12px;font-weight:700;color:#fff;text-align:right;font-variant-numeric:tabular-nums}
.bar{position:relative;height:6px;border-radius:999px;background:rgba(140,175,235,.24);overflow:hidden}
.bar i{position:absolute;inset:0 auto 0 0;width:var(--v);border-radius:999px;background:linear-gradient(90deg,#1E63E0,#6AA5FF)}
.bar::after{content:"";position:absolute;top:50%;left:var(--v);width:7px;height:7px;border-radius:50%;background:#fff;transform:translate(-70%,-50%)}

.pulse-insights{padding-top:14px}
.pulse-insights h3{font-size:13.5px;font-weight:700;color:#fff;margin-bottom:10px}
.pulse-insights ul{display:grid;gap:9px}
.pulse-insights li{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.4;color:rgba(226,236,255,.92)}
.pulse-insights li::before{
  content:"";width:12px;height:12px;flex:none;margin-top:2px;border-radius:50%;
  border:2px solid currentColor;background:radial-gradient(circle,currentColor 0 34%,transparent 36%);
}
.dot-blue::before{color:#4F8DF8}
.dot-rose::before{color:#E2607C}

/* ---------------- impact ---------------- */

.impact{
  background:linear-gradient(180deg,#FAFBFE,var(--ice-2));
  color:var(--ink);
  display:grid;
  grid-template-columns:minmax(150px,.92fr) minmax(0,780px) minmax(150px,.86fr);
  grid-template-areas:"l body r";
  align-items:stretch;
}
.impact-photo{grid-area:l;position:relative;overflow:hidden;min-height:100%}
.impact-photo-r{grid-area:r}
.impact-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.impact-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,16,49,.10),rgba(0,16,49,.02))}

.impact-body{
  grid-area:body;
  padding:clamp(30px,3.6vw,48px) clamp(18px,2.4vw,40px);
  display:grid;
  justify-items:center;
  align-content:center;
  gap:14px;
}
.impact .ornament{margin-top:-2px}

.stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  width:100%;
  margin-top:6px;
}
.stats li{
  padding:4px clamp(8px,1.4vw,20px);
  text-align:center;
  border-left:1px solid rgba(30,60,120,.18);
  display:grid;
  align-content:start;
  gap:6px;
}
.stats li:first-child{border-left:0}
.stat-num{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(26px,3.2vw,42px);
  line-height:1.08;
  color:#0A1B3D;
  letter-spacing:-.01em;
}
.stat-num-word{font-size:clamp(19px,2.1vw,28px);line-height:1.15}
.stat-cap{
  font-size:clamp(12.5px,1.05vw,15px);
  font-weight:500;
  line-height:1.35;
  color:var(--ink-2);
}

/* ---------------- how it works ---------------- */

.how{
  position:relative;
  background:linear-gradient(180deg,var(--navy-800),#020F33);
  overflow:hidden;
  isolation:isolate;
}
.how-media{position:absolute;inset:0 0 0 auto;width:45%;z-index:0}
.how-media img{width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.how-media-fade{
  position:absolute;inset:0;
  background:linear-gradient(90deg,var(--navy-800) 0%,rgba(0,16,49,.86) 20%,rgba(0,16,49,.30) 52%,rgba(0,16,49,.16) 100%);
}
.how-shell{position:relative;z-index:1;padding-block:clamp(44px,5.4vw,74px)}

.how .section-title{margin-bottom:clamp(26px,3.2vw,42px)}

.steps{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  align-items:start;
  gap:clamp(10px,1.6vw,22px);
  max-width:900px;
}
.step{display:grid;justify-items:center;text-align:center;gap:10px}
.step-num{
  width:42px;height:42px;border-radius:50%;
  border:1.6px solid var(--blue-400);
  display:grid;place-items:center;
  font-size:16px;font-weight:700;color:#fff;
}
.ic-step{width:46px;height:34px;color:var(--blue-400)}
.step h3{
  font-size:clamp(13px,1.2vw,15px);font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  color:var(--blue-300);
}
.step p{
  font-size:clamp(13.5px,1.1vw,15px);line-height:1.5;color:rgba(224,234,252,.92);
  max-width:26ch;
}
.step-arrow{display:grid;place-items:center;color:var(--blue-400);padding-top:46px}
.step-arrow .ic{width:46px;height:16px}

.how-video{
  margin:clamp(30px,3.8vw,50px) 0 0;
  max-width:900px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(122,167,255,.28);
  box-shadow:0 18px 44px rgba(0,10,36,.42);
  background:#020F33;
}
.how-video[hidden]{display:none}
.how-video-player{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  background:#020F33;
  object-fit:contain;
}

/* ---------------- industries ---------------- */

.industries{
  background:linear-gradient(180deg,var(--ice),#EDF0F7);
  color:var(--ink);
  padding-block:clamp(40px,4.6vw,66px);
}
.industries .eyebrow{margin-bottom:clamp(24px,3vw,38px)}

.cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(18px,2.2vw,34px);
}
.card{display:grid;gap:12px;justify-items:center;text-align:center}
.card-media{
  width:100%;
  aspect-ratio:249/99;
  overflow:hidden;
  border-radius:6px;
  box-shadow:0 14px 30px -18px rgba(10,27,63,.6),0 1px 0 rgba(255,255,255,.6);
}
.card-media img{width:100%;height:100%;object-fit:cover}
.card h3{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(14px,1.2vw,17px);
  letter-spacing:.075em;
  text-transform:uppercase;
  color:#0A1B3D;
  line-height:1.3;
}
.card p{
  font-size:clamp(13px,1.05vw,15px);
  line-height:1.45;
  color:var(--ink-2);
  max-width:26ch;
}

/* ---------------- security ---------------- */

.security{
  background:
    radial-gradient(90% 140% at 12% 50%,#062255 0%,transparent 62%),
    linear-gradient(180deg,#021139,var(--navy-900));
  padding-block:clamp(38px,4.4vw,60px);
  border-top:1px solid rgba(120,164,255,.14);
}
.security-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);
  gap:clamp(26px,3.4vw,56px);
  align-items:center;
}
.security-lead{display:flex;align-items:center;gap:clamp(16px,2vw,26px)}
.lock{
  width:76px;height:76px;flex:none;border-radius:50%;
  display:grid;place-items:center;
  color:var(--blue-400);
  background:radial-gradient(circle,rgba(46,123,246,.22),transparent 70%);
  border:1px solid rgba(120,164,255,.30);
}
.lock .ic{width:44px;height:44px}
.security-lead p{
  margin-top:8px;
  font-size:clamp(13.5px,1.08vw,15px);
  line-height:1.5;
  color:rgba(206,222,248,.86);
  max-width:52ch;
}

.sec-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(16px,2vw,28px);
}
.sec-list li{display:flex;gap:11px;align-items:flex-start}
.sec-list .ic{width:26px;height:26px;color:var(--blue-400);margin-top:1px}
.sec-list h3{font-size:13.5px;font-weight:700;color:#fff;line-height:1.3}
.sec-list p{font-size:12.5px;line-height:1.45;color:rgba(200,218,246,.82);margin-top:3px}
.sec-extra{color:rgba(170,195,235,.66)!important}

/* ---------------- demo modal ---------------- */

.modal-backdrop{
  position:fixed;inset:0;z-index:60;
  background:rgba(1,8,26,.76);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  display:flex;align-items:flex-start;justify-content:center;
  padding:clamp(16px,4vh,56px) 16px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.modal-backdrop[hidden]{display:none}

.modal{
  position:relative;
  width:min(560px,100%);
  margin:auto;
  background:#fff;
  color:var(--ink);
  border-radius:18px;
  padding:clamp(26px,3.4vw,40px);
  box-shadow:0 40px 100px -30px rgba(0,0,0,.6);
  animation:pop .22s ease-out;
}
@keyframes pop{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.modal{animation:none}}

.modal-close{
  position:absolute;top:12px;right:12px;
  width:40px;height:40px;border:0;border-radius:10px;
  background:#F0F3F9;color:var(--ink-2);
  display:grid;place-items:center;cursor:pointer;
  transition:background-color .18s ease;
}
.modal-close:hover{background:#E2E8F2}
.modal-close .ic{width:20px;height:20px}

.modal-eyebrow{
  font-family:var(--serif);
  font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:#6B7C99;
}
.modal h2{
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(24px,3vw,32px);
  color:#0A1B3D;
  margin-top:6px;
  line-height:1.2;
}
.modal-intro{margin-top:8px;font-size:15px;line-height:1.5;color:var(--ink-2)}

#demoForm{margin-top:22px;display:grid;gap:14px}
.field{display:grid;gap:6px;min-width:0}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field label{font-size:13px;font-weight:700;color:#17294A;letter-spacing:.01em}
.field input{
  width:100%;
  font-family:var(--sans);
  font-size:16px;
  padding:13px 14px;
  border:1.5px solid #CDD7E6;
  border-radius:10px;
  background:#fff;color:var(--ink);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.field input:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(46,123,246,.18)}
.field input[aria-invalid="true"]{border-color:#D64550;box-shadow:0 0 0 3px rgba(214,69,80,.14)}

.form-error{font-size:13.5px;font-weight:600;color:#C0323D;background:#FDF0F1;border-radius:8px;padding:10px 12px}
.form-error[hidden]{display:none}
.form-note{font-size:12px;line-height:1.45;color:#7A88A0;text-align:center}
#demoSubmit{margin-top:2px;padding-block:15px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.modal-success{display:grid;justify-items:center;text-align:center;gap:10px;padding:24px 0 8px}
.modal-success[hidden]{display:none}
.modal-success .tick{width:64px;height:64px;border-radius:50%;background:#E8F5EE;color:#118050;display:grid;place-items:center}
.modal-success .tick .ic{width:36px;height:36px}
.modal-success p{font-size:15px;color:var(--ink-2);max-width:38ch;line-height:1.5}

body.modal-open,body.nav-open{overflow:hidden}

/* ============================================================
   Responsive
   ============================================================ */

/* laptop / small desktop */
@media (max-width:1240px){
  .hero-shell{grid-template-columns:minmax(0,1fr) minmax(0,310px)}
  .hero-media{width:50%}
}

/* --- tablet landscape and below: hero stacks, nav collapses --- */
@media (max-width:1120px){
  .main-nav{
    position:fixed;inset:var(--header-h) 0 auto 0;
    display:none;
    flex-direction:column;align-items:stretch;justify-content:flex-start;
    gap:6px;
    background:rgba(0,13,40,.985);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(120,164,255,.18);
    padding:14px var(--pad) 22px;
    max-height:calc(100dvh - var(--header-h));
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  body.nav-open .main-nav{display:flex}
  .main-nav ul{flex-direction:column;align-items:stretch;gap:0}
  .main-nav li{border-bottom:1px solid rgba(120,164,255,.12)}
  .main-nav a{display:block;padding:15px 2px;font-size:16px;font-weight:600}
  .main-nav a::after{display:none}
  .nav-cta{display:inline-flex;margin-top:16px;align-self:flex-start}
  .menu-toggle{display:flex}

  .hero-media{
    position:relative;inset:auto;width:100%;
    aspect-ratio:16/9;border-radius:14px;overflow:hidden;
    order:2;
  }
  .hero-media-fade{
    background:linear-gradient(180deg,rgba(0,16,49,.28),transparent 34%,rgba(0,16,49,.34));
  }
  .hero-shell{
    grid-template-columns:minmax(0,1fr);
    gap:clamp(24px,3.4vw,34px);
    padding-block:clamp(40px,5vw,60px);
  }
  .hero-copy{max-width:none;order:1}
  .hero-sub{max-width:52ch}
  .trust-row{max-width:none}
  .pulse{justify-self:stretch;max-width:520px;width:100%;order:3}

  .security-shell{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}
  .sec-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,3vw,34px)}
}

@media (max-width:1024px){
  .steps{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);max-width:none}
  .steps .step-arrow:nth-child(4){display:none}
  .steps .step:nth-child(5){grid-column:1 / -1;justify-self:center;padding-top:6px}
  .how-media{width:42%}
}

/* --- tablet portrait --- */
@media (max-width:900px){
  .impact{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "body body"
      "l r";
  }
  .impact-photo{aspect-ratio:16/7;min-height:0}
  .impact-body{padding-inline:var(--pad)}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}
  .stats li:nth-child(odd){border-left:0}
  .stats li{padding-block:2px}

  .how-media{position:relative;inset:auto;width:auto;margin:0 var(--pad);aspect-ratio:16/7;border-radius:14px;overflow:hidden}
  .how-media-fade{background:linear-gradient(180deg,rgba(0,16,49,.3),transparent 40%,rgba(0,16,49,.3))}
  .how{display:flex;flex-direction:column}
  .how-shell{order:1;padding-bottom:clamp(28px,3.6vw,40px)}
  .how-media{order:2;margin-bottom:clamp(40px,5vw,60px)}

  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}

  .security-shell{grid-template-columns:minmax(0,1fr);gap:28px}
  .sec-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px){
  :root{--header-h:64px}
  .brand-mark{width:38px;height:38px}
  .brand-name{font-size:19px}

  .steps{grid-template-columns:minmax(0,1fr);gap:30px}
  .step-arrow{display:none}
  .steps .step:nth-child(5){grid-column:auto;padding-top:0}
  .step p{max-width:34ch}

  .trust-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}

  .field-row{grid-template-columns:1fr}
}

@media (max-width:600px){
  .hero-title{font-size:clamp(29px,7.4vw,38px)}
  .hero-media{aspect-ratio:4/3}
  .impact{grid-template-columns:1fr;grid-template-areas:"body" "l" "r"}
  .impact-photo{aspect-ratio:16/6}
  .stats{grid-template-columns:1fr;gap:20px}
  .stats li{border-left:0}
  .cards{grid-template-columns:minmax(0,1fr);max-width:420px;margin-inline:auto}
  .sec-list{grid-template-columns:minmax(0,1fr)}
  .security-lead{flex-direction:column;align-items:flex-start;gap:16px}
  .modal{border-radius:16px}
}

@media (max-width:380px){
  .trust-row{grid-template-columns:1fr;gap:16px}
  .trust-row li{flex-direction:row;text-align:left;gap:12px}
  .hero-actions .btn{width:100%}
}
