:root {
  color-scheme: light;
  --primary: #1f2148;
  --secondary: #00418e;
  --accent: #386cf4;
  --headline: #1d263a;
  --body: rgba(29, 38, 58, 0.8);
  --light: #f6f4f0;
  --white: #ffffff;
  --border: #dddcd9;
  --warm: #e78c3c;
  --shadow: 4px 40px 70px rgba(31, 33, 72, 0.1);
  --container: 1216px;
  --radius: 5px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--headline);
  font-feature-settings: "kern";
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
}

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

.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1;
}

.top-bar-inner {
  display: flex;
  width: min(95%, var(--container));
  min-height: 40px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-bar p {
  margin: 0;
}

.top-bar a {
  font-weight: 600;
}

.site-shell {
  width: min(95%, var(--container));
  margin: 0 auto;
  padding: 0 0 96px;
}

.brand-row {
  display: flex;
  min-height: 121px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
}

.intro {
  display: grid;
  max-width: 900px;
  gap: 18px;
  padding: 84px 0 70px;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--secondary);
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 1px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 960px;
  margin-bottom: 0;
  color: var(--headline);
  font-size: clamp(2.15rem, 4.1vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.027em;
  line-height: 1.1;
}

.intro p:last-child {
  max-width: 790px;
  margin-bottom: 0;
  color: var(--body);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.8;
}

.embed-list {
  display: grid;
  gap: 28px;
}

.embed-block {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.embed-heading {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: var(--light);
}

h2 {
  margin-bottom: 0;
  color: var(--headline);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.027em;
  line-height: 1.25;
}

.embed-heading p {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.chart-frame {
  padding: 20px;
}

.chart-frame iframe {
  display: block;
  width: 100%;
}

@media (max-width: 1024px) {
  .brand-row {
    min-height: 96px;
  }

  .intro {
    padding: 58px 0 56px;
    text-align: center;
    justify-items: center;
  }

  .intro p:last-child {
    max-width: 760px;
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .top-bar {
    display: none;
  }

  .site-shell {
    width: min(100% - 40px, var(--container));
    padding-bottom: 64px;
  }

  .brand-row {
    min-height: 82px;
  }

  .brand img {
    width: 132px;
  }

  .intro {
    padding: 44px 0 42px;
    text-align: left;
    justify-items: start;
  }

  h1 {
    font-size: 2.15rem;
  }

  .embed-heading {
    padding: 20px;
  }

  .chart-frame {
    padding: 12px;
  }
}
