:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #334155;
  --border: #dbe3ee;
  --card: #ffffff;
  --cardAlt: #f8fafc;

  --accent: #0b8f90;
  --accentDark: #086b6c;

  --shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
  --radius: 14px;
  --max: 1160px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

body.modal-open{
  overflow: hidden;
}

img{ max-width: 100%; height: auto; }

/* Default content links: underlined so they are not identified by colour alone */
a{
  color: var(--accentDark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
a:hover{
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible{
  outline: 3px solid rgba(11, 143, 144, 0.35);
  outline-offset: 3px;
}

.container{
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus{ left: 12px; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  text-decoration: none;
}
.brand-logo{
  display:block;
  width: 180px;
  height: auto;
}

/* Nav */
.site-nav{
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link{
  display: inline-flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.nav-link:hover{
  background: rgba(11,143,144,0.08);
  text-decoration: none;
}
.nav-link.active{
  background: rgba(11,143,144,0.12);
  color: var(--accentDark);
}
.nav-cta{
  background: var(--accent);
  color: #fff;
}
.nav-cta:hover{
  background: var(--accentDark);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle{
  display:none;
}
.nav-toggle-btn{
  display:none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle-btn span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero{
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(11,143,144,0.10), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(11,143,144,0.08), transparent 55%),
    #fff;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 22px;
  padding: 46px 0;
}
.hero h1{
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.lead{
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 16px;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  text-decoration:none !important;
  white-space: nowrap;
  cursor: pointer;
}
.btn.primary{
  background: var(--accent);
  color:#fff;
}
.btn.primary:hover{ background: var(--accentDark); }

.btn.ghost{
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn.ghost:hover{ background: var(--cardAlt); }

.btn.full{ width: 100%; }

.trust-row{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.trust-pill{
  background: rgba(11,143,144,0.10);
  border: 1px solid rgba(11,143,144,0.24);
  color: var(--accentDark);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

.fineprint{
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

.hero-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.hero-card h2{
  font-size: 16px;
  margin: 0 0 10px;
}
.card-divider{
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.section{
  padding: 44px 0;
}
.section-alt{
  background: var(--cardAlt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-header h2{
  margin: 0 0 8px;
  font-size: 22px;
}
.muted{ color: var(--muted); }
.small{ font-size: 13px; }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
}
.card h3, .card h2{
  margin: 0 0 8px;
  font-size: 16px;
}
.card p{
  margin: 0 0 8px;
  color: var(--muted);
}

.checklist, .bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.checklist li, .bullets li{ margin: 6px 0; }

.steps{
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.steps li{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
}
.steps h3{ margin: 0 0 8px; font-size: 15px; }
.steps p{
  margin: 0;
  color: var(--muted);
}

.cta-band{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
}
.cta-band-tight{ margin-top: 22px; }
.cta-band h2{ margin: 0 0 6px; font-size: 18px; }

/* Sample reports */
.report-cards{
  align-items: stretch;
}
.report-card{
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.report-card-top{
  flex: 1 1 auto;
}
.report-badge{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,143,144,0.10);
  border: 1px solid rgba(11,143,144,0.22);
  color: var(--accentDark);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.report-meta{
  padding-top: 4px;
  margin-bottom: 10px;
}
.report-card .btn{
  margin-top: auto;
}
.report-fineprint{
  margin-top: 16px;
}

/* Modal */
.modal[hidden]{
  display: none;
}
.modal{
  position: fixed;
  inset: 0;
  z-index: 100;
}
.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}
.modal-panel{
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: 72px auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.18);
  padding: 24px;
}
.modal-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover{
  background: var(--cardAlt);
}
.modal-head{
  padding-right: 44px;
}
.modal-eyebrow{
  margin: 0 0 8px;
  color: var(--accentDark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.modal-head h2{
  margin: 0 0 8px;
  font-size: 24px;
}
.modal-head p{
  margin: 0;
}
.modal-form{
  margin-top: 18px;
}
.form-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.form-field label{
  font-size: 14px;
  font-weight: 700;
}
.form-field input{
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.form-field input::placeholder{
  color: #64748b;
}
.modal-privacy{
  margin: 0 0 12px;
}
.form-status{
  min-height: 22px;
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
}
.form-status.error{
  color: #b91c1c;
}
.form-status.success{
  color: #166534;
}
.modal-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* Page heroes */
.page-hero{
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1000px 420px at 30% -10%, rgba(11,143,144,0.08), transparent 60%),
    #fff;
  padding: 34px 0;
}
.page-hero h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 2.4vw, 36px);
}
.page-hero .lead{ margin-bottom: 0; }

/* Content layout */
.content-grid{
  display:grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.prose h2{ margin: 0 0 10px; font-size: 20px; }
.prose h3{ margin: 16px 0 8px; font-size: 16px; }
.prose p{
  margin: 0 0 12px;
  color: var(--muted);
}

.side-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.side-card h2{ margin: 0 0 10px; font-size: 16px; }

.callout{
  border-left: 4px solid var(--accent);
  background: rgba(11,143,144,0.07);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
}
.callout h3{ margin: 0 0 6px; }
.callout p{
  margin: 0;
  color: var(--text);
}

.kv{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 12px;
  margin-top: 10px;
}
.k{
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
}
.v{
  font-size: 13px;
  color: var(--muted);
}
.footer-note{
  color: #cbd5e1;
  font-size: 12px;
  margin-left: 6px;
}

.contact-link{
  font-size: 18px;
  font-weight: 800;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: #0b1220;
  color: rgba(255,255,255,0.92);
}
.site-footer a{
  color: #bae6fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer a:hover{
  color: #e0f2fe;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 28px 0;
}
.footer-title{
  font-weight: 900;
  margin-bottom: 10px;
  color: #fff;
}
.footer-text{ margin: 8px 0; }
.footer-links{
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 14px 0;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .content-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .cards{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav-toggle-btn{ display:flex; }
  .site-nav{
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 18px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .nav-link{ justify-content: flex-start; }
  .nav-toggle:checked ~ .site-nav{ display:flex; }
  .cta-band{ flex-direction: column; align-items: flex-start; }
  .steps{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }

  .modal-panel{
    width: min(560px, calc(100% - 20px));
    margin: 44px auto;
    padding: 20px;
    border-radius: 18px;
  }
  .modal-actions{
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .modal-actions .btn{
    width: 100%;
  }
}