.site-nav__links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .42rem; }
.public-page-hero,
.public-mobile-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    padding-block: clamp(4rem, 8vw, 7.5rem);
}
.public-page-hero__copy,
.public-mobile-copy { max-width: 590px; }
.public-page-hero h1,
.public-mobile-hero h1,
.public-docs-hero h1 {
    max-width: 12ch;
    margin-bottom: 1.35rem;
    font-size: clamp(3rem, 5.4vw, 5.2rem);
    line-height: 1.03;
}
.public-page-hero h1 span { color: var(--muted); }
/* Inner-page heroes are one centred column, like the homepage (the contract refuses
   the split hero). The Mobile page keeps its phone beside the copy on purpose. */
.public-page-hero--center { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: clamp(2.5rem, 5vw, 4rem); text-align: center; }
.public-page-hero--center .public-page-hero__copy { display: flex; flex-direction: column; align-items: center; max-width: 1040px; }
.public-page-hero--center h1 { max-width: none; text-wrap: balance; }
.public-page-hero--center .hero__lede { max-width: 62ch; }
.public-page-hero--center .op-cta-row { justify-content: center; }
.public-page-hero--center .public-screen { width: min(100%, 960px); }
.public-docs-hero--center .public-docs-hero-layout { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.public-docs-hero--center h1 { max-width: 16ch; margin-inline: auto; }
.public-docs-hero--center .hero__lede { max-width: 62ch; margin-inline: auto; }
.public-docs-hero--center .public-docs-links { justify-content: center; }
.public-page-hero .hero__lede,
.public-mobile-hero .hero__lede { max-width: 34rem; margin-bottom: 1.7rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; }
.public-screen { min-width: 0; margin: 0; }
.public-screen img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 18px 48px rgba(0, 0, 0, .08); }
.public-screen figcaption { margin-top: .65rem; color: var(--muted); font-size: .65rem; font-weight: 600; letter-spacing: .04em; }
.public-screen--hero img,
.public-screen--wide img { object-fit: contain; object-position: left top; }
.public-price-section { background: var(--paper-soft); }
.public-price-grid { display: grid; grid-template-columns: minmax(270px, .78fr) minmax(0, 1.22fr); align-items: stretch; gap: clamp(2rem, 6vw, 5rem); }
.public-free-card { max-width: 470px; box-shadow: 0 22px 55px rgba(0, 0, 0, .08); }
.public-card-label { display: block; margin-bottom: 1.4rem; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .16em; }
.public-price-aside { display: flex; flex-direction: column; justify-content: center; max-width: 560px; padding-block: 1rem; }
.public-price-aside .eyebrow { margin-bottom: .8rem; }
.public-price-aside h3 { max-width: 14ch; margin-bottom: .8rem; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.12; letter-spacing: -.04em; }
.public-price-aside > p:not(.eyebrow) { margin-bottom: 1.4rem; color: var(--ink-soft); font-size: .87rem; line-height: 1.75; }
.public-price-aside__line { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); font-size: .8rem; }
.public-price-aside__line strong { font-weight: 700; text-align: right; }
.public-price-aside > .text-link { align-self: flex-start; margin-top: 1.1rem; }
.public-includes { background: var(--paper); }
.public-split,
.public-feature-row,
.public-proof-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}
.public-copy { max-width: 560px; }
.public-copy h2,
.public-section-heading h2,
.public-feature-copy h2,
.public-proof-layout h2,
.public-docs-last h2 {
    max-width: 13ch;
    margin-bottom: 1rem;
    font-size: clamp(2.45rem, 4vw, 3.85rem);
    line-height: 1.08;
}
.public-copy .section-lede { margin-bottom: 1.25rem; }
.public-check-list { display: grid; gap: .6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.public-check-list li { position: relative; padding-left: 1.55rem; color: var(--ink-soft); font-size: .84rem; }
.public-check-list li::before { position: absolute; top: .3em; left: .3rem; width: .38rem; height: .72rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); content: ""; }
.public-close { padding-top: 1rem; }
.public-section-heading { max-width: 700px; margin-bottom: 2.8rem; }
.public-section-heading h2 { max-width: 14ch; }
.public-section-heading .section-lede { max-width: 560px; margin-bottom: 0; }
.public-steps { background: var(--paper); }
.public-step-list { border-top: 1px solid var(--line); }
.public-step-list article { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) 2rem; align-items: center; gap: 1rem; padding: 1.5rem .3rem; border-bottom: 1px solid var(--line); }
.public-step-list article > span:first-child { color: var(--muted); font-size: .72rem; font-weight: 700; }
.public-step-list h3 { margin-bottom: .2rem; font-size: 1rem; }
.public-step-list p { max-width: 620px; margin: 0; color: var(--muted); font-size: .82rem; }
.public-step-arrow { color: var(--ink-soft); font-size: 1.1rem; text-align: right; }
.public-feature--reverse { background: var(--paper); }
.public-feature-copy { max-width: 490px; }
.public-feature-copy h2 { max-width: 12ch; }
.public-feature-copy .section-lede { color: var(--ink-soft); font-size: .96rem; line-height: 1.8; }
.public-proof { background: var(--paper-soft); }
.public-proof-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.public-proof-layout > div { max-width: 520px; }
.public-proof-layout h2 { max-width: 12ch; }
.public-proof-layout .section-lede { margin-bottom: 1.35rem; }
.public-mobile-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); }
.public-mobile-copy { padding-block: 1rem; }
.public-mobile-hero h1 { max-width: 11ch; }
.public-mobile-caption { margin: .8rem 0 0; color: var(--muted); font-size: .68rem; }
.public-phone-frame { width: min(100%, 370px); justify-self: center; margin: 0; text-align: center; }
.public-phone-frame__bezel { overflow: hidden; padding: .55rem; border: 2px solid #111; border-radius: 42px; background: #111; box-shadow: 0 26px 65px rgba(0, 0, 0, .16); }
.public-phone-frame__bezel img { display: block; width: 100%; height: auto; border-radius: 31px; background: #fff; }
.public-phone-frame figcaption { margin-top: .8rem; color: var(--muted); font-size: .65rem; font-weight: 600; }
.public-mobile-benefits { background: var(--paper-soft); }
.public-mobile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.public-mobile-grid article { padding: 1.3rem 1.3rem 0 0; }
.public-mobile-grid article + article { padding-left: 1.3rem; border-left: 1px solid var(--line); }
.public-mobile-grid article > span { color: var(--muted); font-size: .67rem; font-weight: 700; }
.public-mobile-grid h3 { margin: 1.1rem 0 .5rem; font-size: 1rem; }
.public-mobile-grid p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.public-mobile-proof { background: var(--paper); }
.public-split--mobile { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }

.public-docs-hero { padding-block: clamp(4rem, 7vw, 6.5rem); background: var(--paper-soft); }
.public-docs-hero-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.public-docs-hero .section-wrap { max-width: var(--max-width); }
.public-docs-hero h1 { max-width: 13ch; }
.public-docs-hero .hero__lede { max-width: 620px; margin-bottom: 1.6rem; color: var(--ink-soft); font-size: .98rem; }
.public-docs-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.public-docs-links a { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .73rem; font-weight: 600; }
.public-docs-body { padding-top: 4.5rem; }
.public-docs-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); }
.public-docs-sidebar { position: sticky; top: 7rem; display: flex; flex-direction: column; padding-top: .25rem; }
.public-docs-sidebar p { margin-bottom: .8rem; color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .14em; }
.public-docs-sidebar a { padding: .62rem .7rem; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: .77rem; }
.public-docs-sidebar a.is-current { border-left: 1px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.public-docs-content { max-width: 820px; }
.public-docs-content h2 { margin-bottom: .9rem; font-size: clamp(2.3rem, 4vw, 3.4rem); }
.public-docs-content > .section-lede { max-width: 700px; margin-bottom: 1.6rem; }
.public-docs-shot { margin: 1.8rem 0; }
.public-docs-shot img { max-height: 440px; object-fit: contain; object-position: top left; }
.public-docs-callout { display: grid; gap: .3rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); background: var(--paper-soft); }
.public-docs-callout strong { font-size: .83rem; }
.public-docs-callout span { color: var(--ink-soft); font-size: .8rem; line-height: 1.65; }
.public-docs-topics { background: var(--paper-soft); }
.public-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.public-topic { position: relative; min-height: 220px; padding: 1.35rem; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); transition: transform 160ms ease, box-shadow 160ms ease; }
.public-topic:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0, 0, 0, .07); }
.public-topic > span { color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .13em; }
.public-topic h3 { margin: 1.4rem 1rem .55rem 0; font-size: 1rem; }
.public-topic p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.public-topic b { position: absolute; right: 1.25rem; bottom: 1.1rem; font-size: .9rem; }
.public-docs-feature { background: var(--paper); }
.public-docs-last { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr); align-items: center; gap: 4rem; }
.public-doc-links { border-top: 1px solid var(--line); }
.public-doc-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 600; }
.public-doc-links a span { color: var(--muted); }
.public-anchor { display: block; scroll-margin-top: 6rem; }
.public-docs-section { padding-block: 2.75rem; border-bottom: 1px solid var(--line); scroll-margin-top: 7rem; }
.public-docs-section:first-child { padding-top: 0; }
.public-docs-section h2 { max-width: 16ch; }
.public-docs-section h3 { margin: 1.6rem 0 .6rem; font-size: 1rem; letter-spacing: -.02em; }
.public-docs-section p,
.public-docs-section li { color: var(--ink-soft); font-size: .9rem; line-height: 1.75; }
.public-docs-section p { max-width: 72ch; }
.public-docs-section ul { display: grid; gap: .35rem; margin: .75rem 0 1.25rem; padding-left: 1.2rem; }
.public-docs-section li::marker { color: var(--muted); }
/* Grid columns default to their widest content; let long code lines scroll inside instead. */
.public-docs-layout > * { min-width: 0; }
.public-docs-section :not(.public-docs-code) > code { overflow-wrap: anywhere; }
.public-docs-section ol { display: grid; gap: .45rem; margin: .75rem 0 1.25rem; padding-left: 1.3rem; }
.public-docs-section .op-code { margin: .75rem 0 1.25rem; }
.public-docs-section .public-docs-code { margin: .75rem 0 1.25rem; }
.public-docs-section .public-docs-callout { margin: 1rem 0 1.25rem; }
.public-docs-section .public-docs-callout code { color: inherit; }
.public-docs-shot { max-width: 860px; margin: 1.7rem 0 0; }
.public-docs-shot img { max-height: none; }
.public-docs-two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.public-docs-topic { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.public-docs-topic h3 { margin-top: 0; }
.public-docs-code { overflow-x: auto; padding: 1.4rem; border-radius: 10px; background: #111111; color: #f5f5f5; }
.public-docs-code p { margin: 0 0 .75rem; color: #d0d0d0; font-size: .78rem; }
.public-docs-code code { display: block; color: #ffffff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84rem; }
.public-docs-hero-layout .public-screen { min-width: 0; }
.public-docs-hero-layout h1 { max-width: 13ch; }
.public-docs-hero-layout .public-screen img { background: var(--paper); }
.public-android-access { background: var(--paper-soft); }
.public-android-access__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; }
.public-android-access__inner h2 { max-width: 15ch; font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.08; }
.public-android-access__inner .section-lede { max-width: 650px; }
.public-android-access__links { display: grid; min-width: 210px; border-top: 1px solid var(--line); }
.public-android-access__links a { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 600; }
.pricing-more { margin: 1.5rem 0 0; }
.public-mobile-caption { max-width: 34rem; line-height: 1.6; }

@media (max-width: 900px) {
    .public-page-hero, .public-mobile-hero { gap: 2.5rem; }
    .public-price-grid { grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr); gap: 2.25rem; }
    .public-split, .public-feature-row, .public-proof-layout, .public-split--mobile { gap: 2.75rem; }
    .public-docs-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 2.5rem; }
}

@media (max-width: 760px) {
    .public-page-hero, .public-mobile-hero { grid-template-columns: 1fr; gap: 2.6rem; padding-block: 3.5rem 4.5rem; }
    .public-page-hero h1, .public-mobile-hero h1, .public-docs-hero h1 { max-width: 11ch; font-size: clamp(2.9rem, 11vw, 4.2rem); }
    .public-price-grid, .public-split, .public-feature-row, .public-proof-layout, .public-split--mobile, .public-docs-last { grid-template-columns: 1fr; gap: 2.4rem; }
    .public-free-card { max-width: none; }
    .public-price-aside { padding-top: 0; }
    .public-feature-row, .public-feature--reverse .public-feature-row { display: flex; flex-direction: column; align-items: stretch; }
    .public-feature--reverse .public-feature-copy { order: 0; }
    .public-feature--reverse figure { order: 1; }
    .public-mobile-grid { grid-template-columns: 1fr; }
    .public-mobile-grid article, .public-mobile-grid article + article { padding: 1rem 0; border-bottom: 1px solid var(--line); border-left: 0; }
    .public-mobile-grid h3 { margin: .45rem 0 .3rem; }
    .public-phone-frame { width: min(78%, 350px); }
    .public-docs-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .public-docs-sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .6rem; }
    .public-docs-sidebar p { grid-column: 1 / -1; }
    .public-topic-grid { grid-template-columns: 1fr; }
    .public-topic { min-height: 0; padding-bottom: 2.3rem; }
    .public-docs-links { gap: .4rem; }
    .public-docs-links a { font-size: .67rem; }
    .public-docs-hero-layout { grid-template-columns: 1fr; gap: 2.25rem; }
    .public-docs-two-up { grid-template-columns: 1fr; gap: 1rem; }
    .public-android-access__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .public-android-access__links { min-width: 0; }
}

@media (max-width: 420px) {
    .public-phone-frame { width: min(88%, 330px); }
    .public-step-list article { grid-template-columns: 2rem minmax(0, 1fr) 1.2rem; gap: .7rem; }
}

/* One authored moment on every marketing page: the dashboard wipes open as it reaches the reader.
   Without JS the class never gets `js`, so the screenshot stays fully visible. */
[data-dashboard-shot] { transition: clip-path 900ms cubic-bezier(.16, 1, .3, 1), opacity 500ms ease-out; }
html.js [data-dashboard-shot]:not(.is-revealed) { clip-path: inset(0 0 100% 0); opacity: 0; }
[data-dashboard-shot].is-revealed { clip-path: inset(0 0 0 0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .public-topic { transition: none; }
    html.js [data-dashboard-shot]:not(.is-revealed) { clip-path: none; }
}

/* Legal pages: Terms, Privacy, Refunds (views/partials/legal/desktop.php) */
.public-legal-hero h1 { max-width: 18ch; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.public-legal-updated { margin: -.4rem 0 1.4rem; color: var(--muted); font-size: .78rem; }
.public-docs-links a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.public-legal .public-docs-section h2 { max-width: none; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.public-legal .public-docs-section a { text-decoration: underline; text-underline-offset: .2em; }
.public-legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1.4rem; margin-top: 1rem; font-size: .9rem; }
.public-legal dt { font-weight: 700; }
.public-legal dd { margin: 0; color: var(--ink-soft); overflow-wrap: anywhere; }
.public-legal-missing { margin-bottom: 2rem; border-color: var(--ink); }
@media (max-width: 760px) {
    .public-legal-hero h1 { max-width: 16ch; font-size: clamp(2.2rem, 9vw, 3rem); }
    .public-legal dl { grid-template-columns: 1fr; gap: .1rem; }
    .public-legal dd { margin-bottom: .6rem; }
}

/* ---- Detailed content blocks shared by the public pages (2026-11 rework) ---- */
.op-section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.op-section--soft { background: var(--paper-soft); }
.op-section--paper { background: var(--paper); }
.op-section__head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.25rem); }
.op-section__head--center { margin-inline: auto; text-align: center; }
.op-section__head h2 { margin-bottom: 1rem; font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.06; text-wrap: balance; }
.op-section__head p { max-width: 64ch; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.op-section__head--center p { margin-inline: auto; }

/* Module directory: one row per area, a hairline between modules. Not cards. */
.op-area { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.op-area:last-child { border-bottom: 1px solid var(--line); }
/* On wide screens the heading and screenshot stay in view while the module list scrolls. */
@media (min-width: 901px) {
    .op-area__intro { position: sticky; top: 7rem; align-self: start; }
}
.op-area__intro h3 { margin: 0 0 .75rem; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.12; letter-spacing: -.035em; }
.op-area__intro > p { max-width: 46ch; margin: 0 0 1.4rem; color: var(--ink-soft); font-size: .95rem; line-height: 1.75; }
.op-area__shot { margin: 0; }
.op-area__shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 18px 44px rgba(0, 0, 0, .08); }
.op-area__shot figcaption { margin-top: .6rem; color: var(--muted); font-size: .72rem; font-weight: 600; }
.op-modules { margin: 0; }
.op-module { display: grid; grid-template-columns: minmax(9rem, .34fr) minmax(0, 1fr); gap: .4rem 1.75rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.op-module:first-child { border-top: 0; padding-top: 0; }
.op-module dt { font-size: .98rem; font-weight: 700; letter-spacing: -.015em; }
.op-module dd { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }
.op-module dd p { margin: 0 0 .5rem; }
.op-module dd ul { display: grid; gap: .3rem; margin: .2rem 0 0; padding-left: 1.1rem; }
.op-module dd li::marker { color: var(--muted); }

/* Numbered steps: the order matters, so the numbers stay. */
.op-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: op-step; }
.op-steps > li { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); counter-increment: op-step; }
.op-steps > li:last-child { border-bottom: 1px solid var(--line); }
.op-steps > li::before { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; content: counter(op-step); }
.op-steps h3 { margin: .25rem 0 .35rem; font-size: 1.02rem; letter-spacing: -.02em; }
.op-steps p { max-width: 68ch; margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }
.op-steps p + p { margin-top: .5rem; }
.op-steps code, .op-module code, .op-faq code, .op-prose code, .public-docs-section :not(.public-docs-code) > code { padding: .1rem .35rem; border-radius: 4px; background: var(--accent-soft); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84em; overflow-wrap: anywhere; }

/* Two columns of plain prose, used for "how it works" detail. */
.op-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.op-prose h3 { margin: 0 0 .55rem; font-size: 1.12rem; letter-spacing: -.02em; }
.op-prose p, .op-prose li { color: var(--ink-soft); font-size: .92rem; line-height: 1.75; }
.op-prose p { max-width: 68ch; margin: 0 0 1rem; }
.op-prose ul { display: grid; gap: .35rem; margin: 0 0 1.2rem; padding-left: 1.15rem; }
.op-prose a { text-decoration: underline; text-underline-offset: .2em; }

/* Code sample (the dark block reads the same in both themes). */
.op-code { margin: 1.1rem 0 0; overflow-x: auto; padding: 1.2rem 1.3rem; border-radius: 10px; background: #111111; color: #f2f2f2; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8rem; line-height: 1.65; white-space: pre; tab-size: 2; }
html.dark .op-code { border: 1px solid var(--line); background: #0a0a0a; }
.op-code__label { display: block; margin: 1.4rem 0 -.6rem; color: var(--muted); font-size: .76rem; font-weight: 600; }

/* An illustrative exchange with the assistant. Labelled as an example. */
.op-chat { display: grid; gap: .75rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 18px 44px rgba(0, 0, 0, .06); }
.op-chat__you, .op-chat__ai { max-width: 88%; padding: .8rem 1rem; border-radius: 14px; font-size: .88rem; line-height: 1.6; }
.op-chat__you { justify-self: end; border-bottom-right-radius: 4px; background: var(--ink); color: var(--page); }
.op-chat__ai { justify-self: start; border-bottom-left-radius: 4px; background: var(--paper-soft); color: var(--ink); }
.op-chat__ai ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.op-chat__note { margin: .25rem 0 0; color: var(--muted); font-size: .72rem; }

/* FAQ: native details, one hairline per question. */
.op-faq { max-width: 860px; border-top: 1px solid var(--line); }
.op-faq details { border-bottom: 1px solid var(--line); }
.op-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.2rem 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em; list-style: none; cursor: pointer; }
.op-faq summary::-webkit-details-marker { display: none; }
.op-faq summary::after { flex: 0 0 auto; width: .7rem; height: .7rem; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-25%); transition: transform 200ms ease; content: ""; }
.op-faq details[open] summary::after { transform: rotate(225deg) translateY(-25%); }
.op-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.op-faq__answer { max-width: 72ch; padding: 0 0 1.35rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.75; }
.op-faq__answer p { margin: 0 0 .7rem; }
.op-faq__answer p:last-child { margin-bottom: 0; }
.op-faq__answer a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }

/* A short list of plain facts with a label column (privacy, requirements, limits). */
.op-facts { display: grid; max-width: 1000px; margin: 0; border-top: 1px solid var(--line); }
.op-facts > div { display: grid; grid-template-columns: minmax(8rem, .38fr) minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.op-facts dt { font-size: .9rem; font-weight: 700; }
.op-facts dd { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }

.op-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.6rem; }

@media (max-width: 900px) {
    .op-area { grid-template-columns: 1fr; }
    .op-columns { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .op-module, .op-facts > div { grid-template-columns: 1fr; gap: .3rem; }
    .op-steps > li { grid-template-columns: 2.6rem minmax(0, 1fr); gap: .7rem; }
    .op-code { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
    .op-faq summary::after { transition: none; }
}
.op-prose__title { margin-bottom: 1rem; font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1.08; text-wrap: balance; }
.op-prose .button { margin-top: .4rem; text-decoration: none; }
