/* prepalarm.com: one stylesheet for the homepage, support and privacy.
   Calm warm paper, one flame gradient reserved for the alarm, calm green for reassurance.
   Headings in Google Sans Flex Black at its standard (18 pt) optics: the display optics read as a
   wider, heavier face at heading sizes. Running text in the system face, like the app. */

@font-face { font-family: "PA Heading"; font-weight: 900; font-display: swap;
  src: url(/site/fonts/sansflex-black18-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PA Heading"; font-weight: 900; font-display: swap;
  src: url(/site/fonts/sansflex-black18-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* The wordmark only: "PrepAlarm" in the app's rounded face. */
@font-face { font-family: "PA Mark"; font-weight: 800; font-display: block; src: url(/site/fonts/sansflex-rounded-mark.woff2) format("woff2"); }

:root {
  --paper: #faf6f2; --card: #ffffff; --ink: #1f1b19; --muted: #6d635c; --line: #ebe2da;
  --flame-a: #f7702d; --flame-b: #d62839; --flame: #d9412a; --calm: #13896f; --calm-soft: #e3f3ee; --flame-soft: #fde9e2;
  --night: #1f1b19; --night-ink: #fbf7f4;
  --grad: linear-gradient(120deg, var(--flame-a), var(--flame-b));
  --heading: "PA Heading", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #131110; --card: #1e1a18; --ink: #f6f1ed; --muted: #a99f97; --line: #342d29;
    --flame: #ff7a52; --calm: #3ccb9f; --calm-soft: #133029; --flame-soft: #3a1d17; --night: #000; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--text); }
a { color: var(--flame); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--heading); font-weight: 900; letter-spacing: -0.02em; line-height: 1.06; }
h2 { font-size: clamp(28px, 4.2vw, 40px); margin: 0 0 14px; }
h3 { font-size: 19px; line-height: 1.25; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.in { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.eyebrow { display: block; font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* --- header ---------------------------------------------------------------------------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--paper); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { flex: none; display: flex; align-items: center; gap: 10px; font: 800 21px/1 "PA Mark", var(--text); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-head .right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav { display: flex; gap: 22px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; opacity: .82; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang { position: relative; font-size: 14px; }
.lang summary { list-style: none; cursor: pointer; white-space: nowrap; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 160px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .35); }
.lang li a, .lang li strong { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.lang li a:hover { background: var(--paper); }
.get { font: 600 15px/1 var(--text); color: #fff; background: var(--grad); border-radius: 99px; padding: 11px 18px; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .site-nav { display: none; } .site-head .right { gap: 10px; } }
/* Narrow phones: longer words for Download (Descarregar, Télécharger) must still fit beside the logo. */
@media (max-width: 400px) { .site-head .in { gap: 10px; } .get { padding: 10px 13px; font-size: 14px; } .lang summary { padding: 6px 10px; } }
@media (max-width: 350px) { .brand { font-size: 0; gap: 0; } }

/* --- footer ---------------------------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 24px; padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
.site-foot .in { display: grid; gap: 14px; }
.site-foot .row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.site-foot a { color: var(--muted); }
.site-foot .danger { color: var(--ink); font-weight: 600; }
.site-foot .langs a, .site-foot .langs strong { margin-right: 12px; }

/* --- store badges ---------------------------------------------------------------------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: block; line-height: 0; border-radius: 10px; transition: transform .15s; }
.stores a:hover { transform: translateY(-1px); }
.stores img { height: 56px; width: auto; }
html.ios .stores .play, html.android .stores .apple { opacity: .6; }
html.ios .stores .play img, html.android .stores .apple img { height: 44px; }
html.android .stores .apple { order: 2; }

/* --- hero ------------------------------------------------------------------------------ */
.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 4vw, 56px); align-items: center; padding-block: clamp(20px, 5vw, 64px) 28px; }
.hero > div { min-width: 0; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); line-height: .98; letter-spacing: -0.035em; margin: 0 0 22px; }
.hero h1 em, .final h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: clamp(18px, 2vw, 21px); line-height: 1.45; color: var(--muted); max-width: 34ch; margin-bottom: 26px; }
.hero .sub b { color: var(--ink); font-weight: 600; }
.promise { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.promise li { display: inline-flex; align-items: center; gap: 6px; }
.promise li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--calm); }
.stage { position: relative; display: grid; place-items: center; padding-block: 10px 30px; }
.stage::before { content: ""; position: absolute; inset: 8% 4% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 112, 45, .22), transparent); filter: blur(10px); }
.phone { position: relative; width: min(300px, 78vw); border-radius: 48px; padding: 9px; background: #1a1716; box-shadow: 0 40px 60px -30px rgba(60, 20, 0, .45); }
.phone .scr { border-radius: 39px; }
.toast { position: absolute; left: -16%; top: 21%; width: 82%; max-width: 300px; border-radius: 22px; padding: 14px 16px; color: #fff; background: var(--grad); box-shadow: 0 24px 40px -18px rgba(214, 40, 57, .65); animation: drop 900ms cubic-bezier(.2, .9, .25, 1.15) both 400ms; }
.toast .t { font: 700 11px/1 var(--text); letter-spacing: .12em; opacity: .9; display: flex; gap: 6px; align-items: center; }
.toast .h { font: 700 18px/1.2 ui-rounded, var(--text); margin: 8px 0 4px; }
.toast .s { font-size: 13px; opacity: .9; }
@keyframes drop { from { transform: translateY(-16px) scale(.96); } to { transform: none; } }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .toast { left: 0; top: 14%; } }

/* --- sources strip --------------------------------------------------------------------- */
.strip { border-block: 1px solid var(--line); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 15px; color: var(--muted); margin: 0; list-style: none; padding-inline: 0; }
.strip li:first-child { color: var(--ink); font-weight: 600; flex-basis: auto; }
.strip li { white-space: nowrap; }

/* --- three levels ---------------------------------------------------------------------- */
.levels { display: grid; grid-template-columns: 1fr 300px; gap: clamp(20px, 5vw, 64px); align-items: center; padding-block: 64px; }
.levels > div { min-width: 0; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 5px; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; margin: 8px 0 22px; }
.seg button { font: 600 15px var(--text); border: 0; border-radius: 99px; padding: 9px 16px; background: transparent; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button[data-l="2"][aria-pressed="true"] { background: var(--grad); color: #fff; }
.lvl h3 { font: 900 26px/1.1 var(--heading); letter-spacing: -0.015em; }
.lvl p { color: var(--muted); max-width: 46ch; }
.lvl .when { display: inline-block; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; margin-top: 4px; }
.lvl[hidden] { display: none; }
.fuse { margin-top: 22px; font-size: 15px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--calm); max-width: 52ch; }
.lock { position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 9px; background: #1a1716; margin: 0 auto; }
.lock .screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: linear-gradient(170deg, #3b4a5c, #1b2430 60%, #12161d); color: #fff; }
.lock .clock { text-align: center; padding-top: 18%; font: 300 58px/1 var(--text); letter-spacing: -0.02em; }
.lock .date { text-align: center; font-size: 14px; opacity: .8; margin-top: 6px; }
.lock .silent { position: absolute; top: 14px; right: 18px; font-size: 11px; display: flex; gap: 4px; align-items: center; opacity: .85; }
.lock .banner { position: absolute; left: 10px; right: 10px; top: 44%; border-radius: 18px; padding: 12px 14px; background: rgba(255, 255, 255, .9); color: #1d1d1f; font-size: 13px; line-height: 1.35; transform: translateY(12px); opacity: 0; transition: .4s; }
.lock .banner b { display: block; font-size: 11px; letter-spacing: .06em; color: #c2410c; margin-bottom: 3px; }
.lock .full { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center; background: var(--grad); opacity: 0; transition: opacity .4s; }
.lock .ring { width: 74px; height: 74px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; animation: pulse 1.2s ease-in-out infinite; }
.lock .lab { font: 700 11px/1 var(--text); letter-spacing: .14em; opacity: .9; }
.lock .head { font: 700 22px/1.15 ui-rounded, var(--text); }
.lock .btn { margin-top: 8px; background: #fff; color: var(--flame-b); font-weight: 700; font-size: 14px; border-radius: 99px; padding: 9px 26px; }
.lock .dot { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: max-content; max-width: 90%; font-size: 12px; opacity: .75; display: flex; gap: 6px; align-items: center; transition: .4s; }
.lock .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ccb9f; }
.lock[data-l="1"] .banner { opacity: 1; transform: none; }
.lock[data-l="2"] .full { opacity: 1; }
.lock:not([data-l="0"]) .dot { opacity: 0; }
@keyframes pulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255, 255, 255, .08); } }
@media (max-width: 760px) { .levels { grid-template-columns: 1fr; } }

/* --- features -------------------------------------------------------------------------- */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-block: 8px 64px; }
.card { background: var(--card); border-radius: 24px; padding: 24px; min-width: 0; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.card.shot { display: grid; grid-template-columns: 1fr 160px; gap: 18px; align-items: end; padding-bottom: 0; overflow: hidden; }
.card.shot > div { padding-bottom: 24px; align-self: start; }
.card.shot .dev { width: 160px; aspect-ratio: 1320 / 2600; border: 6px solid #1a1716; border-bottom: 0; border-radius: 24px 24px 0 0; overflow: hidden; background: #f2f2f7; }
.card.shot .dev img { display: block; width: 100%; height: auto; }
.ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--flame-soft); color: var(--flame); }
.ic.g { background: var(--calm-soft); color: var(--calm); }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .card.shot { grid-template-columns: 1fr 112px; } .card.shot .dev { width: 112px; } }

/* --- privacy --------------------------------------------------------------------------- */
.priv { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 5vw, 56px); align-items: center; padding-block: 64px; border-top: 1px solid var(--line); }
.priv > div { min-width: 0; }
.grid5 { position: relative; aspect-ratio: 1; max-width: 300px; width: 100%; border-radius: 24px; overflow: hidden; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 20% 20%, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20% 20%, var(--card); }
.grid5 .cell { position: absolute; left: 40%; top: 40%; width: 20%; height: 20%; background: rgba(19, 137, 111, .16); outline: 2px solid var(--calm); }
.grid5 .me { position: absolute; left: 47%; top: 53%; width: 12px; height: 12px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 5px rgba(224, 69, 44, .2); }
.grid5 .lbl { position: absolute; left: 40%; top: calc(60% + 6px); width: 20%; text-align: center; font: 600 12px var(--text); color: var(--calm); }
.grid5 .cap { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: var(--muted); }
.vows { display: grid; gap: 14px; margin-top: 18px; }
.vows div { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.vows svg { color: var(--calm); margin-top: 3px; }
.vows p { margin: 0; color: var(--muted); }
.vows b { color: var(--ink); }
@media (max-width: 760px) { .priv { grid-template-columns: 1fr; } .grid5 { max-width: 240px; } }

/* --- complement, maker, faq, final ----------------------------------------------------- */
.plus { margin-block: 0 64px; border-radius: 24px; padding: 26px; background: var(--calm-soft); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.plus .big { font: 900 44px/1 var(--heading); color: var(--calm); }
.plus p { margin: 0; }
.plus p + p { margin-top: 8px; color: var(--muted); }
.faq { display: grid; gap: 10px; padding-bottom: 56px; }
.faq > * { max-width: 760px; width: 100%; }
.faq p { margin: 6px 0 0; }
details.q { background: var(--card); border-radius: 16px; padding: 16px 18px; }
details.q summary { font-weight: 600; cursor: pointer; }
details.q p { margin: 8px 0 0; color: var(--muted); }
.final { background: var(--night); color: var(--night-ink); border-radius: 28px; margin-bottom: 24px; padding: clamp(24px, 5vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.final h2 { color: var(--night-ink); font-size: clamp(32px, 4.8vw, 50px); }
.final p { color: rgba(251, 247, 244, .74); max-width: 52ch; }
.qr { background: #fff; border-radius: 18px; padding: 12px; text-align: center; color: #1f1b19; font-size: 12px; }
.qr img { display: block; width: 136px; height: 136px; margin: 0 auto 6px; }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; } .qr { display: none; } }

/* --- recreated app screens: sized in container units (1cqw = 3.9pt on a 390pt iPhone) --- */
.scr { container-type: inline-size; position: relative; aspect-ratio: 1320 / 2868; overflow: hidden; background: #f2f2f7; color: #1c1c1e; font-family: var(--text); line-height: 1.25; text-align: left; }
.card.shot .scr { aspect-ratio: auto; height: 100%; }
.scr .di { position: absolute; top: 2.8cqw; left: 50%; transform: translateX(-50%); width: 31cqw; height: 8.6cqw; border-radius: 5cqw; background: #000; }
.scr .sb { display: flex; justify-content: space-between; align-items: center; padding: 4.4cqw 7.5cqw 0 10cqw; font: 600 4.3cqw/1 var(--text); }
.scr .sb > span:last-child { display: flex; gap: 1.4cqw; align-items: center; }
.scr .sb svg { height: 3.4cqw; width: auto; }
.scr .top { display: flex; justify-content: flex-end; padding: 4cqw 4.5cqw 0; }
.scr .circ { width: 10.4cqw; height: 10.4cqw; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 .4cqw 1.6cqw rgba(0, 0, 0, .08); color: #e0452c; }
.scr .circ svg { width: 5cqw; height: 5cqw; }
.scr .ttl { font: 700 8.6cqw/1.1 var(--text); letter-spacing: -0.02em; margin: 2.5cqw 4.7cqw 3.4cqw; }
.scr .hot { margin: 0 3.8cqw; border-radius: 7cqw; padding: 5.4cqw 6cqw; color: #fff; background: linear-gradient(120deg, #f4692c, #d62839); box-shadow: 0 2cqw 5cqw -2cqw rgba(214, 40, 57, .6); }
.scr .hot svg { width: 7cqw; height: 7cqw; opacity: .85; }
.scr .hot .a { font: 700 6.6cqw/1.15 ui-rounded, var(--text); margin: 2.6cqw 0 1.4cqw; letter-spacing: -0.01em; }
.scr .hot .b { font-size: 4.2cqw; opacity: .9; }
.scr .hot .c { font-size: 3.6cqw; opacity: .9; margin-top: 3cqw; }
.scr .trip { display: grid; grid-template-columns: 10cqw 1fr 3cqw; gap: 4cqw; align-items: center; margin: 3.4cqw 3.8cqw 0; background: #fff; border-radius: 6cqw; padding: 4.6cqw; }
.scr .trip b { display: block; font-size: 4.6cqw; }
.scr .trip i { display: block; font-style: normal; font-size: 3.7cqw; color: #13896f; margin: .8cqw 0; }
.scr .trip small { display: block; font-size: 3.5cqw; color: #8e8e93; }
.scr .trip .chev { color: #c7c7cc; font-size: 5cqw; }
.scr .flag { width: 10cqw; height: 6.8cqw; border-radius: .8cqw; box-shadow: 0 0 0 .2cqw rgba(0, 0, 0, .08); }
.scr .flag.es { background: linear-gradient(#c60b1e 25%, #ffc400 25% 75%, #c60b1e 75%); }
.scr .flag.fr { background: linear-gradient(90deg, #002654 33.3%, #fff 33.3% 66.6%, #ce1126 66.6%); }
.scr .sec { display: flex; justify-content: space-between; align-items: baseline; margin: 6.5cqw 4.7cqw 2.6cqw; font: 700 5.3cqw/1.1 var(--text); }
.scr .sec small { font: 400 4cqw/1 var(--text); color: #8e8e93; }
.scr .it { display: grid; grid-template-columns: 10.6cqw 1fr; gap: 3.6cqw; margin: 0 3.8cqw 2.8cqw; background: #fff; border-radius: 6cqw; padding: 4.4cqw 4.4cqw 4.6cqw; }
.scr .tile { width: 10.6cqw; height: 10.6cqw; border-radius: 2.8cqw; display: grid; place-items: center; color: #fff; }
.scr .tile svg { width: 5.6cqw; height: 5.6cqw; }
.scr .tile.fire { background: linear-gradient(135deg, #f4692c, #d62839); }
.scr .tile.water, .scr .tile.flood { background: #3b82c4; }
.scr .tile.power { background: #d99a00; }
.scr .tile.rain { background: #6b7686; }
.scr .row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.scr .pl { display: inline-flex; align-items: center; gap: 1cqw; font: 600 3.3cqw/1 var(--text); padding: 1cqw 2.2cqw; border-radius: 99px; }
.scr .pl.al { background: linear-gradient(120deg, #f4692c, #d62839); color: #fff; }
.scr .pl.wa { background: #fde3cf; color: #b94a0c; }
.scr .pl.in { background: #e9e9ee; color: #55555c; }
.scr .tm { font-size: 3.3cqw; color: #8e8e93; }
.scr .hl { font-size: 4.3cqw; font-weight: 600; margin: 1.8cqw 0 1.4cqw; letter-spacing: -0.005em; }
.scr .mt { font-size: 3.4cqw; color: #8e8e93; display: flex; flex-wrap: wrap; gap: .6cqw 3cqw; }
.scr .mt span { display: inline-flex; align-items: center; gap: 1cqw; }
.scr .mt svg { width: 3.2cqw; height: 3.2cqw; }
.scr .tabs { position: absolute; left: 3cqw; right: 3cqw; bottom: 3.2cqw; height: 15.5cqw; border-radius: 8cqw; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; background: rgba(250, 250, 252, .92); box-shadow: 0 0 0 .25cqw rgba(0, 0, 0, .06), 0 2cqw 6cqw -2cqw rgba(0, 0, 0, .2); }
.scr .tabs span { display: grid; justify-items: center; gap: .8cqw; font: 500 2.8cqw/1 var(--text); color: #1c1c1e; }
.scr .tabs svg { width: 5.6cqw; height: 5.6cqw; }
.scr .tabs .on { color: #e0452c; }

/* --- support and privacy --------------------------------------------------------------- */
.doc main { max-width: 760px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 48px var(--gutter); }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin: 8px 0 6px; }
.doc h2 { font-size: clamp(22px, 3vw, 26px); margin: 36px 0 10px; letter-spacing: -0.01em; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 4px 0 24px; }
.doc .summary, .doc .contact { background: var(--card); border-radius: 20px; padding: 18px 20px; margin-bottom: 28px; }
.doc .contact { margin-top: 28px; }
.doc .summary ul { margin: 8px 0 0; padding-left: 20px; }
.doc .summary li::marker { color: var(--calm); }
.doc p, .doc li { margin: 6px 0; }
.doc main details { background: var(--card); border-radius: 16px; padding: 14px 18px; margin: 10px 0; scroll-margin-top: 90px; }
.doc main details summary { font-weight: 600; cursor: pointer; }
.doc main details p { margin: 8px 0 2px; }
.doc main details.sources > ul, .doc main details.sources > p { font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 16px; overflow: hidden; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; }
.doc .note { color: var(--muted); font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 28px; }
.tiles a { display: block; background: var(--card); border-radius: 16px; padding: 14px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; border: 1px solid transparent; }
.tiles a:hover { border-color: var(--line); }
.tiles small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 4px; }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 14px; } .doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc td:first-child { font-weight: 600; padding-top: 10px; } }

@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }
