@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700&display=swap');

:root{
  --bg:#f9faf7;
  --surface:#ffffff;
  --text:#111b1d;
  --muted:#647277;
  --line:#dfe4e1;
  --accent:#164c4a;
  --max:1400px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"DM Sans",Arial,sans-serif;
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
.container{width:min(calc(100% - 48px),var(--max));margin:auto}

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(249,250,247,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(8px);
}
.header-inner{
  min-height:128px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}
.brand{display:flex;align-items:center}
.site-logo{
  width:560px;
  height:auto;
  display:block;
}
nav{
  display:flex;
  gap:52px;
  font-size:1rem;
  color:#4e5b60;
}
nav a:hover,.site-footer a:hover,.contact-copy a:hover{color:var(--accent)}

.hero{
  min-height:62vh;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.hero-content{padding:105px 0 120px}
.eyebrow{
  margin:0 0 32px;
  color:#68767a;
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-weight:500;
}
h1,h2,h3{font-family:"Manrope",Arial,sans-serif;margin:0}
h1{
  max-width:1120px;
  font-size:clamp(3.2rem,5.1vw,5.2rem);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:700;
}
.hero-lines{
  margin-top:32px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 38px;
  font-family:"Manrope",Arial,sans-serif;
  font-size:clamp(1.25rem,2vw,1.65rem);
  font-weight:600;
  color:var(--accent);
}

.section{padding:82px 0;border-bottom:1px solid var(--line)}
.section-heading{display:flex;align-items:baseline;gap:18px;margin-bottom:38px}
.section-number{color:var(--muted);font-size:.75rem;letter-spacing:.1em}
h2{font-size:2rem;letter-spacing:-.035em}
.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:900px}
.card{background:var(--surface);border:1px solid var(--line);padding:30px;min-height:170px}
.card h3{font-size:1.15rem;margin-bottom:18px}
.card p{margin:0;color:var(--muted)}
.about-grid,.contact-grid{display:grid;grid-template-columns:1fr 2fr;gap:60px}
.about-grid .section-heading,.contact-grid .section-heading{margin-bottom:0}
.about-copy{max-width:700px}
.about-copy h3{font-size:2rem;margin-bottom:6px}
.qualification{margin:0 0 18px;color:var(--accent);font-weight:600}
.about-copy>p:last-child{color:var(--muted);max-width:650px}
.contact-copy{display:flex;flex-direction:column;gap:10px;font-family:"Manrope",Arial,sans-serif;font-size:clamp(1.35rem,3vw,2rem);font-weight:600;letter-spacing:-.025em}
.site-footer{padding:26px 0;color:var(--muted);font-size:.82rem}
.footer-inner{display:flex;justify-content:space-between;gap:20px}
.footer-inner div{display:flex;gap:22px}

@media(max-width:900px){
  .header-inner{min-height:100px}
  .site-logo{width:430px}
  nav{gap:24px;font-size:.9rem}
  .hero-content{padding:80px 0 90px}
}
@media(max-width:760px){
  .container{width:min(calc(100% - 32px),var(--max))}
  .header-inner{min-height:78px}
  .site-logo{width:250px}
  nav{gap:12px;font-size:.78rem}
  .hero{min-height:58vh}
  .hero-content{padding:62px 0}
  .eyebrow{font-size:.75rem;margin-bottom:22px}
  h1{font-size:clamp(2.35rem,10vw,4rem)}
  .hero-lines{gap:8px 22px;font-size:1.15rem}
  .cards{grid-template-columns:1fr}
  .card{min-height:auto}
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:26px}
  .section{padding:64px 0}
  .section-heading{margin-bottom:26px}
  .footer-inner{flex-direction:column}
}

/* Legal pages */
.legal-copy{max-width:900px}
.legal-copy .section-heading{margin-bottom:58px}
.legal-copy h1{max-width:none}
.legal-copy h3{font-size:1.45rem;margin-top:34px;margin-bottom:10px}
.legal-copy p{max-width:820px;margin:0 0 18px}
.legal-copy ul{max-width:820px;color:var(--text);padding-left:22px}
.legal-copy li{margin-bottom:6px}
@media(max-width:760px){
  .legal-copy .section-heading{margin-bottom:36px}
  .legal-copy h3{font-size:1.25rem;margin-top:28px}
}
