/* Prioritar — public landing, privacy and terms.
   SEPARATE DEPLOYMENT from the app on purpose (ROADMAP item 37): this origin must
   never register the app's service worker, so nothing here loads a bundler, a
   framework, or /sw.js. Plain CSS, no build step, no external request.

   Every colour below is copied verbatim from the app so the two surfaces look like
   one product: src/app/theme.js (S(), ACCENT, ACCENT_2, GRAD, P, TYPE) and
   src/shells/MobileShell.css. Change one, change the other. */

/* ── Fonts: the app's own stack, self-hosted. No Google Fonts request. ────────── */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/inter-700.woff2') format('woff2'); }

:root {
  /* App tokens — light */
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --border: rgba(60, 60, 67, 0.13);
  --text: #15171C;
  /* Deliberately DARKER than src/app/theme.js's textSub (0.42): at 0.42 this measures
     2.99:1 on --bg and fails WCAG AA, and every consumer here is small text. The app's
     own token is a separate question (ROADMAP item 15) — do not "resync" it back. */
  --text-sub: rgba(0, 0, 0, 0.56);
  --text-mid: rgba(0, 0, 0, 0.62);
  --card-shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 6px 18px rgba(17, 24, 39, 0.05);
  --raised-shadow: 0 12px 40px rgba(17, 24, 39, 0.1);
  --soft: rgba(17, 24, 39, 0.05);

  /* Brand — identical to src/app/theme.js */
  --accent: #8B5CF6;
  --accent-2: #6366F1;
  --grad: linear-gradient(135deg, #8B5CF6, #6366F1);
  --accent-bg: rgba(139, 92, 246, 0.12);
  --telegram: #0088CC;
  /* --accent is the brand colour and stays untouched for fills, borders and the
     gradient. As TEXT it only reaches 3.79:1 on --bg, so small accent-coloured type
     uses this darker sibling instead. Never swap one for the other. */
  --accent-text: #6D28D9;

  /* Priority palette — src/app/theme.js P */
  --p0: #007AFF;  /* Outside     */
  --p1: #FF2D55;  /* Very High   */
  --p2: #34C759;  /* High        */
  --p3: #FFB800;  /* Medium      */
  --p4: #A0522D;  /* Low         */
  --p5: #8E8E93;  /* Very Low    */

  /* Thought categories — src/app/theme.js TYPE */
  --c-quick: #FFB800;
  --c-deep: #30B0C7;
  --c-other: #FF6B35;
  --c-ref: #34C759;

  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  --shell: min(1120px, 100% - 40px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1C1C1E;
    --border: rgba(84, 84, 88, 0.55);
    --text: #FAFAFA;
    --text-sub: rgba(255, 255, 255, 0.55);
    --text-mid: rgba(255, 255, 255, 0.62);
    /* #6D28D9 measures 2.96:1 on black — the dark override is mandatory, not cosmetic. */
    --accent-text: #A78BFA;
    --card-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
    --raised-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    --soft: rgba(255, 255, 255, 0.07);
    --accent-bg: rgba(139, 92, 246, 0.18);
  }
}

* { box-sizing: border-box; }

/* scroll-padding-top clears the 62px sticky topbar: without it every anchor —
   the legal pages' whole table of contents and the skip link — lands its heading
   underneath the bar. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 78px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-mid);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3 { color: var(--text); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }

/* ── Language switching ───────────────────────────────────────────────────────
   Both languages ship in the same HTML. With JavaScript off the page shows
   Italian, which is the primary audience — never a blank page.
   The selectors are scoped under `body` on purpose: the switcher also rewrites
   <html lang>, and an unscoped [lang="en"] rule would then hide the whole page. */
body [lang="en"] { display: none; }
html[data-lang="en"] body [lang="en"] { display: revert; }
html[data-lang="en"] body [lang="it"] { display: none; }

/* ── Layout ──────────────────────────────────────────────────────────────────── */
.shell { width: var(--shell); margin: 0 auto; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section--tight { padding: 44px 0; } }

.eyebrow {
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--accent { color: var(--accent-text); }

/* The category line ("The AI-native personal organizer"). It was an 11px eyebrow and
   the owner asked for it to carry real weight — it is the one sentence that tells a
   stranger what kind of thing this is, so it is set as type, not as a label. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(15px, 1.9vw, 20px);
  font-weight: 800;
  letter-spacing: -0.2px;
  line-height: 1.25;
  color: var(--accent-text);
  margin-bottom: 16px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  flex-shrink: 0;
}

h2.title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.08;
  margin-bottom: 16px;
}
/* "An app to look at, a bot to talk to" — the owner picked this line out of the whole
   page, so it is deliberately the largest section head on it. */
h2.title--display { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -1.9px; }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 62ch;
  color: var(--text-mid);
}
/* A footnote-weight lede: the facts that must be on the page without being the pitch. */
.lede--note { font-size: clamp(14px, 1.5vw, 16px); color: var(--text-sub); max-width: 76ch; }

/* ── Top bar — deliberately holds NO call to action ───────────────────────────
   Owner requirement (ROADMAP item 37): the invitation to open the app is never a
   small button in the top-right corner. That corner carries the language switch
   and nothing else; the CTA lives in full-weight blocks down the page. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  /* The opaque fallback is load-bearing, not tidiness: a browser that does not know
     color-mix() drops that whole declaration, and a sticky bar with NO background sits
     transparent over the text scrolling under it. Ugly is recoverable; unreadable is not. */
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 0.5px solid var(--border);
}
.topbar__inner {
  width: var(--shell);
  margin: 0 auto;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; display: block; border-radius: 8px; }
.brand span { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; color: var(--text); }

.langswitch { display: flex; gap: 2px; background: var(--soft); border-radius: 999px; padding: 3px; }
.langswitch button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 700;
  color: var(--text-sub); padding: 5px 12px; border-radius: 999px;
  font-family: var(--sans);
}
.langswitch button[aria-pressed="true"] { background: var(--card); color: var(--text); box-shadow: var(--card-shadow); }
/* Both controls replace their native look (a borderless button, a marker-less summary),
   so they also have to replace the focus ring that came with it. */
.langswitch button:focus-visible,
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -260px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.22), transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 44px 0 24px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

h1.hero__title {
  font-size: clamp(38px, 6.4vw, 66px);
  font-weight: 800;
  letter-spacing: -2.4px;
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero__sub { font-size: clamp(17px, 2.1vw, 21px); max-width: 34ch; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Call to action — the weight the owner asked for ──────────────────────────
   .cta-block is a full card, not a chip. It appears four times down the page. */
.cta-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 26px 24px;
  margin-top: 30px;
  max-width: 460px;
}
.cta-block--wide { max-width: none; text-align: center; padding: 44px 32px; }
@media (max-width: 720px) { .cta-block--wide { padding: 32px 20px; } }

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 19px 22px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.2px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(139, 92, 246, 0.48); }
.cta-button:active { transform: translateY(0); }
.cta-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cta-button__g {
  width: 26px; height: 26px; border-radius: 999px; background: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-button__g svg { width: 16px; height: 16px; display: block; }

.cta-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-sub);
  text-align: center;
}
.cta-note strong { color: var(--text-mid); font-weight: 700; }

.cta-band {
  background: var(--grad);
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 70px rgba(99, 102, 241, 0.35);
}
@media (max-width: 720px) { .cta-band { padding: 40px 22px; border-radius: 26px; } }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.06; }
.cta-band p { color: #fff; margin-top: 14px; font-size: 18px; max-width: 52ch; margin-inline: auto; }
.cta-band .cta-button {
  background: #fff;
  color: #1B1030;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  max-width: 420px;
  margin: 28px auto 0;
}
.cta-band .cta-button:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); }
.cta-band .cta-button__g { background: #F1F0FA; }
.cta-band .cta-note { color: #fff; }
.cta-band .eyebrow { color: #fff; }
.cta-band .cta-note strong { color: #fff; }

/* ── Cards / feature grid ────────────────────────────────────────────────────── */
.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 22px 20px;
}
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 7px; }
.card p { font-size: 15px; line-height: 1.5; color: var(--text-mid); }
.card__icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
  background: var(--accent-bg); color: var(--accent);
}
.card__icon svg { width: 19px; height: 19px; }

/* ── Split sections ──────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.split--flip .split__visual { order: -1; }
@media (max-width: 900px) { .split--flip .split__visual { order: 0; } }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.checklist svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* ── Phone mockup — the app rebuilt in CSS, not a screenshot ──────────────────
   Same header/card/nav geometry as src/shells/MobileShell.css so it ages with
   the real UI instead of freezing a stale PNG.

   ★ THE SCREEN IS THE APP'S LIGHT THEME, ALWAYS — including for a visitor whose
   system is in dark mode. Owner decision, 4 Aug 2026: the mockup has to read as a
   lit phone held against the page, and a dark screen on a dark page reads as a hole
   punched in the layout. The values below are src/app/theme.js's LIGHT branch
   verbatim (S(false)); they are not new colours invented for this page. The bezel
   stays black because a bezel is black — and it is what gives the mockup an edge on
   a light background, while the bright screen gives it one on a dark background. */
.phone {
  --ph-bg: #F2F2F7;                        /* theme.js bg      */
  --ph-card: #FFFFFF;                      /* theme.js card    */
  --ph-border: rgba(60, 60, 67, 0.13);     /* theme.js border  */
  --ph-text: #15171C;                      /* theme.js text    */
  --ph-sub: rgba(0, 0, 0, 0.42);           /* theme.js textSub */
  --ph-mid: rgba(0, 0, 0, 0.6);
  --ph-fill: rgba(120, 120, 128, 0.12);
  --ph-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);

  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: #000;
  border-radius: 42px;
  padding: 10px;
  /* The outer hairline is what keeps a black bezel visible on a black page. */
  box-shadow: var(--raised-shadow), 0 0 0 1px var(--border), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  position: relative;
}
.phone__screen {
  background: var(--ph-bg);
  border-radius: 33px;
  overflow: hidden;
  height: 566px;
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--ph-text);
  font-size: 13px;
}
.phone__notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #000; border-radius: 999px; z-index: 5;
}
.phone__header { padding: 26px 11px 6px; flex-shrink: 0; }

/* The toolbar strip: one row, in the app's real order — undo, redo, search, trash,
   theme, the user pill, sign out. Without it the mockup reads as a different app. */
.phone__toolbar { display: flex; align-items: center; gap: 3px; margin-bottom: 9px; }
.phone__tbtn {
  height: 20px; min-width: 20px; border-radius: 7px; display: flex;
  align-items: center; justify-content: center; padding: 0 4px; flex-shrink: 0;
  background: var(--ph-fill); color: var(--ph-mid);
  font-size: 8px; font-weight: 700;
}
.phone__tbtn svg { width: 10px; height: 10px; }
/* #8B5CF6 is what the real app paints these with in light mode — the page's own
   --accent-text substitution is for small TYPE on the page, not for a picture of the app. */
.phone__tbtn--accent { background: rgba(139, 92, 246, 0.14); color: #8B5CF6; }
.phone__tbtn--muted { color: rgba(0, 0, 0, 0.25); }
.phone__tbtn--user {
  background: var(--ph-card); border: 1px solid var(--ph-border);
  box-shadow: var(--ph-shadow);
  color: var(--ph-sub); gap: 2px; margin-left: auto;
  min-width: 0; overflow: hidden; white-space: nowrap;
}
.phone__tbtn--out { background: rgba(255, 45, 85, 0.14); color: #FF2D55; }

.phone__titlerow { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.phone__date { color: var(--ph-sub); font-size: 7.5px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.phone__title { font-size: 26px; font-weight: 800; letter-spacing: -0.9px; color: var(--ph-text); text-align: right; line-height: 1; }

.phone__body { flex: 1; overflow: hidden; padding: 0 11px; }

/* Feature toolbar: the search field plus its buttons, present on every section. */
.phone__actions { display: flex; align-items: center; gap: 5px; margin: 9px 0 2px; }
.phone__search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 5px;
  background: var(--ph-card); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 9px;
  padding: 6px 8px; font-size: 8.5px; color: rgba(0, 0, 0, 0.35);
  white-space: nowrap; overflow: hidden;
}
.phone__search svg { width: 9px; height: 9px; flex-shrink: 0; }
.phone__abtn {
  height: 24px; min-width: 24px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; padding: 0 7px;
  font-size: 9px; font-weight: 700;
  background: var(--ph-card); box-shadow: inset 0 0 0 1px var(--ph-border), var(--ph-shadow);
  color: var(--ph-mid);
}
.phone__abtn svg { width: 11px; height: 11px; }
.phone__abtn--add { background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); color: #8B5CF6; box-shadow: none; }
.phone__abtn--reset { background: rgba(255, 45, 85, 0.12); color: #FF2D55; box-shadow: none; }
.phone__addpill {
  margin-left: auto; font-size: 8px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #34C759, #30B0C7); border-radius: 7px; padding: 3px 7px;
}

/* Life's section headers: centred, bold, with a small purple icon. */
.phone__section {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11.5px; font-weight: 800; color: var(--ph-text); padding: 12px 4px 7px;
}
.phone__section svg { width: 11px; height: 11px; color: #8B5CF6; }
.phone__section--annual { position: relative; color: var(--ph-text); }
.phone__section--annual svg { color: #FF6B35; }
.phone__section-add {
  position: absolute; right: 2px; width: 20px; height: 20px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #FF6B35; background: rgba(255, 107, 53, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.28);
}

/* Life's DEFAULT view is a compact hairline list, not cards. The text wraps and the
   pill stays centred against it, exactly as in the app. */
.phone__row {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 1px; border-bottom: 1px solid var(--ph-border);
}
.phone__pri {
  width: 54px; flex-shrink: 0; text-align: center;
  font-size: 8px; font-weight: 600; padding: 4px 2px; border-radius: 999px;
  line-height: 1.1;
}
.phone__time {
  flex-shrink: 0; font-size: 7.5px; font-weight: 600; padding: 3px 6px;
  border-radius: 999px; background: var(--ph-fill);
  color: rgba(0, 0, 0, 0.5); white-space: nowrap;
}
.phone__task { flex: 1; min-width: 0; font-size: 10px; color: var(--ph-text); line-height: 1.35; }
.phone__ai-chip {
  font-size: 7px; font-weight: 800; padding: 1px 4px; border-radius: 5px;
  background: rgba(139, 92, 246, 0.16); color: #8B5CF6; margin-left: 4px;
  vertical-align: middle; letter-spacing: 0.3px;
}
.phone__mini { width: 10px; height: 10px; flex-shrink: 0; color: #8B5CF6; }
.phone__row--annual { padding: 6px 1px; }
.phone__annual-glyph {
  width: 27px; height: 27px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 107, 53, 0.12); font-size: 14px;
}
.phone__row--annual .phone__task { display: flex; flex-direction: column; gap: 1px; }
.phone__row--annual .phone__task strong { font-size: 9.5px; font-weight: 700; }
.phone__row--annual .phone__task small { color: var(--ph-sub); font-size: 7.5px; }

/* Groceries is always cards, and its section label is the small uppercase kind. */
.phone__label {
  color: var(--ph-sub); font-size: 7.5px; letter-spacing: 1.3px;
  text-transform: uppercase; padding: 11px 4px 6px; font-weight: 700; text-align: center;
}
.phone__card {
  background: var(--ph-card);
  border: 1px solid var(--ph-border);
  box-shadow: var(--ph-shadow);
  border-radius: 14px;
  padding: 7px 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.phone__card--needed { border-color: rgba(52, 199, 89, 0.26); background: rgba(52, 199, 89, 0.06); }
.phone__check {
  width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  display: flex; align-items: center; justify-content: center;
}
.phone__check--on { border-color: #34C759; background: rgba(52, 199, 89, 0.18); color: #34C759; font-size: 10px; font-weight: 800; }
.phone__tile {
  width: 28px; height: 28px; border-radius: 9px; background: var(--ph-bg);
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.phone__name { flex: 1; min-width: 0; font-size: 10.5px; font-weight: 500; color: var(--ph-text); }
.phone__qty {
  flex-shrink: 0; font-size: 8px; font-weight: 800; padding: 2px 6px; border-radius: 999px;
  background: rgba(48, 176, 199, 0.14); color: #30B0C7;
}
.phone__rowbtn {
  width: 20px; height: 20px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.phone__rowbtn svg { width: 10px; height: 10px; }
.phone__rowbtn--edit { background: rgba(139, 92, 246, 0.14); color: #8B5CF6; }
.phone__rowbtn--del { background: rgba(255, 45, 85, 0.12); color: #FF2D55; }

/* Bottom bar: seven items, and the middle one is a RAISED CIRCULAR logo with a purple
   glow — not an eighth matching line icon. Its label is Telegram blue, never purple. */
.phone__nav {
  flex-shrink: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 6px 0 11px;
  background: rgba(242, 242, 247, 0.82);
  border-top: 0.5px solid var(--ph-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.phone__tab { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.phone__tab svg { width: 16px; height: 16px; color: rgba(0, 0, 0, 0.4); }
.phone__tab span { font-size: 7px; font-weight: 600; color: rgba(0, 0, 0, 0.35); }
.phone__tab--active svg, .phone__tab--active span { color: #8B5CF6; }
.phone__tab--ai { margin-top: -15px; gap: 3px; }
.phone__ai {
  width: 40px; height: 40px; border-radius: 14px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.55);
}
.phone__ai img { width: 40px; height: 40px; display: block; object-fit: cover; }
.phone__tab--ai span { color: #0088CC; }

/* ── Chat mockup (Telegram) ─────────────────────────────────────────────────── */
.chat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 18px;
  max-width: 420px;
  margin: 0 auto;
}
.chat__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.chat__avatar { width: 34px; height: 34px; border-radius: 11px; overflow: hidden; flex-shrink: 0; }
.chat__avatar img { width: 34px; height: 34px; display: block; object-fit: cover; }
.chat__name { font-size: 14px; font-weight: 700; color: var(--text); }
.chat__status { font-size: 11px; color: var(--telegram); font-weight: 600; }
.chat__thread { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 84%; padding: 10px 13px; border-radius: 17px; font-size: 14.5px; line-height: 1.42; }
.bubble--me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.bubble--bot { align-self: flex-start; background: var(--soft); color: var(--text); border-bottom-left-radius: 6px; }
.bubble--voice { display: flex; align-items: center; gap: 9px; }
.bubble__wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.bubble__wave i { width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.75); display: block; }

/* ── Telegram prompt wall ────────────────────────────────────────────────
   Nine real examples, all visible at once: this is a capability map, not a
   carousel that makes the strongest proof wait behind an interaction. */
.prompt-section { position: relative; isolation: isolate; }
.prompt-section::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 2%;
  left: 50%;
  width: min(1280px, 110vw);
  height: 92%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 82% 50%, rgba(99, 102, 241, 0.13), transparent 45%);
  pointer-events: none;
}
.prompt-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  align-items: start;
}
.prompt-lane {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--card-shadow);
}
.prompt-lane--wow {
  border-color: rgba(139, 92, 246, 0.42);
  box-shadow: var(--raised-shadow), inset 0 3px 0 rgba(139, 92, 246, 0.7);
}
.prompt-lane__label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.75px;
  line-height: 1.2;
  text-transform: uppercase;
}
.prompt-lane--wow .prompt-lane__label { background: var(--grad); color: #fff; }
.prompt-stack { display: grid; gap: 13px; }
.prompt-example {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg);
}
.prompt-example__say {
  padding: 14px 15px;
  border-radius: 17px 17px 6px 17px;
  background: var(--grad);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.43;
}
.prompt-example__result {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 13px 13px;
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.42;
}
.prompt-example__result svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  color: var(--accent);
}
.prompt-wall__note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 88ch;
  margin: 22px auto 0;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.52;
  text-align: center;
}
.prompt-wall__note svg { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; color: var(--telegram); }
.briefing-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  max-width: 860px;
  margin: 30px auto 0;
  padding: 24px;
}
.briefing-card .card__icon { margin: 0; flex-shrink: 0; }
.briefing-card h3 { font-size: 21px; }
.briefing-card p { font-size: 15.5px; }
@media (max-width: 900px) {
  .prompt-wall { grid-template-columns: minmax(0, 1fr); }
  .prompt-lane { padding: 16px; }
}
@media (max-width: 560px) {
  .prompt-wall { margin-top: 28px; }
  .prompt-wall__note { text-align: left; }
  .briefing-card { padding: 20px; }
}

/* ── Trust / privacy strip ───────────────────────────────────────────────────── */
.factlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.factlist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.factlist svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: '\2212'; }
.faq p { padding: 0 0 18px; font-size: 15.5px; line-height: 1.55; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 44px 0 56px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer a { color: var(--text-mid); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--accent-text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal { font-size: 13px; color: var(--text-sub); margin-top: 18px; line-height: 1.6; }

/* ── Long-form legal pages ───────────────────────────────────────────────────── */
.doc { width: min(760px, 100% - 40px); margin: 0 auto; padding: 56px 0 96px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.06; margin-bottom: 14px; }
.doc__meta { font-size: 14px; color: var(--text-sub); margin-bottom: 40px; }
.doc h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--border);
}
.doc h3 { font-size: 17px; font-weight: 700; margin: 26px 0 8px; }
.doc p { margin-bottom: 14px; font-size: 16.5px; line-height: 1.62; }
.doc ul, .doc ol { margin: 0 0 18px; padding-left: 22px; }
.doc li { margin-bottom: 9px; font-size: 16.5px; line-height: 1.6; }
.doc strong { color: var(--text); font-weight: 700; }
.doc a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.doc thead th {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
  color: var(--text); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.doc td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.doc .tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 22px; }

.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 0 0 22px;
  box-shadow: var(--card-shadow);
}
.callout p:last-child { margin-bottom: 0; }
.callout--warn { border-left-color: #FFB800; }

.toc { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 20px 22px; margin-bottom: 36px; box-shadow: var(--card-shadow); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin-bottom: 6px; font-size: 15px; }
.toc a { color: var(--text-mid); text-decoration: none; }
.toc a:hover { color: var(--accent-text); }

/* Placeholder that must be filled before these pages are published. Loud on
   purpose — an unfilled contact point makes the whole document non-compliant. */
.todo {
  background: rgba(255, 184, 0, 0.14);
  border: 1px dashed rgba(255, 184, 0, 0.6);
  color: #8A5800;
  border-radius: 8px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 0.92em;
}
@media (prefers-color-scheme: dark) { .todo { background: rgba(255, 184, 0, 0.12); color: #FFD166; } }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--card); color: var(--text); padding: 12px 18px;
  border-radius: 0 0 12px 0; z-index: 100; font-weight: 700;
}
.skip-link:focus { left: 0; }
