/* umberrain.kineto-soft.com: the app's colors (design/mockups.html) and Umber's font. Dark only, mobile first. */
:root {
  --bg: #000000;
  --s1: #0C0F12;
  --s2: #151A1F;
  --line: rgba(243, 236, 230, 0.09);
  --text: #F3ECE6;
  --muted: #A29C96;
  --accent: #8EC1E6;
  --glow: rgba(150, 190, 225, 0.30);
  --radius: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 21px; letter-spacing: -0.01em; }
.brand b { font-weight: 500; color: var(--accent); }
.brand img { border-radius: 8px; }
nav.site { display: flex; gap: 18px; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 0; }
nav.site a:hover { color: var(--text); }

h1, h2 { font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(52px, 14vw, 96px); line-height: 1; margin: 0 0 12px; }
h2 { font-size: clamp(30px, 6vw, 44px); line-height: 1.12; margin: 0 0 12px; }
h3 { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
h1 .kw { display: block; margin-bottom: 14px; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.tagline { font-size: clamp(24px, 5vw, 32px); font-weight: 300; line-height: 1.25; margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 38ch; }
.sub { color: var(--muted); margin: 0; max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.ctas a { display: block; line-height: 0; }
.badge { display: block; height: 56px; width: auto; }
/* Google's badge PNG has 41 px of clear space around a 168 px tall badge: scale it to the same visible height and pull the margin in. */
.badge.google { height: calc(56px * 250 / 168); margin: calc(-56px * 41 / 168); }
.hero .ctas { justify-content: center; }

/* Rain art: an arched window with its own rain (the app's art, rendered to static SVG). */
.fall { animation: fall var(--dur) linear infinite; }
@keyframes fall { to { transform: translate(var(--dx), 270px); } }
.hero { display: grid; gap: 48px; justify-items: center; text-align: center; padding: 24px 0 56px; }
.hero .lead { margin-left: auto; margin-right: auto; }
.window { position: relative; width: min(250px, 60vw); aspect-ratio: 200 / 270; }
.window svg { position: relative; display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 34px var(--glow)); }
.rip { position: absolute; left: -22%; right: -22%; bottom: -10px; height: 20px; }
.rip i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201, 220, 235, 0.45); opacity: 0; animation: ripple 5s ease-out infinite; }
.rip i + i { animation-delay: 2.5s; }
@keyframes ripple { 0% { transform: scale(0.35); opacity: 0.9; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fall, .rip i { animation: none; } .rip i { opacity: 0.5; transform: scale(0.7); } }

section { padding: 48px 0; }
.grid { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; background: var(--s2); display: grid; place-items: center; margin-bottom: 16px; color: var(--accent); }
.tag { font-size: 13px; font-weight: 500; color: var(--muted); }

.rains { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); }
.rains .card { padding: 18px; }
.rains svg { display: block; width: 100%; max-width: 120px; height: auto; margin: 0 auto 16px; }
.rains h3 { font-size: 17px; }
.tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 9px; background: var(--s2); color: var(--accent); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; vertical-align: 2px; }
.rains p { font-size: 15px; line-height: 1.45; }

/* Free vs Pro. */
.plans { width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.plans th, .plans td { padding: 12px 10px; border-top: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plans thead th { border-top: 0; padding-top: 20px; font-weight: 500; font-size: 17px; }
.plans thead th small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.plans tbody th { text-align: left; font-weight: 400; padding-left: 18px; }
.plans th:first-child { width: 64%; }
.plans .pro { color: var(--accent); }
.plans td:last-child { background: rgba(142, 193, 230, 0.06); }
.y::before { content: ''; display: inline-block; width: 16px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: translateY(-3px) rotate(-45deg); }
.n::before { content: ''; display: inline-block; width: 12px; height: 2px; background: var(--muted); vertical-align: middle; opacity: 0.6; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 16px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }

details { background: var(--s1); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-top: 12px; }
summary { cursor: pointer; font-weight: 500; }
details p { color: var(--muted); margin: 12px 0 0; }

/* "At a glance": key facts as a definition list. */
.facts { margin: 20px 0 0; background: var(--s1); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; }
.facts div { display: grid; gap: 2px 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 500; }
.facts dd { margin: 0; color: var(--muted); }

footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; margin-top: 32px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site .legal { flex-basis: 100%; font-size: 12px; }
footer.site .more { flex-basis: 100%; font-size: 13px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }

/* Privacy, terms and support. */
.doc h1 { font-size: clamp(36px, 8vw, 52px); margin: 24px 0 8px; line-height: 1.1; }
.doc h2 { font-size: 26px; margin: 40px 0 8px; }
.doc h3 { font-size: 18px; margin: 20px 0 4px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }

@media (min-width: 820px) {
  .wrap { padding: 0 32px; }
  header.site { padding: 28px 0; }
  .hero { grid-template-columns: 1.2fr 0.8fr; align-items: center; justify-items: start; text-align: left; padding: 48px 0 72px; }
  .hero .lead { margin-left: 0; }
  .hero .ctas { justify-content: flex-start; }
  .facts div { grid-template-columns: 160px 1fr; }
  .hero .window { order: 2; justify-self: center; width: min(280px, 28vw); }
  section { padding: 64px 0; }
}
