:root {
  --midge-lime: #d9f060;
  --midge-green: #176c54;
  --midge-cream: #f1f0e8;
}

.midge-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 64px;
  color: #fff;
  background: #071f2c;
}

.midge-hero::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 18%, rgba(217, 240, 96, .14), transparent 29%), linear-gradient(110deg, transparent 58%, rgba(255, 255, 255, .035));
  content: "";
}

.midge-hero-grid {
  position: relative;
  display: grid;
  min-height: 430px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 48px;
}

.midge-hero .breadcrumbs { margin-bottom: 46px; color: rgba(255, 255, 255, .66); }
.midge-hero .breadcrumbs a { color: inherit; }
.midge-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: var(--midge-lime); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.midge-kicker i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(217, 240, 96, .12); }
.midge-hero h1 { max-width: 760px; margin: 0; color: #fff; font-family: "Archivo", sans-serif; font-size: clamp(50px, 6.7vw, 96px); font-stretch: condensed; font-weight: 880; letter-spacing: -.045em; line-height: .9; text-transform: uppercase; word-spacing: .1em; }
.midge-hero-copy > p { max-width: 650px; margin: 27px 0 0; color: rgba(255, 255, 255, .78); font-size: 18px; line-height: 1.7; }
.midge-hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.midge-hero-actions > a:not(.button) { color: #fff; font-size: 13px; font-weight: 800; }

.midge-hero-art { position: relative; min-height: 390px; }
.midge-hero-art svg { position: absolute; right: -8%; bottom: -9px; width: 112%; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .24)); }
.midge-orbit { position: absolute; border: 1px solid rgba(217, 240, 96, .25); border-radius: 50%; }
.orbit-one { width: 250px; height: 250px; right: 10%; top: 9%; }
.orbit-two { width: 150px; height: 150px; right: 31%; top: 28%; }
.midge-dot { position: absolute; z-index: 2; width: 9px; height: 9px; border-radius: 50%; background: var(--midge-lime); box-shadow: 0 0 18px rgba(217, 240, 96, .72); }
.dot-one { right: 18%; top: 21%; }.dot-two { right: 47%; top: 35%; }.dot-three { right: 29%; top: 49%; width: 6px; height: 6px; }

.midge-forecast-section { padding: 78px 0 74px; background: var(--midge-cream); }
.midge-section-heading { display: grid; align-items: end; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 50px; margin-bottom: 34px; }
.midge-section-heading h2 { margin: 8px 0 0; font-size: clamp(38px, 4.3vw, 64px); line-height: .98; }
.midge-section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.midge-controls { display: grid; align-items: end; grid-template-columns: 1fr 1fr auto; gap: 13px; padding: 20px; border: 1px solid #d8d9d0; background: #fff; }
.midge-controls label { display: grid; gap: 7px; }
.midge-controls label span { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.midge-controls select { width: 100%; min-height: 48px; padding: 0 42px 0 14px; border: 1px solid #cfd4cc; border-radius: 0; color: var(--ink); background: #fff; font: 750 15px/1.2 "Manrope", sans-serif; }
.midge-controls .button { min-height: 48px; border: 0; cursor: pointer; }
.midge-day-tabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 16px 0 22px; border: 1px solid #d8d9d0; background: #fff; }
.midge-day-tabs a { display: grid; gap: 2px; min-height: 65px; place-content: center; border-right: 1px solid #d8d9d0; text-align: center; }
.midge-day-tabs a:last-child { border-right: 0; }
.midge-day-tabs a[aria-current="page"] { color: #fff; background: #176c54; box-shadow: inset 0 -4px var(--midge-lime); }
.midge-day-tabs small { font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.midge-day-tabs span { font-size: 14px; font-weight: 850; }

.midge-live-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); color: #fff; background: #0a2933; }
.midge-score-block { display: grid; min-height: 230px; align-content: center; padding: 28px; color: #071f2c; background: var(--risk-accent, #d9f060); }
.midge-score-block > span { font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.midge-score { display: flex; align-items: baseline; margin: 7px 0 2px; }
.midge-score strong { font: 880 78px/.9 "Archivo", sans-serif; letter-spacing: -.07em; }
.midge-score small { font-weight: 850; }
.midge-score-block > b { font-size: 13px; text-transform: uppercase; }
.midge-live-summary { align-self: center; padding: 34px 42px; }
.beta-flag { display: inline-flex; padding: 5px 8px; color: #071f2c; background: var(--midge-lime); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.midge-live-summary h3 { margin: 15px 0 8px; color: #fff; font-size: 29px; }
.midge-live-summary p { max-width: 720px; margin: 0; color: rgba(255, 255, 255, .75); line-height: 1.75; }
.midge-live-summary a { display: inline-block; margin-top: 17px; color: var(--midge-lime); font-size: 13px; font-weight: 850; }
.risk-very-high { --risk-accent: #e56b60; }.risk-high { --risk-accent: #ef9950; }.risk-moderate { --risk-accent: #e3bd4f; }.risk-low { --risk-accent: #7db77e; }.risk-very-low { --risk-accent: #72b8c3; }.risk-unavailable { --risk-accent: #b8c1b8; }

.midge-height-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.midge-height-card { padding: 25px; border: 1px solid #d8d9d0; background: #fff; }
.midge-height-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.midge-height-card header span { font-size: 19px; font-weight: 900; }
.midge-height-card header p { min-height: 40px; margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.midge-height-card header > strong { color: var(--risk-accent); font: 880 42px/1 "Archivo", sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.midge-height-card header small { font: 800 10px/1 "Manrope", sans-serif; letter-spacing: 0; }
.midge-risk-track { height: 7px; margin: 20px 0 11px; overflow: hidden; background: #e6e8e2; }
.midge-risk-track i { display: block; height: 100%; background: var(--risk-accent); }
.midge-height-card > b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.midge-height-card dl { display: grid; gap: 11px; margin: 23px 0 0; }
.midge-height-card dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-top: 11px; border-top: 1px solid #e2e4df; }
.midge-height-card dt { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.midge-height-card dd { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.5; }
.midge-limitation { margin: 14px 0 0; padding: 17px 20px; color: #4b514e; border-left: 4px solid #809584; background: #e5e8e0; font-size: 13px; line-height: 1.65; }
.midge-refresh-card { display: grid; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 23px; padding: 29px; color: #fff; background: #0a2933; }
.midge-refresh-card .beta-flag { justify-self: start; }
.midge-refresh-card h3 { margin: 0 0 6px; color: #fff; font-size: 25px; }.midge-refresh-card p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.65; }.midge-refresh-card .button { background: var(--midge-lime); color: #071f2c; }
.midge-updated { margin: 12px 0 0; color: var(--muted); font-size: 11px; }

.midge-explainer { padding: 82px 0; background: #fff; }
.midge-factor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.midge-factor-grid article { min-height: 280px; padding: 29px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.midge-factor-grid article > span { color: var(--midge-green); font: 850 11px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.midge-factor-grid h3 { margin: 58px 0 10px; font-size: 21px; }.midge-factor-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.72; }

.midge-hill-section { padding: 85px 0; color: #fff; background: #092a32; }
.midge-hill-grid { display: grid; align-items: center; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.midge-hill-grid h2 { max-width: 590px; margin: 10px 0 20px; color: #fff; font-size: clamp(42px, 5vw, 70px); line-height: .96; }
.midge-hill-grid p { color: rgba(255,255,255,.72); line-height: 1.78; }.midge-hill-grid .text-link { color: var(--midge-lime); }
.midge-profile { display: grid; min-height: 450px; align-content: end; padding: 30px; background: linear-gradient(150deg, rgba(217,240,96,.05), rgba(255,255,255,.02)); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.profile-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-inline: auto; padding: 14px 18px; color: #092a32; font-size: 11px; }
.profile-band span { font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }.profile-band b { font-size: 11px; }
.profile-band.summit { width: 42%; background: #d9f060; }.profile-band.middle { width: 70%; background: #8abf86; }.profile-band.approach { width: 100%; background: #e9eee2; }

.midge-regions { padding: 82px 0; background: var(--midge-cream); }
.midge-region-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d5d7d0; border-left: 1px solid #d5d7d0; }
.midge-region-links a { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-right: 1px solid #d5d7d0; border-bottom: 1px solid #d5d7d0; background: #fff; transition: color 160ms, background 160ms; }
.midge-region-links a:hover { color: #fff; background: var(--midge-green); }
.midge-region-links span { display: grid; gap: 5px; }.midge-region-links strong { font-size: 15px; }.midge-region-links small { color: var(--muted); font-size: 10px; line-height: 1.45; }.midge-region-links a:hover small { color: rgba(255,255,255,.7); }.midge-region-links b { font-size: 19px; }

.midge-faq { padding: 82px 0; background: #fff; }
.midge-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 78px; }
.midge-faq h2 { margin: 9px 0 18px; font-size: clamp(40px, 4vw, 58px); }.midge-faq-grid > div:first-child p { color: var(--muted); line-height: 1.7; }.midge-faq-grid > div:first-child a { text-decoration: underline; }
.midge-faq details { border-top: 1px solid var(--line); }.midge-faq details:last-child { border-bottom: 1px solid var(--line); }.midge-faq summary { padding: 21px 0; cursor: pointer; font-size: 16px; font-weight: 850; }.midge-faq details p { max-width: 720px; margin: -4px 0 21px; color: var(--muted); line-height: 1.72; }

@media (max-width: 960px) {
  .midge-hero-grid, .midge-hill-grid { grid-template-columns: 1fr; }
  .midge-hero-art { position: absolute; right: -12%; bottom: -10%; width: 48%; opacity: .55; }
  .midge-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .midge-height-grid, .midge-region-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .midge-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .midge-profile { min-height: 390px; }
}

@media (max-width: 680px) {
  .midge-hero { padding: 84px 0 50px; }
  .midge-hero-grid { min-height: auto; }
  .midge-hero .breadcrumbs { margin-bottom: 34px; }
  .midge-hero h1 { max-width: 360px; font-size: clamp(45px, 15vw, 66px); }
  .midge-hero-copy > p { max-width: 430px; font-size: 16px; }
  .midge-hero-art { display: none; }
  .midge-forecast-section, .midge-explainer, .midge-regions, .midge-faq { padding: 58px 0; }
  .midge-controls { grid-template-columns: 1fr; }
  .midge-day-tabs { grid-template-columns: repeat(7, 78px); overflow-x: auto; }
  .midge-live-card { grid-template-columns: 1fr; }
  .midge-score-block { min-height: 0; padding: 24px; }
  .midge-score { margin-top: 9px; }
  .midge-live-summary { padding: 29px 24px; }
  .midge-height-grid, .midge-region-links, .midge-factor-grid, .midge-faq-grid { grid-template-columns: 1fr; }
  .midge-refresh-card { grid-template-columns: 1fr; align-items: start; }
  .midge-factor-grid article { min-height: 220px; }.midge-factor-grid h3 { margin-top: 38px; }
  .midge-hill-section { padding: 62px 0; }.midge-hill-grid { gap: 42px; }
  .midge-profile { min-height: 290px; padding: 16px; }
  .profile-band { padding: 10px; }.profile-band b { display: none; }
  .midge-faq-grid { gap: 35px; }
}
