:root {
  color-scheme: light;
  --ink: #17203a;
  --muted: #5c6680;
  --line: rgba(31, 45, 83, 0.12);
  --paper: rgba(255, 255, 255, 0.88);
  --paper-solid: #ffffff;
  --blue: #3758e8;
  --blue-dark: #243ba8;
  --yellow: #ffc45c;
  --bg: #f5f8ff;
  --shadow: 0 24px 80px rgba(24, 42, 104, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 13% 10%, rgba(117, 213, 255, 0.42), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(255, 209, 105, 0.3), transparent 24rem),
    linear-gradient(180deg, #eef6ff 0%, var(--bg) 48%, #fff9ef 100%);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(39, 62, 130, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(39, 62, 130, .025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

a { color: inherit; }
img { display: block; }

.site-header {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 8px 22px rgba(24, 45, 117, .18); }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--blue); }

.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; position: relative; z-index: 1; }
.hero { min-height: calc(100vh - 174px); display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 70px; padding: 72px 0 96px; }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(48px, 7.2vw, 91px); line-height: .98; letter-spacing: -.066em; }
.hero h1 span { color: var(--blue); }
.lede { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; font-weight: 560; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border-radius: 15px; text-decoration: none; font-size: 15px; font-weight: 820; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 14px 34px rgba(55, 88, 232, .28); }
.button.secondary { color: var(--blue-dark); background: rgba(255,255,255,.72); border: 1px solid var(--line); }
.fine { margin-top: 17px; color: #7b8499; font-size: 13px; line-height: 1.55; }

.weather-card { position: relative; min-height: 490px; overflow: hidden; border: 1px solid rgba(255,255,255,.66); border-radius: 36px; padding: 30px; background: linear-gradient(180deg, #69c9ff 0%, #5b7cf2 44%, #26346d 100%); box-shadow: var(--shadow); color: #fff; isolation: isolate; }
.weather-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -62px; top: -72px; border-radius: 50%; background: radial-gradient(circle, rgba(255,248,185,.98) 0 7%, rgba(255,220,116,.42) 8% 20%, transparent 65%); }
.weather-card::after { content: ""; position: absolute; inset: auto -10% -11% -10%; height: 48%; background: linear-gradient(155deg, transparent 0 25%, rgba(17,38,75,.76) 26% 100%); clip-path: polygon(0 52%, 17% 23%, 35% 49%, 55% 5%, 76% 42%, 100% 17%, 100% 100%, 0 100%); z-index: -1; }
.card-top { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 760; }
.temperature { margin-top: 54px; font-size: 76px; line-height: 1; font-weight: 840; letter-spacing: -.07em; }
.forecast-copy { position: absolute; left: 30px; right: 30px; bottom: 34px; }
.forecast-copy small { display: block; margin-bottom: 9px; color: rgba(255,255,255,.74); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.forecast-copy strong { display: block; max-width: 360px; font-size: 28px; line-height: 1.14; letter-spacing: -.03em; }

.feature-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 0 0 92px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7); backdrop-filter: blur(12px); }
.feature b { display: block; margin-bottom: 7px; font-size: 17px; }
.feature span { color: var(--muted); font-size: 14px; line-height: 1.55; }

.legal-wrap { width: min(800px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0 100px; position: relative; z-index: 1; }
.legal-hero { margin-bottom: 28px; }
.legal-hero h1 { margin: 0; font-size: clamp(38px, 7vw, 64px); line-height: 1.04; letter-spacing: -.055em; }
.legal-hero p { margin: 15px 0 0; color: var(--muted); line-height: 1.65; }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.legal-card h2 { margin: 35px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-card ul { padding-left: 22px; }
.legal-card a { color: var(--blue); font-weight: 720; }
.meta { display: flex; flex-wrap: wrap; gap: 7px 18px; margin-top: 18px; color: #7b8499; font-size: 13px; }
.callout { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--yellow); border-radius: 4px 14px 14px 4px; background: rgba(255, 239, 190, .5); color: #614a17; font-size: 14px; line-height: 1.65; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-item { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.62); }
.support-item h2 { margin: 0 0 8px; font-size: 17px; }
.support-item p { margin: 0; }

.site-footer { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 26px 0 38px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #768097; font-size: 13px; position: relative; z-index: 1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { text-decoration: none; font-weight: 700; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 48px; }
  .weather-card { min-height: 440px; }
  .feature-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { align-items: flex-start; }
  .nav { max-width: 190px; gap: 8px 13px; }
  .nav a { font-size: 12px; }
  .hero h1 { font-size: 49px; }
  .weather-card { min-height: 410px; border-radius: 28px; padding: 24px; }
  .forecast-copy { left: 24px; right: 24px; bottom: 28px; }
  .forecast-copy strong { font-size: 24px; }
  .support-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .weather-card { animation: float 7s ease-in-out infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-9px) rotate(.3deg); } }
}
