/* SAFE Panic Button – site styles */
@font-face{font-family:"Montserrat";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/montserrat-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/montserrat-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/public-sans-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/public-sans-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Public Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/public-sans-latin-600-normal.woff2") format("woff2")}

:root{
  --red:#D4111B; --red-dark:#B00E16; --red-text:#9B0C13; --red-tint:#FCEBEC;
  --green:#0A6332; --green-btn:#13883F;
  --navy:#14224A; --ink:#1F2633; --body:#3A4252; --muted:#5A6372;
  --mist:#F3F5F7; --line:#E1E5EA; --line-2:#D3D9E3; --white:#FFFFFF;
  --header-h:100px;
  --display:"Montserrat","Segoe UI",Arial,sans-serif;
  --sans:"Public Sans","Segoe UI",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--white);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.6}
img,video{max-width:100%}
a{color:var(--green)} a:hover{color:#074a25}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #2563EB;outline-offset:3px}
h1,h2,h3,p,ul,ol,figure{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.h-font{font-family:var(--display)}
.skip{position:absolute;left:-9999px;top:0;background:var(--navy);color:var(--white);padding:12px 18px;z-index:100}
.skip:focus{left:12px;top:12px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:10px;font-weight:600;font-size:16px;text-decoration:none;font-family:inherit;cursor:pointer;border:2px solid transparent}
.btn-red{background:var(--red);color:var(--white);border-color:var(--red)}
.btn-red:hover{background:var(--red-dark);border-color:var(--red-dark);color:var(--white)}
.btn-line{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn-line:hover{background:var(--navy);color:var(--white)}
.btn-white{background:var(--white);color:var(--navy);border-color:var(--white)}
.btn-white:hover{background:#e8ecf4;color:var(--navy)}
.btn-ghostw{background:transparent;color:var(--white);border-color:rgba(255,255,255,.6)}
.btn-ghostw:hover{border-color:var(--white);color:var(--white)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;height:var(--header-h)}
.logo-link{display:flex;align-items:center}
.logo{height:78px;width:auto;display:block}
.navlinks{display:flex;gap:30px;align-items:center}
.navlinks a{color:var(--navy);text-decoration:none;font-weight:600;font-size:16.5px}
.navlinks a:hover{color:var(--red)}
.header-cta{min-height:46px}

/* Sections */
.section{padding:96px 0}
.bg-mist{background:var(--mist)}
.sec-h2{font-family:var(--display);font-size:40px;line-height:1.12;font-weight:800;color:var(--navy);letter-spacing:-0.015em}
.lede{font-size:18px;color:var(--body)}
.intro{max-width:720px;display:flex;flex-direction:column;gap:14px}
.stack{display:flex;flex-direction:column;gap:48px}
.cols3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.cols2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:center}

/* Hero */
.hero{padding:72px 0 88px}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:24px}
.hero-h1{font-family:var(--display);font-size:58px;line-height:1.05;font-weight:800;color:var(--navy);letter-spacing:-0.02em}
.hero-lede{font-size:20px;line-height:1.55;color:var(--body);max-width:34em}
.small-note{font-size:15px;color:var(--muted)}

/* Demo */
.demo{background:var(--mist);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:14px}
.demo-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:0 4px;flex-wrap:wrap}
.demo-title{font-family:var(--display);font-weight:700;font-size:16px;color:var(--navy)}
.demo-note{font-size:13px;color:var(--muted)}
.demo-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:stretch}
.pc-sender{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.pc-label{font-size:13px;font-weight:600;color:var(--muted);align-self:flex-start}
.btn-zone{position:relative;width:150px;height:150px;display:flex;align-items:center;justify-content:center}
.ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(212,17,27,.35)}
.ring-idle{border-color:rgba(10,99,50,.35)}
.ring-idle.r1{transform:scale(.98);opacity:.5}
.ring-idle.r2{transform:scale(.82);opacity:.8}
.ring-live{animation:ring 1.8s ease-out infinite;opacity:0}
.ring-live.d2{animation-delay:.6s}
.ring-live.d3{animation-delay:1.2s}
@keyframes ring{0%{transform:scale(.55);opacity:0}15%{opacity:.9}100%{transform:scale(1.25);opacity:0}}
.safe-btn{position:relative;width:96px;height:96px;border-radius:22px;border:5px solid #1c1c1f;background:var(--green-btn);box-shadow:0 0 0 3px #c7cbd1,0 7px 0 #0a4a24,0 14px 24px rgba(10,74,36,.28);color:var(--white);font-family:var(--display);font-weight:800;font-size:22px;letter-spacing:.02em;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,background-color .2s ease}
.safe-btn:hover{transform:translateY(-2px)}
.safe-btn:active{transform:translateY(3px)}
.safe-btn.is-red{background:#E3141E;box-shadow:0 0 0 3px #c7cbd1,0 7px 0 #7a0a0f,0 14px 24px rgba(120,10,15,.28)}
.status{font-size:14px;line-height:1.45;color:var(--body)}
.status-sent{color:var(--red-text);font-weight:600}
.status-ok{color:var(--green);font-weight:600}
.status-wrap{display:flex;flex-direction:column;gap:10px;align-items:center}
.link-btn{background:none;border:0;color:var(--navy);text-decoration:underline;font:inherit;font-size:14px;cursor:pointer;min-height:44px;padding:0 8px}
.pc-receiver{background:var(--navy);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px}
.pc-receiver-top{display:flex;justify-content:space-between;align-items:center;padding:2px 6px}
.pc-receiver-label{font-size:13px;font-weight:600;color:#D5DBEA}
.pc-dot{width:10px;height:10px;border-radius:3px;background:#E3141E}
.pc-screen{flex:1;min-height:230px;background:#EEF1F6;border-radius:8px;padding:16px;display:flex;align-items:center;justify-content:center}
.ghost{width:100%;display:flex;flex-direction:column;gap:10px;opacity:.6}
.ghost span{display:block;height:10px;background:#D3D9E3;border-radius:4px}
.ghost span:nth-child(1){width:55%} .ghost span:nth-child(2){width:80%} .ghost span:nth-child(3){width:68%} .ghost span:nth-child(4){width:40%}
.alert-box{width:100%;max-width:300px;background:var(--white);border:3px solid #E3141E;border-radius:4px;padding:14px 16px;box-shadow:0 10px 30px rgba(20,34,74,.25);font-family:"Segoe UI",Arial,sans-serif}
.alert-title{margin:0 0 10px;display:flex;align-items:center;gap:8px;color:var(--red);font-weight:700;font-size:13px}
.alert-icon{width:16px;height:16px;border-radius:3px;background:#E3141E;display:inline-block}
.alert-text{font-size:15px;line-height:1.4;color:#4A4F57}
.alert-where{font-size:15px;line-height:1.4;color:var(--red)}
.alert-time{margin-bottom:14px}
.alert-actions{display:flex;justify-content:flex-end;gap:8px}
.alert-actions button{min-height:36px;padding:0 14px;background:#E6E7EA;border:1px solid #A9ADB4;border-radius:3px;font:inherit;font-size:13px;color:#33373D;cursor:pointer}
.alert-actions button:hover{background:#DADCE0}
.alert-actions .accept{font-weight:600}
.accepted{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}
.tick{width:44px;height:44px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center}
.accepted-title{font-weight:600;color:var(--navy);font-size:15px}
.accepted-note{color:var(--muted);font-size:13px}
.pop{animation:pop .35s cubic-bezier(.2,.9,.3,1.3)}
@keyframes pop{0%{transform:scale(.85);opacity:0}100%{transform:scale(1);opacity:1}}
[hidden]{display:none !important}

/* Trust strip */
.trust{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;padding-top:28px;padding-bottom:28px}
.trust p{font-size:17px;color:var(--body);max-width:32em}
.trust strong{color:var(--navy)}
.certs{width:520px;height:auto;display:block}

/* Scenes */
.scene{display:flex;flex-direction:column;gap:14px}
.scene img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block}
.scene figcaption{display:flex;flex-direction:column;gap:4px}
.scene-title{font-family:var(--display);font-weight:700;font-size:20px;color:var(--navy)}
.scene-text{color:var(--body);font-size:16px}

/* Steps */
.steps{list-style:none;padding:0}
.step{display:flex;flex-direction:column;gap:12px;padding-top:20px;border-top:3px solid var(--navy)}
.step:nth-child(1){border-top-color:var(--red)} .step:nth-child(3){border-top-color:var(--green)}
.step-num{font-family:var(--display);font-weight:800;font-size:15px;color:var(--navy)}
.step:nth-child(1) .step-num{color:var(--red)} .step:nth-child(3) .step-num{color:var(--green)}
.step h3{font-family:var(--display);font-size:24px;font-weight:700;color:var(--navy)}
.step p{color:var(--body)}

/* Martyn's Law */
.ml{padding:96px 0 0}
.ml-card{border:1px solid var(--line);border-left:6px solid var(--red);border-radius:20px;padding:44px;align-items:start}
.ml-head{display:flex;flex-direction:column;gap:12px}
.ml-kicker{font-size:15px;font-weight:600;color:var(--red-text)}
.ml-h2{font-size:34px;line-height:1.15;letter-spacing:-0.01em}
.ml-body{display:flex;flex-direction:column;gap:16px}
.ml-body p{color:var(--body)}
.ml-link{font-weight:600;font-size:17px;align-self:flex-start}
.ml-small{font-size:14px;color:var(--muted) !important}

/* Features */
.feat-grid{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px}
.feat{display:flex;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}
.feat-icon{flex:none;width:44px;height:44px;border-radius:12px;background:var(--red-tint);display:flex;align-items:center;justify-content:center}
.feat-icon svg{width:22px;height:22px;fill:none;stroke:#B30F17;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.feat h3{font-family:var(--display);font-size:18px;font-weight:700;color:var(--navy)}
.feat p{font-size:16px;color:var(--body)}
.feat > div{display:flex;flex-direction:column;gap:4px}

/* USB */
.usb-section{padding:0 0 96px}
.usb-card{background:var(--mist);border-radius:24px;padding:48px}
.usb-img{width:100%;max-width:420px;height:auto;display:block;justify-self:center;mix-blend-mode:multiply}
.usb-copy{display:flex;flex-direction:column;gap:18px}
.usb-h2{font-size:34px;line-height:1.15}
.checks{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.checks li{display:flex;gap:10px;align-items:center;font-weight:600;color:var(--navy)}
.checks svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--green);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

/* Video */
.video-section{background:var(--navy);color:var(--white)}
.video-section .sec-h2{color:var(--white)}
.video-copy{display:flex;flex-direction:column;gap:18px}
.video-copy p{font-size:18px;color:#D5DBEA}
.video{width:100%;aspect-ratio:16/9;border-radius:16px;background:#000;display:block}

/* Licensing */
.licence-copy{display:flex;flex-direction:column;gap:16px}
.licence-card{border:2px solid var(--navy);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:18px}
.licence-name{font-family:var(--display);font-size:22px;font-weight:700;color:var(--navy)}
.quote{display:flex;flex-direction:column;gap:4px}
.quote .quote-h{font-family:var(--display);font-size:26px;font-weight:800;color:var(--red)}
.quote p{font-size:16px;color:var(--body)}
.quote a{font-weight:600}
.licence-list{padding-left:20px;color:var(--body);display:flex;flex-direction:column;gap:6px}

/* FAQ */
.faq-wrap{max-width:880px;display:flex;flex-direction:column;gap:24px}
.faq{border-top:1px solid var(--line-2)}
.faq details{border-bottom:1px solid var(--line-2)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0;cursor:pointer;font-size:18px;font-weight:600;color:var(--navy);min-height:44px}
.faq summary::-webkit-details-marker{display:none}
.faq summary:hover{color:var(--red)}
.faq-sign{flex:none;width:32px;height:32px;border-radius:50%;background:var(--white);border:1px solid var(--line-2);display:flex;align-items:center;justify-content:center;color:var(--navy);font-size:20px;line-height:1}
.faq-sign::before{content:"+"}
.faq details[open] .faq-sign::before{content:"\2212"}
.faq details p{padding:0 48px 22px 0;color:var(--body)}

/* Trial / contact */
.trial{background:var(--red);color:var(--white);border-radius:24px;padding:48px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px}
.trial-copy{max-width:560px;display:flex;flex-direction:column;gap:10px}
.trial .sec-h2{color:var(--white);font-size:38px}
.trial p{font-size:18px;color:#FFE9EA}
.contact-item{display:flex;flex-direction:column;gap:4px}
.contact-item p{font-size:15px;color:var(--muted)}
.contact-item a{font-size:19px;font-weight:600}
.contact-stack{gap:40px}

/* Footer */
.site-footer{background:var(--mist);border-top:1px solid var(--line)}
.site-footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px;padding-top:36px;padding-bottom:36px}
.footer-brand{display:flex;flex-direction:column;gap:10px}
.footer-logo{height:44px;width:auto;display:block;align-self:flex-start}
.footer-small{font-size:14px;color:var(--muted)}
.footer-certs{width:320px;height:auto;display:block}
.footer-by{display:flex;align-items:center;gap:12px}
.codegate{height:30px;width:auto;display:block;mix-blend-mode:multiply}

/* Responsive */
@media (max-width:960px){
  .hero-grid,.cols2{grid-template-columns:minmax(0,1fr);gap:40px}
  .cols3{grid-template-columns:minmax(0,1fr)}
  .feat-grid{grid-template-columns:minmax(0,1fr)}
  .navlinks{display:none}
  .hero-h1{font-size:44px}
  .logo{height:62px}
  :root{--header-h:84px}
}
@media (max-width:560px){
  .demo-grid{grid-template-columns:minmax(0,1fr)}
  .wrap{padding:0 20px}
  .hero-h1{font-size:36px}
  .sec-h2,.trial .sec-h2{font-size:30px}
  .ml-card,.usb-card,.trial{padding:28px}
  .section{padding:72px 0}
  .checks{grid-template-columns:minmax(0,1fr)}
  .faq details p{padding-right:0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .ring-live,.pop{animation:none}
  .ring-live{opacity:.6;transform:scale(1)}
  .safe-btn{transition:none}
}
