/* ===================================================================
   Wordly — the app-service pages, v2 (2026-10-24)
   Styles for public/js/app-page.js. Every rule is scoped under
   html[data-svc="v2"]; remove that attribute from service.html to
   revert. Pre-change copies: Reference/backups/2026-10-24-services-redesign/.

   On the dark shell's own tokens. --c1/--c2 are the tool's accent, set
   on <main> by the script, used only for glows and decoration — never
   for body text, whose colours are the shell's measured ones.
   =================================================================== */

html[data-svc="v2"] .ap { --c1: #a78bfa; --c2: #e879f9; display: block; }
html[data-svc="v2"] .ap-wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
html[data-svc="v2"] .ap-section { padding-top: 4.5rem; }
html[data-svc="v2"] .ap-last { padding-bottom: 1rem; }
html[data-svc="v2"] .ap-head { margin-bottom: 1.8rem; }
html[data-svc="v2"] .ap-head h2 { margin: 0.5rem 0 0; font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -0.03em; color: var(--ink); }

/* ── Hero ───────────────────────────────────────────────────────── */
html[data-svc="v2"] .ap-hero { padding: 4.5rem 0 1rem; }
html[data-svc="v2"] .ap-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
html[data-svc="v2"] .ap-hero h1 {
    margin: 1rem 0; font-size: clamp(2.2rem, 4.8vw, 3.5rem); line-height: 1.06; letter-spacing: -0.04em; color: var(--ink);
}
html[data-svc="v2"] .ap-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.7; color: var(--text-2); max-width: 56ch; }
html[data-svc="v2"] .ap-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0; }
html[data-svc="v2"] .ap-chips span {
    padding: 0.45rem 0.85rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
    background: var(--glass); border: 1px solid var(--hair-2); color: var(--text);
}
html[data-svc="v2"] .ap-chips span::before { content: '●'; margin-right: 0.45rem; font-size: 0.6rem; vertical-align: 2px;
    background: linear-gradient(120deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-svc="v2"] .ap-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* The stage: the tool's own scene, big, glowing and tilting */
html[data-svc="v2"] .ap-stage { position: relative; display: grid; place-items: center; min-height: 360px; perspective: 1100px; }
html[data-svc="v2"] .ap-stage::before {
    content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--c1) 40%, transparent), transparent 65%);
    filter: blur(20px); animation: ap-breathe 6s ease-in-out infinite;
}
@keyframes ap-breathe { 50% { transform: scale(1.12); opacity: 0.8; } }
html[data-svc="v2"] .ap-orbit {
    position: absolute; width: 440px; height: 440px; border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--c2) 45%, transparent);
    animation: ap-spin 40s linear infinite; pointer-events: none;
}
html[data-svc="v2"] .ap-orbit::after {
    content: ''; position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--c2); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--c2) 70%, transparent);
}
@keyframes ap-spin { to { transform: rotate(360deg); } }
html[data-svc="v2"] .ap-stage-card {
    --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
    position: relative; isolation: isolate; z-index: 1;
    width: 470px; height: 255px; padding: 15px; border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--hair-2);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px color-mix(in srgb, var(--c1) 25%, transparent) inset;
    transform: rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .25s ease;
    animation: ap-float 7s ease-in-out infinite;
    overflow: hidden;
}
@keyframes ap-float { 50% { translate: 0 -10px; } }
/* The scene is drawn at its bento size and scaled up, so the homepage
   and this page stay pixel-identical in proportion. */
html[data-svc="v2"] .ap-stage-card .hv-scene {
    width: 293px; height: 150px; margin: 0;
    transform: scale(1.5); transform-origin: top left;
}

/* Pointer glow, shared by the stage and the cards */
html[data-svc="v2"] .ap-glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c1) 26%, transparent), transparent 60%);
    opacity: 0; transition: opacity .3s ease;
}
html[data-svc="v2"] .ap-stage-card:hover .ap-glow,
html[data-svc="v2"] .ap-what-card:hover .ap-glow { opacity: 1; }

/* ── The three explanations ─────────────────────────────────────── */
html[data-svc="v2"] .ap-what { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
html[data-svc="v2"] .ap-what-card {
    --mx: 50%; --my: 50%;
    position: relative; isolation: isolate; overflow: hidden;
    padding: 1.7rem 1.5rem; border-radius: 22px;
    background: var(--glass); border: 1px solid var(--hair);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    animation: ap-rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d) * 100ms);
}
@keyframes ap-rise { from { opacity: 0; transform: translateY(22px); } }
html[data-svc="v2"] .ap-what-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--c1) 50%, transparent);
    box-shadow: 0 24px 60px color-mix(in srgb, var(--c1) 22%, transparent);
}
html[data-svc="v2"] .ap-what-icon {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px;
    background: linear-gradient(130deg, var(--c1), var(--c2)); color: #12091f;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--c1) 35%, transparent);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
html[data-svc="v2"] .ap-what-icon .icon { width: 22px; height: 22px; }
html[data-svc="v2"] .ap-what-card:hover .ap-what-icon { transform: rotate(-8deg) scale(1.08); }
html[data-svc="v2"] .ap-what-card h3 { margin: 1.1rem 0 0.5rem; font-size: 1.12rem; color: var(--ink); }
html[data-svc="v2"] .ap-what-card p { margin: 0; font-size: 0.95rem; line-height: 1.65; color: var(--text-2); }

/* ── Steps: four cards on a line that lights in turn ───────────── */
html[data-svc="v2"] .ap-steps {
    position: relative; list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
html[data-svc="v2"] .ap-steps::before {
    content: ''; position: absolute; left: 1.6rem; right: 1.6rem; top: 1.55rem; height: 2px;
    background: var(--hair-2);
}
html[data-svc="v2"] .ap-step { position: relative; }
html[data-svc="v2"] .ap-step-n {
    position: relative; z-index: 1; display: grid; place-items: center;
    width: 3.1rem; height: 3.1rem; border-radius: 16px; font-weight: 900;
    background: var(--site-bg-2); border: 1px solid var(--hair-2); color: var(--text-3);
    transition: all .5s cubic-bezier(.2, .8, .2, 1);
}
html[data-svc="v2"] .ap-step p {
    margin: 1rem 0 0; padding: 1rem 1.1rem; border-radius: 16px;
    background: var(--glass); border: 1px solid var(--hair); color: var(--text-2); line-height: 1.6; font-size: 0.95rem;
    opacity: 0.55; transform: translateY(8px); transition: all .5s ease;
}
html[data-svc="v2"] .ap-step.is-lit .ap-step-n {
    background: linear-gradient(130deg, var(--c1), var(--c2)); border-color: transparent; color: #12091f;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--c1) 18%, transparent), 0 12px 28px color-mix(in srgb, var(--c1) 40%, transparent);
}
html[data-svc="v2"] .ap-step.is-lit p { opacity: 1; transform: none; color: var(--text); border-color: color-mix(in srgb, var(--c1) 30%, transparent); }

html[data-svc="v2"] .ap-note {
    display: flex; gap: 0.8rem; align-items: flex-start; margin-top: 1.6rem;
    padding: 1.1rem 1.3rem; border-radius: 18px;
    background: color-mix(in srgb, var(--c1) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent);
}
html[data-svc="v2"] .ap-note .icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 0.15rem; color: var(--c1); }
html[data-svc="v2"] .ap-note p { margin: 0; color: var(--text); line-height: 1.6; }
html[data-svc="v2"] .ap-also {
    display: flex; justify-content: space-between; align-items: center; margin-top: 0.8rem;
    padding: 1rem 1.3rem; border-radius: 18px; text-decoration: none;
    background: var(--glass); border: 1px solid var(--hair-2); color: var(--text);
    transition: border-color .25s ease, transform .25s ease;
}
html[data-svc="v2"] .ap-also:hover { border-color: color-mix(in srgb, var(--c2) 55%, transparent); transform: translateX(4px); color: var(--text); }
html[data-svc="v2"] .ap-also b { color: var(--ink); }
html[data-svc="v2"] .ap-also em { font-style: normal; font-weight: 800; color: var(--c2); }

/* ── FAQ ────────────────────────────────────────────────────────── */
html[data-svc="v2"] .ap-faq { display: grid; gap: 0.65rem; max-width: 860px; }
html[data-svc="v2"] .ap-faq details { border-radius: 16px; background: var(--glass); border: 1px solid var(--hair); transition: border-color .25s ease; }
html[data-svc="v2"] .ap-faq details[open] { border-color: color-mix(in srgb, var(--c1) 40%, transparent); }
html[data-svc="v2"] .ap-faq summary {
    list-style: none; cursor: pointer; position: relative; min-height: 44px;
    padding: 1.05rem 3rem 1.05rem 1.3rem; font-weight: 700; color: var(--ink);
}
html[data-svc="v2"] .ap-faq summary::-webkit-details-marker { display: none; }
html[data-svc="v2"] .ap-faq summary::after {
    content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
    width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%;
    background: color-mix(in srgb, var(--c1) 18%, transparent); color: var(--ink); font-weight: 800;
}
html[data-svc="v2"] .ap-faq details[open] summary::after { content: '−'; }
html[data-svc="v2"] .ap-faq p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--text-2); line-height: 1.7; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
    html[data-svc="v2"] .ap-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    /* The card is a fixed 470px; narrower than that, a grid track cannot
       centre it (it overflows to one side), so it is centred by position
       and scaled from its middle. */
    html[data-svc="v2"] .ap-stage { order: -1; min-height: 0; height: 270px; overflow: hidden; display: block; }
    html[data-svc="v2"] .ap-stage-card { position: absolute; left: 50%; top: 50%; translate: -50% -50%;
        transform: scale(.85); animation: none; }
    html[data-svc="v2"] .ap-orbit { left: 50%; top: 50%; translate: -50% -50%; }
    html[data-svc="v2"] .ap-stage::before { left: 50%; top: 50%; translate: -50% -50%; }
    html[data-svc="v2"] .ap-what { grid-template-columns: 1fr; }
    html[data-svc="v2"] .ap-steps { grid-template-columns: 1fr 1fr; }
    html[data-svc="v2"] .ap-steps::before { display: none; }
}
@media (max-width: 560px) {
    html[data-svc="v2"] .ap-hero { padding-top: 2rem; }
    html[data-svc="v2"] .ap-stage { height: 200px; }
    html[data-svc="v2"] .ap-stage-card { transform: scale(.66); }
    html[data-svc="v2"] .ap-orbit, html[data-svc="v2"] .ap-stage::before { display: none; }
    html[data-svc="v2"] .ap-steps { grid-template-columns: 1fr; }
    html[data-svc="v2"] .ap-cta-row .btn { flex: 1 1 100%; justify-content: center; }
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html[data-svc="v2"] .ap *, html[data-svc="v2"] .ap *::before, html[data-svc="v2"] .ap *::after {
        animation: none !important; transition: none !important;
    }
    html[data-svc="v2"] .ap-step p { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   LIGHT THEME for the six app pages (2026-10-24)
   Switched on by <html data-svc-theme="light"> in service.html, on top
   of data-svc="v2". REMOVE THAT ONE ATTRIBUTE to go back to the dark v2
   page. Pre-change copies: Reference/backups/2026-10-24-services-light/.

   Same trick as written.css: the shell's tokens are RESET on .ap, so
   every rule above that reads --glass / --hair / --text / --ink … turns
   light-on-dark into dark-on-light with no rule of its own. The body
   also gets .wp-light (written.css), which already does the rest of
   the job for a light page: solid navbar and footer, no night-sky
   layer, no particle field.

   The tool's SCENE stays on a dark card — a screen inside the page —
   because every scene was drawn for a dark ground, and a lit screen on
   paper is the more striking picture anyway.

   --c1/--c2 become the tool's DARK pair here (set by app-page.js), so
   accents are readable on white and icon glyphs are white.
   =================================================================== */

html[data-svc-theme="light"] .ap {
    --ink:      #17152a;
    --text:     #17152a;
    --text-2:   #46435c;
    --text-3:   #615e78;
    --glass:    #ffffff;
    --glass-2:  #faf8ff;
    --hair:     #ebe8f4;
    --hair-2:   #dcd7ea;
    --site-bg-2:#ffffff;
    --site-bg-3:#f6f4fc;
    --brand-tint:  #f1edff;
    --brand-light: #6d28d9;
    --brand:       #6d28d9;
    background:
        radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--c1) 12%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
        linear-gradient(180deg, #ffffff 0, #fbfaff 520px);
    color: var(--text);
}
html[data-svc-theme="light"] .ap .eyebrow {
    background: color-mix(in srgb, var(--c1) 10%, #fff);
    border-color: color-mix(in srgb, var(--c1) 28%, transparent);
    color: var(--c1);
}
html[data-svc-theme="light"] .ap-chips span { box-shadow: 0 2px 8px rgba(30, 20, 70, 0.04); }

/* The stage: a dark screen on a light page */
html[data-svc-theme="light"] .ap-stage::before {
    background: radial-gradient(circle, color-mix(in srgb, var(--c1) 22%, transparent), transparent 65%);
}
html[data-svc-theme="light"] .ap-stage-card {
    background: linear-gradient(160deg, #1d1838, #0f0d1f);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(40, 25, 90, 0.28), 0 0 0 1px color-mix(in srgb, var(--c1) 30%, transparent);
}

/* Cards, steps and FAQ on white */
html[data-svc-theme="light"] .ap-what-card,
html[data-svc-theme="light"] .ap-step p,
html[data-svc-theme="light"] .ap-faq details,
html[data-svc-theme="light"] .ap-also { box-shadow: 0 8px 24px rgba(30, 20, 70, 0.05); }
html[data-svc-theme="light"] .ap-what-card:hover { box-shadow: 0 22px 50px color-mix(in srgb, var(--c1) 18%, transparent); }
html[data-svc-theme="light"] .ap-what-icon,
html[data-svc-theme="light"] .ap-step.is-lit .ap-step-n { color: #fff; }
html[data-svc-theme="light"] .ap-step-n { background: #fff; }
html[data-svc-theme="light"] .ap-note { background: color-mix(in srgb, var(--c1) 7%, #fff); }
html[data-svc-theme="light"] .ap-faq summary::after { background: color-mix(in srgb, var(--c1) 12%, #fff); color: var(--c1); }
html[data-svc-theme="light"] .ap-also em { color: var(--c1); }

/* Buttons: the outline one is dark-on-light now */
html[data-svc-theme="light"] .ap .ap-cta-row .btn-outline {
    background: #fff; color: var(--c1); border-color: color-mix(in srgb, var(--c1) 35%, transparent);
}
html[data-svc-theme="light"] .ap .ap-cta-row .btn-outline:hover { background: color-mix(in srgb, var(--c1) 8%, #fff); color: var(--c1); }
html[data-svc-theme="light"] .ap .ap-cta-row .btn-primary {
    background: linear-gradient(120deg, var(--c1), var(--c2)); animation: none;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--c1) 35%, transparent);
}

/* The closing band in the tool's colours (its white-text rules hold) */
html[data-svc-theme="light"] .ap .svc-cta {
    background:
        radial-gradient(60% 150% at 50% 0%, rgba(255, 255, 255, 0.16), transparent 70%),
        linear-gradient(130deg, var(--c1), var(--c2));
    animation: none;
    box-shadow: 0 30px 70px color-mix(in srgb, var(--c1) 28%, transparent);
}
html[data-svc-theme="light"] .ap-last { padding-bottom: 4.5rem; }

/* ═══════════════════════════════════════════════════════════════════
   MORE DETAIL (2026-10-24): facts strip, the checker's report legend,
   what you get, other tools. Built on the tokens, so it works on both
   the dark v2 and the light theme above.
   =================================================================== */
html[data-svc="v2"] .ap-proof {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    margin-top: 1.5rem; border-radius: 22px; overflow: hidden;
    background: var(--glass); border: 1px solid var(--hair);
}
html[data-svc="v2"] .ap-proof > div { padding: 1.2rem 1.3rem; display: grid; gap: 0.15rem; position: relative; }
html[data-svc="v2"] .ap-proof > div + div::before {
    content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--hair-2);
}
html[data-svc="v2"] .ap-proof b {
    font-size: 1.45rem; font-weight: 850; letter-spacing: -0.03em; line-height: 1.15;
    background: linear-gradient(120deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-svc="v2"] .ap-proof span { color: var(--text-2); font-size: 0.86rem; }

/* The checker's AI-report legend */
html[data-svc="v2"] .ap-legend {
    display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; align-items: center;
    padding: 1.6rem; border-radius: 24px; background: var(--glass); border: 1px solid var(--hair);
}
.ap-legend-doc {
    display: grid; gap: 11px; padding: 26px 24px; border-radius: 16px;
    background: #fff; box-shadow: 0 20px 50px rgba(30, 20, 70, 0.14); border: 1px solid #ebe8f4;
}
.ap-legend-doc i { display: block; height: 9px; border-radius: 5px; background: #e6e2f0; }
.ap-legend-doc i.short { width: 60%; }
.ap-legend-doc i.hl-blue   { background: #93c5fd; animation: ap-hl 4s ease-in-out infinite; }
.ap-legend-doc i.hl-purple { background: #c4b5fd; animation: ap-hl 4s ease-in-out 1s infinite; }
@keyframes ap-hl { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.ap-legend-keys { display: grid; gap: 0.9rem; }
.ap-legend-keys > div { display: grid; grid-template-columns: 44px 1fr; gap: 0.85rem; align-items: center; }
.ap-legend-keys p { margin: 0; color: var(--text-2); line-height: 1.55; }
.ap-legend-keys b { color: var(--ink); }
.ap-key { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-weight: 850; font-size: 0.95rem; }
.ap-key-blue   { background: #bfdbfe; box-shadow: inset 0 0 0 2px #3b82f6; }
.ap-key-purple { background: #ddd6fe; box-shadow: inset 0 0 0 2px #7c3aed; }
.ap-key-star   { background: linear-gradient(130deg, var(--c1), var(--c2)); color: #fff; }
.ap-key-repo   { background: color-mix(in srgb, var(--c1) 14%, transparent); color: var(--c1); }
.ap-key-repo .icon { width: 20px; height: 20px; }

/* What you get */
html[data-svc="v2"] .ap-receive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
html[data-svc="v2"] .ap-receive > div {
    position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: 20px;
    background: var(--glass); border: 1px solid var(--hair); overflow: hidden;
}
html[data-svc="v2"] .ap-receive > div::after {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--c1), var(--c2));
}
html[data-svc="v2"] .ap-receive b { display: block; margin: 0.8rem 0 0.3rem; color: var(--ink); font-size: 1.02rem; }
html[data-svc="v2"] .ap-receive p { margin: 0; color: var(--text-2); font-size: 0.92rem; line-height: 1.55; }
.ap-receive-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
    background: color-mix(in srgb, var(--c1) 14%, transparent); color: var(--c1);
}
.ap-receive-icon .icon { width: 20px; height: 20px; }

/* Other tools */
html[data-svc="v2"] .ap-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
html[data-svc="v2"] .ap-other {
    position: relative; display: grid; gap: 0.35rem; align-content: start;
    padding: 1.1rem 1rem 2.2rem; border-radius: 18px; text-decoration: none;
    background: var(--glass); border: 1px solid var(--hair);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
html[data-svc="v2"] .ap-other:hover {
    transform: translateY(-3px); border-color: color-mix(in srgb, var(--o1) 45%, transparent);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--o1) 20%, transparent);
}
.ap-other-icon {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 0.3rem;
    background: linear-gradient(130deg, var(--o1), var(--o2)); color: #fff;
}
.ap-other-icon .icon { width: 18px; height: 18px; }
html[data-svc="v2"] .ap-other b { color: var(--ink); font-size: 0.95rem; }
html[data-svc="v2"] .ap-other small { color: var(--text-2); font-size: 0.82rem; line-height: 1.45; }
html[data-svc="v2"] .ap-other em { position: absolute; right: 1rem; bottom: 0.8rem; font-style: normal; color: var(--o1); font-weight: 800; }

@media (max-width: 1080px) {
    html[data-svc="v2"] .ap-others { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    html[data-svc="v2"] .ap-proof { grid-template-columns: repeat(2, 1fr); }
    html[data-svc="v2"] .ap-proof > div:nth-child(3)::before { display: none; }
    html[data-svc="v2"] .ap-proof > div:nth-child(n + 3) { border-top: 1px solid var(--hair); }
    html[data-svc="v2"] .ap-legend { grid-template-columns: 1fr; }
    html[data-svc="v2"] .ap-receive { grid-template-columns: 1fr; }
    html[data-svc="v2"] .ap-others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    html[data-svc="v2"] .ap-others { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .ap-legend-doc i { animation: none !important; }
}

/* ═══ The brands behind a tool (2026-10-28) ═══
   White-ink wordmarks on a dark plate; app-icon tiles as they are. */
html[data-svc="v2"] .ap-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 1.25rem 0 1.5rem; }
html[data-svc="v2"] .ap-brands small { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.ap-brand-mark {
    display: inline-grid; place-items: center; height: 44px; padding: 0 16px; border-radius: 12px;
    background: #131318; box-shadow: 0 6px 16px rgba(20, 15, 40, 0.18);
}
.ap-brand-mark img { height: 26px; width: auto; object-fit: contain; display: block; }
/* The ZeroGPT file carries wide transparent margins round a small mark;
   at the Turnitin height it reads as half the size. */
.ap-brand-mark img[src*="zerogpt"] { height: 40px; margin: -7px 0; }
.ap-brand-tile {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 5px 12px 5px 5px; border-radius: 12px;
    background: var(--glass); border: 1px solid var(--hair); font-size: 0.85rem; color: var(--ink);
}
.ap-brand-tile img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; display: block; }
