/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/open-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/open-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext italic */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/open-sans-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin italic */
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/open-sans-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --magenta:      #AB2E4C;
  --magenta-dark: #8a2540;
  --magenta-light:#f5e0e6;
  --green:        #0A6A44;
  --green-dark:   #085535;
  --green-light:  #e0f0ea;
  --dark:         #212529;
  --bg:           #F6F6F6;
  --bg-white:     #ffffff;
  --text:         #1a1a1a;
  --text-muted:   #666;
  --border:       #e2e2e2;
  --radius:       10px;
  --radius-lg:    16px;

  --font-size-xxl:     3rem;
  --font-size-xl:      2rem;
  --font-size-l:       1.75rem;
  --font-size-ml:      1.5rem;
  --font-size-m:       1.25rem;
  --font-size-default: 1rem;
  --font-size-s:       .875rem;
  --font-size-xs:      .75rem;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: var(--font-size-default);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 999;
  background: var(--magenta); color: #fff;
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-size: var(--font-size-s); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ── FOCUS ── */
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 3px; }

/* ── NAV ── */
.main-nav {
  background: var(--bg-white); border-bottom: 1px solid var(--border);
  padding: 0 2rem; display: flex; align-items: center;
  justify-content: space-between; height: 64px;
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { color: var(--text); font-size: var(--font-size-default); font-weight: 500; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.nav-logo-icon { height: 50px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-link { color: var(--text-muted); font-size: var(--font-size-s); text-decoration: underline; }
.nav-link:hover, .nav-link:focus-visible { color: var(--text); }

/* ── HERO ── */
.hero {
  background-color: #AB2E4C;
  color: #fff;
  padding: 4.5rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(171,46,76,0.55) 0%, rgba(171,46,76,0.75) 100%);
  z-index: 0; pointer-events: none;
}
.hero-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 2.5rem; position: relative; z-index: 1;
}
.badge { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; font-size: var(--font-size-xs); padding: 4px 14px; border-radius: 20px; letter-spacing: 0.03em; margin-bottom: 1rem; }
.hero-text h1 { font-size: var(--font-size-xxl); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero-text p { font-size: var(--font-size-default); color: #fff; font-weight: 500; line-height: 1.65; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; max-width: 920px; }
.hero-perks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.hero-perks li { font-size: var(--font-size-s); color: rgba(255,255,255,0.92); display: flex; align-items: center; gap: 8px; }
.hero-perks li::before {
  content: ''; display: block; width: 16px; height: 16px; min-width: 16px;
  background: rgba(255,255,255,0.2); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 8 6.5 11.5 13 5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.hero-form-card { background: #fff; border-radius: var(--radius-lg); padding: 2rem; color: var(--text); width: 100%; max-width: 620px; text-align: left; }
.hero-form-card h2 { font-size: var(--font-size-m); font-weight: 500; margin-bottom: 0.3rem; }
.hero-form-card .form-sub { font-size: var(--font-size-s); color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.form-privacy { font-size: var(--font-size-xs); color: var(--text-muted); margin-top: 0.85rem; text-align: center; line-height: 1.45; }

/* ── MAUTIC FORM OVERRIDES ── */
.hero-form-card .mauticform-page-wrapper { display: flex !important; flex-direction: column; gap: 0.65rem; }
.hero-form-card .mauticform-row { width: 100%; }
.hero-form-card .mauticform-label { font-size: var(--font-size-xs); font-weight: 400; color: #696969; margin-bottom: 3px; display: block; }
.hero-form-card .mauticform-label .mauticform-required { color: var(--magenta); }
.hero-form-card .mauticform-input,
.hero-form-card input[type="text"],
.hero-form-card input[type="email"],
.hero-form-card input[type="url"] {
  width: 100%; background: #f5f5f5; border: 1px solid #e2e2e2;
  border-radius: var(--radius); padding: 12px 14px; font-size: var(--font-size-default);
  color: var(--text); font-family: inherit;
  transition: border-color .15s, background .15s; outline: none;
}
.hero-form-card .mauticform-input::placeholder,
.hero-form-card input[type="text"]::placeholder,
.hero-form-card input[type="email"]::placeholder,
.hero-form-card input[type="url"]::placeholder { color: #999; }
.hero-form-card .mauticform-input:focus,
.hero-form-card input[type="text"]:focus,
.hero-form-card input[type="email"]:focus,
.hero-form-card input[type="url"]:focus { border-color: var(--magenta); background: #fff; outline: none; }
.hero-form-card .mauticform-checkboxgrp-row,
.hero-form-card .mauticform-field-checkboxgrp { display: flex; align-items: flex-start; gap: 10px; font-size: var(--font-size-xs); color: var(--text-muted); line-height: 1.5; }
.hero-form-card input[type="checkbox"] { margin-top: 3px; accent-color: var(--green); flex-shrink: 0; width: 15px; height: 15px; }
.hero-form-card .mauticform-checkboxgrp-row label,
.hero-form-card .mauticform-field-checkboxgrp label { font-size: var(--font-size-xs); color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.hero-form-card .mauticform-button-wrapper { width: 100%; margin-top: 0.25rem; }
.hero-form-card .mauticform-button,
.hero-form-card button[type="submit"] {
  width: 100%; background: var(--green); color: #fff; border: none;
  border-radius: var(--radius); padding: 14px 20px; font-size: var(--font-size-default);
  font-weight: 500; font-family: inherit; cursor: pointer; transition: background .15s;
}
.hero-form-card .mauticform-button:hover,
.hero-form-card button[type="submit"]:hover { background: var(--green-dark); }
.hero-form-card .mauticform-errormsg { font-size: var(--font-size-xs); color: var(--magenta); margin-top: 3px; }
.hero-form-card .mauticform-required { color: var(--magenta); }
.hero-form-card iframe { max-width: 100%; width: 100% !important; }

/* ── PROBLEM ── */
.problem-section { background: var(--bg-white); border-bottom: 1px solid var(--border); }
.problem-inner { max-width: 840px; margin: 0 auto; padding: 4rem 2rem; }
.section-label { display: block; font-size: var(--font-size-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta); font-weight: 600; margin-bottom: 0.5rem; }
.problem-inner h2 { font-size: var(--font-size-l); font-weight: 500; margin-bottom: 1rem; line-height: 1.3; }
.problem-inner p { color: var(--text-muted); margin-bottom: 1rem; }
.callout { background: var(--green-light); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: var(--font-size-s); color: #0a3d28; }
.callout strong { color: var(--green-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.trust-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.trust-card-figure { font-size: 2.75rem; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 0.5rem; }
.trust-card h3 { font-size: var(--font-size-s); font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.trust-card p { font-size: var(--font-size-s); color: var(--text-muted); margin: 0; line-height: 1.6; }
.trust-agency-note { background: var(--green-light); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: var(--font-size-s); color: #0a3d28; }
.trust-agency-note strong { color: var(--green-dark); }

/* ── WHAT WE CHECK ── */
.checks-section { background: var(--green); }
.checks-inner { max-width: 900px; margin: 0 auto; padding: 5rem 2rem; }
.section-label-light { display: block; font-size: var(--font-size-xs); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); font-weight: 500; margin-bottom: 0.5rem; }
.checks-inner h2 { font-size: var(--font-size-xl); font-weight: 500; color: #fff; margin-bottom: 0.75rem; line-height: 1.25; }
.checks-inner > p { color: rgba(255,255,255,0.92); font-size: var(--font-size-default); max-width: 560px; margin-bottom: 3rem; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.check-item { background: var(--bg-white); border: 1px solid rgba(10,106,68,0.15); border-radius: var(--radius-lg); padding: 1.75rem; }
.check-icon { width: 44px; height: 44px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.check-icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.check-item h3 { font-size: var(--font-size-s); font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.check-item p { font-size: var(--font-size-s); color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── HOW IT WORKS ── */
.how-section { background: var(--bg); }
.how-inner { max-width: 1100px; margin: 0 auto; padding: 5rem 2rem; }
.how-inner h2 { font-size: var(--font-size-xl); font-weight: 500; margin-bottom: 0.75rem; }
.how-inner > p { color: var(--text-muted); margin-bottom: 3rem; }
.how-steps { display: flex; flex-direction: column; list-style: none; }
.how-step { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem 1.75rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.how-anim-ready .how-step { opacity: 0; transform: translateX(-80px); transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease; }
.how-anim-ready .how-step.step-visible { opacity: 1; transform: translateX(0); }
.how-step:nth-child(1) { margin-left: 0; }
.how-step:nth-child(3) { margin-left: 4rem; }
.how-step:nth-child(5) { margin-left: 8rem; }
.how-step:nth-child(7) { margin-left: 12rem; }
.how-connector { width: 2px; height: 1.25rem; background: var(--border); }
.how-connector:nth-child(2) { margin-left: calc(5.75rem + 18px); }
.how-connector:nth-child(4) { margin-left: calc(8rem + 1.75rem + 18px); }
.how-connector:nth-child(6) { margin-left: calc(12rem + 1.75rem + 18px); }
.step-num { min-width: 36px; height: 36px; background: var(--magenta); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-s); font-weight: 500; flex-shrink: 0; margin-top: 2px; }
.how-step h3 { font-size: var(--font-size-default); font-weight: 500; margin-bottom: 0.25rem; }
.how-step p { font-size: var(--font-size-s); color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ── WHY SAFESERVER ── */
.why-section { background: var(--bg-white); border-top: 1px solid var(--border); }
.why-inner { max-width: 900px; margin: 0 auto; padding: 5rem 2rem; }
.why-inner h2 { font-size: var(--font-size-xl); font-weight: 500; color: var(--text); margin-bottom: 0.75rem; }
.why-inner > p { color: var(--text-muted); margin-bottom: 3rem; font-size: var(--font-size-default); }
.why-grid { display: flex; flex-direction: column; gap: 0; }
.why-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.why-card:last-child { border-bottom: none; }
.why-card-icon { min-width: 44px; height: 44px; background: var(--magenta-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.why-card-icon svg { width: 20px; height: 20px; stroke: var(--magenta); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-card-body h3 { font-size: var(--font-size-s); font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.why-card-body p { font-size: var(--font-size-s); color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── CMS ── */
.cms-section { background: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cms-inner { max-width: 1800px; margin: 0 auto; padding: 4rem 2rem; text-align: center; }
.cms-inner-text { max-width: 700px; margin: 0 auto 2.5rem; }
.cms-inner h2 { font-size: var(--font-size-l); font-weight: 500; margin-bottom: 0.75rem; }
.cms-inner > p { color: var(--text-muted); font-size: var(--font-size-s); margin-bottom: 2.5rem; }
.cms-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 5rem; }
.cms-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; }
.cms-item svg, .cms-item img { height: 80px; object-fit: contain; }
.cms-item span { font-size: var(--font-size-xs); font-weight: 500; color: var(--text-muted); text-align: center; }
.cms-item-any { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 80px; color: var(--text-muted); font-size: var(--font-size-xs); text-align: center; line-height: 1.4; }
.cms-item-any-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: var(--font-size-m); color: var(--border); }
.cms-note { font-size: var(--font-size-xs); color: var(--text-muted); margin-top: 1.75rem; }

/* ── FAQ ── */
.faq-section { background: var(--bg); border-top: 1px solid var(--border); }
.faq-inner { max-width: 850px; margin: 0 auto; padding: 5rem 2rem; }
.faq-inner h2 { font-size: var(--font-size-xl); font-weight: 500; margin-bottom: 2.5rem; text-align: center; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 0.75rem; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 1.25rem 1.5rem; font-size: var(--font-size-s); font-weight: 500; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q:hover { color: var(--magenta); }
.faq-icon { min-width: 28px; height: 28px; background: var(--text); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; flex-shrink: 0; }
.faq-item.open .faq-icon { background: var(--magenta); }
.faq-icon svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body-inner { overflow: hidden; padding: 0 1.5rem; }
.faq-a { display: block; font-size: var(--font-size-s); color: var(--text-muted); line-height: 1.7; padding-bottom: 1.25rem; border-top: 1px solid var(--border); padding-top: 1rem; }

/* ── CTA BAND ── */
.cta-band { background: var(--magenta); padding: 4rem 2rem; text-align: center; }
.cta-band h2 { font-size: var(--font-size-xl); font-weight: 500; color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.92); margin-bottom: 2rem; font-size: var(--font-size-default); }
.cta-btn { display: inline-block; background: var(--green); color: #fff; font-size: var(--font-size-s); font-weight: 500; padding: 13px 32px; border-radius: var(--radius); text-decoration: none; transition: background .15s; }
.cta-btn:hover { background: var(--green-dark); }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.5); font-size: var(--font-size-xs); padding: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
footer a { color: #fff; text-decoration: underline; }
footer a:hover { color: var(--magenta-light); }
.footer-links { display: flex; gap: 1.5rem; }

/* ── HERO SVG BACKGROUND ANIMATIONS ── */
.node-pulse   { animation: pulse 3s ease-in-out infinite; }
.node-pulse-2 { animation: pulse 3s ease-in-out infinite 1s; }
.node-pulse-3 { animation: pulse 3s ease-in-out infinite 2s; }
@keyframes pulse { 0%,100%{opacity:0.4} 50%{opacity:0.75} }
.line-flow-1  { animation: linefade 4s ease-in-out infinite; }
.line-flow-2  { animation: linefade 4s ease-in-out infinite 1.3s; }
.line-flow-3  { animation: linefade 4s ease-in-out infinite 2.6s; }
@keyframes linefade { 0%,100%{opacity:0.25} 50%{opacity:0.9} }
.grid-drift   { animation: drift 8s ease-in-out infinite alternate; }
@keyframes drift { 0%{transform:translate(0,0)} 100%{transform:translate(6px,4px)} }
.net-float    { animation: float 6s ease-in-out infinite alternate; }
@keyframes float { 0%{transform:translate(0,0)} 100%{transform:translate(-5px,3px)} }
.halo-pulse-1 { animation: halopulse 4s ease-in-out infinite; }
.halo-pulse-2 { animation: halopulse 4s ease-in-out infinite 1.3s; }
.halo-pulse-3 { animation: halopulse 4s ease-in-out infinite 2.6s; }
@keyframes halopulse { 0%,100%{opacity:0.05} 50%{opacity:0.18} }

@media (max-width: 700px) {
  .main-nav { padding: 0 1.25rem; }
  .hero { padding: 3rem 1.25rem 3.5rem; }
  .problem-inner, .checks-inner, .how-inner, .why-inner, .faq-inner { padding: 3rem 1.25rem; }
  .how-step:nth-child(n) { margin-left: 0 !important; }
  .how-connector { margin-left: calc(1.75rem + 18px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-body, .faq-icon, .cta-btn { transition: none; }
  .how-anim-ready .how-step { opacity: 1; transform: none; transition: none; }
}
