
:root{
  --bg:#0b1220;
  --surface:#0f1a2d;
  --card:rgba(255,255,255,.92);
  --text:#0c1220;
  --muted:#5b677a;
  --ink:#0a1020;
  --white:#ffffff;
  --line:rgba(10,16,32,.12);
  --brand:#1b5cff;
  --brandSoft:rgba(27,92,255,.12);
  --shadow:0 18px 50px rgba(0,0,0,.22);
  --shadow2:0 14px 36px rgba(10,16,32,.14);
  --radius:18px;
  --radius2:14px;
  --max:1160px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--ink);
  background:#f6f8fc;
  line-height:1.5;
}
a{color:inherit}
.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto;}
/* Header */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  padding:14px 0;
  background:rgba(11,18,32,.10);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.site-header.solid{
  background:rgba(11,18,32,.86);
  border-bottom:1px solid rgba(255,255,255,.14);
}
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px; text-decoration:none;
}
.logo-mark{
  width:44px; height:44px; flex:0 0 auto;
  border-radius:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.brand-text{
  display:flex; flex-direction:column; line-height:1.05;
}
.brand-name{
  font-family: Fraunces, ui-serif, Georgia, serif;
  font-weight:650;
  letter-spacing:.2px;
  font-size:21px;
  color:#fff;
}
.brand-tag{
  font-size:12px;
  color:rgba(255,255,255,.78);
}
.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  color:rgba(255,255,255,.86);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  transition:background .2s ease, color .2s ease;
}
.nav a:hover{background:rgba(255,255,255,.10); color:#fff;}
.header-cta{
  display:flex; align-items:center; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
  border:1px solid transparent;
  transition:transform .06s ease, box-shadow .2s ease, background .2s ease;
  user-select:none;
}
.btn:active{transform:translateY(1px)}
.btn.primary{
  background:#fff; color:#0b1220;
  border-color:rgba(255,255,255,.18);
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}
.btn.primary:hover{box-shadow:0 16px 34px rgba(0,0,0,.22)}
.btn.outline{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.42);
}
.btn.outline:hover{background:rgba(255,255,255,.10)}
.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  color:#fff;
}
/* Mobile nav */
.mobile-drawer{
  display:none;
  position:fixed; inset:0;
  background:rgba(11,18,32,.72);
  z-index:60;
}
.drawer-panel{
  position:absolute; right:14px; top:14px;
  width:min(380px, calc(100% - 28px));
  background:rgba(11,18,32,.94);
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:16px;
  box-shadow:0 24px 80px rgba(0,0,0,.35);
}
.drawer-panel .nav{
  flex-direction:column; align-items:stretch; gap:8px;
}
.drawer-panel .nav a{
  padding:12px 12px;
  background:rgba(255,255,255,.06);
}
.drawer-panel .nav a:hover{background:rgba(255,255,255,.10)}
.drawer-actions{display:flex; gap:10px; margin-top:12px;}
/* Hero */
.hero{
  position:relative;
  min-height:78vh;
  overflow:hidden;
  background:#0b1220;
}
.hero .hero-slider{position:absolute; inset:0;}
.hero .slide{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center 25%;
  opacity:0;
  /* Keep images crisp: avoid transform scaling which can look blurry on some displays */
  transform:none;
  transition:opacity 700ms ease;
  will-change:opacity;
}
.hero .slide.active{opacity:1;}

/* CSS-only autoplay fallback (in case JS is blocked by the environment).
   When JS runs, it adds the .js class to .hero-slider and this animation is disabled. */
.hero .hero-slider:not(.js) .slide{
  transition:none;
  animation: heroFade 19.5s infinite;
}
.hero .hero-slider:not(.js) .slide:nth-child(1){opacity:1;}
.hero .hero-slider:not(.js) .slide:nth-child(1){animation-delay:0s;}
.hero .hero-slider:not(.js) .slide:nth-child(2){animation-delay:6.5s;}
.hero .hero-slider:not(.js) .slide:nth-child(3){animation-delay:13s;}

@keyframes heroFade{
  0%{opacity:1}
  30%{opacity:1}
  36%{opacity:0}
  100%{opacity:0}
}
.hero .hero-overlay{
  position:absolute; inset:0;
  /* No dark overlay on hero images (requested) */
  background:transparent;
}
.hero .hero-dots{
  position:absolute;
  left:clamp(16px, 6vw, 64px);
  bottom:22px;
  display:flex; gap:10px;
}
.hero .dot{
  width:10px; height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.55);
  cursor:pointer;
}
.hero .dot.active{background:rgba(255,255,255,.95)}

/* Hero intro (text below hero to keep images clean) */
.hero-intro{padding-top:28px}
.hero-intro-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.hero-intro-cards{display:grid; gap:12px}
.mini-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(10,16,32,.10);
  border-radius:16px;
  padding:14px;
  box-shadow:none;
}
@media (max-width: 900px){
  .hero-intro-grid{grid-template-columns:1fr}
}

.hero-card{
  position:relative;
  max-width:600px;
  left:clamp(16px, 6vw, 64px);
  top:clamp(110px, 16vh, 190px);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  border-radius:22px;
  padding:24px 24px 20px;
  box-shadow:var(--shadow);
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(27,92,255,.10);
  border:1px solid rgba(27,92,255,.18);
  color:#0b2a7a;
  font-weight:700;
  font-size:12px;
}
.hero-card h1{
  margin:12px 0 10px;
  font-family: Fraunces, ui-serif, Georgia, serif;
  font-size:clamp(30px, 3.6vw, 48px);
  line-height:1.03;
  letter-spacing:-.2px;
  color:var(--text);
}
.hero-card p{margin:0 0 16px; color:#24324a; font-size:16px;}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap}
.btn.dark{
  background:#0b1220;
  color:#fff;
  border-color:#0b1220;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}
.btn.dark:hover{box-shadow:0 18px 38px rgba(0,0,0,.22)}
.btn.ghost{
  background:transparent;
  color:#0b1220;
  border-color:rgba(10,16,32,.18);
}
.btn.ghost:hover{background:rgba(10,16,32,.06)}
/* Sections */
.section{padding:64px 0}
.section.tight{padding:44px 0}
.section h2{
  margin:0 0 14px;
  font-family: Fraunces, ui-serif, Georgia, serif;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.2px;
}
.section p.lead{margin:0 0 26px; color:#334155; max-width:72ch}
.grid{display:grid; gap:16px}
.grid.cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}
.grid.cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}
.card{
  background:#fff;
  border:1px solid rgba(10,16,32,.10);
  border-radius:20px;
  padding:18px;
  box-shadow:var(--shadow2);
}
.card .icon{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:var(--brandSoft);
  border:1px solid rgba(27,92,255,.16);
}
.card h3{margin:12px 0 6px; font-size:16px}
.card p{margin:0; color:#475569; font-size:14px}
.badge{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.20);
  color:#0f5132;
  font-weight:800;
  font-size:12px;
}
/* Forms */
.form{display:grid; gap:12px;}
.form-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(10,16,32,.14);
  background:#fff;
  font:inherit;
}
textarea{min-height:120px; resize:vertical}
.helper{font-size:12px; color:#64748b}
.consent-row{
  display:flex; gap:12px;
  align-items:flex-start;
  margin:14px 0;
}
.consent-row input{
  margin-top:4px;
  width:18px; height:18px;
  flex:0 0 auto;
}
.consent-row label{line-height:1.35; color:#0f172a}
.consent-row a{
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
  color:var(--brand);
}
/* Footer */
.footer{
  background:#0b1220;
  color:#fff;
  padding:46px 0;
  margin-top:40px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:18px;
}
.footer h4{margin:0 0 10px; font-size:14px; opacity:.92}
.footer a{color:rgba(255,255,255,.86); text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer small{color:rgba(255,255,255,.70)}
.footer .legal a{
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.divider{height:1px;background:rgba(255,255,255,.12);margin:18px 0 14px;}
.page-hero{padding:120px 0 26px;}
.page-hero h1{
  margin:0 0 10px;
  font-family: Fraunces, ui-serif, Georgia, serif;
  font-size:44px;
  line-height:1.05;
}
.page-hero p{margin:0; max-width:78ch; color:#334155}
/* Responsive */
@media (max-width: 980px){
  .grid.cols-4{grid-template-columns:repeat(2, minmax(0,1fr))}
  .grid.cols-3{grid-template-columns:repeat(2, minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr}
  .nav{display:none}
  .hamburger{display:inline-flex; align-items:center; justify-content:center}
}
@media (max-width: 700px){
  .hero{min-height:82vh}
  .hero-card{
    left:14px; right:14px;
    max-width:none;
    top:110px;
  }
  .hero .hero-overlay{
    background:linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.22) 55%, rgba(0,0,0,.10) 100%);
  }
  .form-row{grid-template-columns:1fr}
}
