/* Self-hosted fonts (no Google Fonts request from visitors' browsers) */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-400-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-500-normal.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/ibm-plex-sans-latin-600-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-500-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-600-normal.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: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-700-normal.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; }

  :root {
    --ground: #eef3ef;
    --surface: #ffffff;
    --surface-2: #f4f8f4;
    --ink: #14211c;
    --ink-soft: #55655d;
    --ink-faint: #5f7169;
    --line: #dde6e0;
    --line-strong: #cbd8d0;
    --brand: #147d5c;
    --brand-bright: #1d9e75;
    --on-brand: #ffffff;
    --family: #534ab7;

    --safe: #147d5c;      --safe-bg: #e4f2ec;   --safe-line: #bfe2d3;
    --warn: #a85b00;      --warn-bg: #fbefdd;   --warn-line: #f0d7ae;
    --scam: #be3532;      --scam-bg: #fbe6e5;   --scam-line: #f2c4c2;

    --shadow: 0 1px 2px rgba(20,33,28,.06), 0 8px 28px rgba(20,33,28,.08);
    --shadow-lift: 0 2px 6px rgba(20,33,28,.10), 0 18px 44px rgba(20,33,28,.14);
    --radius: 16px;
    --radius-lg: 22px;
  }
  :root[data-partner="bank"]  { --brand: #1f4fa3; --brand-bright: #2b63c4; }
  :root[data-partner="telco"] { --brand: #0e7490; --brand-bright: #0f86a6; }

  :root:not([data-theme="light"]) {
    @media (prefers-color-scheme: dark) {
      --ground: #0d1512;
      --surface: #141f1a;
      --surface-2: #1a2721;
      --ink: #e9f1ec;
      --ink-soft: #a2b3aa;
      --ink-faint: #6f827a;
      --line: #26352e;
      --line-strong: #32443b;
      --brand: #2fb587;
      --brand-bright: #37c795;
      --on-brand: #0b1a14;
      --family: #9a91f0;
      --safe: #34c795;    --safe-bg: #12271f;   --safe-line: #22463a;
      --warn: #e0a44a;    --warn-bg: #2a2011;   --warn-line: #4d3a1b;
      --scam: #f0736f;    --scam-bg: #2c1615;   --scam-line: #52272a;
      --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.45);
      --shadow-lift: 0 2px 8px rgba(0,0,0,.5), 0 22px 50px rgba(0,0,0,.55);
    }
  }
  :root[data-theme="dark"] {
    --ground: #0d1512;
    --surface: #141f1a;
    --surface-2: #1a2721;
    --ink: #e9f1ec;
    --ink-soft: #a2b3aa;
    --ink-faint: #6f827a;
    --line: #26352e;
    --line-strong: #32443b;
    --brand: #2fb587;
    --brand-bright: #37c795;
    --on-brand: #0b1a14;
    --family: #9a91f0;
    --safe: #34c795;    --safe-bg: #12271f;   --safe-line: #22463a;
    --warn: #e0a44a;    --warn-bg: #2a2011;   --warn-line: #4d3a1b;
    --scam: #f0736f;    --scam-bg: #2c1615;   --scam-line: #52272a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.45);
    --shadow-lift: 0 2px 8px rgba(0,0,0,.5), 0 22px 50px rgba(0,0,0,.55);
  }
  @media (prefers-color-scheme: dark) {
    :root[data-partner="bank"]:not([data-theme="light"])  { --brand: #7aa2ec; --brand-bright: #93b4f0; }
    :root[data-partner="telco"]:not([data-theme="light"]) { --brand: #45b8d4; --brand-bright: #62c6de; }
  }
  :root[data-theme="dark"][data-partner="bank"]  { --brand: #7aa2ec; --brand-bright: #93b4f0; }
  :root[data-theme="dark"][data-partner="telco"] { --brand: #45b8d4; --brand-bright: #62c6de; }

  * { box-sizing: border-box; }
  [hidden] { display: none !important; } /* own reset — the artifact wrapper supplies one, a standalone deploy does not */
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 900px; margin: 0 auto; padding: 20px 18px 40px; display: flex; flex-direction: column; gap: 18px; }
  .narrow { width: 100%; max-width: 460px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; }

  /* Header */
  header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .brand .mark { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
  .brand .mark svg { width: 34px; height: 34px; display: block; }
  .brand .name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1.05; }
  .brand .name b { color: var(--brand); font-weight: 700; }
  .brand .byline { display: block; font: 500 11px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: .02em; color: var(--ink-faint); margin-top: 3px; }

  .langs, .seg { display: flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
  .langs button, .seg button {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    font: 600 12px/1 "IBM Plex Sans", sans-serif; letter-spacing: .04em;
    color: var(--ink-soft); padding: 6px 9px; border-radius: 999px; text-transform: uppercase;
  }
  .langs button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
  .langs button:focus-visible, .seg button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  /* Tabs */
  .tabs { display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
  .tabs button {
    flex: 1; appearance: none; border: 0; background: transparent; cursor: pointer;
    padding: 10px 8px; border-radius: 999px; font: 600 14px/1 "IBM Plex Sans", sans-serif; color: var(--ink-soft);
  }
  .tabs button[aria-selected="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
  .tabs button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .view { display: flex; flex-direction: column; gap: 18px; }

  /* Hero / view headings */
  .hero { display: flex; flex-direction: column; gap: 6px; padding: 6px 2px 0; }
  .hero h1, .vh { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: clamp(25px, 7vw, 32px); line-height: 1.1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
  .hero p, .vsub { margin: 0; color: var(--ink-soft); font-size: 15.5px; max-width: 58ch; }
  .demo-pill {
    align-self: flex-start; font: 600 10.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase;
    color: var(--family); border: 1px dashed color-mix(in srgb, var(--family) 50%, transparent); border-radius: 999px; padding: 6px 10px;
  }

  /* Card */
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 16px; }
  label.lbl, .lbl { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); margin: 2px 2px 8px; }
  textarea {
    width: 100%; resize: vertical; min-height: 116px;
    background: var(--surface-2); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 13px 14px; font: 400 16px/1.5 "IBM Plex Sans", sans-serif;
  }
  textarea::placeholder { color: var(--ink-faint); }
  textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }

  /* Screenshot */
  .tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .shot-btn {
    position: relative; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 13px; border: 1px dashed var(--line-strong); border-radius: 999px;
    font: 600 13px/1 "IBM Plex Sans", sans-serif; color: var(--ink-soft); background: var(--surface); cursor: pointer;
  }
  .shot-btn:hover { border-color: var(--brand); color: var(--brand); }
  .shot-btn:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
  .shot-btn input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  .shot-btn svg { width: 16px; height: 16px; flex: none; }
  .shot-chip {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
    padding: 6px 7px 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
    font-size: 13px; color: var(--ink);
  }
  .shot-chip .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
  .shot-chip button { appearance: none; border: 0; background: var(--line); color: var(--ink); width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font: 600 15px/1 "IBM Plex Sans", sans-serif; flex: none; }
  .shot-chip button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  .cta {
    margin-top: 12px; width: 100%;
    appearance: none; border: 0; cursor: pointer;
    background: var(--brand); color: var(--on-brand);
    font: 600 16px/1 "IBM Plex Sans", sans-serif; letter-spacing: .01em;
    padding: 15px 18px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    transition: transform .12s ease, background .2s ease, opacity .2s ease;
  }
  .cta:hover { background: var(--brand-bright); }
  .cta:active { transform: translateY(1px); }
  .cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
  .cta[disabled] { opacity: .6; cursor: default; }
  .cta svg { width: 18px; height: 18px; }

  .examples { display: flex; flex-direction: column; gap: 9px; }
  .examples .lead { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); padding: 0 2px; }
  .chips { display: flex; flex-direction: column; gap: 8px; }
  .chip {
    text-align: left; cursor: pointer; appearance: none;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 11px 13px; color: var(--ink);
    display: flex; align-items: center; gap: 11px;
    font: 400 14px/1.35 "IBM Plex Sans", sans-serif;
    transition: border-color .15s ease, background .15s ease, transform .1s ease;
  }
  .chip:hover { border-color: var(--line-strong); background: var(--surface-2); }
  .chip:active { transform: translateY(1px); }
  .chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .chip[disabled] { opacity: .6; cursor: default; }
  .chip .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
  .chip .txt { flex: 1; min-width: 0; }
  .chip .txt b { display: block; font-weight: 600; font-size: 13px; }
  .chip .txt span { display: block; color: var(--ink-faint); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chip .arrow { color: var(--ink-faint); flex: none; }

  /* Verdict colours — any element with data-v */
  [data-v="safe"]       { --v-bg: var(--safe-bg); --v-line: var(--safe-line); --v-ink: var(--safe); }
  [data-v="suspicious"] { --v-bg: var(--warn-bg); --v-line: var(--warn-line); --v-ink: var(--warn); }
  [data-v="scam"]       { --v-bg: var(--scam-bg); --v-line: var(--scam-line); --v-ink: var(--scam); }

  /* Result */
  #result:empty { display: none; }
  .verdict {
    border-radius: var(--radius-lg); border: 1px solid var(--v-line); background: var(--v-bg);
    box-shadow: var(--shadow-lift); overflow: hidden;
    animation: rise .34s cubic-bezier(.2,.7,.2,1) both;
  }
  .verdict:focus { outline: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .verdict, .notif { animation: none !important; } .cta, .chip { transition: none; } }

  .verdict .top { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
  .badge-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .vbadge { display: inline-flex; align-items: center; gap: 8px; color: var(--v-ink); font: 700 12px/1 "IBM Plex Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase; }
  .vbadge .ic { width: 20px; height: 20px; flex: none; }
  .vbadge .ic svg { width: 20px; height: 20px; display: block; }
  .tag {
    font: 600 10.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-faint); border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; background: var(--surface); white-space: nowrap;
  }
  .verdict h2 { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; font-size: 21px; line-height: 1.15; letter-spacing: -.01em; margin: 0; color: var(--ink); text-wrap: balance; }
  .verdict .body { background: var(--surface); border-top: 1px solid var(--v-line); padding: 15px 16px; display: flex; flex-direction: column; gap: 14px; }
  .reasons { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
  .reasons li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink); line-height: 1.45; }
  .reasons li svg { position: absolute; left: 0; top: 2px; width: 17px; height: 17px; color: var(--v-ink); }
  .action { display: flex; gap: 11px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 13px; }
  .action .k { font: 600 11px/1 "IBM Plex Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
  .action .v { font-size: 15px; font-weight: 500; color: var(--ink); }
  .action .icn { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--v-bg); color: var(--v-ink); }
  .action .icn svg { width: 19px; height: 19px; }

  .help { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); }
  .help summary {
    cursor: pointer; padding: 12px 13px; font-weight: 600; font-size: 14px; color: var(--ink);
    list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .help summary::-webkit-details-marker { display: none; }
  .help summary::after { content: "+"; color: var(--ink-faint); font-size: 18px; line-height: 1; }
  .help[open] summary::after { content: "–"; }
  .help summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--radius); }
  .help ol { margin: 0; padding: 0 14px 13px 32px; display: flex; flex-direction: column; gap: 7px; font-size: 14px; line-height: 1.45; color: var(--ink); }

  .row-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 14px; align-items: center; }
  .link-btn { background: none; border: 0; color: var(--brand); font: 600 14px/1.2 "IBM Plex Sans", sans-serif; cursor: pointer; padding: 4px 2px; display: inline-flex; gap: 6px; align-items: center; text-align: left; }
  .link-btn svg { width: 16px; height: 16px; flex: none; }
  .link-btn:hover { color: var(--brand-bright); }
  .link-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
  .link-btn.fam { color: var(--family); }

  /* Loading / notes */
  .loading { display: flex; align-items: center; gap: 13px; padding: 20px 16px; color: var(--ink-soft); font-size: 15px; }
  .spinner { width: 22px; height: 22px; border: 2.5px solid var(--line-strong); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .note { font-size: 13px; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; }

  /* Family teaser (Check tab) */
  .teaser {
    appearance: none; width: 100%; text-align: left; cursor: pointer; color: inherit; font: inherit;
    display: flex; align-items: center; gap: 13px;
    border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 14px 15px;
    background: color-mix(in srgb, var(--family) 6%, var(--surface));
  }
  .teaser:hover { border-color: var(--family); }
  .teaser:focus-visible { outline: 2px solid var(--family); outline-offset: 2px; }
  .teaser .icn { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--family) 16%, transparent); color: var(--family); }
  .teaser .icn svg { width: 21px; height: 21px; }
  .teaser .k { display: block; font: 600 10.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--family); margin-bottom: 4px; }
  .teaser .t { display: block; font-size: 14px; color: var(--ink); line-height: 1.4; }
  .teaser .go { margin-left: auto; color: var(--family); flex: none; }

  /* Family simulation */
  .pills { display: flex; flex-wrap: wrap; gap: 8px; }
  .pill { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 13px; font: 500 13px/1.1 "IBM Plex Sans", sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
  .pill .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .pill[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
  .pill:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  .phones { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
  @media (min-width: 760px) { .phones { grid-template-columns: 1fr 1fr; } }
  .phone {
    width: 100%; max-width: 390px; margin-inline: auto;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 30px;
    padding: 12px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 10px;
  }
  .ph-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 6px 2px; }
  .ph-top .who { font: 600 12px/1.1 "IBM Plex Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
  .ph-top select, .ph-top input {
    font: 500 13px/1.2 "IBM Plex Sans", sans-serif; background: var(--surface-2); color: var(--ink);
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; max-width: 130px; min-width: 0;
  }
  .ph-top select:focus-visible, .ph-top input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
  .ph-screen { background: var(--surface-2); border-radius: 22px; padding: 14px; min-height: 360px; display: flex; flex-direction: column; gap: 12px; }
  .sms { align-self: flex-start; max-width: 94%; background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: 10px 13px; font-size: 15px; line-height: 1.42; overflow-wrap: anywhere; }
  .sms .meta { font-size: 11.5px; color: var(--ink-faint); margin-bottom: 3px; }
  .ph-cta { margin-top: 0; }
  .p-answer { border-radius: 18px; border: 1px solid var(--v-line); background: var(--v-bg); padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; }
  .p-answer .big { font: 600 20px/1.2 "Bricolage Grotesque", sans-serif; color: var(--v-ink); }
  .p-answer p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
  .told { font-size: 13.5px; color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 14px; padding: 10px 12px; }
  .told .q { margin-top: 5px; color: var(--ink); font-size: 13.5px; }
  fieldset.consent { border: 0; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
  fieldset.consent legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 8px; color: var(--ink); }
  .opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 15px; cursor: pointer; line-height: 1.3; }
  .opt input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; margin: 0; }
  .opt:has(input:checked) { border-color: var(--brand); }
  .opt:focus-within { outline: 2px solid var(--brand); outline-offset: 1px; }
  .consent .fine { font-size: 12px; color: var(--ink-faint); }

  .feed { display: flex; flex-direction: column; gap: 10px; }
  .notif { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 11px 13px; display: flex; flex-direction: column; gap: 6px; animation: rise .3s ease both; }
  .notif .hd { display: flex; gap: 8px; align-items: center; font: 600 11px/1 "IBM Plex Sans", sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
  .notif .hd .d { width: 8px; height: 8px; border-radius: 50%; background: var(--v-ink, var(--brand)); flex: none; }
  .notif .tx { font-size: 14.5px; line-height: 1.45; color: var(--ink); }
  .notif .quote { font-size: 13.5px; color: var(--ink-soft); background: var(--surface-2); border-radius: 10px; padding: 8px 10px; overflow-wrap: anywhere; }
  .quiet { color: var(--ink-faint); font-size: 14px; text-align: center; padding: 28px 10px; }
  .digest { background: color-mix(in srgb, var(--family) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--family) 30%, var(--line)); border-radius: 16px; padding: 13px 14px; display: flex; flex-direction: column; gap: 6px; }
  .digest .k { font: 600 10.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: var(--family); }
  .digest .t { font: 600 16px/1.3 "Bricolage Grotesque", sans-serif; color: var(--ink); }
  .digest .n { font-size: 12.5px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

  /* Two-phone live mode */
  .seg.mode { align-self: flex-start; }
  .seg.mode button { text-transform: none; letter-spacing: 0; font-size: 13px; padding: 8px 13px; }
  .live { display: flex; flex-direction: column; gap: 12px; }
  .live .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .live .code { font: 700 34px/1.1 "IBM Plex Sans", sans-serif; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: var(--ink); }
  .live .code-in { font: 700 24px/1 "IBM Plex Sans", sans-serif; letter-spacing: .2em; width: 7.5ch; text-align: center; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px; padding: 8px 10px; font-variant-numeric: tabular-nums; }
  .live .code-in:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
  .live .status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-soft); }
  .live .status .d { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none; }
  .live .status.on { color: var(--ink); }
  .live .status.on .d { background: var(--safe); }
  .live .hint { font-size: 13px; color: var(--ink-faint); line-height: 1.45; }
  .phones.single { grid-template-columns: 1fr; }
  .undelivered { color: var(--warn); font-size: 12.5px; margin-top: 6px; }
  .setting { font-size: 12.5px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; }

  /* Radar */
  .radar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .session .counts { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
  .session .counts span { display: inline-flex; align-items: center; gap: 7px; }
  .session .counts .d { width: 9px; height: 9px; border-radius: 50%; }
  .session .empty { font-size: 14px; color: var(--ink-faint); }
  .patterns { display: flex; flex-direction: column; gap: 12px; }
  .pattern { display: flex; flex-direction: column; gap: 10px; }
  .pattern h3 { margin: 0; font: 600 17px/1.25 "Bricolage Grotesque", sans-serif; letter-spacing: -.005em; color: var(--ink); text-wrap: balance; }
  .pattern .k { font: 600 10.5px/1 "IBM Plex Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
  .pattern .sample { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px 14px 14px 5px; padding: 9px 12px; font-size: 14px; color: var(--ink); line-height: 1.42; }
  .pattern .sign { font-size: 14.5px; color: var(--ink); line-height: 1.45; }
  .warn-btn {
    align-self: flex-start; appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    border: 1px solid var(--brand); color: var(--brand); background: var(--surface); border-radius: 999px;
    padding: 9px 14px; font: 600 13.5px/1 "IBM Plex Sans", sans-serif;
  }
  .warn-btn:hover { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
  .warn-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .warn-btn svg { width: 16px; height: 16px; flex: none; }
  .warn-out { display: flex; flex-direction: column; gap: 6px; }
  .warn-out .ok { font-size: 13px; color: var(--brand); font-weight: 500; }
  .warn-out textarea { min-height: 96px; font-size: 14px; }

  footer { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; padding-top: 6px; }
  .trust { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; color: var(--ink-faint); font-size: 12.5px; }
  .trust span { display: inline-flex; align-items: center; gap: 5px; }
  .trust svg { width: 13px; height: 13px; }
  .fineprint { color: var(--ink-faint); font-size: 11.5px; max-width: 46ch; line-height: 1.45; }
  .partner { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-faint); }
  .partner select { font: 500 12px/1.2 "IBM Plex Sans", sans-serif; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; }
  .partner select:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
  /* Text size — scales the whole page (text and tap targets) so layouts never overflow */
  :root[data-size="large"] body { zoom: 1.15; }
  :root[data-size="xlarge"] body { zoom: 1.3; }

  /* Tab row + display settings */
  .tabrow { display: flex; gap: 8px; align-items: center; position: relative; }
  .tabrow .tabs { flex: 1; min-width: 0; }
  .disp-btn {
    flex: none; width: 46px; height: 46px; border-radius: 999px; cursor: pointer; display: grid; place-items: center;
    background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line);
    font: 600 15px/1 "Bricolage Grotesque", sans-serif;
  }
  .disp-btn[aria-expanded="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
  .disp-btn:focus-visible, .disp button:focus-visible, .log-btn:focus-visible, .brand:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .disp {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: min(300px, 100%);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
    padding: 16px; display: flex; flex-direction: column; gap: 14px;
  }
  .disp h2 { margin: 0; font: 600 17px/1.2 "Bricolage Grotesque", sans-serif; color: var(--ink); }
  .disp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; }
  .switch { flex: none; width: 52px; height: 30px; border-radius: 999px; border: 0; padding: 3px; cursor: pointer; background: var(--line-strong); display: flex; }
  .switch span { width: 24px; height: 24px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
  .switch[aria-checked="true"] { background: var(--brand); }
  .switch[aria-checked="true"] span { transform: translateX(22px); }
  .sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
  .sizes button { appearance: none; border: 0; background: transparent; border-radius: 999px; height: 38px; cursor: pointer; color: var(--ink-soft); font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; }
  .sizes button[aria-checked="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }
  .sizes button:nth-child(1) { font-size: 14px; } .sizes button:nth-child(2) { font-size: 18px; } .sizes button:nth-child(3) { font-size: 22px; }
  .disp-note { font-size: 12.5px; color: var(--ink-faint); margin: -6px 0 0; }
  .brand { cursor: pointer; border-radius: 12px; }

  /* Version + change log */
  .about { display: flex; flex-direction: column; gap: 8px; align-items: center; width: 100%; max-width: 46ch; }
  .ver { font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
  .log-btn { appearance: none; border: 0; background: transparent; cursor: pointer; color: var(--brand); font: 600 13.5px/1.2 "IBM Plex Sans", sans-serif; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 999px; }
  .log-btn svg { width: 15px; height: 15px; transition: transform .15s; }
  .log-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
  .log { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 12px; text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .log li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
  .log .v { flex: none; min-width: 38px; text-align: center; font: 600 11.5px/1 "IBM Plex Sans", sans-serif; padding: 5px 7px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); }
  .log li:first-child .v { background: var(--brand); color: var(--on-brand); }
  .log time { display: block; font-size: 12px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
  @media (prefers-reduced-motion: reduce) { .switch span, .log-btn svg { transition: none; } }

  /* ---- Cloudflare edition ---- */
  .lock { position: fixed; inset: 0; z-index: 50; background: var(--ground); display: grid; grid-template-columns: minmax(0, 420px); justify-content: center; align-content: center; padding: 20px 18px; overflow-y: auto; }
  .lock-card { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
  .lock-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .lock-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .lock-brand .mark { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
  .lock-brand .mark svg { width: 34px; height: 34px; display: block; }
  .lock-brand .name { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.01em; line-height: 1.05; }
  .lock-brand .name b { color: var(--brand); font-weight: 700; }
  .lock-brand .byline { display: block; font: 500 11px/1.2 "IBM Plex Sans", sans-serif; letter-spacing: .02em; color: var(--ink-faint); margin-top: 3px; }
  .lock-row { display: flex; gap: 10px; }
  .lock-row input { flex: 1; min-width: 0; width: 100%; font: 600 22px/1 "IBM Plex Sans", sans-serif; letter-spacing: .25em; text-align: center; background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 14px; font-variant-numeric: tabular-nums; }
  .lock-row input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
  .lock-row .cta { margin-top: 0; width: auto; padding-inline: 20px; }
  .lock-err { min-height: 1.2em; font-size: 13.5px; color: var(--scam); }
  .quota { margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; min-height: 1em; }
  .paywall { display: flex; flex-direction: column; gap: 12px; border-color: color-mix(in srgb, var(--family) 35%, var(--line)); }
  .paywall .demo-pill { color: var(--family); }
  .pw-h { margin: 0; font: 600 22px/1.15 "Bricolage Grotesque", sans-serif; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
  .pw-price { font: 600 15px/1.2 "IBM Plex Sans", sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
  .paywall .cta { margin-top: 2px; background: var(--family); }
  .paywall .cta:hover { background: color-mix(in srgb, var(--family) 85%, white); }
  .plink { color: var(--ink-faint); font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
  .plink:hover { color: var(--brand); }
  .gstats { margin-top: 12px; }
