:root {
  --navy: #1b1f5c;
  --navy-deep: #12153f;
  --teal: #17b8a6;
  --teal-dark: #008f82;
  --teal-soft: #e6f8f6;
  --ink: #1c1f2e;
  --muted: #5b6072;
  --line: #e4e6ee;
  --bg: #ffffff;
  --bg-tint: #f6f7fb;
  --radius: 14px;
  --heading: "Manrope", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--heading); color: var(--navy); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 16px; }

.eyebrow {
  font-family: var(--heading);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: 12px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px;
  font-family: var(--heading); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s;
  border: 2px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { color: var(--teal-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-soft); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark {
  font-family: var(--heading); font-weight: 700; letter-spacing: 0.22em;
  color: var(--navy); font-size: 0.95rem;
}
.wordmark span { font-weight: 500; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--navy); }

/* Sign-in menu */
.signin { position: relative; }
.signin-toggle { gap: 6px; cursor: pointer; background: none; }
.signin-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .15s; }
.signin-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.signin-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(27,31,92,.14); padding: 8px;
}
.signin-menu[hidden] { display: none; }
.signin-menu a {
  display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none;
}
.signin-menu a:hover, .signin-menu a:focus-visible { background: var(--teal-soft); outline: none; }
.signin-menu strong { display: block; color: var(--navy); font-family: var(--heading); font-size: 0.95rem; }
.signin-menu small { color: var(--muted); font-size: 0.8rem; }
.signin-divider {
  margin: 6px 12px 2px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--heading); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* Hero */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 85% 30%, var(--teal-soft), transparent 45%),
    linear-gradient(180deg, #fff, var(--bg-tint));
}
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(360px, 100%); filter: drop-shadow(0 20px 40px rgba(27,31,92,.12)); }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color .15s, box-shadow .15s;
}
.feature:hover { border-color: var(--teal); box-shadow: 0 8px 24px rgba(27,31,92,.06); }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature-icon svg {
  width: 22px; height: 22px; fill: none; stroke: var(--navy);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Portal */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 9px; width: 6px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.note { font-size: 0.875rem; color: var(--muted); border-left: 3px solid var(--teal); padding-left: 12px; }

.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(27,31,92,.10); overflow: hidden;
}
.mock-head, .mock-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; }
.mock-head {
  background: var(--navy); color: #fff; font-family: var(--heading);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.mock-row { border-bottom: 1px solid var(--line); }
.mock-row strong { display: block; color: var(--ink); font-weight: 600; }
.mock-row small { color: var(--muted); }
.mock-foot { padding: 14px 22px; font-size: 0.875rem; color: var(--teal-dark); font-weight: 600; }
.pill { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: var(--teal-soft); color: var(--teal-dark); }
.pill-warn { background: #fff4de; color: #9a6400; }
.pill-due { background: #fde8e8; color: #b42318; }

/* Contact */
.contact { background: var(--navy); color: #d9dbf2; }
.contact h2 { color: #fff; }
.contact p { font-size: 1.05rem; margin-bottom: 28px; }

/* Footer */
.site-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--muted); }
.brand-small .wordmark { font-size: 0.8rem; }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding: 56px 0 64px; }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-art img { width: 160px; }
  .features { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .features { grid-template-columns: 1fr; }
  .wordmark { font-size: 0.8rem; letter-spacing: 0.16em; }
  .brand img { width: 32px; height: 32px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
