/* ==========================================================================
   OffboardSafe — Marketing Site Design System
   Clean, modern, self-contained. No external framework.
   ========================================================================== */

:root{
  --navy:#04445C;
  --navy-hover:#065a78;
  --navy-deep:#032f40;
  --teal:#0d7377;
  --blue-accent:#2f6bd6;
  --ink:#0f2233;
  --text:#33454f;
  --muted:#5b6b78;
  --line:#e5e7eb;
  --bg:#ffffff;
  --bg-gray:#f5f7f9;
  --bg-blue:#f0f7fb;
  --bg-light:#f8fafc;
  --radius:8px;
  --radius-md:12px;
  --radius-lg:16px;
  --shadow-sm:0 1px 3px rgba(16,34,51,.06);
  --shadow:0 6px 24px rgba(4,68,92,.08);
  --shadow-lg:0 20px 50px rgba(4,68,92,.16);
  --maxw:1160px;
  /* legacy aliases (used by legal pages' inline styles) */
  --primary:#04445C;
  --accent:#2f6bd6;
  --border:#e5e7eb;
  --text-light:#5b6b78;
}
/* legacy hero alias for legal pages */
.hero-small{background:linear-gradient(180deg,#eef4f8 0%,#f6f9fb 100%);padding:64px 0 40px;text-align:center;}
.hero-small h1{font-size:40px;font-weight:800;margin:0 auto 14px;max-width:820px;}
.hero-small p{font-size:17px;color:var(--muted);margin:0 auto;max-width:640px;}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  color:var(--ink);
  line-height:1.6;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3,h4,h5{margin:0;color:var(--ink);line-height:1.2;letter-spacing:-.015em;}
p{margin:0;}

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

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:600;font-size:15px;line-height:1;font-family:inherit;
  padding:13px 24px;border-radius:var(--radius);cursor:pointer;
  border:2px solid transparent;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .1s ease;
  white-space:nowrap;
}
.btn svg{width:18px;height:18px;}
.btn-primary{background:var(--navy);color:#fff;border-color:var(--navy);}
.btn-primary:hover{background:var(--navy-hover);border-color:var(--navy-hover);}
.btn-secondary{background:#eef4f8;color:var(--navy);border-color:#eef4f8;}
.btn-secondary:hover{background:#e0ecf3;}
.btn-outline{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn-outline:hover{background:var(--navy);color:#fff;}
.btn-white{background:#fff;color:var(--navy);border-color:#fff;}
.btn-white:hover{background:#eaf2f6;}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6);}
.btn-ghost:hover{background:rgba(255,255,255,.12);}
.btn-sm{padding:9px 16px;font-size:14px;}
.btn-lg{padding:15px 30px;font-size:16px;}

/* ---------- Header / Nav ---------- */
.site-header{position:sticky;top:0;z-index:900;background:#fff;border-bottom:1px solid var(--line);}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px;}
.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:21px;color:#04445c;}
.brand img{width:32px;height:32px;object-fit:contain;}
.brand b{color:#04445c;font-weight:800;}
.main-nav{display:flex;align-items:center;gap:32px;}
.main-nav a{color:#33454f;font-weight:500;font-size:15px;padding:4px 0;position:relative;}
.main-nav a:hover{color:var(--navy);}
.main-nav a.active{color:var(--navy);font-weight:600;}
.main-nav a.active::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--navy);border-radius:2px;}
.nav-right{display:flex;align-items:center;gap:18px;}
.login-link{color:var(--ink);font-weight:600;font-size:15px;}
.login-link:hover{color:var(--navy);}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;}
.nav-toggle span{width:24px;height:2px;background:var(--ink);border-radius:2px;}

/* ---------- Hero (home) ---------- */
.hero{background:linear-gradient(180deg,#eef4f8 0%,#f6f9fb 100%);padding:72px 0 66px;}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.eyebrow{color:var(--teal);font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;margin:0 0 18px;}
.hero h1{font-size:54px;font-weight:800;margin:0 0 20px;color:var(--ink);}
.hero h1 .hl{color:#04445c;}
.hero .lead{font-size:19px;color:var(--muted);margin:0 0 30px;max-width:440px;}
.hero-btns{display:flex;gap:14px;flex-wrap:wrap;}
.hero-media{display:flex;justify-content:center;}
.hero-media img{width:100%;max-width:560px;border-radius:12px;}

/* ---------- Small hero (subpages) ---------- */
.page-hero{background:linear-gradient(180deg,#eef4f8 0%,#f6f9fb 100%);padding:64px 0 40px;text-align:center;}
.page-hero .eyebrow{text-align:center;}
.page-hero h1{font-size:44px;font-weight:800;margin:0 auto 16px;max-width:820px;}
.page-hero p{font-size:18px;color:var(--muted);margin:0 auto;max-width:640px;}

/* ---------- Benefit strip (4 icon cards) ---------- */
.benefits{background:#fff;padding:56px 0;}
.benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;text-align:center;}
.benefit .b-icon{width:48px;height:48px;margin:0 auto 16px;color:var(--navy);display:flex;align-items:center;justify-content:center;}
.benefit h3{font-size:17px;font-weight:700;margin:0 0 8px;}
.benefit p{font-size:14px;color:var(--muted);max-width:200px;margin:0 auto;}

/* ---------- Generic sections ---------- */
.section{padding:64px 0;}
.section-light{background:var(--bg-gray);}
.section-blue{background:var(--bg-blue);}
.section-header{text-align:center;max-width:720px;margin:0 auto 44px;}
.section-label{display:inline-block;color:var(--teal);font-weight:700;font-size:13px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px;}
.section-title{font-size:34px;font-weight:800;margin:0 0 12px;}
.section-description{font-size:17px;color:var(--muted);margin:0;}

/* ---------- Feature grid / cards ---------- */
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.features-grid-4{grid-template-columns:repeat(4,1fr);}
.feature-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:26px 24px;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease;}
.feature-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);border-color:#d6e3ec;}
.feature-icon{width:46px;height:46px;border-radius:10px;background:#eef4f8;color:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.feature-icon svg{width:24px;height:24px;}
.feature-card h3{font-size:17px;font-weight:700;margin:0 0 8px;}
.feature-card p{font-size:14.5px;color:var(--muted);margin:0;}

/* ---------- Built for panel (home) ---------- */
.built{background:var(--bg-blue);}
.built-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:stretch;}
.built h2{font-size:32px;font-weight:800;margin:0 0 12px;}
.built .built-lead{font-size:17px;color:var(--muted);margin:0 0 28px;}
.built-cards{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.built-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:22px 20px;}
.built-card svg{width:32px;height:32px;color:var(--navy);margin-bottom:12px;}
.built-card h4{font-size:16px;font-weight:700;margin:0 0 6px;}
.built-card p{font-size:13.5px;color:var(--muted);margin:0;}
.built-grid-centered{display:block;max-width:920px;margin:0 auto;text-align:center;}
.built-grid-centered .built-content{width:100%;}
.built-grid-centered .built-lead{max-width:620px;margin-left:auto;margin-right:auto;}
.built-grid-centered .built-card{display:flex;flex-direction:column;align-items:center;text-align:center;}
.built-panel{position:relative;border-radius:var(--radius-lg);min-height:100%;background:linear-gradient(135deg,#0e4a63 0%,#0d7377 62%,#12a0a6 100%);display:flex;align-items:flex-start;justify-content:flex-end;padding:34px;overflow:hidden;}
.built-quote{position:relative;z-index:1;color:#fff;font-style:italic;font-weight:600;font-size:22px;line-height:1.4;text-align:right;max-width:230px;text-shadow:0 2px 10px rgba(0,0,0,.2);}

/* Built panel — animated gradient (index) */
@keyframes panelGlow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes panelFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.built-panel-animated{background:linear-gradient(135deg,#0e4a63,#0d7377,#145c84,#0a5e6e,#0e4a63);background-size:400% 400%;animation:panelGlow 8s ease infinite;}
.built-panel-animated::after{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");pointer-events:none;border-radius:inherit;}
.built-panel-animated .built-quote{animation:panelFloat 4s ease-in-out infinite;}

/* Built panel — background image (about) */
.built-panel-img{background-image:url('../images/dashboard-preview.png');background-size:cover;background-position:center top;}
.built-panel-img::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(14,74,99,.88),rgba(13,115,119,.78));border-radius:inherit;}

/* ---------- Alternating media section ---------- */
.media-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.media-row .media img{width:100%;border-radius:var(--radius-md);}
.media-row h2{font-size:32px;font-weight:800;margin:0 0 16px;}
.media-row p{font-size:16.5px;color:var(--muted);margin:0 0 24px;}

/* ---------- Testimonial ---------- */
.testimonial{background:var(--bg-gray);}
.testimonial-inner{max-width:860px;margin:0 auto;display:flex;gap:22px;align-items:flex-start;}
.quote-mark{font-size:64px;line-height:.8;color:var(--blue-accent);font-weight:800;font-family:Georgia,serif;flex-shrink:0;}
.testimonial blockquote{margin:0;font-size:20px;line-height:1.55;font-weight:500;}
.testimonial .attr{margin:16px 0 0;font-size:14px;color:var(--muted);}
.testimonial .attr strong{display:block;color:var(--ink);font-weight:700;}

/* ---------- Pricing ---------- */
.billing-toggle{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 36px;font-size:14px;color:var(--muted);font-weight:500;}
.billing-toggle .pill{background:#e6f6ea;color:#166534;font-size:12px;font-weight:600;padding:3px 9px;border-radius:20px;}
.pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;align-items:stretch;}
.pricing-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:28px 22px;display:flex;flex-direction:column;position:relative;}
.pricing-card.featured{border:2px solid var(--navy);box-shadow:var(--shadow);}
.pricing-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--navy);color:#fff;font-size:12px;font-weight:600;padding:5px 16px;border-radius:20px;white-space:nowrap;}
.pricing-icon{width:44px;height:44px;border-radius:10px;background:#eef4f8;color:var(--navy);display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.pricing-icon svg{width:22px;height:22px;}
.pricing-name{font-size:20px;font-weight:800;margin:0 0 6px;}
.pricing-description{font-size:13.5px;color:var(--muted);margin:0 0 16px;min-height:38px;}
.pricing-price{margin:0 0 18px;display:flex;align-items:baseline;gap:4px;}
.pricing-amount{font-size:34px;font-weight:800;color:var(--ink);}
.pricing-period{font-size:14px;color:var(--muted);}
.pricing-features{list-style:none;padding:0;margin:0 0 22px;flex:1;}
.pricing-features li{display:flex;align-items:flex-start;gap:9px;font-size:14px;color:var(--text);padding:6px 0;}
.pricing-features li svg{width:17px;height:17px;color:var(--teal);flex-shrink:0;margin-top:3px;}
.pricing-card .btn{width:100%;}

/* Help / "not sure" bar */
.help-bar{max-width:920px;margin:36px auto 0;background:var(--bg-blue);border:1px solid #dbeafe;border-radius:var(--radius-md);padding:22px 28px;display:flex;align-items:center;gap:18px;flex-wrap:wrap;justify-content:space-between;}
.help-bar .help-left{display:flex;align-items:center;gap:16px;}
.help-bar .help-icon{width:44px;height:44px;border-radius:50%;background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.help-bar h4{font-size:16px;font-weight:700;margin:0 0 2px;}
.help-bar p{font-size:14px;color:var(--muted);margin:0;}

/* Enterprise banner */
.enterprise-banner{max-width:900px;margin:2.5rem auto 0;padding:2rem;background:linear-gradient(135deg,#04445C 0%,#065a73 55%,#097299 100%);border-radius:16px;text-align:center;color:#fff;box-shadow:0 10px 30px rgba(4,68,92,.2);}
.enterprise-banner .eb-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.15);margin-bottom:1rem;}
.enterprise-banner h3{color:#fff;font-size:1.5rem;font-weight:700;margin:0 0 .5rem;}
.enterprise-banner p{margin:0 auto 1.5rem;font-size:1rem;opacity:.92;line-height:1.6;max-width:600px;color:#e8f2f6;}

/* ---------- Values (about) ---------- */
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.value-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:26px 24px;text-align:center;}
.value-icon{width:52px;height:52px;border-radius:12px;background:#eef4f8;color:var(--navy);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.value-icon svg{width:26px;height:26px;}
.value-card h4{font-size:17px;font-weight:700;margin:0 0 8px;}
.value-card p{font-size:14px;color:var(--muted);margin:0;}

/* ---------- About hero split ---------- */
.about-hero{padding:56px 0;}
.about-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.about-hero h1{font-size:44px;font-weight:800;margin:0 0 20px;}
.about-hero p{font-size:16.5px;color:var(--muted);margin:0 0 16px;}
.about-photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:26px 0 28px;}
.pillar{text-align:center;}
.pillar .p-icon{width:44px;height:44px;border-radius:10px;background:#eef4f8;color:var(--navy);display:flex;align-items:center;justify-content:center;margin:0 auto 10px;}
.pillar .p-icon svg{width:22px;height:22px;}
.pillar h4{font-size:14px;font-weight:700;margin:0;line-height:1.3;}

/* about story */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.about-content .section-label{margin-bottom:12px;}
.about-content h3{font-size:28px;font-weight:800;margin:0 0 16px;}
.about-content p{font-size:16px;color:var(--muted);margin:0 0 14px;}
.about-image img{width:100%;border-radius:var(--radius-md);box-shadow:var(--shadow);}

/* ---------- Contact ---------- */
.contact-section{padding:56px 0;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;}
.contact-left h1{font-size:40px;font-weight:800;margin:0 0 18px;}
.contact-left h1 .hl{color:#04445c;}
.contact-left .lead{font-size:16px;color:var(--muted);margin:0 0 22px;}
.contact-checks{list-style:none;padding:0;margin:0 0 26px;}
.contact-checks li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--text);padding:6px 0;}
.contact-checks li svg{width:20px;height:20px;color:#16a34a;flex-shrink:0;}
.taylor-block{display:flex;gap:16px;align-items:center;margin-bottom:26px;}
.taylor-photo{width:88px;height:88px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:var(--shadow);flex-shrink:0;}
.taylor-sig .sig-name{font-family:'Georgia',serif;font-style:italic;font-size:24px;color:var(--navy);margin:0 0 2px;}
.taylor-sig .sig-title{font-size:14px;font-weight:700;margin:0;}
.taylor-sig .sig-role{font-size:13px;color:var(--muted);margin:0;}
.contact-meta{display:flex;flex-direction:column;gap:14px;border-top:1px solid var(--line);padding-top:22px;}
.contact-meta .meta-item{display:flex;gap:12px;align-items:flex-start;}
.contact-meta .meta-icon{width:38px;height:38px;border-radius:50%;background:#eef4f8;color:var(--navy);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.contact-meta .meta-icon svg{width:18px;height:18px;}
.contact-meta strong{display:block;font-size:14px;font-weight:700;}
.contact-meta span{font-size:14px;color:var(--muted);}

.contact-form-wrapper{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:32px;box-shadow:var(--shadow);}
.contact-form-wrapper h3{font-size:22px;font-weight:800;margin:0 0 6px;}
.contact-form-wrapper .form-intro{font-size:14px;color:var(--muted);margin:0 0 24px;}
.form-group{margin-bottom:16px;}
.form-group label{display:block;font-size:13.5px;font-weight:600;margin-bottom:6px;color:var(--text);}
.form-group input,.form-group textarea{
  width:100%;padding:11px 14px;border:1px solid var(--line);border-radius:var(--radius);
  font-size:14.5px;font-family:inherit;color:var(--ink);background:#fff;transition:border-color .15s ease,box-shadow .15s ease;
}
.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(4,68,92,.12);}
.form-group textarea{resize:vertical;min-height:96px;}
.topic-label{font-size:13.5px;font-weight:600;margin:0 0 10px;color:var(--text);}
.topic-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.topic-pill{border:1px solid var(--line);background:#fff;color:var(--text);font-size:13px;font-weight:500;padding:8px 14px;border-radius:20px;cursor:pointer;font-family:inherit;transition:all .15s ease;}
.topic-pill:hover{border-color:var(--navy);}
.topic-pill.active{background:var(--navy);color:#fff;border-color:var(--navy);}
.confidential{font-size:12.5px;color:var(--muted);text-align:center;margin:12px 0 0;display:flex;align-items:center;justify-content:center;gap:6px;}

/* ---------- CTA banner (dark) ---------- */
.cta-section{background:var(--navy);padding:56px 0;}
.cta-content{text-align:center;max-width:720px;margin:0 auto;}
.cta-content h2{font-size:30px;font-weight:800;color:#fff;margin:0 0 10px;}
.cta-content p{font-size:17px;color:rgba(255,255,255,.85);margin:0 0 26px;}
.cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
/* inline CTA banner variant (home bottom / features bottom) */
.cta-band{background:var(--navy);padding:44px 0;}
.cta-band-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap;}
.cta-band h2{font-size:26px;font-weight:800;color:#fff;margin:0 0 6px;}
.cta-band p{font-size:16px;color:rgba(255,255,255,.85);margin:0;}

/* ---------- Footer ---------- */
.footer{background:var(--navy-deep);color:#cdd8df;padding:56px 0 28px;}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:20px;color:#fff;margin-bottom:14px;}
.footer-logo img{width:30px;height:30px;object-fit:contain;}
.footer-description{font-size:14px;color:#9fb2bd;max-width:320px;margin:0;}
.footer-title{font-size:14px;font-weight:700;color:#fff;margin:0 0 14px;text-transform:uppercase;letter-spacing:.05em;}
.footer-links{list-style:none;padding:0;margin:0;}
.footer-links li{margin-bottom:10px;}
.footer-links a{font-size:14px;color:#9fb2bd;}
.footer-links a:hover{color:#fff;}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding-top:22px;}
.footer-copyright{font-size:13.5px;color:#9fb2bd;margin:0;}
.footer-lafoba{font-size:13.5px;color:#9fb2bd;margin:0;}
.footer-lafoba a{color:#fff;font-weight:600;}

/* ---------- How It Works ---------- */
.hiw-section{background:var(--bg-gray);}
.hiw-header{text-align:center;margin-bottom:0;}
.hiw-tabs{display:flex;gap:8px;justify-content:center;margin:36px 0 28px;flex-wrap:wrap;}
.hiw-tab{display:flex;align-items:center;gap:8px;padding:10px 22px;border-radius:40px;font-size:14px;font-weight:600;border:2px solid var(--line);background:#fff;cursor:pointer;color:var(--muted);transition:all .2s;font-family:inherit;}
.hiw-tab:hover{border-color:var(--navy);color:var(--navy);}
.hiw-tab.active{background:var(--navy);border-color:var(--navy);color:#fff;}
.hiw-num{width:22px;height:22px;border-radius:50%;background:var(--line);color:var(--muted);font-size:11px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0;}
.hiw-tab.active .hiw-num{background:rgba(255,255,255,.25);color:#fff;}
.hiw-frame{max-width:580px;margin:0 auto;background:#fff;border-radius:20px;border:1px solid var(--line);box-shadow:0 8px 40px rgba(4,68,92,.12);overflow:hidden;min-height:400px;position:relative;}
.hiw-screen{padding:24px;display:none;}
.hiw-screen.active{display:block;animation:hiwFade .4s ease;}
@keyframes hiwFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.hiw-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--line);}
.hiw-logo-text{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;color:var(--navy);}
.hiw-logo-text img{width:20px;height:20px;}
.hiw-badge{padding:3px 10px;border-radius:20px;font-size:11px;font-weight:600;background:#eff6ff;color:#1d4ed8;}
.hiw-screen-title{font-size:15px;font-weight:700;color:var(--ink);margin:0 0 16px;}
/* Employee list */
.hiw-emp-list{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;}
.hiw-emp{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;border:1.5px solid var(--line);transition:all .2s;}
.hiw-emp.hiw-selected{border-color:var(--navy);background:rgba(4,68,92,.04);}
.hiw-avatar{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;flex-shrink:0;}
.hiw-emp-name{font-size:13px;font-weight:600;color:var(--ink);margin:0;}
.hiw-emp-role{font-size:11px;color:var(--muted);margin:0;}
.hiw-sel-icon{margin-left:auto;background:var(--navy);color:#fff;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;flex-shrink:0;}
/* Task list */
.hiw-task-list{display:flex;flex-direction:column;gap:6px;margin-bottom:20px;}
.hiw-task{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;background:#f9fafb;border:1px solid #f3f4f6;}
.hiw-task-chk{width:20px;height:20px;border-radius:50%;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex-shrink:0;}
.hiw-task-ring{width:20px;height:20px;border-radius:50%;border:2px solid #d1d5db;flex-shrink:0;}
.hiw-task-done .hiw-task-label{text-decoration:line-through;color:var(--muted);}
.hiw-task-label{margin:0;font-size:13px;font-weight:500;color:var(--ink);}
.hiw-task-meta{font-size:11px;color:var(--muted);margin:0;}
/* Progress */
.hiw-prog-card{background:#f9fafb;border-radius:10px;padding:16px;margin-bottom:14px;}
.hiw-prog-header{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:10px;}
.hiw-prog-bg{height:10px;background:#e5e7eb;border-radius:6px;overflow:hidden;}
.hiw-prog-fill{height:100%;background:linear-gradient(90deg,var(--navy),var(--teal));border-radius:6px;}
.hiw-stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px;}
.hiw-stat{text-align:center;background:#f9fafb;border-radius:10px;padding:12px 6px;}
.hiw-stat-n{font-size:22px;font-weight:800;color:var(--navy);margin:0;}
.hiw-stat-l{font-size:11px;color:var(--muted);margin:0;}
/* Complete */
.hiw-done-wrap{text-align:center;padding:12px 0 16px;}
.hiw-done-icon{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#04445C,#0d7377);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;color:#fff;}
.hiw-done-icon svg{width:28px;height:28px;}
.hiw-done-title{font-size:18px;font-weight:700;color:var(--ink);margin:0 0 4px;}
.hiw-done-sub{font-size:12px;color:var(--muted);margin:0 0 16px;}
.hiw-audit{display:flex;flex-direction:column;gap:6px;margin-bottom:20px;}
.hiw-audit-row{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f9fafb;border-radius:8px;font-size:12px;}
.hiw-audit-time{color:var(--muted);flex-shrink:0;min-width:50px;}
.hiw-audit-act{flex:1;color:var(--ink);}
.hiw-audit-who{color:var(--navy);font-weight:600;flex-shrink:0;}
/* Action btn */
.hiw-btn{width:100%;padding:12px;background:linear-gradient(135deg,var(--navy),var(--teal));color:#fff;font-size:14px;font-weight:600;border:none;border-radius:10px;cursor:pointer;transition:all .2s;font-family:inherit;}
.hiw-btn:hover{opacity:.9;}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .main-nav,.nav-right{display:none;}
  .nav-toggle{display:flex;}
  /* Mobile menu: flow-based expansion (fixes cut-off on iOS Safari + overflow-x:hidden) */
  .site-header.nav-open .nav-wrap{height:auto;flex-wrap:wrap;padding-bottom:16px;align-items:flex-start;}
  .site-header.nav-open .brand,.site-header.nav-open .nav-toggle{align-self:center;}
  .site-header.nav-open .main-nav{display:flex;flex-direction:column;position:static;width:100%;gap:14px;border-top:1px solid var(--line);padding:16px 0 8px;order:10;}
  .site-header.nav-open .nav-right{display:flex;flex-direction:column;position:static;width:100%;gap:12px;padding:8px 0 4px;align-items:stretch;order:11;}
  .site-header.nav-open .nav-right .btn{width:100%;}
  .hero-grid,.built-grid,.media-row,.about-hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr;}
  .hero h1{font-size:40px;}
  .benefits-grid{grid-template-columns:1fr 1fr;gap:32px;}
  .features-grid{grid-template-columns:1fr 1fr;}
  .features-grid-4{grid-template-columns:1fr 1fr;}
  .pricing-grid{grid-template-columns:1fr 1fr;}
  .values-grid{grid-template-columns:1fr 1fr;}
  .pillars{grid-template-columns:1fr 1fr;}
  .built-panel{min-height:220px;justify-content:center;align-items:center;}
  .built-quote{text-align:center;}
  .media-row .media{order:-1;}
  .cta-band-inner{flex-direction:column;align-items:flex-start;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px;}
}
@media (max-width: 560px){
  .hero h1{font-size:32px;}
  .page-hero h1,.about-hero h1,.contact-left h1{font-size:30px;}
  .section-title{font-size:26px;}
  .benefits-grid,.features-grid,.features-grid-4,.pricing-grid,.values-grid,.pillars{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}

/* ============================================================
   Nav brand text color
   ============================================================ */
.brand span { color: #04445c !important; }

/* ============================================================
   Index – "A more secure" section image
   ============================================================ */
.built-panel-img-wrap {
  border-radius: 16px;
  overflow: hidden;
box-shadow: 0 8px 32px rgba(4, 68, 92, 0.15);
  display: flex;
  align-items: stretch;
}
.built-feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* ============================================================
   About page – hero checklist card
   ============================================================ */
.about-hero-card {
  background: linear-gradient(135deg, #04445c 0%, #0d7377 100%);
  border-radius: 16px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(4,68,92,0.25);
}
.ahc-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.ahc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin: 0 0 12px;
}
.ahc-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.ahc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  font-weight: 500;
}
.ahc-done { background: rgba(16,185,129,0.15); color: rgba(255,255,255,0.95); }
.ahc-active { background: rgba(255,255,255,0.15); font-weight: 700; }
.ahc-pending { opacity: 0.55; }
.ahc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.ahc-active .ahc-icon, .ahc-pending .ahc-icon {
  background: transparent;
  border: 2px solid currentColor;
}
.ahc-ring { border: 2px solid rgba(255,255,255,0.5) !important; }
.ahc-active .ahc-ring { border-color: #fff !important; }
.ahc-progress-wrap { }
.ahc-prog-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.ahc-bar { background: rgba(255,255,255,0.2); border-radius: 99px; height: 6px; }
.ahc-fill { background: #10b981; border-radius: 99px; height: 6px; width: 75%; }

/* ============================================================
   About page – story quote card
   ============================================================ */
.about-story-card {
  background: linear-gradient(160deg, #04445c 0%, #062f41 100%);
  border-radius: 16px;
  padding: 36px 32px;
  color: #fff;
  box-shadow: 0 12px 40px rgba(4,68,92,0.22);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.asc-icon { color: rgba(255,255,255,0.7); }
.asc-quote {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  font-style: italic;
  color: #fff;
}
.asc-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.asc-pillars {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}
.asc-dot { color: rgba(255,255,255,0.3); }

/* ============================================================
   Hero image float animation
   ============================================================ */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-img-anim {
  animation: heroFadeIn 0.7s ease-out both, heroFloat 5s ease-in-out 0.7s infinite;
  will-change: transform;
}

/* ============================================================
   Contact page – hero band
   ============================================================ */
.contact-hero-band {
  background: linear-gradient(135deg, #04445c 0%, #062f41 60%, #0d7377 100%);
  padding: 60px 0 52px;
  color: #fff;
}
.chb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.chb-text { flex: 1; min-width: 280px; }
.chb-text h1 { font-size: 42px; font-weight: 800; margin: 12px 0 14px; color: #fff; line-height: 1.15; }
.chb-text p { font-size: 17px; color: rgba(255,255,255,0.75); margin: 0; max-width: 440px; line-height: 1.6; }
.chb-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px 32px;
  flex-shrink: 0;
}
.chb-stat { text-align: center; }
.chb-num { display: block; font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.chb-label { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 5px; white-space: nowrap; }
.chb-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.2); }

/* Contact trust strip */
.contact-trust-strip { background: #f0f6f9; padding: 22px 0; border-bottom: 1px solid #dce8ee; }
.cts-inner { display: flex; align-items: center; justify-content: space-around; gap: 16px; flex-wrap: wrap; }
.cts-item { display: flex; align-items: center; gap: 12px; }
.cts-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #fff; border: 1px solid #c8dde6;
  display: flex; align-items: center; justify-content: center;
  color: #04445c; flex-shrink: 0;
}
.cts-item strong { display: block; font-size: 14px; font-weight: 700; color: #04445c; }
.cts-item span { display: block; font-size: 12px; color: #6b7280; }

@media(max-width:768px){
  .chb-inner { flex-direction: column; }
  .chb-stats { width: 100%; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 20px; }
  .chb-text h1 { font-size: 30px; }
  .cts-inner { justify-content: flex-start; gap: 20px; }
}

/* ============================================================
   Hero notification cards — independent floating animation
   ============================================================ */
.hero-media-animated {
  overflow: visible;
}

.hero-dashboard-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  isolation: isolate;
}

.hero-dashboard-wrap > .hero-img-anim {
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 1;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 205px;
  padding: 14px 18px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 13px;
  box-shadow: 0 16px 38px rgba(4,68,92,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  will-change: transform;
}

.hero-float-card strong {
  display: block;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 750;
  white-space: nowrap;
}

.hero-float-card span {
  display: block;
  margin-top: 3px;
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
}

.hero-float-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 9px;
  display: grid;
  place-items: center;
}
.hero-float-icon svg { width: 22px; height: 22px; }
.hero-float-icon-success { background: #dffaf2; color: #14b8a6; }
.hero-float-icon-user { background: #e7f4f8; color: #0b7897; }

.hero-float-card-left {
  left: -7%;
  top: 20%;
  animation: heroCardLeft 4.2s ease-in-out infinite;
}

.hero-float-card-right {
  right: -8%;
  top: 54%;
  animation: heroCardRight 4.8s ease-in-out .35s infinite;
}

@keyframes heroCardLeft {
  0%, 100% { transform: translate3d(0,0,0) rotate(-.25deg); }
  50% { transform: translate3d(0,-12px,0) rotate(.35deg); }
}

@keyframes heroCardRight {
  0%, 100% { transform: translate3d(0,0,0) rotate(.2deg); }
  50% { transform: translate3d(0,-10px,0) rotate(-.35deg); }
}

/* Keep the dashboard movement more subtle so the cards feel independent. */
.hero-dashboard-wrap > .hero-img-anim {
  animation: heroFadeIn .7s ease-out both, heroDashboardDrift 7s ease-in-out .7s infinite;
}
@keyframes heroDashboardDrift {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 980px) {
  .hero-float-card { transform: scale(.9); }
  .hero-float-card-left { left: -2%; }
  .hero-float-card-right { right: -2%; }
}

@media (max-width: 720px) {
  .hero-media-animated { padding: 22px 12px 8px; }
  .hero-float-card {
    min-width: 170px;
    padding: 10px 12px;
    gap: 9px;
    border-radius: 11px;
  }
  .hero-float-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .hero-float-icon svg { width: 18px; height: 18px; }
  .hero-float-card strong { font-size: 12px; }
  .hero-float-card span { font-size: 10.5px; }
  .hero-float-card-left { left: -1%; top: 15%; }
  .hero-float-card-right { right: -1%; top: 58%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dashboard-wrap > .hero-img-anim,
  .hero-float-card-left,
  .hero-float-card-right {
    animation: none !important;
  }
}


/* ============================================================
   Features page — interactive demo showcase
   ============================================================ */
.demo-showcase{background:var(--bg-blue);}
.demo-showcase-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;}
.demo-showcase-copy h2{font-size:34px;font-weight:800;margin:0 0 16px;}
.demo-showcase-copy>p{font-size:16.5px;color:var(--muted);margin:0 0 22px;max-width:560px;}
.demo-checklist{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:11px;}
.demo-checklist li{display:flex;align-items:flex-start;gap:10px;font-size:15px;color:var(--text);}
.demo-checklist li span{width:23px;height:23px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e1f7ef;color:#0f8a62;font-weight:800;flex:0 0 23px;margin-top:1px;}
.demo-showcase-actions{display:flex;gap:12px;flex-wrap:wrap;}
.demo-preview-card{display:block;background:#fff;border:1px solid #d7e4ea;border-radius:18px;overflow:hidden;box-shadow:0 18px 46px rgba(4,68,92,.15);transition:transform .2s ease,box-shadow .2s ease;}
.demo-preview-card:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(4,68,92,.2);}
.demo-preview-topbar{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--line);}
.demo-preview-brand{display:flex;align-items:center;gap:9px;color:var(--navy);font-size:13px;font-weight:800;}
.demo-preview-brand img{width:25px;height:25px;object-fit:contain;}
.demo-preview-live{font-size:11px;font-weight:700;color:#047857;background:#ecfdf5;border:1px solid #a7f3d0;padding:4px 9px;border-radius:20px;}
.demo-preview-screen{display:grid;grid-template-columns:64px 1fr;min-height:300px;background:#f7fafb;}
.demo-preview-sidebar{background:#073d52;padding:26px 18px;display:flex;flex-direction:column;gap:18px;}
.demo-preview-sidebar span{display:block;width:27px;height:7px;border-radius:5px;background:rgba(255,255,255,.28);}
.demo-preview-sidebar span.active{background:#fff;}
.demo-preview-main{padding:30px;}
.demo-preview-title{height:18px;width:46%;background:#dce7ec;border-radius:6px;margin-bottom:24px;}
.demo-preview-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:22px;}
.demo-preview-stats span{height:68px;background:#fff;border:1px solid #e2e8ec;border-radius:10px;box-shadow:var(--shadow-sm);}
.demo-preview-table{background:#fff;border:1px solid #e2e8ec;border-radius:10px;padding:14px 16px;display:grid;gap:12px;}
.demo-preview-table i{display:block;height:11px;border-radius:5px;background:#e8eef1;}
.demo-preview-table i:nth-child(1){width:94%;}.demo-preview-table i:nth-child(2){width:80%;}.demo-preview-table i:nth-child(3){width:88%;}.demo-preview-table i:nth-child(4){width:70%;}
.demo-preview-footer{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 18px;font-size:14px;font-weight:700;color:var(--navy);background:#fff;border-top:1px solid var(--line);}
.demo-preview-footer span{font-size:18px;transition:transform .15s ease;}
.demo-preview-card:hover .demo-preview-footer span{transform:translateX(3px);}
.cta-band-actions{display:flex;gap:12px;flex-wrap:wrap;}
@media(max-width:900px){.demo-showcase-grid{grid-template-columns:1fr;}.demo-preview-card{max-width:640px;}.demo-preview-screen{min-height:260px;}}
@media(max-width:560px){.demo-showcase-copy h2{font-size:28px;}.demo-preview-screen{grid-template-columns:48px 1fr;min-height:220px;}.demo-preview-sidebar{padding:22px 11px;}.demo-preview-sidebar span{width:24px;}.demo-preview-main{padding:20px 16px;}.demo-preview-stats{gap:8px;}.demo-preview-stats span{height:54px;}.demo-showcase-actions .btn,.cta-band-actions .btn{width:100%;}.cta-band-actions{width:100%;}}

.resource-hero{padding:150px 0 70px;background:linear-gradient(180deg,#f5fbfd 0%,#fff 100%)}.resource-wrap{max-width:900px;margin:0 auto}.resource-kicker{font-weight:700;color:#087a96;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem}.resource-hero h1{font-size:clamp(2.4rem,5vw,4.2rem);line-height:1.05;margin:14px 0 20px}.resource-lede{font-size:1.18rem;line-height:1.7;color:#50616b}.resource-body{padding:60px 0 90px}.resource-body h2{margin:42px 0 14px;font-size:1.65rem}.resource-body p,.resource-body li{font-size:1.04rem;line-height:1.8;color:#40525d}.resource-body ul{padding-left:24px}.resource-cta{margin-top:55px;padding:34px;border-radius:22px;background:#eef8fa}.resource-cta h2{margin-top:0}.resource-index{padding:130px 0 90px}.resource-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;margin-top:35px}.resource-card{padding:28px;border:1px solid #dbe8ec;border-radius:18px;text-decoration:none;color:inherit;background:#fff;box-shadow:0 8px 30px rgba(5,69,93,.06)}.resource-card h2{font-size:1.25rem;margin:0 0 10px}.resource-card p{color:#5b6b73;line-height:1.6}.updated{font-size:.88rem;color:#6b7b82;margin-top:18px}

/* ============================================================
   Image layout hardening — keeps marketing artwork responsive
   and prevents intrinsic image dimensions from distorting cards.
   ============================================================ */
.brand img,
.footer-logo img,
.hiw-logo-text img,
.demo-preview-brand img {
  flex: 0 0 auto;
  object-fit: contain;
}
.brand img { width: 32px; height: 32px; }
.footer-logo img { width: 30px; height: 30px; }
.hiw-logo-text img { width: 20px; height: 20px; }
.demo-preview-brand img { width: 25px; height: 25px; }
.ahc-topbar img { width: auto !important; height: 20px !important; max-width: 26px; object-fit: contain; }
.hero-media img,
.media-row .media img,
.about-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.hero-dashboard-wrap > img { width: 100%; height: auto; object-fit: contain; }
.obs-popup-avatar img, .taylor-photo { object-fit: cover; }
@media (max-width: 720px) {
  .hero-media img, .media-row .media img, .about-image img { height: auto; }
}
