:root {
  --brand-blue: #004d81;
  --brand-blue-soft: #2f6d9b;
  --brand-gray: #727272;
  --ink: #17314b;
  --ink-muted: #51657a;
  --surface-border: rgba(0, 77, 129, 0.16);
  --shadow-soft: 0 28px 60px -34px rgba(20, 51, 79, 0.38);
  --shadow-strong: 0 38px 84px -44px rgba(18, 44, 68, 0.45);
  --backdrop: #eef4f8;
  --page-width: 1120px;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Manrope"), url("fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Manrope"), url("fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local("Manrope"), url("fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Manrope"), url("fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: local("Manrope"), url("fonts/manrope-800.ttf") format("truetype");
}

@font-face {
  font-family: "Poly";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("Poly"), url("fonts/poly-italic.ttf") format("truetype");
}

@font-face {
  font-family: "Poly";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Poly"), url("fonts/poly-regular.ttf") format("truetype");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 77, 129, 0.16), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(114, 114, 114, 0.14), transparent 30%),
    linear-gradient(180deg, #f6fafc 0%, var(--backdrop) 48%, #f9fbfd 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

p,
h1 {
  margin: 0;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-shell::before {
  top: 88px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 77, 129, 0.18), rgba(0, 77, 129, 0));
  filter: blur(8px);
}

.page-shell::after {
  bottom: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(114, 114, 114, 0.16), rgba(114, 114, 114, 0));
  filter: blur(12px);
}

.site-header,
.hero {
  width: min(calc(100% - 40px), var(--page-width));
  margin: 0 auto;
}

.site-header {
  padding-top: 52px;
  margin-bottom: 52px;
  text-align: center;
}

.brand {
  display: inline-block;
  text-decoration: none;
  position: relative;
  left: -16px;
}

.brand__wordmark {
  position: relative;
  display: inline-block;
  padding-left: 84px;
  line-height: 0.65;
  white-space: nowrap;
  font-family: "Poly", Georgia, serif;
  font-size: clamp(4rem, 4.4vw, 4.55rem);
  color: var(--brand-blue);
}

.brand__mark {
  position: absolute;
  top: -18px;
  left: -14px;
  width: 154px;
  height: 154px;
  transform: rotate(-15deg);
}

.brand__line {
  position: relative;
  left: -8px;
  top: 6px;
  display: block;
}

.brand__line--muted {
  padding-left: 0.32em;
  color: var(--brand-gray);
}

.hero {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: auto;
  padding: 0 0 52px;
}

.hero-panel {
  position: relative;
  width: min(440px, calc(100% - 40px));
  max-width: 440px;
  flex: 0 0 auto;
  padding: 48px 48px 48px 48px;
  border: 1px solid var(--surface-border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74));
  box-shadow: var(--shadow-soft), var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 77, 129, 0.12), rgba(0, 77, 129, 0));
}

.hero h1 {
  max-width: 11ch;
  font-size: 3.6rem;
  line-height: 1.2;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.fact-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), #246697);
  box-shadow: 0 20px 34px -24px rgba(0, 77, 129, 0.66);
}

.button--secondary {
  color: var(--brand-blue);
  border-color: rgba(0, 77, 129, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.text-link {
  color: var(--brand-blue);
  font-weight: 800;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(0, 77, 129, 0.26);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .site-header,
  .hero {
    width: min(calc(100% - 24px), var(--page-width));
  }

  .site-header {
    margin-bottom: 34px;
    padding-top: 34px;
  }

  .brand__wordmark {
    padding-left: 68px;
    font-size: 3.4rem;
  }

  .brand__mark {
    width: 122px;
    height: 122px;
  }

  .brand__line {
    left: -6px;
    top: 4px;
  }

  .hero {
    padding-top: 0;
    padding-bottom: 34px;
    min-height: auto;
    justify-content: center;
    align-items: flex-start;
  }

  .hero-panel {
    width: min(440px, calc(100% - 24px));
    padding: 32px 24px 32px 24px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .fact-stack {
    font-size: 1.15rem;
  }

  .hero__actions {
    gap: 12px;
    margin-top: 24px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
