:root {
  --brand-primary: #1d4ed8;
  --brand-accent: #60a5fa;
  --brand-container: #dbeafe;
  --brand-on-container: #1e3a8a;
  --brand-surface: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(29, 78, 216, 0.14);
  --radius: 18px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(96, 165, 250, 0.28), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(29, 78, 216, 0.14), transparent 50%),
    linear-gradient(180deg, #eff6ff 0%, var(--brand-surface) 42%, #ffffff 100%);
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-on-container);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand-primary);
}

.hero {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: 3.5rem 0 4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.55)),
    url("../assets/splash-bg.png") center / cover no-repeat;
  border-radius: 0 0 28px 28px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.55), rgba(248, 250, 252, 0.88));
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-on-container);
  max-width: 10ch;
}

.hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand-primary);
  color: var(--white);
}

.button-primary:hover {
  background: var(--brand-on-container);
  color: var(--white);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-primary);
  border-color: rgba(29, 78, 216, 0.2);
}

.section {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.section h1,
.section h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--brand-on-container);
}

.section h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
}

.section h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}

.section p,
.section li {
  color: var(--muted);
}

.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.5rem;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-decoration: none;
}

.contact-email:hover {
  color: var(--brand-on-container);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.legal-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 2.5rem 1rem 3rem;
    border-radius: 0 0 20px 20px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
