@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('/assets/fonts/dm-serif-display-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f9f8f4;
  --navy: #112651;
  --terracotta: #c7472c;
  --muted: #626b7b;
  --curve: #aeb7c5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse 38% 40% at 75% 51%, #edd4c51c, transparent),
    radial-gradient(ellipse 43% 38% at 24% 45%, #d5dfe91a, transparent),
    var(--paper);
}

.site-header {
  height: clamp(118px, 15svh, 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand { display: block; width: 226px; }
.brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.brand:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 8px; }

.feed-navigation {
  position: relative;
  height: 112px;
  flex-shrink: 0;
}

.navigation-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--curve);
  stroke-width: 1;
}

.navigation-band { fill: #eceef040; stroke: none; }

.feed-labels {
  position: absolute;
  top: 17px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.feed-labels button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 500 14px/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .1px;
  opacity: 1;
  cursor: default;
}

.feed-labels span { color: #a1aab8; font-size: 13px; font-weight: 300; }

.hero {
  flex: 1;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 27px 24px 37px;
}

h1 {
  margin: 0;
  font: 450 clamp(60px, 6.8vw, 94px)/1.12 'DM Sans', Arial, sans-serif;
  letter-spacing: -5.5px;
  text-align: center;
}

h1 span {
  display: block;
  margin-top: -3px;
  color: var(--terracotta);
  font: italic 400 clamp(96px, 10vw, 140px)/1.05 'DM Serif Display', Georgia, serif;
  letter-spacing: -5px;
}

.mission {
  max-width: 435px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
  text-wrap: pretty;
}

.mission strong { color: var(--navy); font-weight: 550; }
.mission sup { font-size: 8px; line-height: 0; margin-left: 1px; }

.start-voting-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 300px;
  height: 114px;
  margin-top: 30px;
  flex-shrink: 0;
}

.button-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: #c7472c30;
  stroke-width: 1;
}

.start-button {
  position: relative;
  width: 216px;
  height: 54px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--navy);
  border-radius: 50px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 6px #11265107, 0 12px 24px #11265112;
  font: 500 14px/1 'DM Sans', Arial, sans-serif;
  opacity: 1;
  cursor: default;
}

.start-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  position: relative;
  height: clamp(94px, 12svh, 116px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 18px;
}

.footer-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  stroke: var(--curve);
  stroke-width: 1;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .15px;
}

@media (min-width: 1700px) {
  .hero { min-height: 590px; }
  h1 { font-size: 108px; }
  h1 span { font-size: 156px; }
  .mission { font-size: 18px; max-width: 460px; }
}

@media (max-width: 600px) {
  .site-header { height: clamp(115px, 16svh, 135px); }
  .brand { width: 192px; }
  .feed-navigation { height: 74px; }
  .feed-labels { top: 7px; gap: 21px; }
  .feed-labels button { font-size: 13px; }
  .feed-labels span { font-size: 12px; }
  .navigation-curves { stroke-width: 1.2; }
  .hero { min-height: 440px; padding: 32px 24px 34px; }
  h1 { font-size: clamp(43px, 12.4vw, 66px); letter-spacing: -2.6px; }
  h1 span { margin-top: 4px; font-size: clamp(75px, 22vw, 112px); letter-spacing: -3px; }
  .mission { max-width: 300px; margin-top: 25px; font-size: 15px; line-height: 1.8; }
  .start-voting-wrap { width: 284px; height: 110px; margin-top: 30px; }
  .start-button { width: 208px; height: 52px; }
  .site-footer { height: 94px; }
  .site-footer p { font-size: 10px; }
}

@media (max-height: 740px) and (min-width: 601px) {
  .site-header { height: 110px; }
  .brand { width: 205px; }
  .feed-navigation { height: 96px; }
  .feed-labels { top: 13px; }
  .hero { min-height: 420px; padding-top: 18px; padding-bottom: 18px; }
  h1 { font-size: 68px; letter-spacing: -3.5px; }
  h1 span { font-size: 104px; }
  .mission { margin-top: 20px; font-size: 16px; }
  .start-voting-wrap { margin-top: 16px; height: 104px; }
  .site-footer { height: 84px; }
}
