/* WattGrowl site: graphite + engine red, matching the app. No external fonts or scripts. */
:root {
  --bg: #0b0c0f;
  --bg-2: #111318;
  --surface: #161920;
  --surface-2: #1c2029;
  --line: rgba(255, 255, 255, .09);
  --text: #eef0f3;
  --muted: #a3a8b3;
  --dim: #6f7580;
  --red: #e10600;
  --red-bright: #ff3b30;
  --red-soft: rgba(225, 6, 0, .14);
  --green: #34c759;
  --amber: #ffb020;
  --cyan: #2ec5ff;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 12, 15, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { color: var(--red-bright); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav .cta { color: #fff; background: var(--red); padding: 8px 14px; border-radius: 999px; }
.nav .cta:hover { background: var(--red-bright); color: #fff; }
@media (max-width: 760px) { .nav a:not(.cta) { display: none; } }

/* hero */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(225, 6, 0, .28), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr .9fr; } .hero { padding: 84px 0 64px; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 14px; }
h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--red-bright); }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
/* Store row (brand rules 2026-10-24): Google's own badge image, unmodified and unanimated (its PNG carries the
   clear space); the iPhone version is plain text, no Apple badge or logo until it is on the App Store. */
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; }
.play-badge img { display: block; height: 72px; width: auto; }
.play-badge:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.soon { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 5px;
  border: 1px solid #a6a6a6; background: #000; color: #fff; font-weight: 700; font-size: 15px; }
.soon-ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; color: #fff; }
.soon-ico.apple { fill: currentColor; stroke: none; }
.soon .tag { margin-left: 0; vertical-align: 0; background: rgba(255, 255, 255, .1); color: var(--text); }
.follow { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.follow a, .faq a, .prose a { color: var(--text); font-weight: 700; }
.follow a:hover, .faq a:hover, .prose a:hover { color: var(--red-bright); }
.ghost { text-decoration: none; font-weight: 700; color: var(--text); padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); }
.ghost:hover { border-color: rgba(255, 255, 255, .3); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; margin: 0; padding: 0; list-style: none; }
.facts li::before { content: "● "; color: var(--red); font-size: 10px; vertical-align: 2px; }
.hero-phone { display: flex; justify-content: center; }

/* phone frame */
.phone {
  width: min(300px, 78vw); flex: none; border-radius: 40px; padding: 10px;
  background: linear-gradient(160deg, #2a2e35, #0e1013);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 90px -30px rgba(225, 6, 0, .45);
}
.phone img { display: block; width: 100%; border-radius: 31px; aspect-ratio: 738 / 1456; object-fit: cover; background: #0b0c0f; }
/* the 2026-10-24 screens are cropped 738x1438: keep their own ratio instead of the 738/1456 frame */
.phone img[height="1438"] { aspect-ratio: 738 / 1438; }

/* sections */
section { padding: 64px 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(28px, 4.6vw, 40px); line-height: 1.12; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 40em; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red-bright); margin: 0 0 10px; }

.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red-soft); color: var(--red-bright); font-weight: 800; margin-bottom: 12px;
}
.step h3, .card h3 { margin: 0 0 6px; font-size: 19px; }
.step p, .card p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; stroke: var(--red-bright); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card.premium { border-color: rgba(225, 6, 0, .45); background: linear-gradient(180deg, rgba(225, 6, 0, .12), var(--surface) 60%); }
.tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--red); color: #fff; margin-left: 6px; vertical-align: 3px; }
.tag.free { background: rgba(52, 199, 89, .16); color: var(--green); }

.also { display: grid; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); }
@media (min-width: 760px) { .also { grid-template-columns: repeat(2, 1fr); } }
.also li { padding-left: 26px; position: relative; }
.also li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; background: var(--red-bright); }

/* screens */
.shots { display: flex; gap: 28px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
@media (min-width: 980px) { .shots { justify-content: center; overflow: visible; } }
.shot { scroll-snap-align: center; flex: none; margin: 0; text-align: center; }
.shot .phone { width: min(270px, 72vw); }
.shot figcaption { margin-top: 16px; }
.shot figcaption b { display: block; font-size: 17px; }
.shot figcaption span { color: var(--muted); font-size: 15px; }

/* pricing */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan.premium { border-color: rgba(225, 6, 0, .5); background: linear-gradient(180deg, rgba(225, 6, 0, .14), var(--surface) 55%); }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.price { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.trial { display: inline-block; margin: 8px 0 4px; padding: 4px 12px; border-radius: 999px; background: rgba(52, 199, 89, .16); color: var(--green); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.plan ul { margin: 16px 0 0; padding: 0; list-style: none; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.plan.premium li::before { color: var(--red-bright); }
.note { color: var(--dim); font-size: 14px; margin-top: 14px; }

/* safety + faq */
.safety { display: grid; gap: 16px; }
@media (min-width: 760px) { .safety { grid-template-columns: repeat(3, 1fr); } }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; position: relative; padding-right: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 24px; color: var(--red-bright); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* closing cta + footer */
.closing { text-align: center; }
.closing .actions { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; font-size: 12px; }

/* topic pages (2026-10-24): breadcrumb, long-form text, side screenshots, related pages, footer "Explore" */
.crumbs { font-size: 14px; color: var(--dim); margin: 0 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.page-hero h1 { font-size: clamp(32px, 6vw, 52px); }
.prose { max-width: 46em; }
.prose p { color: var(--muted); margin: 0 0 16px; }
.prose ul { color: var(--muted); margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr .85fr; } .split.flip > :first-child { order: 2; } }
.split .phone { margin: 0 auto; }
.related { display: grid; gap: 14px; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .related { grid-template-columns: repeat(3, 1fr); } }
a.card { text-decoration: none; display: block; transition: border-color .2s; }
a.card:hover { border-color: rgba(225, 6, 0, .55); }
a.card h3 { color: var(--text); }
.explore { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 6px; border-top: 1px solid var(--line); }
.explore b { color: var(--muted); font-weight: 700; margin-right: 4px; }
.also a { color: var(--text); font-weight: 700; }
.also a:hover { color: var(--red-bright); }

/* languages (2026-10-24): footer switcher; right-to-left (Arabic) mirrors of the left/right-positioned details */
.langs { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--line); }
.langs a[aria-current] { color: var(--text); font-weight: 700; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero::before { inset: -20% auto auto -10%; }
[dir="rtl"] .tag { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .soon .tag { margin-right: 0; }
[dir="rtl"] .also li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .also li::before { left: auto; right: 0; }
[dir="rtl"] .plan li { padding: 7px 28px 7px 0; }
[dir="rtl"] .plan li::before { left: auto; right: 2px; }
[dir="rtl"] .faq summary { padding-right: 0; padding-left: 32px; }
[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
[dir="rtl"] .prose ul { padding-left: 0; padding-right: 20px; }
/* Joined (Arabic, Devanagari) and caseless (Thai, CJK) scripts: no letter tracking, no uppercase transform. */
:lang(ar) :is(.eyebrow, .kicker, .tag, h1, h2), :lang(hi) :is(.eyebrow, .kicker, .tag, h1, h2),
:lang(th) :is(.eyebrow, .kicker, .tag, h1, h2), :lang(ja) :is(.eyebrow, .kicker, .tag),
:lang(ko) :is(.eyebrow, .kicker, .tag), :lang(zh) :is(.eyebrow, .kicker, .tag) { letter-spacing: 0; text-transform: none; }
