:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface2:#f6f8fb;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.12);
  --accent:#2563eb;
  --accent2:#7c3aed;
  --max:1100px;
  --radius:18px;
  --shadow:0 14px 36px rgba(15,23,42,.10);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  line-height:1.55;
}

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

/* Accessibility */
.skip{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{left:16px;top:16px;width:auto;height:auto;z-index:1000;background:#fff;color:#000;padding:10px 12px;border-radius:10px;box-shadow:0 10px 28px rgba(15,23,42,.18)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header / Nav */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0}
.navlinks{display:flex; gap:4px; align-items:center}
.navlinks a{padding:8px 10px;border-radius:12px;color:var(--muted)}
.navlinks a:hover{background:rgba(37,99,235,.08); color:var(--accent)}
.navlinks a[aria-current="page"]{background:rgba(37,99,235,.12); color:var(--accent); font-weight:600}

.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.3px}
.brand__logo{display:block; line-height:0}
.brand__logo img{height:40px; width:auto; display:block; border-radius:6px}

/* Cards / Sections */
.section{padding:34px 0 54px}

/* Default card shell */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

/* Content cards inside regular sections need inner padding */
.section .card{
  padding:26px;
}
.section .card > *:last-child{margin-bottom:0}
.hero{padding:48px 0 22px}
.hero__grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:26px; align-items:stretch}
.hero__copy{padding:26px}
.hero__actions{display:flex; flex-wrap:wrap; gap:10px; margin-top:14px}

h1{margin:0 0 10px; font-size:42px; line-height:1.06; letter-spacing:-.02em}
h2{margin:0 0 14px; font-size:22px; color:var(--muted); font-weight:600}
h3{margin:0 0 10px; font-size:18px}
p{margin:0 0 14px; color:var(--text)}
.lede{font-size:16.5px; color:var(--muted)}

.button{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:14px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  border:1px solid rgba(15,23,42,.12);
  box-shadow:0 10px 20px rgba(15,23,42,.12);
}
.button:hover{filter:brightness(1.03)}
.button:focus{outline:3px solid rgba(37,99,235,.25); outline-offset:2px}

.hero__media{position:relative; min-height:320px}
.hero__img img{width:100%; height:100%; object-fit:cover; display:block}
.hero__overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(15,23,42,.05) 55%, rgba(15,23,42,.22) 100%)}

/* Mini boxes / grids (if present) */
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:18px}
.mini{
  padding:18px; border-radius:16px;
  background:var(--surface2);
  border:1px solid rgba(15,23,42,.10);
}
.mini h4{margin:0 0 6px; font-size:13px; letter-spacing:.4px; text-transform:uppercase; color:var(--muted)}
.mini p{margin:0; color:var(--text)}

/* Footer */
.footer{padding:26px 0 34px; border-top:1px solid var(--border); background:var(--surface2)}
.footer__grid{display:grid; grid-template-columns: 1.4fr .6fr; gap:18px; align-items:start}
.small{color:var(--muted); font-size:14px}
.footer a{color:var(--accent); text-decoration:underline; text-underline-offset:3px}

/* Forms */
.form{display:grid; gap:12px; margin-top:10px}
.input{
  width:100%; padding:12px 12px; border-radius:14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.18);
  color:var(--text);
}
.input:focus{outline:3px solid rgba(37,99,235,.20); outline-offset:2px}
textarea.input{min-height:120px; resize:vertical}
.note{font-size:13px; color:var(--muted)}

@media (max-width: 920px){
.hero__grid{grid-template-columns:1fr
  .section .card{padding:20px}

}
  h1{font-size:36px}
  .footer__grid{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
}


/* Logo: image-only brand mark */
.brand__picture{display:block; line-height:0}
.brand__logo{height:40px; width:auto; display:block}
@media (min-width: 900px){
  .brand__logo{height:44px}
}
