:root {
  color-scheme: light dark;
  --bg: #fff;
  --text: #103779;
  --muted: #49658f;
  --blue: #195ad0;
  --pale: #edf4ff;
  --line: #c9dbf7;
  --hero: #195ad0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #091426;
    --text: #edf4ff;
    --muted: #b7c9e8;
    --blue: #8ab4ff;
    --pale: #142747;
    --line: #34537e;
    --hero: #1248ac;
  }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); font: 1rem/1.6 system-ui, sans-serif; }
.wrap { max-width: 1120px; margin: auto; padding: 0 clamp(20px, 5vw, 48px); }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0; border-bottom: 1px solid var(--line); }
.brand img, .badge img { display: block; max-width: 100%; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 8px; }
nav a { color: var(--blue); padding: 5px 12px; border: 1px solid transparent; border-radius: 24px; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { background: var(--pale); border-color: var(--line); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
main { padding: 32px 0 48px; }
section + section { margin-top: 32px; }
.hero { background: var(--hero); color: #fff; border-radius: 16px; padding: clamp(24px, 5vw, 54px); }
h1, h2, h3 { margin: 0 0 10px; line-height: 1.1; }
h1, h2 { font-family: Genos, system-ui, sans-serif; font-weight: 600; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h1 span, time { white-space: nowrap; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; max-width: 70ch; }
p + p { margin-top: 12px; }
.lead { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 600; }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.method { padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 12px; background: var(--pale); }
.badge { display: inline-block; margin-top: 16px; }
pre { overflow-x: auto; margin: 16px 0 0; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
code { font-size: .95rem; }
footer { padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
@media (max-width: 640px) { .methods { grid-template-columns: minmax(0, 1fr); } }
.command-box { position: relative; }
.command-box:has(.copy-command:not([hidden])) pre { padding-right: 56px; }
.copy-command {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--blue);
  cursor: pointer;
}
.copy-command:hover { background: var(--pale); border-color: var(--blue); }
.copy-command:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.copy-icon { display: block; width: 100%; height: 100%; }
.copy-status { color: var(--muted); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32%); align-items: center; gap: clamp(18px, 3vw, 32px); }
.hero-copy h1 { font-size: clamp(2.3rem, 5.4vw, 4.5rem); }
.store-screenshot { display: block; width: 100%; max-width: 320px; height: auto; justify-self: end; border: 1px solid var(--line); border-radius: 10px; }
@media (max-width: 680px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .store-screenshot { justify-self: start; }
}

.beta-ad-banner { width: 100%; max-height: 200px; overflow: hidden; margin: 24px 0; }
.beta-ad-banner .adsbygoogle { max-height: 200px; }
.beta-ad-banner:has(ins[data-ad-status="unfilled"]) { display: none; }
.beta-ad-banner + section { margin-top: 32px; }