/*
  Hydrology Pro's website. The colours are the app icon's: the deep teal
  of a rain sky and the light blue of the hydrograph under it.

  Author: Alexius Academia
  Date: 2026-10-09
*/

:root {
  --ink: #12303a;
  --ink-soft: #52707a;
  --paper: #ffffff;
  --mist: #f1f8f9;
  --line: #d9e8ea;
  --blue: #0f759e;
  --blue-deep: #0f4d6b;
  --water: #8cdbfa;
  --radius: 14px;
  --wide: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }

.sub { color: var(--ink-soft); margin: 10px 0 0; max-width: 62ch; }

/* The bar at the top */

.top { background: var(--blue-deep); position: sticky; top: 0; z-index: 10; }

.bar { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.brand img { border-radius: 8px; }

nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
nav a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.95rem; }
nav a:hover { color: #fff; }

/* The hero: a rain sky */

.hero {
  text-align: center;
  padding: 68px 0 0;
  background: linear-gradient(180deg, #d5eef5 0%, #f1f9fb 100%);
  overflow: hidden;
}

.hero-icon { margin: 0 auto 22px; border-radius: 24px; box-shadow: 0 14px 30px rgba(15, 77, 107, 0.3); }

.lead { max-width: 60ch; margin: 20px auto 0; font-size: 1.15rem; color: var(--ink-soft); }

.badge {
  display: inline-block;
  margin-top: 28px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  font-weight: 650;
}

.shots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;
  margin-top: 50px;
}
.shots img {
  width: 250px;
  border-radius: 30px 30px 0 0;
  border: 6px solid #12303a;
  border-bottom: 0;
  box-shadow: 0 24px 60px rgba(15, 77, 107, 0.28);
}
.shots img:nth-child(2) { width: 280px; }

/* Sections */

section { padding: 76px 0; }

.band { background: var(--mist); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.grid article p { margin: 10px 0 0; color: var(--ink-soft); font-size: 0.98rem; }

.points { margin: 26px 0 0; padding: 0; list-style: none; max-width: 70ch; }
.points li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; }
.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--water);
}

/* The support and privacy pages */

.page { padding-top: 56px; }
.page h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.page h2 { font-size: 1.4rem; margin-top: 40px; }
.page p, .page ul { margin: 14px 0 0; }
.page li { margin-top: 6px; }

/* The foot */

footer { background: var(--blue-deep); color: rgba(255, 255, 255, 0.72); padding: 26px 0; font-size: 0.92rem; }
footer a { color: #fff; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  nav { gap: 14px; }
  .shots img { width: 46%; }
  .shots img:nth-child(2) { width: 46%; }
  .shots img:nth-child(3) { display: none; }
  section { padding: 56px 0; }
}
