:root {
  --blue: #173f7a;
  --blue-dark: #0e2b55;
  --green: #159447;
  --ink: #172033;
  --muted: #5d687c;
  --line: #dbe2ec;
  --surface: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 37, 71, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px clamp(22px, 5vw, 72px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.brand img { display: block; width: min(360px, 48vw); height: auto; }
.site-header nav { display: flex; align-items: center; gap: 22px; font-weight: 650; }
.site-header nav > a:not(.button) { text-decoration: none; }
main { overflow: hidden; }
.hero { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr); gap: clamp(36px, 7vw, 92px); align-items: center; padding: clamp(70px, 10vw, 130px) clamp(22px, 7vw, 110px); background: radial-gradient(circle at 80% 15%, rgba(21,148,71,.14), transparent 27%), linear-gradient(135deg, #f8fbff 0%, #eef4fb 60%, #f6fbf7 100%); }
.hero h1 { max-width: 850px; margin: 0 0 24px; font-size: clamp(2.65rem, 6vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; color: var(--blue-dark); }
.eyebrow { margin: 0 0 12px; color: var(--green); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .82rem; }
.lead { max-width: 760px; margin: 0; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 12px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 750; border: 1px solid var(--blue); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(23,63,122,.2); }
.button-secondary { min-height: 40px; padding: 0 16px; }
.button-ghost { background: transparent; color: var(--blue); }
.hero-card { padding: 34px; border: 1px solid rgba(23,63,122,.12); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.hero-card strong { display: block; margin: 12px 0 8px; font-size: 1.25rem; color: var(--blue-dark); }
.hero-card p { margin: 0 0 20px; color: var(--muted); }
.hero-card a { color: var(--blue); font-weight: 750; }
.status-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 7px rgba(21,148,71,.12); }
.section { padding: clamp(72px, 9vw, 120px) clamp(22px, 7vw, 110px); }
.section-heading { max-width: 760px; margin-bottom: 44px; }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.035em; color: var(--blue-dark); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 10px 34px rgba(17,37,71,.06); }
.card h3 { margin: 0 0 12px; font-size: 1.35rem; color: var(--blue); }
.card p { margin: 0; color: var(--muted); }
.system-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 100px); align-items: start; background: var(--surface); }
.system-section > div > p:not(.eyebrow) { color: var(--muted); max-width: 640px; }
.portal-list { display: grid; gap: 14px; }
.portal-list a { display: grid; padding: 20px 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); text-decoration: none; transition: border .18s, transform .18s; }
.portal-list a:hover { border-color: var(--blue); transform: translateX(4px); }
.portal-list span { font-weight: 800; color: var(--blue-dark); }
.portal-list small { color: var(--muted); font-size: .92rem; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--blue-dark); color: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-section .eyebrow { color: #70d89a; }
.contact-details { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 13px; }
.contact-details a { color: var(--white); font-size: 1.15rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(22px, 7vw, 110px); color: var(--muted); border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 18px; }
@media (max-width: 920px) {
  .site-header { position: static; align-items: flex-start; flex-direction: column; }
  .site-header nav { flex-wrap: wrap; gap: 14px; }
  .hero, .system-section, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand img { width: 100%; max-width: 330px; }
  .site-header nav { font-size: .94rem; }
  .hero h1 { font-size: 2.6rem; }
  footer { flex-direction: column; }
}
