/* 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; }
/* below 1000px only the brand, "Get the app" and the language picker fit in every language (2026-10-29; was 760px) */
@media (max-width: 999px) { .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-30): Apple's official black App Store badge FIRST (Apple: place the App Store badge
   first in the lineup; black next to other store badges), then Google's own badge image; both unmodified and
   unanimated. The Google PNG carries its clear space; the App Store SVG at 48 px matches the PNG's visible art, and
   the row's 12 px gap is its clear space (a quarter of its height). No standalone Apple logo anywhere (Apple). */
.appstore-badge { display: inline-block; line-height: 0; border-radius: 9px; }
.appstore-badge img { display: block; height: 48px; width: auto; }
.appstore-badge:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.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; }
/* "iPhone" keeps its own casing inside uppercase labels (.eyebrow, .kicker, .tag). */
.nc { text-transform: none; }
.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; }
/* build sheets (2026-11-07): the app's own 4:5 images, shown as they are (no phone frame, no crop); .wide for the
   side-by-side pair, .sheets lays two sheets next to each other from 760px */
.sheet { margin: 0 auto; width: min(420px, 100%); }
.sheet.wide { width: min(1000px, 100%); }
.sheet img { display: block; width: 100%; height: auto; border-radius: 16px; background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 90px -30px rgba(225, 6, 0, .35); }
.sheet figcaption { margin-top: 14px; text-align: center; }
.sheet figcaption b { display: block; font-size: 17px; }
.sheet figcaption span { color: var(--muted); font-size: 15px; }
.sheets { display: grid; gap: 32px; align-items: start; margin-bottom: 40px; }
@media (min-width: 760px) { .sheets { grid-template-columns: repeat(2, 1fr); } }

/* 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, Persian since 2026-11-01: both pages carry
   dir="rtl") 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"] .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, Persian, Devanagari) and caseless (Thai, CJK) scripts: no letter tracking, no uppercase transform. */
:lang(ar) :is(.eyebrow, .kicker, .tag, h1, h2), :lang(fa) :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; }

/* language picker in the header + browser-language bar (2026-10-29). The picker is a <details>: its summary is a
   native toggle button and the list is plain links, so it works without script; lang.js only adds Escape / outside
   click / focus leaving it to close it, and the bar. */
/* the open list hangs from the header row, its outer edge on the page gutter (no 100vw: classic scrollbars) */
.top .wrap { position: relative; }
.lp { flex: none; }
.lp summary {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
  font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap;
  cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none;
}
.lp summary::-webkit-details-marker { display: none; }
.lp summary::after {
  content: ""; flex: none; width: 6px; height: 6px; margin-inline: 2px 1px;
  border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s;
}
.lp[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lp summary:hover, .lp[open] summary { color: var(--text); border-color: rgba(255, 255, 255, .28); }
.lp summary:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.lp-ico { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lp-code { letter-spacing: .04em; }
.lp-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lp-menu {
  position: absolute; top: calc(100% + 8px); right: 16px; z-index: 20;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  width: min(360px, calc(100% - 32px)); max-height: min(72vh, 520px); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .85);
}
.lp-menu a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.35; }
.lp-menu a:hover { background: var(--surface-2); color: var(--text); }
.lp-menu a:focus-visible { outline: 2px solid var(--red-bright); outline-offset: -2px; }
.lp-menu a[aria-current] { background: var(--red-soft); color: var(--text); font-weight: 700; }
[dir="rtl"] .lp-menu { right: auto; left: 16px; }
@media (min-width: 720px) {
  .lp-menu { right: 28px; width: min(360px, calc(100% - 56px)); }
  [dir="rtl"] .lp-menu { right: auto; left: 28px; }
}
/* Phones: brand + "Get the app" + picker on one 64px row down to 360px in every language (the longest button text,
   French, still fits at 360); below 393px the picker is the globe alone (the language stays in its accessible name). */
@media (max-width: 480px) {
  .top .wrap { gap: 10px; }
  .brand { gap: 8px; font-size: 17px; }
  .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .nav .cta { padding: 7px 12px; font-size: 14px; }
  .lp summary { height: 36px; padding: 0 10px 0 9px; }
  .lp summary::after { display: none; }
}
@media (max-width: 400px) {
  .brand { font-size: 16px; }
  .nav .cta { padding: 7px 10px; }
  .lp-menu a { padding: 8px 10px; font-size: 14px; }
}
@media (max-width: 392px) {
  .lp summary { width: 36px; padding: 0; justify-content: center; }
  .lp-code { display: none; }
}

.lb { background: #1a1d24; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.45; }
.lb-in { display: flex; align-items: center; gap: 10px; min-height: 46px; padding-top: 6px; padding-bottom: 6px; }
.lb-ico { flex: none; fill: none; stroke: var(--red-bright); stroke-width: 1.7; }
.lb-t { flex: 1 1 auto; margin: 0; }
.lb-go { margin-inline-start: .45em; color: var(--text); font-weight: 700; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--red-bright);
  text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lb-go:hover { color: var(--red-bright); }
.lb-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 -8px 0 0; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.lb-x:hover { background: var(--surface-2); color: var(--text); }
.lb-go:focus-visible, .lb-x:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.lb[dir="rtl"] .lb-x { margin: 0 0 0 -8px; }
