:root {
  --sky: #6fa4da;
  --sky-deep: #5c95d0;
  --sky-soft: #8db8e6;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.68);
  --surface-card: #f8fbff;
  --text: #ffffff;
  --ink: #20324b;
  --muted: #56708f;
  --line: rgba(32, 50, 75, 0.12);
  --accent: #ffcc3f;
  --accent-blue: #2a8de8;
  --shadow: 0 26px 80px rgba(72, 114, 166, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea {
  appearance: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent));
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.cookie-slot:empty {
  display: none;
}

.site-bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-cloud {
  position: absolute;
  width: 220px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle at 45% 30%, #dfe6f4 0%, #b8c1d9 58%, #8c97b7 100%);
  box-shadow: inset -16px -18px 28px rgba(113, 122, 157, 0.24);
}

.bg-cloud::before,
.bg-cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.bg-cloud::before {
  width: 110px;
  height: 110px;
  left: 28px;
  top: -34px;
}

.bg-cloud::after {
  width: 94px;
  height: 94px;
  right: 26px;
  top: -26px;
}

.bg-cloud--left {
  top: 24px;
  left: -24px;
}

.bg-cloud--right {
  top: 46px;
  right: 120px;
  transform: scale(0.92);
}

.bg-sun {
  position: absolute;
  top: 58px;
  right: 248px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe78c 0%, #ffc735 58%, #f0af0b 100%);
}

.bg-raindrops,
.bg-raindrops::before,
.bg-raindrops::after {
  position: absolute;
  width: 18px;
  height: 28px;
  border-radius: 50% 50% 55% 55%;
  background: rgba(243, 242, 240, 0.72);
  content: "";
}

.bg-raindrops {
  top: 26px;
  left: 50%;
}

.bg-raindrops::before {
  left: -44px;
  top: 22px;
}

.bg-raindrops::after {
  left: 44px;
  top: 16px;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1460px, calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 12px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-brand__icon {
  font-size: 1.7rem;
}

.site-brand__text {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.95);
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 7px;
}

.signup-btn,
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 12px;
  background: linear-gradient(90deg, #2a8de8, #ffcc3f);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.site-main {
  margin-top: 18px;
}

.weather-home,
.inner-page {
  display: grid;
  gap: 30px;
}

.weather-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 470px;
  gap: 40px;
  min-height: 820px;
  padding: 90px 34px 28px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.weather-hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(2px);
}

.weather-hero__copy {
  max-width: 680px;
  color: var(--text);
}

.weather-hero__copy h1 {
  margin: 170px 0 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.weather-hero__lede {
  max-width: 620px;
  margin: 0;
  padding-left: 22px;
  border-left: 3px solid rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
}

.weather-hero__search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 690px;
  margin-top: 48px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.weather-hero__search input {
  flex: 1 1 auto;
  min-height: 56px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 20px;
}

.weather-hero__stage {
  position: absolute;
  left: 34px;
  right: 520px;
  bottom: 18px;
  height: 210px;
}

.stage-bag,
.stage-block,
.stage-umbrella {
  position: absolute;
}

.stage-bag {
  width: 92px;
  height: 118px;
  bottom: 0;
  border-radius: 14px 14px 18px 18px;
}

.stage-bag::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 10px;
  width: 42px;
  height: 42px;
  border: 5px solid rgba(255, 255, 255, 0.78);
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
}

.stage-bag--gold {
  left: 0;
  background: linear-gradient(180deg, #d8a926, #b98514);
}

.stage-bag--blue {
  left: 120px;
  background: linear-gradient(180deg, #76abe0, #538bc7);
}

.stage-bag--small {
  right: 20px;
  bottom: 8px;
  transform: scale(0.88);
  background: linear-gradient(180deg, #76abe0, #538bc7);
}

.stage-block {
  background: linear-gradient(180deg, #2a8de8, #0f59dc);
  box-shadow: inset 0 -18px 24px rgba(5, 34, 106, 0.22);
}

.stage-block--large {
  left: 250px;
  right: 140px;
  bottom: 0;
  height: 164px;
  border-radius: 18px;
}

.stage-block--round {
  right: 110px;
  bottom: 0;
  width: 250px;
  height: 92px;
  border-radius: 999px 999px 24px 24px;
}

.stage-umbrella {
  right: -18px;
  bottom: -4px;
  width: 118px;
  height: 148px;
}

.stage-umbrella::before {
  content: "";
  position: absolute;
  right: 38px;
  bottom: 14px;
  width: 74px;
  height: 74px;
  border-radius: 0 0 80px 80px;
  border: 18px solid #e5ebf1;
  border-top: 0;
  transform: rotate(40deg);
}

.stage-umbrella::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 16px;
  width: 2px;
  height: 84px;
  background: #6e87a5;
  transform: rotate(40deg);
}

.weather-summary-card,
.feature-card,
.city-weather-card,
.alerts-band,
.alerts-band__panel,
.page-hero-card,
.page-side-note,
.process-card,
.quote-card,
.faq-card,
.contact-summary,
.contact-form-card,
.site-footer {
  box-shadow: var(--shadow);
}

.weather-summary-card {
  align-self: center;
  padding: 26px 28px;
  border-radius: 20px;
  background: var(--surface);
}

.summary-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.summary-city {
  display: flex;
  align-items: center;
  gap: 16px;
}

.summary-icon {
  font-size: 2.3rem;
}

.summary-city strong {
  display: block;
  font-size: 1.1rem;
}

.summary-city small {
  color: var(--muted);
}

.summary-temp {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #17253b;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.summary-stat {
  display: flex;
  align-items: start;
  gap: 12px;
}

.summary-stat span {
  font-size: 2rem;
}

.summary-stat strong {
  display: block;
  font-size: 1rem;
}

.summary-stat small {
  color: var(--muted);
}

.mini-day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.mini-day-card {
  padding: 16px 12px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, #2a8de8 0%, #ffcc3f 100%);
  color: #fff;
}

.mini-day-card span {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.mini-day-card i {
  display: block;
  margin: 18px 0;
  font-style: normal;
  font-size: 3rem;
}

.mini-day-card strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.city-weather-card,
.page-hero-card,
.process-card,
.quote-card,
.faq-card,
.contact-summary,
.contact-form-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.feature-card h2,
.section-head h2,
.alerts-band h2,
.page-hero-card h1,
.page-hero-card h2,
.contact-summary h2,
.site-footer h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #1d2e48;
}

.feature-card h2 {
  font-size: 1.2rem;
}

.feature-card p,
.city-weather-card p,
.alerts-band p,
.page-intro,
.page-side-note p,
.process-card p,
.quote-card p,
.faq-card p,
.contact-summary p,
.contact-form-card,
.site-footer p,
.site-footer a,
.detail-list,
.field span,
.checkbox-field span {
  color: var(--muted);
  line-height: 1.7;
}

.cities-section,
.page-shell,
.content-band {
  display: grid;
  gap: 22px;
}

.section-head,
.page-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.section-heading__eyebrow,
.footer-kicker,
.cookie-eyebrow {
  margin: 0 0 8px;
  color: #4f78a7;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: #2a8de8;
  font-weight: 700;
}

.city-weather-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.city-weather-card strong {
  display: block;
  font-size: 1.1rem;
}

.city-weather-card div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 8px;
}

.city-weather-card span {
  font-size: 1.8rem;
}

.city-weather-card b {
  font-size: 2.4rem;
  color: #1b2c46;
  letter-spacing: -0.05em;
}

.alerts-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.alerts-band__panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #eaf4ff, #d9ebff);
}

.alerts-band__panel strong {
  display: block;
  margin-bottom: 6px;
  color: #1e3150;
}

.inner-page {
  padding-top: 20px;
}

.page-side-note {
  background: #eef6ff;
}

.content-band--soft .content-band__inner {
  background: rgba(255, 255, 255, 0.86);
}

.content-band__inner {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.process-grid,
.testimonial-grid,
.faq-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-list {
  padding-left: 18px;
}

.detail-list li + li {
  margin-top: 10px;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.notice {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.notice--success {
  background: #e5f7e7;
  color: #23613b;
}

.notice--error {
  background: #ffe4e4;
  color: #8b2f2f;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(32, 50, 75, 0.12);
  border-radius: 14px;
  background: #fff;
  color: #1d2e48;
  outline: 0;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border: 1px solid rgba(32, 50, 75, 0.2);
  border-radius: 5px;
  background: #fff;
}

.site-footer {
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 0.7fr));
  gap: 22px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #1d2e48;
}

.site-brand--footer {
  color: #1d2e48;
  margin-bottom: 10px;
}


@media (max-width: 1180px) {
  .weather-hero,
  .alerts-band,
  .page-hero-card,
  .contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .weather-hero {
    min-height: auto;
    padding-bottom: 260px;
  }

  .weather-hero__stage {
    right: 34px;
  }

  .city-weather-grid,
  .feature-strip,
  .process-grid,
  .process-grid--wide,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100%, calc(100% - 12px));
  }

  .site-nav,
  .signup-btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
  }

  .mobile-nav {
    display: none;
    margin-top: 12px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 12px;
  }

  .mobile-nav a {
    color: #1d2e48;
    font-weight: 600;
  }

  .weather-hero__copy h1 {
    margin-top: 40px;
  }

  .weather-hero__search,
  .form-grid,
  .city-weather-grid,
  .feature-strip,
  .process-grid,
  .process-grid--wide,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .weather-hero__search {
    display: grid;
    gap: 8px;
    padding: 10px;
  }

  .weather-hero__stage {
    left: 18px;
    right: 18px;
    height: 170px;
  }
}

@media (max-width: 640px) {
  .weather-summary-card,
  .feature-card,
  .city-weather-card,
  .content-band__inner,
  .site-footer {
    padding: 18px;
  }

  .summary-stats,
  .mini-day-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-inline: 6px;
  }

  .weather-hero {
    padding-inline: 18px;
  }

  .weather-hero__copy h1 {
    font-size: 2.6rem;
  }
}
