:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --accent:#0ea5e9;
  --accent-dark:#0284c7;
  --shadow: 0 10px 30px rgba(2, 8, 23, .08);
  --radius:16px;
  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent-dark)}
img{max-width:100%; display:block}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

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

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.2px;
}
.brand span{font-size:15px}
.brand small{
  display:block;
  margin-top:2px;
  font-weight:600;
  font-size:12px;
  color:var(--muted);
}

.logo{
  width:38px;
  height:38px;
  border-radius:12px;
  box-shadow: var(--shadow);
}

.navlinks{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.navlinks a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.navlinks a[aria-current="page"]{
  color:var(--text);
  border-color:var(--line);
  background:#f8fafc;
}
.navlinks a:hover{
  border-color:var(--line);
  background:#f8fafc;
  color:var(--text);
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  font-weight:700;
  color:white;
  background:var(--accent);
  border:1px solid var(--accent);
  box-shadow: 0 10px 20px rgba(14,165,233,.18);
}
.cta:hover{background:var(--accent-dark); border-color:var(--accent-dark); color:white}

main{padding:18px 0 54px}

.hero{
  padding:26px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:20px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr;}
}

.h-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.pill{
  width:10px;height:10px;border-radius:99px;background:var(--accent);
}

h1{
  font-size: clamp(28px, 3.4vw, 44px);
  line-height:1.12;
  margin:10px 0 12px;
  letter-spacing:-.02em;
}
.lead{
  color:var(--muted);
  font-size:16px;
  margin:0 0 16px;
  max-width: 64ch;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#ffffff;
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}
.btn.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:white;
  box-shadow: 0 10px 20px rgba(14,165,233,.15);
}
.btn.primary:hover{background:var(--accent-dark); border-color:var(--accent-dark)}
.btn:hover{background:#f8fafc}

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

.hero-media{
  overflow:hidden;
  min-height: 360px;
}
.hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-media .caption{
  padding:14px 16px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}

.section{
  padding:18px 0;
}
.section h2{
  margin:0 0 10px;
  font-size: clamp(20px, 2.2vw, 28px);
}
.section p.sub{
  margin:0 0 16px;
  color:var(--muted);
  max-width: 78ch;
}

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

.feature{
  padding:16px;
}
.feature h3{
  margin:10px 0 6px;
  font-size:15px;
}
.feature p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.icon{
  width:28px;height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#e0f2fe;
  border:1px solid #bae6fd;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
@media (max-width: 920px){
  .split{grid-template-columns:1fr;}
}

.panel{padding:16px}
.panel h3{margin:0 0 10px; font-size:15px}

.list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}
.list li{margin:8px 0}

.banner{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid #bae6fd;
  background:#f0f9ff;
}

.form{padding:16px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
label{font-weight:700;font-size:13px}
input, textarea{
  border-radius:12px;
  padding:12px 12px;
  border:1px solid var(--line);
  background:#ffffff;
  color:var(--text);
  font-size:14px;
}
textarea{min-height:120px; resize: vertical}
.help{color:var(--muted); font-size:12px; margin-top:4px}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 720px){
  .form-row{grid-template-columns:1fr;}
}

.notice{
  display:none;
  margin-top:12px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #bae6fd;
  background:#f0f9ff;
  color: var(--text);
}
.notice.error{
  border-color:#fecaca;
  background:#fef2f2;
}

footer{
  padding:22px 0 34px;
  border-top:1px solid var(--line);
  color:var(--muted);
}
.footergrid{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.small{font-size:12px}
.footerlinks{display:flex; gap:10px; flex-wrap:wrap}
.footerlinks a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.footerlinks a:hover{border-color:var(--line); background:#f8fafc; color:var(--text)}

.page-title{padding:12px 0 6px}
.breadcrumb{color:var(--muted); font-size:13px}
.page-title h1{margin:8px 0 6px}
