/* ============================================================
   MageTime Theme — design components (from design package CSS)
   Shell header/footer/mobile-nav styles remain in LESS partials.
   Use --apps-theme-* tokens; avoid roro prefix in code.
   ============================================================ */

:root {
    /* Brand */
    --apps-theme-color-brand: #EC1E24;
    --apps-theme-color-brand-deep: #C8161B;
    --apps-theme-color-brand-soft: #FDE5E6;
    --apps-theme-color-primary: #0B3F67;
    --apps-theme-color-primary-deep: #07334F;
    --apps-theme-color-primary-mid: #4470BA;

    /* Surfaces */
    --apps-theme-color-cream: #F3EEE7;
    --apps-theme-color-cream-soft: #F8F5F0;
    --apps-theme-color-sky: #B9DBFE;
    --apps-theme-color-sky-mid: #69CDFF;
    --apps-theme-color-sky-deep: #4470BA;

    /* Accents */
    --apps-theme-color-peony: #E5447D;
    --apps-theme-color-blossom: #F2A8C0;
    --apps-theme-color-green: #2F8F4E;
    --apps-theme-color-yellow: #F4B53A;
    --apps-theme-color-teal: #3FB7B0;

    /* Neutrals */
    --apps-theme-color-white: #FFFFFF;
    --apps-theme-color-ink: #082C45;
    --apps-theme-color-ink-muted: #2C5170;
    --apps-theme-color-ink-soft: #647D92;
    --apps-theme-color-ink-faint: #AFBCC9;
    --apps-theme-color-line: #E7E7E8;
    --apps-theme-color-surface: #F8FAFD;
    --apps-theme-color-surface-alt: #DCE7F0;

    /* Typography */
    --apps-theme-font-display: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --apps-theme-font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Radii */
    --apps-theme-radius-sm: 8px;
    --apps-theme-radius-md: 12px;
    --apps-theme-radius-lg: 16px;
    --apps-theme-radius-xl: 24px;
    --apps-theme-radius-2xl: 32px;
    --apps-theme-radius-pill: 999px;

    /* Shadows */
    --apps-theme-shadow-xs: 0 1px 2px rgba(14, 35, 72, .06);
    --apps-theme-shadow-sm: 0 2px 6px rgba(14, 35, 72, .08);
    --apps-theme-shadow-md: 0 8px 24px rgba(14, 35, 72, .10);
    --apps-theme-shadow-lg: 0 16px 48px rgba(14, 35, 72, .14);
    --apps-theme-shadow-brand: 0 8px 24px rgba(236, 30, 36, .26);

    /* Motion */
    --apps-theme-ease: cubic-bezier(.2, .7, .2, 1);
    --apps-theme-duration-fast: 140ms;
    --apps-theme-duration-base: 220ms;
    --apps-theme-duration-slow: 400ms;

    /* Layout */
    --apps-theme-container: 1200px;
    --apps-theme-section-pad: 120px;
}

/* CMS design-token aliases (--roro-* in CMS HTML) */
.apps-theme-content {
    --roro-red: var(--apps-theme-color-brand);
    --roro-red-deep: var(--apps-theme-color-brand-deep);
    --roro-red-soft: var(--apps-theme-color-brand-soft);
    --roro-navy: var(--apps-theme-color-primary);
    --roro-navy-deep: var(--apps-theme-color-primary-deep);
    --roro-navy-mid: var(--apps-theme-color-primary-mid);
    --roro-cream: var(--apps-theme-color-cream);
    --roro-cream-soft: var(--apps-theme-color-cream-soft);
    --roro-sky: var(--apps-theme-color-sky);
    --roro-sky-mid: var(--apps-theme-color-sky-mid);
    --roro-sky-deep: var(--apps-theme-color-sky-deep);
    --roro-peony-pink: var(--apps-theme-color-peony);
    --roro-blossom-pink: var(--apps-theme-color-blossom);
    --roro-leaf-green: var(--apps-theme-color-green);
    --roro-tag-yellow: var(--apps-theme-color-yellow);
    --roro-teal: var(--apps-theme-color-teal);
    --roro-white: var(--apps-theme-color-white);
    --roro-ink: var(--apps-theme-color-ink);
    --roro-ink-2: var(--apps-theme-color-ink-muted);
    --roro-ink-3: var(--apps-theme-color-ink-soft);
    --roro-ink-4: var(--apps-theme-color-ink-faint);
    --roro-line: var(--apps-theme-color-line);
    --roro-bg: var(--apps-theme-color-surface);
    --roro-bg-2: var(--apps-theme-color-surface-alt);
    --font-display: var(--apps-theme-font-display);
    --font-body: var(--apps-theme-font-body);
    --r-sm: var(--apps-theme-radius-sm);
    --r-md: var(--apps-theme-radius-md);
    --r-lg: var(--apps-theme-radius-lg);
    --r-xl: var(--apps-theme-radius-xl);
    --r-2xl: var(--apps-theme-radius-2xl);
    --r-pill: var(--apps-theme-radius-pill);
    --shadow-xs: var(--apps-theme-shadow-xs);
    --shadow-sm: var(--apps-theme-shadow-sm);
    --shadow-md: var(--apps-theme-shadow-md);
    --shadow-lg: var(--apps-theme-shadow-lg);
    --shadow-red: var(--apps-theme-shadow-brand);
    --ease-out: var(--apps-theme-ease);
    --t-fast: var(--apps-theme-duration-fast);
    --t-base: var(--apps-theme-duration-base);
    --t-slow: var(--apps-theme-duration-slow);
    --container: var(--apps-theme-container);
    --section-pad: var(--apps-theme-section-pad);
}


@media (max-width: 768px) {
    :root {
        --apps-theme-section-pad: 72px;
    }
}

/* Layout */
.apps-theme-content .container,
.column.main .container {
    max-width: var(--apps-theme-container);
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .apps-theme-content .container,
    .column.main .container {
        padding: 0 22px;
    }
}

.apps-theme-content .container.narrow,
.column.main .container.narrow {
    max-width: 1080px;
}

/* Type */
.apps-theme-content .eyebrow,
.column.main .eyebrow {
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--apps-theme-color-brand);
}

.apps-theme-content .eyebrow.muted,
.column.main .eyebrow.muted {
    color: var(--apps-theme-color-ink-soft);
}

.apps-theme-content h1,
.apps-theme-content h2,
.apps-theme-content h3,
.apps-theme-content h4,
.column.main h1,
.column.main h2,
.column.main h3,
.column.main h4 {
    font-family: var(--apps-theme-font-display);
    letter-spacing: -0.015em;
    color: var(--apps-theme-color-ink);
    text-wrap: pretty;
}

.apps-theme-content h1,
.column.main h1 {
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.apps-theme-content h2,
.column.main h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.apps-theme-content h3,
.column.main h3 {
    font-size: clamp(19px, 1.9vw, 24px);
    font-weight: 700;
    line-height: 1.28;
}

.apps-theme-content h4,
.column.main h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.apps-theme-content .lead,
.column.main .lead {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.6;
    max-width: 62ch;
}

/* Buttons */
.apps-theme-content .btn,
.apps-theme-content .apps-theme-button,
.column.main .btn,
.column.main .apps-theme-button,
.cookie-bar .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--apps-theme-font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 26px;
    border-radius: var(--apps-theme-radius-pill);
    transition: transform var(--apps-theme-duration-base) var(--apps-theme-ease),
        background var(--apps-theme-duration-base),
        box-shadow var(--apps-theme-duration-base),
        color var(--apps-theme-duration-base);
    white-space: nowrap;
    letter-spacing: .01em;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.apps-theme-content .btn-primary,
.apps-theme-content .apps-theme-button-primary,
.column.main .btn-primary,
.column.main .apps-theme-button-primary,
.cookie-bar .btn-primary {
    background: var(--apps-theme-color-primary);
    color: #fff;
}

.apps-theme-content .btn-primary:hover,
.apps-theme-content .apps-theme-button-primary:hover,
.column.main .btn-primary:hover,
.column.main .apps-theme-button-primary:hover,
.cookie-bar .btn-primary:hover {
    background: var(--apps-theme-color-primary-deep);
    transform: translateY(-1px);
    box-shadow: var(--apps-theme-shadow-md);
}

.apps-theme-content .btn-red,
.apps-theme-content .apps-theme-button-brand,
.column.main .btn-red {
    background: var(--apps-theme-color-brand);
    color: #fff;
}

.apps-theme-content .btn-red:hover,
.apps-theme-content .apps-theme-button-brand:hover,
.column.main .btn-red:hover {
    background: var(--apps-theme-color-brand-deep);
    transform: translateY(-1px);
    box-shadow: var(--apps-theme-shadow-brand);
}

.apps-theme-content .btn-ghost,
.apps-theme-content .apps-theme-button-ghost,
.column.main .btn-ghost,
.column.main .apps-theme-button-ghost,
.cookie-bar .btn-ghost {
    background: transparent;
    color: var(--apps-theme-color-ink);
    border: 1.5px solid var(--apps-theme-color-line);
}

.apps-theme-content .btn-ghost:hover,
.apps-theme-content .apps-theme-button-ghost:hover,
.column.main .btn-ghost:hover,
.column.main .apps-theme-button-ghost:hover,
.cookie-bar .btn-ghost:hover {
    border-color: var(--apps-theme-color-ink);
    background: #fff;
}

.apps-theme-content .apps-theme-button-dark,
.column.main .apps-theme-button-dark {
    background: var(--apps-theme-color-primary);
    color: #fff;
}

.apps-theme-content .apps-theme-button-dark:hover,
.column.main .apps-theme-button-dark:hover {
    background: var(--apps-theme-color-primary-deep);
    transform: translateY(-1px);
    box-shadow: var(--apps-theme-shadow-md);
}

.apps-theme-content .apps-theme-button-light,
.column.main .apps-theme-button-light {
    background: #fff;
    color: var(--apps-theme-color-primary);
    border: 1.5px solid rgba(255, 255, 255, 0.74);
}

.apps-theme-content .apps-theme-button-light:hover,
.column.main .apps-theme-button-light:hover {
    background: #f8fbff;
    color: var(--apps-theme-color-primary-deep);
    border-color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--apps-theme-shadow-md);
}

.apps-theme-content .btn-lg,
.apps-theme-content .apps-theme-button-large,
.column.main .btn-lg,
.column.main .apps-theme-button-large {
    min-height: 50px;
    padding: 14px 28px;
    font-size: 15px;
}

.apps-theme-content .btn-md,
.apps-theme-content .apps-theme-button-medium,
.column.main .btn-md,
.column.main .apps-theme-button-medium {
    min-height: 44px;
    padding: 12px 22px;
    font-size: 14px;
}

.apps-theme-content .apps-theme-input-shell,
.column.main .apps-theme-input-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 16px;
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    border-radius: 12px;
    box-sizing: border-box;
}

.apps-theme-content .apps-theme-input-shell input,
.column.main .apps-theme-input-shell input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 0;
    color: var(--apps-theme-color-ink);
    font-family: var(--apps-theme-font-body);
    font-size: 15px;
    line-height: 1.4;
}

.apps-theme-content .apps-theme-input-shell input::placeholder,
.column.main .apps-theme-input-shell input::placeholder {
    color: var(--apps-theme-color-ink-faint);
}

.apps-theme-content .apps-theme-button-row,
.column.main .apps-theme-button-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.apps-theme-content .apps-theme-eyebrow-sky,
.column.main .apps-theme-eyebrow-sky {
    color: var(--apps-theme-color-sky-mid);
}

.apps-theme-content .apps-theme-heading-spacing-sm,
.column.main .apps-theme-heading-spacing-sm {
    margin-top: 12px;
}

.apps-theme-content .apps-theme-success-note,
.column.main .apps-theme-success-note {
    color: var(--apps-theme-color-ink-muted);
    margin-top: 8px;
}

.apps-theme-content .apps-theme-callout-spacious,
.column.main .apps-theme-callout-spacious {
    margin-top: 22px;
    max-width: none;
}

.apps-theme-content .apps-theme-callout-spacious-lg,
.column.main .apps-theme-callout-spacious-lg {
    margin-top: 26px;
    max-width: none;
}

.apps-theme-content .btn-ghost.on-dark,
.column.main .btn-ghost.on-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
}

.apps-theme-content .btn-ghost.on-dark:hover,
.column.main .btn-ghost.on-dark:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .06);
}

/* CMS-safe icons — SVG/entities instead of 4-byte emoji (utf8 DB / body fonts) */
.apps-theme-content .apps-theme-flag,
.column.main .apps-theme-flag {
    display: inline-block;
    vertical-align: -2px;
    margin-left: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

.apps-theme-content .apps-theme-icon,
.column.main .apps-theme-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.apps-theme-content .apps-theme-icon-check,
.column.main .apps-theme-icon-check {
    color: var(--apps-theme-color-green);
}

.apps-theme-content .yes .apps-theme-icon-check,
.column.main .yes .apps-theme-icon-check {
    color: var(--apps-theme-color-green);
}

.apps-theme-content .review-verified,
.column.main .review-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.apps-theme-content .rt-flag,
.column.main .rt-flag {
    display: inline-flex;
    align-items: center;
    color: var(--apps-theme-color-ink-soft);
}

.apps-theme-content .tick,
.column.main .tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.apps-theme-content .tick .apps-theme-icon-check,
.column.main .tick .apps-theme-icon-check {
    width: 20px;
    height: 20px;
}

/* Reset parent theme global button/link rules inside CMS content */
.apps-theme-content .btn,
.apps-theme-content .apps-theme-button,
.column.main .btn {
    width: auto;
    min-width: 0;
    line-height: 1.2;
    box-sizing: border-box;
    opacity: 1;
}

.apps-theme-content .btn:hover,
.apps-theme-content .apps-theme-button:hover,
.apps-theme-content .btn:focus,
.apps-theme-content .apps-theme-button:focus,
.apps-theme-content .btn:active,
.apps-theme-content .apps-theme-button:active,
.column.main .btn:hover,
.column.main .apps-theme-button:hover,
.column.main .btn:focus,
.column.main .apps-theme-button:focus,
.column.main .btn:active {
    opacity: 1;
    text-decoration: none;
}

.apps-theme-content .cta-band .btn-ghost,
.column.main .cta-band .btn-ghost {
    color: var(--apps-theme-color-primary);
    border-color: rgba(11, 63, 103, .22);
}

.apps-theme-content .cta-band .btn-ghost:hover,
.column.main .cta-band .btn-ghost:hover {
    border-color: var(--apps-theme-color-primary);
    background: #fff;
    color: var(--apps-theme-color-primary-deep);
}

/* Reusable CMS action rows */
.apps-theme-content .hero-actions,
.apps-theme-content .ab-hero-actions,
.column.main .hero-actions,
.column.main .ab-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Reusable stats band */
.apps-theme-content .stats-band,
.column.main .stats-band {
    background: var(--apps-theme-color-primary-deep);
    color: #fff;
}

.apps-theme-content .stats-grid,
.column.main .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: clamp(40px, 5vw, 64px) 0;
}

@media (max-width: 820px) {
    .apps-theme-content .stats-grid,
    .column.main .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }
}

.apps-theme-content .stat .n,
.column.main .stat .n {
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: clamp(34px, 4vw, 52px);
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.apps-theme-content .stat .n .u,
.column.main .stat .n .u {
    color: var(--apps-theme-color-sky-mid);
}

.apps-theme-content .stat .l,
.column.main .stat .l {
    font-size: 14px;
    color: rgba(185, 219, 254, .8);
    margin-top: 10px;
    line-height: 1.4;
}

/* Reusable values grid (home, about, etc.) */
.apps-theme-content .values-grid,
.column.main .values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .apps-theme-content .values-grid,
    .column.main .values-grid {
        grid-template-columns: 1fr;
    }
}

.apps-theme-content .section.bg .value-card,
.column.main .section.bg .value-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--apps-theme-color-white);
    border-radius: var(--apps-theme-radius-lg);
    padding: 26px;
    min-width: 0;
}

.apps-theme-content .value-card img,
.column.main .value-card img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.apps-theme-content .value-card h3,
.column.main .value-card h3 {
    margin-bottom: 6px;
}

.apps-theme-content .value-card p,
.column.main .value-card p {
    color: var(--apps-theme-color-ink-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .apps-theme-content .hero-actions,
    .apps-theme-content .ab-hero-actions,
    .apps-theme-content .cta-actions,
    .column.main .hero-actions,
    .column.main .ab-hero-actions,
    .column.main .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .apps-theme-content .hero-actions .btn,
    .apps-theme-content .ab-hero-actions .btn,
    .apps-theme-content .cta-actions .btn,
    .column.main .hero-actions .btn,
    .column.main .ab-hero-actions .btn,
    .column.main .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Page hero */
.apps-theme-content .page-hero,
.column.main .page-hero {
    background: var(--apps-theme-color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 92px);
}

.apps-theme-content .page-hero::after,
.column.main .page-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(105, 205, 255, .18), transparent 60%);
    pointer-events: none;
}

.apps-theme-content .page-hero .eyebrow,
.column.main .page-hero .eyebrow {
    color: var(--apps-theme-color-sky-mid);
}

.apps-theme-content .page-hero h1,
.column.main .page-hero h1 {
    color: #fff;
    max-width: 18ch;
}

.apps-theme-content .page-hero .lead,
.column.main .page-hero .lead {
    color: rgba(255, 255, 255, .82);
    margin-top: 18px;
}

.apps-theme-content .page-hero .crumbs,
.column.main .page-hero .crumbs {
    margin-bottom: 18px;
}

.apps-theme-content .crumbs,
.column.main .crumbs {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.apps-theme-content .crumbs a,
.column.main .crumbs a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
}

.apps-theme-content .crumbs a:hover,
.column.main .crumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.apps-theme-content .crumbs .sep,
.column.main .crumbs .sep {
    opacity: .5;
}

.apps-theme-content .page-hero.light,
.column.main .page-hero.light {
    background: var(--apps-theme-color-surface);
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .page-hero.light::after,
.column.main .page-hero.light::after {
    background: radial-gradient(circle at 30% 30%, rgba(11, 63, 103, .06), transparent 60%);
}

.apps-theme-content .page-hero.light h1,
.column.main .page-hero.light h1 {
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .page-hero.light .eyebrow,
.column.main .page-hero.light .eyebrow {
    color: var(--apps-theme-color-brand);
}

/* Static Page Design Patterns
   The design export defined these in page-local HTML. We surface them here so
   static CMS pages use an explicit, theme-owned contract. */
.apps-theme-content .apps-theme-content-hero,
.column.main .apps-theme-content-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(46px, 6vw, 76px) 0 clamp(44px, 5vw, 68px);
}

.apps-theme-content .apps-theme-content-hero::before,
.column.main .apps-theme-content-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(620px 420px at 84% 18%, rgba(105, 205, 255, .18), transparent 58%),
        radial-gradient(560px 420px at 8% 92%, rgba(244, 236, 216, .26), transparent 66%);
    pointer-events: none;
}

.apps-theme-content .apps-theme-content-hero .container,
.column.main .apps-theme-content-hero .container {
    position: relative;
    z-index: 1;
}

.apps-theme-content .apps-theme-content-hero-grid,
.column.main .apps-theme-content-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(36px, 5vw, 60px);
    align-items: center;
}

.apps-theme-content .apps-theme-content-eyebrow,
.column.main .apps-theme-content-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: var(--apps-theme-radius-pill);
    background: rgba(255, 255, 255, .78);
    color: var(--apps-theme-color-primary);
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    box-shadow: var(--apps-theme-shadow-sm);
}

.apps-theme-content .apps-theme-code-dot,
.column.main .apps-theme-code-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--apps-theme-color-green);
    box-shadow: 0 0 0 4px rgba(47, 143, 78, .18);
    display: inline-block;
    flex-shrink: 0;
}

.apps-theme-content .apps-theme-content-subtitle,
.column.main .apps-theme-content-subtitle {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.6;
}

.apps-theme-content .apps-theme-content-pills,
.column.main .apps-theme-content-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.apps-theme-content .apps-theme-content-pill,
.column.main .apps-theme-content-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: var(--apps-theme-radius-pill);
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    color: var(--apps-theme-color-primary);
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--apps-theme-shadow-sm);
}

.apps-theme-content .apps-theme-content-pill svg,
.column.main .apps-theme-content-pill svg {
    width: 15px;
    height: 15px;
    color: var(--apps-theme-color-sky-deep);
    flex-shrink: 0;
}

.apps-theme-content .apps-theme-content-actions,
.column.main .apps-theme-content-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
}

.apps-theme-content .apps-theme-content-actions .btn,
.apps-theme-content .apps-theme-content-actions .apps-theme-button,
.column.main .apps-theme-content-actions .btn,
.column.main .apps-theme-content-actions .apps-theme-button {
    box-shadow: 0 14px 32px rgba(11, 63, 103, .18);
}

.apps-theme-content .apps-theme-content-art,
.column.main .apps-theme-content-art {
    position: relative;
    min-height: 340px;
}

.apps-theme-content .apps-theme-content-disc,
.column.main .apps-theme-content-disc {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 205, 255, .24), rgba(184, 212, 232, .08) 60%, transparent 74%);
}

.apps-theme-content .apps-theme-page-section,
.column.main .apps-theme-page-section {
    padding: clamp(64px, 8vw, 104px) 0;
}

.apps-theme-content .apps-theme-section-head,
.column.main .apps-theme-section-head {
    max-width: 680px;
    margin: 0 0 clamp(36px, 4vw, 52px);
}

.apps-theme-content .apps-theme-section-head .eyebrow,
.column.main .apps-theme-section-head .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--apps-theme-color-brand);
}

.apps-theme-content .apps-theme-section-head h2,
.column.main .apps-theme-section-head h2 {
    margin: 0 0 12px;
}

.apps-theme-content .apps-theme-section-subtitle,
.column.main .apps-theme-section-subtitle {
    font-size: clamp(16px, 1.4vw, 18px);
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.55;
    max-width: 560px;
    margin: 0;
}

.apps-theme-content .apps-theme-section-head-light h2,
.column.main .apps-theme-section-head-light h2 {
    color: #fff;
}

.apps-theme-content .apps-theme-code-label,
.column.main .apps-theme-code-label {
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--apps-theme-color-primary);
    background: var(--apps-theme-color-sky);
    padding: .06em .36em;
    border-radius: 8px;
}

.apps-theme-content .apps-theme-device-frame,
.column.main .apps-theme-device-frame {
    position: relative;
    width: 100%;
    max-width: 286px;
    margin: 0 auto;
    background: #0c0d10;
    border-radius: 46px;
    padding: 9px;
    box-shadow: 0 34px 72px rgba(11, 63, 103, .30), 0 6px 16px rgba(0, 0, 0, .18);
}

.apps-theme-content .apps-theme-device-frame img,
.column.main .apps-theme-device-frame img {
    display: block;
    width: 100%;
    border-radius: 38px;
}

.apps-theme-content .cc-phone-hero,
.column.main .cc-phone-hero {
    width: min(244px, 72vw);
    max-width: 244px;
    transform: translateX(-1%);
}

.apps-theme-content .apps-theme-status-badge,
.column.main .apps-theme-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 12.5px;
    padding: 10px 16px;
    border-radius: var(--apps-theme-radius-pill);
    box-shadow: var(--apps-theme-shadow-md);
}

.apps-theme-content .apps-theme-status-badge svg,
.apps-theme-content .cc-badge svg,
.column.main .apps-theme-status-badge svg,
.column.main .cc-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.apps-theme-content .cc-badge-navy,
.column.main .cc-badge-navy {
    background: var(--apps-theme-color-primary);
    color: #fff;
}

.apps-theme-content .cc-badge-green,
.column.main .cc-badge-green {
    background: var(--apps-theme-color-green);
    color: #fff;
}

.apps-theme-content .cc-badge-float,
.column.main .cc-badge-float {
    position: absolute;
}

.apps-theme-content .compatibility-check-grid,
.column.main .compatibility-check-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(40px, 5vw, 76px);
    align-items: center;
}

.apps-theme-content .compatibility-check-visual,
.column.main .compatibility-check-visual {
    position: relative;
}

.apps-theme-content .cc-steps,
.column.main .cc-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.apps-theme-content .compatibility-check-step,
.column.main .compatibility-check-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-xl);
    padding: 22px 24px;
    box-shadow: var(--apps-theme-shadow-sm);
    transition: transform var(--apps-theme-duration-base), box-shadow var(--apps-theme-duration-base);
}

.apps-theme-content .compatibility-check-step:hover,
.column.main .compatibility-check-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--apps-theme-shadow-md);
}

.apps-theme-content .compatibility-check-step-number,
.column.main .compatibility-check-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--apps-theme-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 18px;
}

.apps-theme-content .compatibility-check-step-body h3,
.column.main .compatibility-check-step-body h3 {
    font-size: 19px;
    margin: 0 0 5px;
    line-height: 1.25;
}

.apps-theme-content .compatibility-check-step-body p,
.column.main .compatibility-check-step-body p {
    margin: 0;
    font-size: 15px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.5;
}

.apps-theme-content .cc-navy,
.column.main .cc-navy {
    background-color: var(--apps-theme-color-primary);
    background-image: linear-gradient(180deg, var(--apps-theme-color-primary), var(--apps-theme-color-primary-deep));
}

.apps-theme-content .compatibility-result-grid,
.column.main .compatibility-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.apps-theme-content .compatibility-result-card,
.column.main .compatibility-result-card {
    background: #fff;
    border-radius: var(--apps-theme-radius-2xl);
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 24px 50px rgba(4, 20, 40, .28);
}

.apps-theme-content .cc-out-phys,
.column.main .cc-out-phys {
    background: var(--apps-theme-color-cream-soft);
}

.apps-theme-content .compatibility-result-list,
.column.main .compatibility-result-list {
    list-style: none;
    margin: 4px 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.apps-theme-content .compatibility-result-list li,
.column.main .compatibility-result-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--apps-theme-color-ink);
    line-height: 1.45;
}

.apps-theme-content .compatibility-result-note,
.column.main .compatibility-result-note {
    margin: 28px auto 0;
    max-width: 660px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .66);
    line-height: 1.55;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.apps-theme-content .compatibility-check-faq-wrap,
.column.main .compatibility-check-faq-wrap {
    max-width: 760px;
}

.apps-theme-content .compatibility-faq-item,
.column.main .compatibility-faq-item {
    border-bottom: 1px solid var(--apps-theme-color-line);
}

.apps-theme-content .compatibility-faq-item summary,
.column.main .compatibility-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 2px;
    cursor: pointer;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--apps-theme-color-ink);
    list-style: none;
}

.apps-theme-content .compatibility-faq-item summary::-webkit-details-marker,
.column.main .compatibility-faq-item summary::-webkit-details-marker {
    display: none;
}

.apps-theme-content .compatibility-faq-answer,
.column.main .compatibility-faq-answer {
    padding: 0 2px 24px;
    font-size: 15px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.65;
    max-width: 640px;
}

.apps-theme-content .apps-theme-page-final-cta,
.column.main .apps-theme-page-final-cta {
    background-color: var(--apps-theme-color-primary);
    background-image: linear-gradient(180deg, var(--apps-theme-color-primary-deep), var(--apps-theme-color-primary));
    text-align: center;
}

.apps-theme-content .apps-theme-page-final-inner,
.column.main .apps-theme-page-final-inner {
    max-width: 680px;
}

.apps-theme-content .apps-theme-page-final-cta h2,
.column.main .apps-theme-page-final-cta h2 {
    color: #fff;
    margin: 0 0 12px;
}

.apps-theme-content .apps-theme-page-final-cta p,
.column.main .apps-theme-page-final-cta p {
    color: rgba(255, 255, 255, .74);
    font-size: clamp(16px, 1.5vw, 18px);
    margin: 0 0 28px;
}

.apps-theme-content .apps-theme-page-final-actions,
.column.main .apps-theme-page-final-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.apps-theme-content .install-guide-hero,
.column.main .install-guide-hero {
    padding: clamp(46px, 6vw, 74px) 0 clamp(36px, 4vw, 52px);
}

.apps-theme-content .install-guide-hero-content,
.column.main .install-guide-hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.apps-theme-content .install-guide-hero-content .apps-theme-content-eyebrow,
.column.main .install-guide-hero-content .apps-theme-content-eyebrow {
    justify-content: center;
}

.apps-theme-content .install-guide-hero-content .apps-theme-content-subtitle,
.column.main .install-guide-hero-content .apps-theme-content-subtitle {
    margin: 0 auto 26px;
    max-width: 580px;
}

.apps-theme-content .install-guide-badges,
.column.main .install-guide-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.apps-theme-content .install-guide-badge,
.column.main .install-guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--apps-theme-color-primary);
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    padding: 9px 15px;
    border-radius: var(--apps-theme-radius-pill);
    box-shadow: var(--apps-theme-shadow-sm);
}

.apps-theme-content .install-guide-check-band-wrap,
.column.main .install-guide-check-band-wrap {
    padding: 8px 0 0;
}

.apps-theme-content .install-guide-check-band,
.column.main .install-guide-check-band {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--apps-theme-color-sky);
    border-radius: var(--apps-theme-radius-2xl);
    padding: 22px 26px;
}

.apps-theme-content .install-guide-check-band-icon,
.column.main .install-guide-check-band-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--apps-theme-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apps-theme-content .install-guide-check-band-text,
.column.main .install-guide-check-band-text {
    flex: 1;
    min-width: 0;
}

.apps-theme-content .install-guide-check-band .apps-theme-button,
.apps-theme-content .install-guide-check-band .btn,
.column.main .install-guide-check-band .apps-theme-button,
.column.main .install-guide-check-band .btn {
    flex-shrink: 0;
}

.apps-theme-content .install-guide-section-head,
.column.main .install-guide-section-head {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.apps-theme-content .install-guide-section-head .apps-theme-section-subtitle,
.column.main .install-guide-section-head .apps-theme-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.apps-theme-content .install-guide-type-tabs,
.column.main .install-guide-type-tabs {
    display: flex;
    gap: 6px;
    background: var(--apps-theme-color-surface-alt);
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-pill);
    padding: 5px;
    max-width: 420px;
    margin: 0 auto 42px;
}

.apps-theme-content .install-guide-type-tab,
.column.main .install-guide-type-tab {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--apps-theme-color-ink-faint);
    padding: 11px 14px;
    border-radius: var(--apps-theme-radius-pill);
    cursor: pointer;
    transition: all var(--apps-theme-duration-base);
}

.apps-theme-content .install-guide-type-tab.active,
.column.main .install-guide-type-tab.active {
    background: var(--apps-theme-color-primary);
    color: #fff;
    box-shadow: var(--apps-theme-shadow-sm);
}

.apps-theme-content .install-guide-type-panel[hidden],
.column.main .install-guide-type-panel[hidden] {
    display: none;
}

.apps-theme-content .top-up-hero,
.column.main .top-up-hero {
    padding: clamp(46px, 6vw, 76px) 0 clamp(44px, 5vw, 68px);
}

.apps-theme-content .top-up-hero-grid,
.column.main .top-up-hero-grid {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 60px;
    align-items: center;
}

.apps-theme-content .top-up-hero-copy,
.column.main .top-up-hero-copy {
    max-width: 560px;
}

.apps-theme-content .top-up-hero-badges,
.column.main .top-up-hero-badges {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.apps-theme-content .top-up-option-grid,
.column.main .top-up-option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    max-width: 920px;
    margin: 0 auto;
}

.apps-theme-content .top-up-option-card,
.column.main .top-up-option-card,
.apps-theme-content .top-up-tip-card,
.column.main .top-up-tip-card {
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-xl);
    box-shadow: var(--apps-theme-shadow-sm);
}

.apps-theme-content .top-up-option-card,
.column.main .top-up-option-card {
    position: relative;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
}

.apps-theme-content .top-up-access-grid,
.column.main .top-up-access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.apps-theme-content .top-up-tip-grid,
.column.main .top-up-tip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.apps-theme-content .top-up-tip-card,
.column.main .top-up-tip-card {
    padding: 24px;
}

@media (max-width: 860px) {
    .apps-theme-content .apps-theme-content-hero-grid,
    .column.main .apps-theme-content-hero-grid,
    .apps-theme-content .compatibility-check-grid,
    .column.main .compatibility-check-grid,
    .apps-theme-content .top-up-hero-grid,
    .column.main .top-up-hero-grid {
        grid-template-columns: 1fr;
        gap: clamp(36px, 8vw, 56px);
    }
}

@media (max-width: 820px) {
    .apps-theme-content .top-up-access-grid,
    .column.main .top-up-access-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 780px) {
    .apps-theme-content .top-up-option-grid,
    .column.main .top-up-option-grid,
    .apps-theme-content .top-up-tip-grid,
    .column.main .top-up-tip-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .apps-theme-content .install-guide-check-band,
    .column.main .install-guide-check-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .apps-theme-content .install-guide-check-band .apps-theme-button,
    .apps-theme-content .install-guide-check-band .btn,
    .column.main .install-guide-check-band .apps-theme-button,
    .column.main .install-guide-check-band .btn {
        width: 100%;
    }
}

.apps-theme-content .install-guide-phase-list,
.apps-theme-content .ig-phases,
.column.main .install-guide-phase-list,
.column.main .ig-phases {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 4vw, 46px);
    max-width: 840px;
    margin: 0 auto;
}

.apps-theme-content .ig-phase-hdr,
.column.main .ig-phase-hdr {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.apps-theme-content .ig-phase-num,
.column.main .ig-phase-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--apps-theme-color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.apps-theme-content .ig-phase-label,
.column.main .ig-phase-label {
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: clamp(19px, 2vw, 23px);
    color: var(--apps-theme-color-ink);
    letter-spacing: -.01em;
}

.apps-theme-content .ig-steps-stack,
.column.main .ig-steps-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apps-theme-content .ig-step,
.column.main .ig-step {
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-xl);
    padding: 24px 26px;
    box-shadow: var(--apps-theme-shadow-sm);
}

.apps-theme-content .ig-step-hdr,
.column.main .ig-step-hdr {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
}

.apps-theme-content .ig-step-icon,
.column.main .ig-step-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--apps-theme-color-cream-soft);
    color: var(--apps-theme-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.apps-theme-content .ig-step-icon svg,
.column.main .ig-step-icon svg {
    width: 22px;
    height: 22px;
}

.apps-theme-content .ig-step-title,
.column.main .ig-step-title {
    margin: 0;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .ig-step-desc,
.column.main .ig-step-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--apps-theme-color-ink-muted);
}

.apps-theme-content .ig-step-desc strong,
.column.main .ig-step-desc strong {
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .ig-methods,
.column.main .ig-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.apps-theme-content .ig-method,
.column.main .ig-method {
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-lg);
    padding: 18px 18px 16px;
    background: var(--apps-theme-color-surface);
}

.apps-theme-content .ig-method-best,
.column.main .ig-method-best {
    border-color: var(--apps-theme-color-sky-deep);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(105, 205, 255, .2);
}

.apps-theme-content .ig-method-badge,
.column.main .ig-method-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: var(--apps-theme-radius-pill);
    background: rgba(47, 143, 78, .12);
    color: var(--apps-theme-color-green);
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.apps-theme-content .ig-method-badge svg,
.column.main .ig-method-badge svg {
    width: 12px;
    height: 12px;
}

.apps-theme-content .ig-method-title,
.column.main .ig-method-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15.5px;
    color: var(--apps-theme-color-ink);
    font-family: var(--apps-theme-font-display);
}

.apps-theme-content .ig-method-title strong,
.column.main .ig-method-title strong {
    font-weight: 700;
}

.apps-theme-content .install-guide-helper-note,
.column.main .install-guide-helper-note {
    margin: 8px 0 10px;
}

.apps-theme-content .ig-path,
.column.main .ig-path {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0;
    padding: 9px 12px;
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-md);
    background: #fff;
}

.apps-theme-content .ig-path-sep,
.column.main .ig-path-sep {
    color: var(--apps-theme-color-ink-faint);
    font-size: 13px;
}

.apps-theme-content .ig-steps-list,
.column.main .ig-steps-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apps-theme-content .ig-steps-list li,
.column.main .ig-steps-list li {
    position: relative;
    padding-left: 30px;
    font-size: 14px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.55;
}

.apps-theme-content .ig-steps-list li[data-n]::before,
.column.main .ig-steps-list li[data-n]::before {
    content: attr(data-n);
    position: absolute;
    left: 0;
    top: 0;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--apps-theme-color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    font-family: var(--apps-theme-font-display);
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-theme-content .ig-steps-list strong,
.column.main .ig-steps-list strong {
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .ig-os-tabs,
.column.main .ig-os-tabs {
    display: inline-flex;
    gap: 4px;
    margin: 12px 0 10px;
    padding: 4px;
    background: var(--apps-theme-color-surface-alt);
    border-radius: var(--apps-theme-radius-pill);
}

.apps-theme-content .ig-os-tab,
.column.main .ig-os-tab {
    border: 0;
    background: transparent;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--apps-theme-color-ink-muted-2);
    padding: 7px 18px;
    border-radius: var(--apps-theme-radius-pill);
    cursor: pointer;
    transition: all var(--apps-theme-duration-base);
}

.apps-theme-content .ig-os-tab.active,
.column.main .ig-os-tab.active {
    background: #fff;
    color: var(--apps-theme-color-primary);
    box-shadow: var(--apps-theme-shadow-xs);
}

.apps-theme-content .ig-act-cards,
.column.main .ig-act-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.apps-theme-content .ig-act-card,
.column.main .ig-act-card {
    border: 1px solid var(--apps-theme-color-line);
    border-radius: var(--apps-theme-radius-lg);
    padding: 16px;
    background: var(--apps-theme-color-surface);
}

.apps-theme-content .ig-act-card-num,
.column.main .ig-act-card-num {
    margin-bottom: 4px;
    color: var(--apps-theme-color-primary-mid);
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.apps-theme-content .ig-act-card h4,
.column.main .ig-act-card h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--apps-theme-color-ink);
    font-family: var(--apps-theme-font-display);
}

.apps-theme-content .ig-act-card p,
.column.main .ig-act-card p {
    margin: 8px 0 0;
    font-size: 13.5px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.55;
}

.apps-theme-content .ig-act-card p strong,
.column.main .ig-act-card p strong {
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .install-guide-brand-note,
.column.main .install-guide-brand-note {
    margin-top: 12px;
}

.apps-theme-content .ig-topup-btn,
.column.main .ig-topup-btn {
    margin-top: 14px;
}

.apps-theme-content .top-up-hero-badge,
.column.main .top-up-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    padding: 8px 13px;
    border-radius: var(--apps-theme-radius-pill);
    background: #fff;
    border: 1px solid var(--apps-theme-color-line);
    box-shadow: var(--apps-theme-shadow-sm);
    color: var(--apps-theme-color-primary);
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 12.5px;
}

.apps-theme-content .top-up-hero-badge svg,
.column.main .top-up-hero-badge svg {
    width: 15px;
    height: 15px;
    color: var(--apps-theme-color-green);
    flex-shrink: 0;
}

.apps-theme-content .top-up-hero-card,
.column.main .top-up-hero-card {
    cursor: pointer;
}

.apps-theme-content .tu-way-tag,
.column.main .tu-way-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    padding: 7px 13px;
    border-radius: var(--apps-theme-radius-pill);
    background: var(--apps-theme-color-sky);
    color: var(--apps-theme-color-primary);
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.apps-theme-content .tu-way-tag svg,
.column.main .tu-way-tag svg {
    width: 14px;
    height: 14px;
}

.apps-theme-content .tu-flow,
.column.main .tu-flow,
.apps-theme-content .tu-path-flow,
.column.main .tu-path-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.apps-theme-content .tu-flow,
.column.main .tu-flow {
    gap: 14px;
}

.apps-theme-content .tu-path-flow,
.column.main .tu-path-flow {
    gap: 9px;
}

.apps-theme-content .tu-flow li,
.column.main .tu-flow li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: 14.5px;
    color: var(--apps-theme-color-ink);
    line-height: 1.5;
}

.apps-theme-content .tu-flow-n,
.column.main .tu-flow-n {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--apps-theme-color-primary);
    color: #fff;
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-theme-content .tu-flow strong,
.column.main .tu-flow strong {
    font-weight: 800;
    color: var(--apps-theme-color-primary);
}

.apps-theme-content .top-up-option-note,
.column.main .top-up-option-note {
    max-width: 780px;
    margin: 26px auto 0;
    display: flex;
    align-items: center;
    gap: 11px;
    justify-content: flex-start;
    text-align: left;
    background: var(--apps-theme-color-cream-soft);
    border-radius: var(--apps-theme-radius-lg);
    padding: 15px 18px;
    font-size: 14px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.5;
}

.apps-theme-content .top-up-option-note svg,
.column.main .top-up-option-note svg {
    width: 20px;
    height: 20px;
    color: var(--apps-theme-color-primary);
    flex-shrink: 0;
}

.apps-theme-content .top-up-option-note strong,
.column.main .top-up-option-note strong {
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .top-up-section-subtitle-light,
.column.main .top-up-section-subtitle-light {
    color: rgba(255, 255, 255, .72);
}

.apps-theme-content .top-up-access-card,
.column.main .top-up-access-card {
    position: relative;
    background: #fff;
    border-radius: var(--apps-theme-radius-xl);
    padding: 24px 22px;
    box-shadow: 0 18px 40px rgba(4, 20, 40, .22);
}

.apps-theme-content .tu-path-ic,
.column.main .tu-path-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--apps-theme-color-cream-soft);
    color: var(--apps-theme-color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.apps-theme-content .tu-path-ic svg,
.column.main .tu-path-ic svg {
    width: 22px;
    height: 22px;
}

.apps-theme-content .tu-path-tag,
.column.main .tu-path-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 9px;
    border-radius: var(--apps-theme-radius-pill);
    background: rgba(47, 143, 78, .12);
    color: var(--apps-theme-color-green);
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.apps-theme-content .tu-path h3,
.column.main .tu-path h3 {
    font-size: 17px;
    margin: 0 0 7px;
}

.apps-theme-content .tu-path > p,
.column.main .tu-path > p {
    font-size: 13.5px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.55;
    margin: 0 0 14px;
}

.apps-theme-content .tu-path-flow li,
.column.main .tu-path-flow li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.45;
}

.apps-theme-content .tu-path-flow .n,
.column.main .tu-path-flow .n {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--apps-theme-color-sky);
    color: var(--apps-theme-color-primary);
    font-family: var(--apps-theme-font-display);
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apps-theme-content .tu-find,
.column.main .tu-find {
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid var(--apps-theme-color-line);
}

.apps-theme-content .tu-find-label,
.column.main .tu-find-label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 13px;
    color: var(--apps-theme-color-primary);
}

.apps-theme-content .tu-find ul,
.column.main .tu-find ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.apps-theme-content .tu-find li,
.column.main .tu-find li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.45;
}

.apps-theme-content .tu-find li svg,
.column.main .tu-find li svg {
    width: 16px;
    height: 16px;
    color: var(--apps-theme-color-primary-mid);
    flex-shrink: 0;
    margin-top: 2px;
}

.apps-theme-content .affiliate-program-hero-actions,
.apps-theme-content .business-program-hero-actions,
.column.main .affiliate-program-hero-actions,
.column.main .business-program-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    align-items: center;
}

.apps-theme-content .affiliate-program-application,
.apps-theme-content .business-program-application,
.column.main .affiliate-program-application,
.column.main .business-program-application {
    background: var(--apps-theme-color-primary);
    color: #fff;
    border-radius: var(--apps-theme-radius-2xl);
    padding: clamp(34px, 4vw, 56px);
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(30px, 4vw, 56px);
    align-items: start;
}

.apps-theme-content .affiliate-program-application h2,
.apps-theme-content .business-program-application h2,
.column.main .affiliate-program-application h2,
.column.main .business-program-application h2 {
    color: #fff;
}

.apps-theme-content .affiliate-program-application-copy p,
.apps-theme-content .business-program-application-copy p,
.column.main .affiliate-program-application-copy p,
.column.main .business-program-application-copy p {
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.7;
    margin-top: 14px;
}

.apps-theme-content .affiliate-program-application-points,
.apps-theme-content .business-program-application-points,
.column.main .affiliate-program-application-points,
.column.main .business-program-application-points {
    list-style: none;
    margin-top: 22px;
    padding: 0;
}

.apps-theme-content .affiliate-program-application-points li,
.apps-theme-content .business-program-application-points li,
.column.main .affiliate-program-application-points li,
.column.main .business-program-application-points li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: rgba(255, 255, 255, .9);
    font-size: 14.5px;
}

.apps-theme-content .affiliate-program-application-points li::before,
.apps-theme-content .business-program-application-points li::before,
.column.main .affiliate-program-application-points li::before,
.column.main .business-program-application-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--apps-theme-color-sky-mid);
    font-weight: 800;
}

.apps-theme-content .affiliate-program-form-card,
.apps-theme-content .business-program-form-card,
.column.main .affiliate-program-form-card,
.column.main .business-program-form-card {
    background: #fff;
    border-radius: var(--apps-theme-radius-xl);
    padding: clamp(24px, 3vw, 34px);
    box-shadow: var(--apps-theme-shadow-lg);
}

.apps-theme-content .affiliate-program-form-grid,
.apps-theme-content .business-program-form-grid,
.column.main .affiliate-program-form-grid,
.column.main .business-program-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.apps-theme-content .affiliate-program-form-grid .full,
.apps-theme-content .business-program-form-grid .full,
.column.main .affiliate-program-form-grid .full,
.column.main .business-program-form-grid .full {
    grid-column: 1 / -1;
}

.apps-theme-content .affiliate-program-form-card .apps-theme-button,
.apps-theme-content .business-program-form-card .apps-theme-button,
.column.main .affiliate-program-form-card .apps-theme-button,
.column.main .business-program-form-card .apps-theme-button {
    width: 100%;
    margin-top: 6px;
}

@media (max-width: 880px) {
    .apps-theme-content .affiliate-program-application,
    .apps-theme-content .business-program-application,
    .column.main .affiliate-program-application,
    .column.main .business-program-application {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 620px) {
    .apps-theme-content .ig-act-cards,
    .column.main .ig-act-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .apps-theme-content .ig-step,
    .column.main .ig-step {
        padding: 20px 18px;
    }
}

@media (max-width: 480px) {
    .apps-theme-content .affiliate-program-form-grid,
    .apps-theme-content .business-program-form-grid,
    .column.main .affiliate-program-form-grid,
    .column.main .business-program-form-grid {
        grid-template-columns: 1fr;
    }
}

.apps-theme-content .page-hero.light .lead,
.column.main .page-hero.light .lead {
    color: var(--apps-theme-color-ink-muted);
}

.apps-theme-content .page-hero.light .crumbs,
.column.main .page-hero.light .crumbs {
    color: var(--apps-theme-color-ink-soft);
}

.apps-theme-content .page-hero.light .crumbs a,
.column.main .page-hero.light .crumbs a {
    color: var(--apps-theme-color-ink-muted);
}

/* Legal / prose */
.apps-theme-content .legal-wrap,
.column.main .legal-wrap {
    padding: clamp(40px, 5vw, 72px) 0 clamp(60px, 7vw, 100px);
}

.apps-theme-content .legal-grid,
.column.main .legal-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

@media (max-width: 880px) {
    .apps-theme-content .legal-grid,
    .column.main .legal-grid {
        grid-template-columns: 1fr;
    }
}

.apps-theme-content .legal-toc,
.column.main .legal-toc {
    position: sticky;
    top: 96px;
}

@media (max-width: 880px) {
    .apps-theme-content .legal-toc,
    .column.main .legal-toc {
        position: static;
        top: auto;
        border-bottom: 1px solid var(--apps-theme-color-line);
        padding-bottom: 20px;
        margin-bottom: 8px;
    }
}

.apps-theme-content .legal-toc-h,
.column.main .legal-toc-h {
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--apps-theme-color-ink-soft);
    margin-bottom: 14px;
}

.apps-theme-content .legal-toc ul,
.column.main .legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.apps-theme-content .legal-toc li,
.column.main .legal-toc li {
    margin-bottom: 4px;
}

.apps-theme-content .legal-toc a,
.column.main .legal-toc a {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--apps-theme-color-ink-muted);
    padding: 6px 12px;
    border-left: 2px solid transparent;
    border-radius: 0 6px 6px 0;
    transition: all var(--apps-theme-duration-fast);
    text-decoration: none;
}

.apps-theme-content .legal-toc a:hover,
.column.main .legal-toc a:hover {
    color: var(--apps-theme-color-primary);
    background: var(--apps-theme-color-surface);
}

.apps-theme-content .legal-toc a.active,
.column.main .legal-toc a.active {
    color: var(--apps-theme-color-primary);
    border-left-color: var(--apps-theme-color-brand);
    background: var(--apps-theme-color-surface);
}

.apps-theme-content .prose,
.column.main .prose {
    max-width: 72ch;
}

.apps-theme-content .prose .updated,
.column.main .prose .updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--apps-theme-color-ink-muted);
    background: var(--apps-theme-color-cream-soft);
    padding: 8px 14px;
    border-radius: var(--apps-theme-radius-pill);
    margin-bottom: 28px;
}

.apps-theme-content .prose .updated .dot,
.column.main .prose .updated .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--apps-theme-color-green);
}

.apps-theme-content .prose h2,
.column.main .prose h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    margin: 44px 0 14px;
    scroll-margin-top: 96px;
    padding-top: 6px;
}

.apps-theme-content .prose h2:first-of-type,
.column.main .prose h2:first-of-type {
    margin-top: 8px;
}

.apps-theme-content .prose h3,
.column.main .prose h3 {
    font-size: 18px;
    margin: 28px 0 10px;
}

.apps-theme-content .prose p,
.column.main .prose p {
    margin: 0 0 16px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.7;
}

.apps-theme-content .prose ul,
.apps-theme-content .prose ol,
.column.main .prose ul,
.column.main .prose ol {
    margin: 0 0 16px 22px;
    color: var(--apps-theme-color-ink-muted);
    line-height: 1.7;
}

.apps-theme-content .prose li,
.column.main .prose li {
    margin-bottom: 8px;
}

.apps-theme-content .prose a,
.column.main .prose a {
    color: var(--apps-theme-color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apps-theme-content .prose a:hover,
.column.main .prose a:hover {
    color: var(--apps-theme-color-brand);
}

.apps-theme-content .prose strong,
.column.main .prose strong {
    color: var(--apps-theme-color-ink);
}

.apps-theme-content .prose .callout,
.column.main .prose .callout {
    background: var(--apps-theme-color-surface);
    border-radius: var(--apps-theme-radius-md);
    padding: 18px 22px;
    margin: 0 0 22px;
    border-left: 3px solid var(--apps-theme-color-sky-deep);
    font-size: 14.5px;
}

.apps-theme-content .prose .callout.todo,
.column.main .prose .callout.todo {
    border-left-color: var(--apps-theme-color-yellow);
    background: #FFF8E9;
}

.apps-theme-content .prose .callout.todo strong,
.column.main .prose .callout.todo strong {
    color: #9A6B00;
}

.apps-theme-content .prose table,
.column.main .prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 22px;
    font-size: 14.5px;
}

.apps-theme-content .prose th,
.apps-theme-content .prose td,
.column.main .prose th,
.column.main .prose td {
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid var(--apps-theme-color-line);
    vertical-align: top;
}

.apps-theme-content .prose th,
.column.main .prose th {
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    color: var(--apps-theme-color-ink);
    background: var(--apps-theme-color-surface);
}

.apps-theme-content .prose td,
.column.main .prose td {
    color: var(--apps-theme-color-ink-muted);
}

.apps-theme-content .contact-card,
.column.main .contact-card {
    margin-top: 40px;
    background: var(--apps-theme-color-cream-soft);
    border-radius: var(--apps-theme-radius-lg);
    padding: 24px 26px;
}

.apps-theme-content .contact-card h3,
.column.main .contact-card h3 {
    margin: 0 0 6px;
}

.apps-theme-content .contact-card p,
.column.main .contact-card p {
    margin: 0;
    color: var(--apps-theme-color-ink-muted);
    font-size: 14.5px;
}

.apps-theme-content .contact-card a,
.column.main .contact-card a {
    color: var(--apps-theme-color-primary);
    font-weight: 700;
}

/* Sections */
.apps-theme-content .section,
.column.main .section {
    padding: clamp(56px, 7vw, 104px) 0;
}

.apps-theme-content .section.bg,
.column.main .section.bg {
    background: var(--apps-theme-color-surface);
}

.apps-theme-content .section.cream,
.column.main .section.cream {
    background: var(--apps-theme-color-cream-soft);
}

.apps-theme-content .section-head,
.column.main .section-head {
    max-width: 62ch;
    margin: 0 auto clamp(36px, 4vw, 56px);
    text-align: center;
}

.apps-theme-content .section-head.align-left,
.column.main .section-head.align-left {
    margin-left: 0;
    text-align: left;
}

.apps-theme-content .section-head .eyebrow,
.column.main .section-head .eyebrow {
    display: block;
    margin-bottom: 14px;
}

.apps-theme-content .section-head p,
.column.main .section-head p {
    margin-top: 14px;
    color: var(--apps-theme-color-ink-muted);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.6;
}

.apps-theme-content .cta-band,
.column.main .cta-band {
    background: var(--apps-theme-color-cream-soft);
    border-radius: var(--apps-theme-radius-2xl);
    padding: clamp(40px, 5vw, 64px);
    text-align: center;
}

.apps-theme-content .cta-band p,
.column.main .cta-band p {
    max-width: 50ch;
    margin: 14px auto 26px;
    color: var(--apps-theme-color-ink-muted);
    font-size: 17px;
}

.apps-theme-content .cta-actions,
.column.main .cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie (for future CookieNotice reskin) */
.cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 300;
    background: #fff;
    border-top: 1px solid var(--apps-theme-color-line);
    box-shadow: 0 -8px 30px rgba(8, 44, 69, .12);
    transform: translateY(110%);
    transition: transform .4s var(--apps-theme-ease);
}

.cookie-bar.show {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--apps-theme-container);
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-inner {
        padding: 16px 22px;
        gap: 14px;
    }
}

.cookie-text {
    flex: 1;
    min-width: 260px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--apps-theme-color-ink-muted);
}

.cookie-text strong {
    display: block;
    font-family: var(--apps-theme-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--apps-theme-color-ink);
    margin-bottom: 3px;
}

.cookie-text a {
    color: var(--apps-theme-color-primary);
    font-weight: 700;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-actions .btn {
    padding: 11px 20px;
    font-size: 14px;
}

.cookie-btn-text {
    background: none;
    color: var(--apps-theme-color-ink-soft);
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px 8px;
    border: none;
    cursor: pointer;
    font-family: var(--apps-theme-font-body);
}

.cookie-btn-text:hover {
    color: var(--apps-theme-color-primary);
}

.cookie-modal-bg {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 44, 69, .5);
}

.cookie-modal-bg.open {
    display: flex;
}

.cookie-modal {
    background: #fff;
    border-radius: var(--apps-theme-radius-xl);
    max-width: 520px;
    width: 100%;
    padding: 30px;
    box-shadow: var(--apps-theme-shadow-lg);
    max-height: 88vh;
    overflow: auto;
}

.cookie-modal h3 {
    margin-bottom: 6px;
    font-family: var(--apps-theme-font-display);
}

.cookie-modal .sub {
    font-size: 14px;
    color: var(--apps-theme-color-ink-muted);
    margin-bottom: 20px;
}

.cookie-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--apps-theme-color-line);
}

.cookie-row-text strong {
    display: block;
    font-family: var(--apps-theme-font-display);
    font-size: 15px;
    margin-bottom: 3px;
}

.cookie-row-text p {
    font-size: 13px;
    color: var(--apps-theme-color-ink-soft);
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-foot {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.cookie-modal-foot .btn {
    flex: 1;
    min-width: 140px;
}

.toggle {
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle .track {
    position: absolute;
    inset: 0;
    background: var(--apps-theme-color-ink-faint);
    border-radius: 999px;
    transition: background var(--apps-theme-duration-base);
}

.toggle .track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: transform var(--apps-theme-duration-base);
    box-shadow: var(--apps-theme-shadow-sm);
}

.toggle input:checked + .track {
    background: var(--apps-theme-color-green);
}

.toggle input:checked + .track::after {
    transform: translateX(20px);
}

.toggle input:disabled + .track {
    background: var(--apps-theme-color-sky-deep);
    opacity: .55;
    cursor: not-allowed;
}

/* Support modal */
.apps-theme-support-bg {
    position: fixed;
    inset: 0;
    z-index: 340;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(8, 44, 69, .5);
}

.apps-theme-support-bg.open {
    display: flex;
}

.apps-theme-support {
    background: #fff;
    border-radius: 24px;
    max-width: 440px;
    width: 100%;
    padding: 28px;
    box-shadow: var(--apps-theme-shadow-lg);
    max-height: 88vh;
    overflow: auto;
}

.apps-theme-support h3 {
    font-family: var(--apps-theme-font-display);
    margin: 0 0 4px;
}

.apps-theme-support .sub {
    font-size: 14px;
    color: var(--apps-theme-color-ink-muted);
    margin-bottom: 18px;
}

.apps-theme-support .channels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apps-theme-support .channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--apps-theme-color-line);
    border-radius: 14px;
    transition: border-color var(--apps-theme-duration-fast), background var(--apps-theme-duration-fast);
    text-decoration: none;
    color: inherit;
}

.apps-theme-support .channel:hover {
    border-color: var(--apps-theme-color-primary);
    background: var(--apps-theme-color-surface);
}

.apps-theme-support .channel .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--apps-theme-color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apps-theme-color-primary);
    flex-shrink: 0;
}

.apps-theme-support .channel .icon svg {
    width: 20px;
    height: 20px;
}

.apps-theme-support .channel strong {
    display: block;
    font-size: 15px;
    color: var(--apps-theme-color-ink);
}

.apps-theme-support .channel small {
    font-size: 12.5px;
    color: var(--apps-theme-color-ink-soft);
}

.apps-theme-support .close {
    float: right;
    font-size: 24px;
    line-height: 1;
    color: var(--apps-theme-color-ink-soft);
    cursor: pointer;
    background: none;
    border: none;
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Static-page specific layouts */
.apps-theme-content .ab-hero h1,
.column.main .ab-hero h1 {
    max-width: 16ch;
}

.apps-theme-content .ab-hero .lead,
.column.main .ab-hero .lead {
    max-width: 46ch;
}

@media (max-width: 767px) {
    .apps-theme-content .ab-hero h1,
    .column.main .ab-hero h1 {
        max-width: none;
    }
}

.apps-theme-content .story,
.column.main .story {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

@media (max-width: 880px) {
    .apps-theme-content .story,
    .column.main .story {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .apps-theme-content .story-media,
    .column.main .story-media {
        order: 2;
    }
}

.apps-theme-content .story-media,
.column.main .story-media {
    border-radius: var(--r-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background: var(--roro-navy);
    min-width: 0;
}

.apps-theme-content .story-media img,
.column.main .story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apps-theme-content .story h2,
.column.main .story h2 {
    margin-bottom: 18px;
}

.apps-theme-content .story p,
.column.main .story p {
    color: var(--roro-ink-2);
    font-size: 16.5px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.apps-theme-content .story .sig,
.column.main .story .sig {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--roro-navy);
    margin-top: 8px;
}

.apps-theme-content .china-band,
.column.main .china-band {
    background: var(--roro-navy);
    color: #fff;
    border-radius: var(--r-2xl);
    padding: clamp(34px, 4vw, 56px);
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

@media (max-width: 820px) {
    .apps-theme-content .china-band,
    .column.main .china-band {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .apps-theme-content .china-photo,
    .column.main .china-photo {
        order: 2;
    }
}

.apps-theme-content .china-band h2,
.column.main .china-band h2 {
    color: #fff;
}

.apps-theme-content .china-band p,
.column.main .china-band p {
    color: rgba(255, 255, 255, .82);
    font-size: 16.5px;
    line-height: 1.7;
    margin-top: 14px;
}

.apps-theme-content .china-apps,
.column.main .china-apps {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.apps-theme-content .china-app,
.column.main .china-app {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    padding: 8px 15px;
    border-radius: var(--r-pill);
}

.apps-theme-content .china-photo,
.column.main .china-photo {
    border-radius: var(--r-xl);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-lg);
    min-width: 0;
}

.apps-theme-content .china-photo img,
.column.main .china-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
