:root{
  --bg:#f7f8fa;
  --card:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --brand:#0b5a6b;
  --brand2:#0e7490;
  --line:#e2e8f0;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 16px;
  --max: 1060px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* ================= HEADER ================= */

.header{
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(14,116,144,0.20), transparent 60%),
    radial-gradient(1200px 500px at 80% 0%, rgba(11,90,107,0.22), transparent 60%),
    linear-gradient(180deg, #062f3a 0%, #073643 55%, #083a48 100%);
  color:#fff;
  padding: 44px 0 18px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-bottom:22px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:0.2px;
}

.brand-link{
  display:flex;
  align-items:center;
}

/* ===== LOGO sizing (single source of truth) =====
   Tuned for square logo on mobile + wider logo on desktop
*/
img.logo{
  display:block;
  height:104px;       /* tablet / default */
  width:auto;
  max-width:100%;
  object-fit:contain;
}

/* Desktop (wide logo – slightly larger) */
@media (min-width: 1024px){
  img.logo{ height:166px; }
}

/* Mobile (square logo – more visual weight) */
@media (max-width: 768px){
  img.logo{ height:116px; }
}

/* Small phones */
@media (max-width: 480px){
  img.logo{ height:118px; }
}

/* ================= NAV ================= */

.navlinks{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}

.navlinks a{
  text-decoration:none;
  color: rgba(255,255,255,0.92);
  padding:8px 10px;
  border-radius: 10px;
}
.navlinks a:hover{background: rgba(255,255,255,0.10)}

/* ================= HERO ================= */

.hero{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:22px;
  align-items:stretch;
  padding: 8px 0 34px;
}

.hero h1{
  margin:0;
  font-size: clamp(32px, 4vw, 46px);
  line-height:1.08;
  letter-spacing:-0.6px;
}

.hero p{
  margin: 12px 0 0;
  color: rgba(255,255,255,0.88);
  font-size:17px;
  max-width:58ch;
}

/* CTA buttons (this is what "broke") */
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top:16px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,0.22);
  font-weight:700;
  letter-spacing:0.1px;
  line-height:1;
  white-space:nowrap;
  user-select:none;
  transition: transform .08s ease, filter .08s ease, background .08s ease, border-color .08s ease;
}

.btn:hover{transform: translateY(-1px); filter: brightness(1.02)}
.btn:active{transform: translateY(0)}

.btn-primary{
  background: linear-gradient(180deg, var(--brand2), var(--brand));
  border-color: rgba(255,255,255,0.18);
  color:#fff;
  box-shadow:0 16px 36px rgba(0,0,0,0.25);
}

.btn-secondary{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  color:#fff;
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
}

.hero-card{
  background: rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 18px 40px rgba(0,0,0,0.22);
}

.hero-card h3{
  margin:0 0 10px;
  font-size:18px;
}

.hero-card ul{
  margin:0;
  padding-left: 18px;
  color: rgba(255,255,255,0.90);
}

.label{
  font-weight:800;
  color: rgba(255,255,255,0.95);
  margin-bottom:10px;
}

.trust-row{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:14px;
}

.trust{
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding:12px 12px;
  color: rgba(255,255,255,0.92);
  font-weight:600;
}

/* ================= MAIN ================= */

.main{padding:28px 0 44px}

.section{padding: 22px 0}
.section h2{margin:0 0 10px; font-size:28px; letter-spacing:-0.2px}

.lead{margin:0 0 14px; color:var(--muted); max-width: 70ch}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}

.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted)}

.pills{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.pill{
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: #f1f5f9;
  color:#0f172a;
  font-weight:600;
}

.steps{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.stepnum{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: rgba(14,116,144,0.10);
  border:1px solid rgba(14,116,144,0.22);
  font-weight:800;
  color: var(--brand);
  margin-bottom:10px;
}

.split{display:grid; grid-template-columns: 1.1fr 0.9fr; gap:14px; align-items:start}
.note{
  border:1px dashed rgba(15,23,42,0.18);
  border-radius: var(--radius);
  padding:16px;
  background: rgba(255,255,255,0.7);
}

.kicker{margin:0 0 6px; font-weight:800}
.small{font-size:14px; color:var(--muted)}

/* FAQ */
.faq details{
  border:1px solid var(--line);
  border-radius: 14px;
  padding:12px 14px;
  background: var(--card);
  box-shadow: 0 8px 20px rgba(2,6,23,0.05);
  margin:10px 0;
}

.faq summary{cursor:pointer; font-weight:800}
.faq p{margin:10px 0 0; color:var(--muted)}

/* Make content links readable now that global underline is off */
.main a:not(.btn){
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.main a:not(.btn):hover{opacity:0.9}

/* ================= FOOTER ================= */

.footer{
  padding:26px 0 42px;
  border-top:1px solid var(--line);
  color:var(--muted);
}

.footergrid{display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap:14px}
.footer .kicker{color:#0f172a}
.footer a{ text-decoration: underline; text-underline-offset: 3px }

/* ================= RESPONSIVE ================= */

@media (max-width: 920px){
  .hero{grid-template-columns: 1fr}
  .trust-row{grid-template-columns: 1fr}
  .grid{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .footergrid{grid-template-columns: 1fr}
}
