:root {
  --ink: #071426;
  --ink-soft: #26364d;
  --muted: #68778c;
  --line: #dce5ef;
  --blue: #245cf3;
  --blue-dark: #1746c9;
  --aqua: #36d6c2;
  --wash: #f4f8fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(36, 92, 243, .09), transparent 26rem),
    radial-gradient(circle at 90% 12%, rgba(54, 214, 194, .08), transparent 22rem),
    linear-gradient(180deg, #f7faff, #fff 35rem);
  font: 16px/1.7 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
main { flex: 1; }
::selection { color: white; background: var(--blue); }
a { color: var(--blue); }
a:focus-visible { outline: 3px solid rgba(36, 92, 243, .35); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: 10px; color: white; background: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.page-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 239, .82);
  background: rgba(249, 251, 255, .88);
  box-shadow: 0 7px 28px rgba(16, 39, 72, .045);
  backdrop-filter: blur(18px);
}
.page-nav-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.page-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 850;
  letter-spacing: -.04em;
  text-decoration: none;
}
.page-brand > span:last-child > span { color: var(--blue); }
.page-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #5b7dff 66%, var(--aqua));
  box-shadow: 0 8px 22px rgba(36, 92, 243, .25);
}
.page-brand-mark svg { width: 28px; height: 28px; }
.page-links {
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(207, 219, 233, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
}
.page-links a { padding: 7px 11px; border-radius: 999px; color: var(--ink-soft); font-size: .84rem; font-weight: 700; text-decoration: none; }
.page-links a:hover { color: var(--blue); background: #f0f5ff; }
.page-links a[aria-current] { color: var(--blue); background: white; box-shadow: 0 3px 10px rgba(18, 48, 88, .08); }
.page-cta, .error-cta {
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 11px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #557cff);
  box-shadow: 0 9px 22px rgba(36, 92, 243, .23);
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.page-cta:hover, .error-cta:hover { transform: translateY(-1px); box-shadow: 0 13px 27px rgba(36, 92, 243, .3); }

.page-wrap { width: min(800px, calc(100% - 40px)); margin: auto; }
.page-hero { padding: 88px 0 47px; text-align: center; }
.page-kicker { margin: 0 0 11px; color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: "Avenir Next", "Segoe UI", sans-serif; letter-spacing: -.05em; }
h1 { max-width: 790px; margin: 0 auto; font-size: clamp(2.55rem, 7vw, 4.75rem); line-height: 1; }
.page-hero p:last-child { max-width: 650px; margin: 21px auto 0; color: var(--muted); font-size: 1.08rem; }
.content-card {
  position: relative;
  margin-bottom: 92px;
  padding: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 75px rgba(15, 40, 75, .1);
}
.content-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), #6a83ff, var(--aqua)); }
.content-card h2 { margin: 37px 0 8px; color: var(--ink); font-size: 1.65rem; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: #475872; }
.content-card ul { padding-left: 20px; }
.content-card li + li { margin-top: 5px; }
.principles { margin: 30px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.principle { padding: 21px; border: 1px solid #e5edf6; border-radius: 16px; background: linear-gradient(145deg, #f7faff, var(--wash)); }
.principle strong { display: block; margin-bottom: 6px; color: var(--ink); }
.principle span { color: var(--muted); font-size: .86rem; }
.contact-box { margin: 23px 0 30px; padding: 30px; overflow: hidden; border-radius: 18px; color: white; background: linear-gradient(135deg, var(--ink), #122b50); box-shadow: 0 18px 38px rgba(7, 20, 38, .2); }
.contact-box span { color: #a7b5c8; font-size: .82rem; font-weight: 700; }
.contact-box a { display: inline-block; margin-top: 3px; color: #a9fff3; font-size: clamp(1rem, 3vw, 1.25rem); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.center-card { padding: 34px; text-align: center; }
.error-cta { font-size: .92rem; }

.page-footer { padding: 25px 0; color: #8290a4; background: #06101f; font-size: .78rem; }
.page-footer-inner { width: min(1120px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.page-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.page-footer a { color: #a2adbc; text-decoration: none; }
.page-footer a:hover { color: white; }

@media (max-width: 760px) {
  .page-links { display: none; }
  .page-hero { padding-top: 64px; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .page-nav-inner, .page-wrap, .page-footer-inner { width: calc(100% - 24px); }
  .page-nav-inner { min-height: 68px; gap: 12px; }
  .page-brand-mark { width: 35px; height: 35px; }
  .page-brand { font-size: .94rem; }
  .page-cta { padding: 9px 11px; font-size: .76rem; }
  .page-hero { padding-top: 52px; }
  .content-card { margin-bottom: 65px; padding: 31px 23px; border-radius: 20px; }
  .page-footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
