:root {
  --bg: #0c0e17;
  --surface: #171924;
  --surface-2: #1c1f2b;
  --surface-3: #222532;
  --surface-4: #282b3a;
  --text: #f0f0fd;
  --muted: #aaaab7;
  --soft: #737580;
  --primary: #a2b2ff;
  --secondary: #c397fd;
  --tertiary: #64e9ff;
  --outline: rgba(115, 117, 128, 0.18);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(100, 233, 255, 0.08), transparent 22%),
    radial-gradient(circle at top left, rgba(195, 151, 253, 0.16), transparent 26%),
    var(--bg);
}

body.cookie-lock {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.button-secondary {
  background: var(--surface-3);
  color: var(--text);
}

.site-shell {
  display: flex;
  min-height: 100vh;
}

.site-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 260px;
  padding: 28px 20px;
  background: rgba(12, 14, 23, 0.94);
  display: flex;
  flex-direction: column;
  gap: 26px;
  z-index: 30;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 12px 35px rgba(162, 178, 255, 0.18);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-copy small,
.footer-kicker,
.section-heading__eyebrow,
.sidebar-promo__eyebrow,
.cookie-eyebrow,
.card-label-row span:first-child,
.capsule-link,
.card-heading span,
.hero-card__tag,
.bar-labels span,
.trend-labels span,
.sun-card small {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-sidebar__nav {
  display: grid;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  color: var(--muted);
  transition: 0.2s ease;
}

.sidebar-link.is-active {
  background: linear-gradient(135deg, rgba(162, 178, 255, 0.95), rgba(195, 151, 253, 0.95));
  color: #fff;
  box-shadow: 0 10px 35px rgba(162, 178, 255, 0.22);
}

.sidebar-link:hover {
  background: rgba(34, 37, 50, 0.8);
  color: var(--text);
}

.sidebar-promo {
  margin-top: auto;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(34, 37, 50, 0.7);
}

.sidebar-promo p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.site-main {
  margin-left: 260px;
  width: calc(100% - 260px);
  padding: 28px;
}

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

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-header h1 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
}

.dashboard-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.dashboard-header__tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-pill,
.icon-pill,
.metric-compact,
.mini-analytics-card,
.forecast-panel,
.trend-card,
.sun-card,
.air-card,
.page-hero-card,
.process-card,
.quote-card,
.faq-card,
.contact-form-card,
.contact-summary,
.site-footer {
  background: var(--surface);
}

.search-pill {
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--muted);
}

.icon-pill {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
}

.dashboard-grid {
  display: grid;
}

.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.55fr) minmax(240px, 0.75fr);
  gap: 20px;
}

.hero-card,
.mini-analytics-card,
.forecast-panel,
.metric-compact,
.trend-card,
.sun-card,
.air-card,
.page-hero-card,
.process-card,
.quote-card,
.faq-card,
.contact-form-card,
.contact-summary {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(100, 233, 255, 0.24), rgba(12, 14, 23, 0.82)),
    linear-gradient(135deg, rgba(102, 211, 236, 0.85), rgba(72, 89, 164, 0.75));
}

.hero-card__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-card__sun {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.6rem;
}

.hero-card__cityscape {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background:
    linear-gradient(180deg, transparent, rgba(12, 14, 23, 0.85)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 8%, transparent 8% 13%, rgba(255, 255, 255, 0.12) 13% 18%, transparent 18% 24%, rgba(255, 255, 255, 0.08) 24% 28%, transparent 28% 34%, rgba(255, 255, 255, 0.14) 34% 40%, transparent 40% 44%, rgba(255, 255, 255, 0.1) 44% 49%, transparent 49% 57%, rgba(255, 255, 255, 0.12) 57% 65%, transparent 65% 71%, rgba(255, 255, 255, 0.08) 71% 78%, transparent 78% 83%, rgba(255, 255, 255, 0.14) 83% 90%, transparent 90%);
  opacity: 0.65;
}

.hero-card__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.hero-card__content h2 {
  margin: 0 0 10px;
  font-size: clamp(2.6rem, 5vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-card__weather {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.hero-temp {
  font-size: clamp(4.5rem, 7vw, 6rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.hero-card__weather p {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-card__weather small {
  color: rgba(240, 240, 253, 0.76);
}

.mini-analytics-card,
.forecast-panel,
.metric-compact,
.trend-card,
.sun-card,
.air-card {
  padding: 22px;
}

.card-label-row,
.card-heading,
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rain-bars {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 18px;
}

.rain-bars span {
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  opacity: 0.88;
}

.bar-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}

.forecast-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.forecast-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--surface-2);
}

.forecast-icon,
.sun-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-3);
}

.forecast-item strong,
.sun-card strong,
.air-card h3,
.process-card h3,
.quote-card h3,
.faq-card h3 {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.forecast-item small {
  color: var(--muted);
}

.dashboard-section {
  margin-top: 22px;
}

.section-title-row h2,
.page-hero-card h1,
.page-hero-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.05em;
}

.metric-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.metric-compact strong,
.air-card__score {
  display: block;
  margin: 22px 0 16px;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.metric-compact strong span,
.air-card__score span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.metric-compact 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,
.card-heading .legend span,
.sun-card p {
  color: var(--muted);
  line-height: 1.7;
}

.meter {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.meter--amber span {
  background: linear-gradient(90deg, #f0b83a, #ffdb75);
}

.chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
  gap: 20px;
  margin-top: 22px;
}

.legend {
  display: flex;
  gap: 14px;
}

.legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.legend i.alt {
  background: var(--secondary);
}

.trend-chart {
  position: relative;
  min-height: 300px;
  margin-top: 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(162, 178, 255, 0.08), rgba(23, 25, 36, 0.45));
  overflow: hidden;
}

.trend-line {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 20%;
  bottom: 22%;
  border-bottom: 2px solid transparent;
}

.trend-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(162, 178, 255, 0.25), transparent 72%);
  clip-path: polygon(0 72%, 12% 69%, 26% 74%, 38% 78%, 51% 60%, 67% 52%, 79% 69%, 91% 82%, 100% 50%, 100% 100%, 0 100%);
}

.trend-line::after {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--secondary);
  border-radius: 40% 50% 0 0;
  clip-path: polygon(0 72%, 12% 69%, 26% 74%, 38% 78%, 51% 60%, 67% 52%, 79% 69%, 91% 82%, 100% 50%, 100% 54%, 91% 86%, 79% 73%, 67% 56%, 51% 64%, 38% 82%, 26% 78%, 12% 73%, 0 76%);
}

.trend-labels {
  position: absolute;
  inset: auto 5% 18px 5%;
  display: flex;
  justify-content: space-between;
}

.right-rail {
  display: grid;
  gap: 20px;
}

.sun-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.moon {
  color: var(--secondary);
}

.sun-arc {
  height: 84px;
  margin: 28px 0 12px;
  border-top: 2px dashed rgba(162, 178, 255, 0.7);
  border-radius: 120px 120px 0 0;
  position: relative;
}

.sun-arc::after {
  content: "";
  position: absolute;
  right: 18%;
  top: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
}

.air-card h3 {
  margin: 18px 0 0;
}

.inner-page {
  margin-top: 28px;
}

.page-hero-card,
.process-card,
.quote-card,
.faq-card,
.contact-form-card,
.contact-summary {
  padding: 28px;
}

.page-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
}

.page-side-note {
  padding: 18px;
  border-radius: 18px;
  background: var(--surface-2);
}

.content-band {
  margin-top: 28px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

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

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

.contact-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

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

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

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

.field,
.checkbox-field {
  display: grid;
  gap: 8px;
}

.field span,
.checkbox-field span {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
}

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

.honeypot {
  display: none;
}

.checkbox-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--surface-2);
}

.notice {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
}

.notice--success {
  background: rgba(100, 233, 255, 0.12);
  color: var(--tertiary);
}

.notice--error {
  background: rgba(255, 110, 132, 0.14);
  color: #ffb2b9;
}

.site-footer {
  margin-top: 30px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.6fr));
  gap: 20px;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 7, 12, 0.78);
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 70;
  width: min(540px, calc(100% - 24px));
  padding: 28px;
  border-radius: var(--radius-xl);
  transform: translate(-50%, -50%);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.cookie-modal h2 {
  margin: 8px 0 12px;
  font-size: 1.65rem;
  line-height: 1.2;
}

.cookie-modal p {
  color: var(--muted);
  line-height: 1.7;
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-3);
  color: var(--text);
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 1200px) {
  .hero-row,
  .metric-card-grid,
  .chart-row,
  .page-hero-card,
  .site-footer__grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 960px) {
  .site-sidebar {
    display: none;
  }

  .site-main {
    margin-left: 0;
    width: 100%;
    padding: 18px;
  }

  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--surface);
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
  }

  .mobile-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
  }

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

  .mobile-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface);
    color: var(--muted);
  }

  .mobile-nav a.is-active {
    background: linear-gradient(135deg, rgba(162, 178, 255, 0.95), rgba(195, 151, 253, 0.95));
    color: #fff;
  }

  .dashboard-header,
  .dashboard-header__tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-pill {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .process-grid,
  .testimonial-grid,
  .faq-grid,
  .form-grid,
  .mobile-nav {
    grid-template-columns: 1fr;
  }

  .site-main {
    padding: 14px;
  }

  .hero-card__content h2 {
    font-size: 2.1rem;
  }

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

  .page-hero-card,
  .process-card,
  .quote-card,
  .faq-card,
  .contact-form-card,
  .contact-summary,
  .trend-card,
  .sun-card,
  .air-card,
  .metric-compact,
  .mini-analytics-card,
  .forecast-panel,
  .site-footer {
    padding: 20px;
  }
}
