/* ============================================================
   GoWeather — go-apps.app/goweather
   Marketing page. Matches the JustRow shell; tokens from the
   GoWeather design handoff (Hanken Grotesk, #FAFAF9 / #141312).
   ============================================================ */
:root {
  --ink: #141312;
  --ink-68: rgba(20, 19, 18, 0.68);
  --ink-62: rgba(20, 19, 18, 0.62);
  --ink-50: rgba(20, 19, 18, 0.5);
  --hairline: rgba(20, 19, 18, 0.1);
  --hairline-soft: rgba(20, 19, 18, 0.08);
  --border: rgba(20, 19, 18, 0.12);
  --border-ghost: rgba(20, 19, 18, 0.16);
  --canvas: #fafaf9;
  --glass: rgba(250, 250, 249, 0.82);
  --orange: #ff5c00;
  --orange-hover: #ff6d1a;
  --orange-link: #c74800;

  --font: "Hanken Grotesk", Helvetica, Arial, sans-serif;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--orange-link); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3 { margin: 0; }
img { max-width: 100%; }

:where(#top, #features, #get) { scroll-margin-top: 72px; }

/* ---- shared pill / button ---- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.pill--primary { background: var(--orange); color: #fff; }
.pill--primary:hover { background: var(--orange-hover); color: #fff; transform: translateY(-1px); }
.pill--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-ghost);
}
.pill--ghost:hover { border-color: rgba(20, 19, 18, 0.4); color: var(--ink); transform: translateY(-1px); }

/* ============================================================
   Header — sticky
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline-soft);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-nav__link { white-space: nowrap; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark img { width: 28px; height: 28px; border-radius: 7px; flex: none; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.site-nav__link { color: var(--ink-62); font-weight: 500; }
.site-nav__link:hover { color: var(--ink); }
.site-nav .pill--primary { padding: 9px 16px; font-size: 14px; white-space: nowrap; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--pad) 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.hero__title {
  margin-top: 20px;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__title .accent { color: var(--orange); }
.hero__sub {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-68);
  max-width: 44ch;
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__cta .pill--primary { padding: 14px 24px; font-size: 15px; }
.hero__cta .pill--ghost { padding: 14px 20px; font-size: 15px; }

.hero__phone { display: flex; justify-content: center; min-width: 0; }
.phone {
  width: min(380px, 100%);
  aspect-ratio: 380 / 545;     /* crop the bottom, but show through the first readings row */
}
.phone picture { display: block; width: 100%; height: 100%; }
.phone__screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;        /* keep the top, crop the bottom */
  display: block;
  border-radius: 16px;         /* lighter rounding */
  box-shadow: 0 30px 60px -28px rgba(20, 19, 18, 0.22);
}

/* ============================================================
   Feature grid
   ============================================================ */
.features {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 64px var(--pad) 0;
}
.features__title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 30ch;
  text-wrap: pretty;
}
.features__deck {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-68);
  max-width: 56ch;
}
.feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}
.feature { background: var(--canvas); padding: 30px 28px 34px; }
.feature__icon { display: block; color: var(--ink-62); height: 26px; }
.feature__icon svg { width: 26px; height: 26px; display: block; }
.feature__icon--warn { color: #d64545; }   /* warning colour — the one exception to muted ink */
.feature h3 {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.feature p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-68);
}


/* ============================================================
   Support panel
   ============================================================ */
.support {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px var(--pad) 0;
}
.support__panel {
  background: var(--orange);
  color: #ffffff;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
}
.support__title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; }
.support__body {
  margin: 12px auto 26px;
  font-size: 16.5px;
  line-height: 1.55;
  color: #ffffff;
  max-width: 46ch;
}
.support__btn { background: #ffffff; color: var(--ink); padding: 14px 22px; font-size: 15px; }
.support__btn:hover { background: #f1f1ef; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  max-width: var(--maxw);
  margin: 72px auto 0;
  padding: 26px var(--pad) 44px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.site-footer .wordmark { font-size: 17px; }
.site-footer .wordmark img { width: 30px; height: 30px; border-radius: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-nav a { color: var(--ink-62); font-weight: 500; }
.footer-nav a:hover { color: var(--ink); }
.footer-legal {
  flex-basis: 100%;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-50);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}
