:root {
  --ink: #101828;
  --muted: #607086;
  --line: rgba(15, 23, 42, 0.12);
  --panel: rgba(255, 255, 255, 0.78);
  --blue: #0ea5e9;
  --blue-deep: #2563eb;
  --indigo: #1e1b4b;
  --amber: #f59e0b;
  --coral: #fb7185;
  --green: #10b981;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(14, 165, 233, 0.16), transparent 38%),
    linear-gradient(215deg, rgba(245, 158, 11, 0.14), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 43%, #fffaf1 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 70%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(22px);
  transition:
    background 250ms ease,
    box-shadow 250ms ease,
    transform 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.brand-word {
  width: 118px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.footer-links a {
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--blue-deep);
  background: rgba(14, 165, 233, 0.09);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta {
  padding: 0 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  font-size: 14px;
}

.button {
  padding: 0 20px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.25);
}

.button.secondary {
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.75);
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 68px 0 54px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #0369a1;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), var(--coral));
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.13);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-copy p {
  max-width: 650px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
}

.hero-metrics dt {
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  place-items: center;
  perspective: 900px;
}

.weather-orbit {
  position: absolute;
  inset: 8% 5% auto auto;
  width: 260px;
  height: 260px;
  animation: float 6s ease-in-out infinite;
}

.orbit-sun {
  position: absolute;
  top: 12px;
  right: 32px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff5bd, #f59e0b 70%);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.36);
}

.orbit-cloud,
.orbit-rain {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.14);
}

.orbit-cloud {
  right: 72px;
  bottom: 78px;
  width: 138px;
  height: 54px;
}

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

.orbit-cloud::before {
  left: 26px;
  width: 64px;
  height: 64px;
}

.orbit-cloud::after {
  right: 24px;
  width: 46px;
  height: 46px;
}

.orbit-rain {
  right: 24px;
  bottom: 42px;
  width: 78px;
  height: 10px;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  transform: rotate(-18deg);
}

.phone-frame {
  position: relative;
  width: min(100%, 390px);
  padding: 16px;
  border: 10px solid rgba(12, 20, 42, 0.92);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(11, 16, 38, 0.06), rgba(255, 255, 255, 0)),
    #f8fbff;
  box-shadow:
    0 40px 90px rgba(16, 24, 40, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  transform: rotateX(7deg) rotateY(-8deg);
  transition: transform 200ms ease-out;
}

.phone-frame::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 118px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: rgba(12, 20, 42, 0.92);
  content: "";
  transform: translateX(-50%);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4px 14px;
}

.phone-top img {
  width: 116px;
}

.phone-top span,
.status-pill {
  border-radius: 999px;
  color: #075985;
  background: rgba(14, 165, 233, 0.12);
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.weather-panel {
  min-height: 250px;
  padding: 20px;
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.34), transparent 23%),
    linear-gradient(145deg, #0ea5e9, #2563eb 58%, #1e1b4b);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.26);
  overflow: hidden;
}

.temp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 40px 0 16px;
}

.temp-row strong {
  font-size: 70px;
  line-height: 0.9;
}

.weather-panel p,
.mini-screen p,
.insight-row p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.5;
}

.sun-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff3b0, var(--amber) 70%);
  box-shadow: 0 0 34px rgba(245, 158, 11, 0.42);
}

.forecast-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.forecast-strip div,
.insight-row {
  padding: 12px;
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.forecast-strip span,
.insight-row span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.forecast-strip strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 22px;
}

.forecast-strip small {
  color: #64748b;
  font-weight: 700;
}

.insight-row p {
  margin: 6px 0 0;
  color: #475569;
}

.logo-band {
  display: grid;
  min-height: 230px;
  margin-top: -26px;
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(11, 16, 38, 0.78), rgba(30, 27, 75, 0.62)),
    radial-gradient(circle at 24% 50%, rgba(14, 165, 233, 0.54), transparent 32%);
  box-shadow: var(--shadow);
  overflow: hidden;
  place-items: center;
}

.logo-band img {
  width: min(100%, 720px);
  opacity: 0.95;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.intro {
  padding: 70px 0 26px;
}

.features,
.flow,
.app-showcase,
.benefits {
  padding: 72px 0;
}

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

.feature-card,
.flow-step,
.benefit-item,
.benefit-copy,
.mini-screen {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 280px;
  padding: 24px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.feature-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 24px 54px rgba(37, 99, 235, 0.13);
  transform: translateY(-5px);
}

.feature-icon {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(245, 158, 11, 0.17));
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.location-icon::before {
  inset: 11px 15px 18px;
  border: 4px solid var(--blue-deep);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.timeline-icon::before {
  left: 10px;
  right: 10px;
  top: 23px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.timeline-icon::after {
  inset: 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow:
    -14px 9px 0 -4px var(--blue),
    14px -7px 0 -4px var(--green);
}

.city-icon::before {
  left: 11px;
  bottom: 10px;
  width: 9px;
  height: 25px;
  background: var(--blue-deep);
  box-shadow:
    12px -8px 0 0 var(--blue),
    24px -2px 0 0 var(--amber);
}

.mood-icon::before {
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--amber);
}

.mood-icon::after {
  left: 9px;
  bottom: 13px;
  width: 30px;
  height: 13px;
  border-radius: 999px;
  background: var(--blue-deep);
}

.insight-icon::before {
  inset: 11px;
  border: 4px solid var(--blue-deep);
  border-radius: 50%;
}

.insight-icon::after {
  right: 10px;
  bottom: 10px;
  width: 12px;
  height: 4px;
  border-radius: 999px;
  background: var(--amber);
  transform: rotate(45deg);
}

.settings-icon::before {
  inset: 12px;
  border: 5px solid var(--blue-deep);
  border-radius: 50%;
}

.settings-icon::after {
  inset: 6px 21px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 28px 0 var(--green);
  transform: rotate(90deg);
}

.flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  position: relative;
  padding: 28px;
}

.flow-step span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--indigo), var(--blue-deep));
  font-weight: 900;
  place-items: center;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: 34px;
  align-items: center;
}

.app-showcase > * {
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #334155;
  font-weight: 750;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: white;
  background: var(--green);
  content: "✓";
  font-size: 13px;
  place-items: center;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
  max-width: 100%;
  min-width: 0;
}

.mini-screen {
  min-height: 420px;
  padding: 14px;
  color: white;
  overflow: hidden;
}

.mini-screen:nth-child(2) {
  min-height: 500px;
}

.mini-screen.cloudy {
  background: linear-gradient(160deg, #475569, #0ea5e9);
}

.mini-screen.night {
  background: linear-gradient(160deg, #0b1026, #1e1b4b 70%, #2563eb);
}

.mini-screen.rainy {
  background: linear-gradient(160deg, #1f2937, #0f766e);
}

.screen-head,
.city-row,
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-head {
  margin-bottom: 20px;
}

.screen-head span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.search-line,
.city-row,
.toggle-row,
.chart-lines {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
}

.search-line {
  height: 42px;
  margin-bottom: 20px;
}

.city-row,
.toggle-row {
  min-height: 52px;
  margin-bottom: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.city-row.muted {
  opacity: 0.72;
}

.large-temp {
  margin: 82px 0 8px;
  font-size: 72px;
  font-weight: 900;
}

.chart-lines {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 170px;
  margin-top: 58px;
  padding: 12px;
}

.chart-lines span {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: rgba(255, 255, 255, 0.46);
}

.chart-lines span:nth-child(1) {
  height: 48%;
}

.chart-lines span:nth-child(2) {
  height: 72%;
}

.chart-lines span:nth-child(3) {
  height: 42%;
}

.chart-lines span:nth-child(4) {
  height: 60%;
}

.toggle-row span {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.toggle-row.active span {
  background: #a7f3d0;
}

.benefit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 16px;
}

.benefit-copy,
.benefit-item {
  padding: 28px;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.benefit-item p,
.feature-card p,
.flow-step p {
  margin-bottom: 0;
}

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 46px 0 86px;
}

.tech-strip span {
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 999px;
  color: #164e63;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  font-size: 14px;
  font-weight: 900;
  padding: 10px 16px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 24px;
  padding: 26px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, #0b1026, #1e1b4b 54%, #075985);
  box-shadow: var(--shadow);
}

.site-footer p {
  max-width: 480px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand img {
  width: 42px;
  border-radius: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  place-items: center;
}

.legal-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(14, 165, 233, 0.28), transparent 28%),
    rgba(11, 16, 38, 0.64);
  backdrop-filter: blur(14px);
}

.legal-modal__panel {
  position: relative;
  width: min(100%, 900px);
  max-height: min(84vh, 820px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, #ffffff, #eff8ff),
    #ffffff;
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.34);
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 220ms ease;
}

.legal-modal.is-open .legal-modal__panel {
  transform: translateY(0) scale(1);
}

.legal-modal__panel:focus {
  outline: 3px solid rgba(14, 165, 233, 0.34);
  outline-offset: 4px;
}

.legal-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  place-items: center;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.legal-modal__close:hover {
  background: white;
  transform: translateY(-1px);
}

.legal-modal__close span,
.legal-modal__close span::before {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
  content: "";
}

.legal-modal__close span {
  display: block;
  transform: rotate(45deg);
}

.legal-modal__close span::before {
  display: block;
  transform: rotate(90deg);
}

.legal-modal__header {
  padding: 34px 84px 26px 34px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 86% 18%, rgba(245, 158, 11, 0.18), transparent 25%),
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 0));
}

.legal-modal__header h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.03;
}

.legal-modal__header p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 16px;
}

.legal-modal__content {
  display: grid;
  gap: 18px;
  max-height: calc(min(84vh, 820px) - 240px);
  padding: 28px 34px 34px;
  overflow-y: auto;
}

.legal-modal__content article {
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-modal__content article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-modal__content h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.legal-modal__content p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(3deg);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .app-showcase,
  .benefit-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .feature-grid,
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screens-grid {
    grid-template-columns: repeat(3, 210px);
    overflow-x: auto;
    padding-bottom: 8px;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand-word {
    width: 104px;
  }

  .nav-cta {
    width: 100%;
  }

  .section,
  .site-footer {
    width: calc(100% - 20px);
  }

  .hero {
    gap: 28px;
    padding: 44px 0 36px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 60px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-metrics,
  .feature-grid,
  .flow-steps {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 510px;
  }

  .weather-orbit {
    right: 0;
    width: 210px;
    height: 210px;
  }

  .phone-frame {
    width: min(100%, 352px);
    border-width: 8px;
    border-radius: 32px;
    transform: none;
  }

  .temp-row strong {
    font-size: 58px;
  }

  .logo-band {
    min-height: 170px;
    margin-top: 0;
  }

  .features,
  .flow,
  .app-showcase,
  .benefits {
    padding: 50px 0;
  }

  .mini-screen {
    min-height: 390px;
  }

  .site-footer {
    display: grid;
    gap: 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-modal {
    padding: 10px;
    align-items: end;
  }

  .legal-modal__panel {
    max-height: calc(100vh - 20px);
  }

  .legal-modal__header {
    padding: 28px 68px 22px 20px;
  }

  .legal-modal__content {
    max-height: calc(100vh - 252px);
    padding: 22px 20px 28px;
  }

  .legal-modal__close {
    top: 14px;
    right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
