:root {
  --accent: #1a78d6;
  --accent-deep: #0d4fa8;
  --mint: #3db392;
  --amber: #eda934;
  --ink: #182130;
  --muted: #617284;
  --border: rgba(24, 33, 48, 0.08);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --hero-a: #f7fbff;
  --hero-b: #eaf3fb;
  --hero-c: #dcecf9;
  --shadow: 0 28px 60px rgba(14, 43, 78, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "SF Pro Text", "Inter", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(61, 179, 146, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(26, 120, 214, 0.16), transparent 28%),
    linear-gradient(135deg, var(--hero-a), var(--hero-b) 48%, var(--hero-c));
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(17, 44, 77, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(13, 79, 168, 0.22);
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  font-family: "Playfair Display", Georgia, serif;
}

.brand div {
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 11px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.hero-copy,
.hero-card,
.feature-panel,
.policy-card,
.policy-hero {
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 48px;
}

.hero-copy h1,
.policy-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.hero-text,
.policy-hero p,
.policy-card p,
.feature-panel p {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 30px rgba(13, 79, 168, 0.24);
}

.button-secondary {
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 120, 214, 0.14);
}

.hero-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
}

.icon-orb {
  width: 138px;
  height: 138px;
  margin: 0 auto;
  border-radius: 40px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(61, 179, 146, 0.24), transparent 40%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(230, 240, 251, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 28px 40px rgba(16, 48, 88, 0.16);
}

.icon-orb img {
  width: 96px;
  height: 96px;
  border-radius: 26px;
}

.metric-stack {
  display: grid;
  gap: 12px;
}

.metric-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.metric-card span,
.policy-card h2,
.feature-panel h2 {
  display: block;
}

.metric-card span {
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-card strong {
  font-size: 1.22rem;
  line-height: 1.45;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.feature-panel {
  padding: 32px;
}

.feature-panel h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.policy-layout {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.policy-hero,
.policy-card {
  padding: 38px;
}

.policy-card h2 {
  margin: 34px 0 12px;
  font-size: 1.46rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card a,
.site-footer a {
  color: var(--accent-deep);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 6px 0;
  color: var(--muted);
  font-size: 1rem;
}

.policy-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card,
  .feature-panel,
  .policy-card,
  .policy-hero {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 14px;
  }

  .topbar {
    border-radius: 26px;
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy h1,
  .policy-hero h1 {
    font-size: 2.4rem;
  }

  .hero-text,
  .policy-hero p,
  .policy-card p,
  .feature-panel p {
    font-size: 1.03rem;
    line-height: 1.85;
  }

  .feature-panel h2 {
    font-size: 1.72rem;
  }

  .policy-card h2 {
    font-size: 1.32rem;
  }

  .button {
    width: 100%;
  }

  .policy-actions .button {
    width: 100%;
  }
}
