:root {
  --bg: #080f12;
  --bg-soft: #0d161a;
  --surface: rgba(22, 31, 35, 0.78);
  --surface-strong: rgba(27, 38, 43, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --surface-line: rgba(255, 255, 255, 0.1);
  --text: #f4f7f8;
  --muted: rgba(230, 237, 239, 0.72);
  --muted-deep: rgba(208, 219, 224, 0.52);
  --accent: #ffd08a;
  --accent-soft: #ffebc4;
  --cyan: #8fe3ff;
  --cyan-strong: #55c9ef;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  --radius-xxl: 34px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(151, 181, 195, 0.18), transparent 34%),
    linear-gradient(180deg, #061012 0%, #081316 40%, #0b1619 100%);
}

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

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

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

.site-shell {
  width: min(1440px, calc(100% - 26px));
  margin: 0 auto;
  padding: 18px 0 46px;
}

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-brand__icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-soft);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.96rem;
  font-weight: 500;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-circle,
.download-app,
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.search-circle {
  width: 52px;
  min-width: 52px;
}

.download-app,
.mobile-nav__cta {
  padding: 0 22px;
  color: var(--text);
  font-weight: 600;
}

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

.site-main {
  display: grid;
  gap: 30px;
}

.storm-hero {
  position: relative;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  min-height: 760px;
  padding: 28px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 72%, rgba(255, 183, 112, 0.58), transparent 12%),
    radial-gradient(circle at 55% 34%, rgba(255, 255, 255, 0.1), transparent 28%),
    radial-gradient(circle at 45% 16%, rgba(202, 218, 228, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(7, 17, 22, 0.54), rgba(9, 16, 20, 0.78)),
    linear-gradient(180deg, #111b20 0%, #0c1519 56%, #0a1215 100%);
  box-shadow: var(--shadow);
}

.storm-hero::before,
.storm-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  pointer-events: none;
}

.storm-hero::before {
  inset: 40px 190px auto auto;
  width: 320px;
  height: 120px;
  background: radial-gradient(circle at 45% 50%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02) 68%, transparent 100%);
}

.storm-hero::after {
  left: 290px;
  right: 140px;
  bottom: 30px;
  height: 210px;
  border-radius: 0;
  background:
    radial-gradient(circle at 58% 48%, rgba(255, 203, 145, 0.4), transparent 10%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.34) 100%);
}

.control-rail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 28px 16px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(37, 48, 53, 0.82), rgba(23, 33, 37, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rail-brand {
  padding: 18px 14px 20px;
  text-align: center;
  font-size: 1.95rem;
  letter-spacing: -0.07em;
  color: rgba(246, 248, 249, 0.92);
}

.rail-brand span {
  position: relative;
  display: inline-block;
}

.rail-brand span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-12deg);
}

.rail-section-label,
.hero-note-label,
.mini-label,
.panel-kicker,
.section-kicker {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted-deep);
  letter-spacing: 0.03em;
}

.status-card,
.globe-card,
.search-card,
.week-card,
.content-panel,
.footer-grid {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 19, 23, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
}

.status-pill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.danger-meter {
  position: relative;
  height: 142px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.danger-meter__curve,
.danger-meter__line,
.danger-meter__tag,
.danger-meter__dot {
  position: absolute;
}

.danger-meter__curve {
  left: 14px;
  right: 14px;
  bottom: 28px;
  height: 58px;
  border-bottom: 4px solid transparent;
  border-radius: 0 0 80px 80px;
  background:
    radial-gradient(circle at left bottom, transparent 63px, rgba(0, 0, 0, 0) 64px),
    linear-gradient(90deg, #3ed3ff, #ffd58a);
  clip-path: path("M 0 56 C 52 56 72 42 116 38 C 160 34 192 18 228 0 L 228 58 L 0 58 Z");
}

.danger-meter__line {
  left: 18px;
  right: 20px;
  bottom: 42px;
  height: 2px;
  background: rgba(255, 255, 255, 0.44);
}

.danger-meter__tag {
  left: 20px;
  top: 18px;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #131d21;
  font-weight: 700;
}

.danger-meter__dot {
  right: 56px;
  bottom: 44px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f4f8fa;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

.status-link,
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.94rem;
}

.globe-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
}

.globe-disc {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 226, 185, 0.85), transparent 54%),
    radial-gradient(circle at 50% 60%, rgba(255, 150, 84, 0.48), transparent 70%),
    linear-gradient(180deg, #12191c 0%, #1f2a2e 100%);
  overflow: hidden;
}

.globe-disc::before,
.globe-disc::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.globe-disc::after {
  inset: 28% 24%;
}

.globe-map {
  position: absolute;
  inset: 18% 10% 12%;
  opacity: 0.28;
  background:
    radial-gradient(circle at 18% 38%, rgba(255, 255, 255, 0.9) 0 7%, transparent 8%),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.7) 0 9%, transparent 10%),
    radial-gradient(circle at 48% 68%, rgba(255, 255, 255, 0.8) 0 7%, transparent 8%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent 55%);
}

.globe-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 203, 145, 0.18);
}

.globe-pin::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 4px;
  height: 10px;
  border-radius: 99px;
  background: #fff;
}

.globe-pin--one {
  left: 34%;
  top: 30%;
}

.globe-pin--two {
  left: 62%;
  top: 42%;
}

.globe-pin--three {
  left: 44%;
  top: 62%;
}

.location-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.95rem;
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-width: 0;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
}

.location-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.location-row span {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-note {
  max-width: 308px;
  align-self: end;
}

.hero-note p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.42;
}

.hero-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  min-width: 0;
}

.hero-current {
  align-self: end;
  padding: 56px 12px 0;
}

.hero-metric-row {
  display: flex;
  align-items: start;
  gap: 20px;
}

.hero-temp {
  font-size: clamp(5.8rem, 12vw, 9.3rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
  color: rgba(255, 255, 255, 0.94);
}

.hero-hi-low {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.hi-low-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 138px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.hero-title {
  max-width: 700px;
  margin: 28px 0 0;
  font-size: clamp(3.1rem, 7vw, 5.4rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.54);
}

.search-card {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 22px;
  border-radius: 28px;
  min-width: 0;
}

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

.mini-weather-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.mini-weather-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.mini-weather-card strong {
  display: block;
  font-size: 1.12rem;
}

.mini-weather-card span,
.mini-weather-card small {
  color: var(--muted-deep);
}

.timeline-wrap {
  position: relative;
  padding: 0 10px 12px;
}

.timeline-days,
.timeline-temps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.timeline-days {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.timeline-curve {
  position: relative;
  height: 108px;
  margin: 14px 0 8px;
}

.timeline-curve svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.timeline-glow {
  position: absolute;
  left: 59.5%;
  top: 34%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 0 12px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(255, 255, 255, 0.82);
}

.timeline-glow::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  width: 1px;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent);
}

.timeline-temps {
  color: rgba(255, 255, 255, 0.5);
  font-size: 2.2rem;
  letter-spacing: -0.06em;
}

.timeline-temps strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
}

.content-section {
  display: grid;
  gap: 18px;
}

.content-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 8px;
}

.content-head h2,
.inner-hero h1,
.content-panel h3,
.footer-grid h3 {
  margin: 0;
  letter-spacing: -0.05em;
}

.content-head h2,
.inner-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.content-head p,
.inner-hero p,
.content-panel p,
.footer-grid p,
.footer-grid a,
.detail-list,
.field span,
.checkbox-field span {
  color: var(--muted);
  line-height: 1.7;
}

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

.panel-grid--two {
  grid-template-columns: 1.1fr 0.9fr;
}

.content-panel {
  padding: 24px;
  border-radius: 28px;
}

.content-panel--warm {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 198, 142, 0.18), transparent 20%),
    rgba(12, 19, 23, 0.56);
}

.content-panel--grid {
  display: grid;
  gap: 18px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-tile {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.stat-tile strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.06em;
  color: var(--text);
}

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

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

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

.section-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.06rem;
}

.section-card span {
  font-size: 1.5rem;
}

.inner-page {
  display: grid;
  gap: 26px;
}

.inner-hero {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 198, 142, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(24, 35, 40, 0.94), rgba(13, 20, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.inner-hero__row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: end;
}

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

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

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

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.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: 56px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: 0;
}

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

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

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 239, 210, 0.22), rgba(255, 202, 141, 0.3));
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.site-footer {
  margin-top: 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 0.8fr));
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
}

.footer-grid h3 {
  font-size: 1rem;
  color: var(--text);
}

.footer-grid a {
  display: block;
}

.footer-grid a + a {
  margin-top: 8px;
}

@media (max-width: 1180px) {
  .storm-hero,
  .hero-center,
  .panel-grid,
  .panel-grid--two,
  .inner-hero__row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .storm-hero {
    min-height: auto;
  }

  .section-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .site-nav,
  .header-actions .download-app,
  .header-actions .search-circle {
    display: none;
  }

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

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

  .mobile-nav {
    display: none;
    gap: 12px;
    margin-bottom: 12px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(20, 29, 33, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .storm-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .control-rail {
    order: 2;
  }

  .hero-main {
    order: 1;
  }

  .hero-current {
    padding-inline: 0;
  }

  .hero-note {
    max-width: none;
  }

  .location-row {
    flex-wrap: wrap;
  }

  .timeline-days,
  .timeline-temps,
  .recent-grid,
  .inner-card-grid,
  .faq-grid,
  .testimonial-grid,
  .form-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }
}

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

  .storm-hero,
  .inner-hero,
  .content-panel,
  .footer-grid {
    padding: 18px;
  }

  .hero-temp {
    font-size: 4.7rem;
  }

  .hero-title,
  .content-head h2,
  .inner-hero h1 {
    font-size: 2.2rem;
  }

  .hero-note p {
    font-size: 0.98rem;
  }

  .section-cards {
    grid-template-columns: 1fr;
  }
}
