/* ==========================================================================
   一发科技官网 · SaaS Landing  (light / dark via html[data-theme])
   ========================================================================== */

:root {
    --brand: #ff0036;
    --brand-2: #ff3d68;
    --brand-3: #ff7a59;
    --grad: linear-gradient(135deg, #ff0036 0%, #ff3d68 55%, #ff7a59 100%);
    --grad-soft: linear-gradient(135deg, rgba(255, 0, 54, .10), rgba(255, 122, 89, .10));
    --grad-text: linear-gradient(135deg, #d5002d, #ed2854 55%, #d94d32);
    --grad-on-brand: linear-gradient(135deg, #b60031, #c51d49 55%, #bc4630);
    --brand-ink: #c6002c;
    --primary-fill: #d5002d;
    --primary-hover: #b90028;

    --bg: #ffffff;
    --bg-soft: #f8f7fa;
    --surface: #ffffff;
    --surface-2: #f3f1f5;
    --ink: #121016;
    --body: #4b4651;
    --muted: #655e6b;
    --hair: rgba(18, 16, 22, .08);
    --hair-strong: rgba(18, 16, 22, .12);
    --tint: #fff0f3;
    --icon-bg: #fff0f3;
    --stage: linear-gradient(160deg, #fff3f5 0%, #fbf5ff 100%);
    --header-bg: rgba(255, 255, 255, .78);
    --shot-shadow: drop-shadow(0 22px 28px rgba(40, 10, 20, .16));
    --grid-line: rgba(18, 16, 22, .045);
    --quote-bg: #121016;
    --quote-ink: #ffffff;
    --logo-filter: grayscale(1) opacity(.62);

    --shadow-sm: 0 1px 2px rgba(18, 16, 22, .04), 0 2px 8px rgba(18, 16, 22, .04);
    --shadow-md: 0 1px 2px rgba(18, 16, 22, .04), 0 12px 32px -14px rgba(18, 16, 22, .16);
    --shadow-lg: 0 40px 80px -36px rgba(255, 0, 54, .30), 0 24px 48px -28px rgba(18, 16, 22, .18);

    --wrap: 1200px;
    --gutter: 24px;
    --r-xl: 32px;
    --r-lg: 24px;
    --r-md: 18px;
    --r-sm: 12px;
    --header: 68px;
    --phone-stage-height: clamp(440px, 46vw, 600px);
    --phone-slide-height: 92%;
    --section: clamp(76px, 10vw, 132px);
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: light;
}

html[data-theme="dark"] {
    --grad-text: var(--grad);
    --brand-ink: #ff6987;
    --bg: #08070b;
    --bg-soft: #0d0b11;
    --surface: #131118;
    --surface-2: #1a1720;
    --ink: #f6f4f8;
    --body: #b8b1be;
    --muted: #a29aaa;
    --hair: rgba(255, 255, 255, .08);
    --hair-strong: rgba(255, 255, 255, .14);
    --tint: rgba(255, 0, 54, .12);
    --icon-bg: rgba(255, 0, 54, .14);
    --stage: radial-gradient(120% 90% at 50% 0%, rgba(255, 0, 54, .20) 0%, rgba(255, 255, 255, .025) 62%);
    --header-bg: rgba(8, 7, 11, .72);
    --shot-shadow: drop-shadow(0 26px 36px rgba(0, 0, 0, .55));
    --grid-line: rgba(255, 255, 255, .05);
    --quote-bg: #131118;
    --quote-ink: #ffffff;
    --logo-filter: grayscale(1) brightness(0) invert(1) opacity(.62);

    --shadow-sm: 0 0 0 1px rgba(255, 255, 255, .06);
    --shadow-md: 0 0 0 1px rgba(255, 255, 255, .07), 0 24px 48px -24px rgba(0, 0, 0, .7);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .06), 0 50px 110px -40px rgba(255, 0, 54, .55);
    color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font: 16px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 0, 54, .18); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section-soft { background: var(--bg-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; }

.grad-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- section heading ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--brand-ink);
    font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.025em; }
.section-head p { margin-top: 16px; font-size: clamp(15px, 1.6vw, 18px); color: var(--muted); }
.section-head:has(> #feature-title) { max-width: none; }
#feature-title + p { text-wrap: balance; }
#feature-title + p > span { white-space: nowrap; }
#feature-title + p .feature-term { white-space: nowrap; }
#feedback-title + p { text-wrap: balance; }
.section-head.left { margin-inline: 0; text-align: left; }

/* ---------- buttons ---------- */
.btn {
    --h: 50px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: var(--h); padding: 6px 24px;
    border-radius: var(--r-sm);
    font-size: 16px; font-weight: 650; white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    color: #fff;
    background-color: var(--primary-fill);
    box-shadow: 0 10px 24px -10px rgba(255, 0, 54, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { background-color: var(--primary-hover); box-shadow: 0 16px 32px -12px rgba(255, 0, 54, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-strong), var(--shadow-sm); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--hair-strong), var(--shadow-md); }
.btn-white { color: #e0002f; background: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .35); }
.btn-sm { --h: 38px; padding-inline: 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header);
    transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-open {
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 1px 0 var(--hair);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.brand-sub { display: block; margin-top: -2px; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a {
    position: relative; padding: 8px 14px; border-radius: 10px;
    color: var(--body); font-size: 15px; font-weight: 550;
    transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--ink); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--grad);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-picker { position: relative; flex: none; }
.theme-trigger {
    display: grid; place-items: center; width: 38px; height: 38px;
    border-radius: 10px; color: var(--body);
}
.theme-trigger:hover, .theme-trigger[aria-expanded="true"] {
    background: var(--surface-2); color: var(--ink);
}
.theme-menu {
    position: absolute; top: calc(100% + 8px); right: 0; width: max-content; min-width: 158px;
    padding: 5px; border: 1px solid var(--hair-strong); border-radius: var(--r-sm);
    background: var(--surface); box-shadow: var(--shadow-md);
}
.theme-option {
    display: flex; align-items: center; gap: 8px; color: var(--body);
    font-size: 14px; font-weight: 600; border-radius: 8px;
}
.theme-trigger .ico, .theme-option .ico { width: 18px; height: 18px; }
.theme-menu .theme-option { width: 100%; min-height: 38px; padding: 0 9px; }
.theme-option:hover, .theme-menu .theme-option[aria-checked="true"] { background: var(--surface-2); color: var(--ink); }
.theme-menu .theme-option:focus-visible { outline-offset: -2px; }
.theme-check { margin-left: auto; visibility: hidden; }
[aria-checked="true"] > .theme-check { visibility: visible; }
.link-login { padding: 8px 12px; color: var(--ink); font-size: 15px; font-weight: 600; border-radius: 10px; }
.link-login:hover { background: var(--surface-2); }
.user-chip { display: none; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.user-chip img { width: 30px; height: 30px; border-radius: 50%; }
.user-chip button { color: var(--muted); font-size: 13px; padding: 6px 10px; border-radius: 8px; }
.user-chip button:hover { color: var(--brand-ink); background: var(--surface-2); }
.is-logged .user-chip { display: inline-flex; }
.is-logged .guest-only { display: none !important; }

.mobile-panel { display: none; }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle:hover { background: var(--surface-2); }
.menu-toggle .ico-close { display: none; }
.is-open .menu-toggle .ico-menu { display: none; }
.is-open .menu-toggle .ico-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: calc(var(--header) + clamp(40px, 7vw, 88px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(52% 58% at 76% 24%, rgba(255, 0, 54, .16), transparent 70%),
        radial-gradient(38% 42% at 12% 8%, rgba(255, 122, 89, .14), transparent 70%),
        radial-gradient(30% 30% at 55% 95%, rgba(170, 90, 255, .08), transparent 70%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
html[data-theme="dark"] .hero-bg::before {
    background:
        radial-gradient(50% 60% at 74% 26%, rgba(255, 0, 54, .30), transparent 70%),
        radial-gradient(36% 40% at 10% 6%, rgba(255, 122, 89, .16), transparent 70%),
        radial-gradient(30% 30% at 55% 95%, rgba(140, 70, 255, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 72px); }

.pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 14px; border-radius: 999px;
    background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair-strong), var(--shadow-sm);
    color: var(--ink); font-size: 14px; font-weight: 600;
    transition: box-shadow .2s, transform .2s var(--ease);
}
.pill:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--hair-strong), var(--shadow-md); }
.pill .ico { color: var(--muted); }

.hero h1 {
    margin-top: 24px;
    font-size: clamp(38px, 5.4vw, 66px);
    font-weight: 850; line-height: 1.1; letter-spacing: -.035em;
}
.hero h1 .line { display: block; }
.hero-lead { margin-top: 22px; max-width: 34em; font-size: clamp(16px, 1.7vw, 19px); color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.avatars { display: flex; }
.avatars img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--bg); }
.avatars img + img { margin-left: -10px; }
.hero-proof-text { display: flex; flex-direction: column; line-height: 1.35; }
.hero-proof b { color: var(--ink); font-size: 15px; font-weight: 700; }

.carousel { min-width: 0; }
[data-carousel-surface], .lightbox-image { touch-action: pan-y pinch-zoom; }
.carousel-arrow {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; color: var(--ink);
}
.carousel-arrow[hidden] { display: none; }
.carousel-arrow[data-gallery-step] {
    position: absolute; top: 50%; z-index: 6; transform: translateY(-50%);
}
.carousel-arrow[data-gallery-step]::before {
    content: ""; position: absolute; inset: 7px; border: 1px solid var(--hair-strong);
    border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-sm);
    transition: background .2s;
}
.carousel-arrow[data-gallery-step]:hover::before { background: var(--surface-2); }
.carousel-arrow[data-gallery-step] .ico { position: relative; width: 16px; height: 16px; }
.carousel-arrow[data-gallery-step="-1"] { left: 0; }
.carousel-arrow[data-gallery-step="1"] { right: 0; }
.carousel-arrow[data-gallery-step="-1"] .ico { transform: rotate(-90deg); }
.carousel-arrow[data-gallery-step="1"] .ico { transform: rotate(90deg); }

.hero-visual { position: relative; height: var(--phone-stage-height); }
.hero-glow {
    position: absolute; left: 50%; bottom: 4%; width: 72%; height: 26%;
    transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 0, 54, .35), transparent);
    filter: blur(20px);
}
.hero-phones { position: absolute; inset: 0; }
.phone-carousel > [data-carousel-slide] {
    position: absolute; left: 50%; top: 50%;
    height: var(--phone-slide-height); width: auto; max-width: none;
    filter: var(--shot-shadow);
    opacity: 0;
    transform: translate(-50%, -50%) scale(.72);
    transition: transform .9s var(--ease), opacity .9s var(--ease);
    will-change: transform, opacity;
    cursor: zoom-in; pointer-events: none;
    border-radius: 9% / 4.5%;
}
.hero-phone > picture { display: block; height: 100%; border-radius: inherit; }
.hero-phone img,
.phone-carousel > picture > img { height: 100%; width: auto; max-width: none; border-radius: inherit; }
.hero-phone:first-child:not([aria-hidden]),
.phone-carousel > [data-gallery-primary]:not([aria-hidden]),
.phone-carousel > [data-carousel-slide].is-center { opacity: 1; z-index: 3; transform: translate(-50%, -50%); }
.phone-carousel > [data-carousel-slide].is-prev { opacity: .55; z-index: 2; transform: translate(-50%, -50%) translateX(calc(-1 * var(--phone-side-offset, 58%))) scale(.8) rotate(-7deg); }
.phone-carousel > [data-carousel-slide].is-next { opacity: .55; z-index: 2; transform: translate(-50%, -50%) translateX(var(--phone-side-offset, 58%)) scale(.8) rotate(7deg); }
.phone-carousel > [data-carousel-slide]:is(.is-center, .is-prev, .is-next) { pointer-events: auto; }
.phone-carousel > [data-carousel-slide][aria-hidden="true"] { visibility: hidden; }
html[data-theme="dark"] .phone-carousel > [data-carousel-slide]:is(.is-prev, .is-next) { opacity: .4; }

.float-chip {
    position: absolute; z-index: 4;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px 10px 10px; border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-md);
    color: var(--ink); font-size: 14px; font-weight: 650; white-space: nowrap;
    animation: float 6s ease-in-out infinite;
}
.float-chip .chip-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: var(--grad); }
.float-chip .chip-ico .ico { width: 17px; height: 17px; }
.float-chip.c1 { left: 0; top: 18%; }
.float-chip.c2 { right: 0; top: 61%; animation-delay: -2s; }
.float-chip.c3 { left: 6%; bottom: 12%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* partners strip */
.partners { padding: clamp(28px, 4vw, 44px) 0 clamp(8px, 2vw, 16px); }
.partners-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 56px; }
.partners-label { display: flex; flex-direction: column; color: var(--muted); font-size: 13px; line-height: 1.4; text-align: left; }
.partners-label strong { color: var(--ink); font-size: 15px; font-weight: 700; }
.partners-label span { font-size: 11px; letter-spacing: .16em; }
.partner-logos { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 20px 52px; }
.partner-logos img { height: 32px; width: auto; filter: var(--logo-filter); transition: filter .3s; }
.partner-logos a:hover img { filter: none; }
.partner-logos .logo-aliyun img { height: 30px; }

/* ==========================================================================
   Playbook bento (2026-淘客玩法)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.b-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 18px;
    padding: 26px; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-md);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.b-card:hover { transform: translateY(-3px); }
.b-card p { color: var(--body); font-size: 15.5px; line-height: 1.65; }
.b-card p strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 18px; font-weight: 750; }
.icon-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--brand); background: var(--icon-bg); }
.icon-tile .ico { width: 22px; height: 22px; }
.b-ai { grid-column: span 2; grid-row: span 2; justify-content: space-between; padding: 34px; color: #fff; background: #120a10; box-shadow: var(--shadow-lg); }
.b-ai::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(60% 70% at 85% 10%, rgba(255, 0, 54, .65), transparent 70%),
        radial-gradient(50% 60% at 10% 100%, rgba(255, 122, 89, .45), transparent 70%),
        radial-gradient(40% 40% at 50% 50%, rgba(140, 70, 255, .25), transparent 70%);
}
.b-ai::after {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.b-ai > * { position: relative; z-index: 1; }
.b-ai .icon-tile { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.b-ai p { color: rgba(255, 255, 255, .82); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.b-ai p strong { color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; margin-bottom: 10px; letter-spacing: -.02em; }
.model-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.model-cloud span {
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    color: #fff; font-size: 14px; font-weight: 600;
}
.b-wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.b-wide .b-copy { display: flex; flex-direction: column; gap: 18px; }
.tree { flex: none; width: 168px; height: 112px; color: var(--brand); }
.tree circle { fill: var(--surface); stroke: currentColor; stroke-width: 2; }
.tree circle.root { fill: currentColor; }
.tree path { fill: none; stroke: currentColor; stroke-opacity: .35; stroke-width: 2; }

/* ==========================================================================
   Features (功能简介)
   ========================================================================== */
.tabs {
    display: flex; gap: 4px; width: max-content; max-width: 100%;
    margin: 0 auto clamp(32px, 5vw, 52px); padding: 5px;
    border-radius: 16px; background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--hair);
    overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 12px;
    color: var(--body); font-size: 15px; font-weight: 650; white-space: nowrap;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-md); }
.tab .count { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--hair); color: var(--muted); font-size: .75rem; line-height: 1.667; text-align: center; }
.tab[aria-selected="true"] .count { background: var(--primary-fill); color: #fff; }
.tabs { display: none; }
.js .tabs { display: flex; }

.fx-group-title { margin: 56px 0 20px; font-size: 24px; font-weight: 800; }
.fx-panel:first-of-type .fx-group-title { margin-top: 0; }
.fx-panel { --fx-caption-space: 34px; }
.js .fx-group-title { display: none; }
.js .fx-panel:not(.is-active) { display: none; }

.fx-item { margin-bottom: 20px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.fx-title { font-size: 19px; font-weight: 750; }
.fx-trigger {
    display: flex; align-items: flex-start; gap: 14px; width: 100%;
    text-align: left; color: inherit; cursor: default;
    -webkit-user-select: text; user-select: text;
}
.fx-num {
    flex: none; display: grid; place-items: center; min-width: 30px; min-height: 30px; padding-inline: 4px; margin-top: -1px;
    border-radius: 9px; background: var(--icon-bg); color: var(--brand-ink);
    font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
}
.fx-body { overflow: hidden; }
.fx-points { padding: 12px 0 2px 44px; }
.fx-points li { position: relative; padding-left: 26px; margin-top: 8px; color: var(--body); font-size: 15px; line-height: 1.65; }
.fx-points li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
    background: var(--icon-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0036' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.fx-media { margin-bottom: 16px; }
.fx-caption {
    align-self: start; max-width: calc(100% - 24px); padding: 3px 12px;
    border: 1px solid var(--hair-strong); border-radius: 999px; background: rgba(255, 252, 247, .84);
    color: var(--ink); font-size: 14px; font-weight: 650; line-height: 18px; text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html[data-theme="dark"] .fx-caption { background: rgba(36, 34, 39, .84); }

.stage {
    position: relative; height: var(--phone-stage-height); overflow: hidden;
    display: grid; place-items: center;
    border-radius: var(--r-lg); background: var(--stage);
}
/* Keep the image row fixed as captions appear and disappear. */
.stage:has(> .fx-caption) {
    height: calc(var(--phone-stage-height) + var(--fx-caption-space));
    grid-template-rows: var(--phone-stage-height) var(--fx-caption-space);
}
.stage:has(> .fx-caption) > .carousel-arrow[data-gallery-step] { top: calc(var(--phone-stage-height) / 2); }
.stage::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(var(--grid-line) 1.2px, transparent 1.3px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent);
}
html[data-theme="dark"] .stage { box-shadow: inset 0 0 0 1px var(--hair); }
.stage > * { position: relative; }
.shot-wide { width: 100%; height: 100%; object-fit: contain; filter: var(--shot-shadow); cursor: zoom-in; }
.fan { width: 100%; height: 100%; }
.fan:not(.phone-carousel) img {
    position: absolute; left: 50%; top: 50%;
    height: var(--phone-slide-height); width: auto; max-width: none;
    filter: var(--shot-shadow);
    transform: translate(-50%, -50%);
    cursor: zoom-in;
    border-radius: 9% / 4.5%;
}

/* desktop interactive layout */
@media (min-width: 961px) {
    .js .fx-panel { position: relative; min-height: max(560px, var(--phone-stage-height)); padding-right: calc(54% + 48px); }
    .js .fx-panel:has(> .fx-item.is-active .fx-caption) {
        min-height: max(560px, calc(var(--phone-stage-height) + var(--fx-caption-space)));
    }
    .js .fx-item { margin: 0 0 6px; padding: 0; border-radius: var(--r-md); background: transparent; box-shadow: none; transition: background-color .3s, box-shadow .3s; }
    .js .fx-item.is-active { background: var(--surface); box-shadow: var(--shadow-md); }
    .js .fx-item:not(.is-active):hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
    .js .fx-trigger { padding: 16px 18px; cursor: pointer; }
    .js .fx-title { font-size: 17px; }
    .js .fx-item:not(.is-active) .fx-title { color: var(--body); font-weight: 650; }
    .js .fx-item:not(.is-active) .fx-num { background: var(--surface-2); color: var(--muted); }
    .js .fx-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
    .js .fx-body > .fx-points { min-height: 0; padding-top: 0; padding-bottom: 0; transition: padding .45s var(--ease); }
    .js .fx-item.is-active .fx-body { grid-template-rows: 1fr; }
    .js .fx-item.is-active .fx-body > .fx-points { padding: 0 18px 18px 62px; }
    .js .fx-points li { margin-top: 6px; font-size: 14.5px; }
    .js .fx-media {
        position: absolute; top: 0; right: 0; width: 54%; margin: 0;
        opacity: 0; visibility: hidden; transform: translateY(12px) scale(.985);
        transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
    }
    .js .fx-item.is-active .fx-media { opacity: 1; visibility: visible; transform: none; }
}

/* ==========================================================================
   Advantages
   ========================================================================== */
.adv-head { margin-bottom: clamp(24px, 3.5vw, 42px); }
.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.adv {
    display: flex; flex-direction: column; gap: 10px;
    padding: 24px; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-md);
    overflow-wrap: anywhere;
}
.adv h3 { font-size: 19px; font-weight: 750; }
.adv p { color: var(--body); font-size: 15px; line-height: 1.65; }
.adv-featured h3 strong { color: #c9002b; font-weight: 800; }
html[data-theme="dark"] .adv-featured h3 strong { color: #ff5c7f; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.q-card {
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    padding: 30px; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-md);
}
.q-card blockquote { position: relative; color: var(--ink); font-size: 17px; line-height: 1.75; font-weight: 500; }
.q-mark { display: block; width: 30px; height: 30px; margin-bottom: 14px; color: var(--brand); opacity: .9; }
.q-foot { display: flex; align-items: center; gap: 12px; }
.q-foot img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--tint); }
.q-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.wall { margin-top: clamp(28px, 4vw, 44px); padding: 10px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); }
.wall img { width: 100%; border-radius: calc(var(--r-xl) - 10px); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan {
    position: relative; display: flex; flex-direction: column;
    padding: 32px 28px 28px; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-md);
}
.plan-featured {
    border: 1.5px solid transparent;
    background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
    box-shadow: var(--shadow-lg);
}
.plan h3 { font-size: 18px; font-weight: 700; color: var(--body); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 14px; color: var(--ink); }
.plan-price .num { font-size: clamp(2.375rem, 4vw, 3rem); font-weight: 850; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.plan-price .unit { color: var(--muted); font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.plan-list { flex: 1; margin: 24px 0 28px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--hair); }
.plan-list li { position: relative; padding-left: 30px; margin-top: 12px; font-size: 15px; line-height: 1.6; }
.plan-list li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
    background: var(--icon-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0036' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-list li.em { color: var(--ink); font-weight: 650; }

.wx-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 4px; color: var(--ink); font-weight: 650; }
.wx-line .label { color: var(--muted); font-size: 14px; font-weight: 500; }
.wx-id { color: var(--ink); font-size: 17px; font-weight: 750; letter-spacing: .02em; }

/* ==========================================================================
   Quote band + CTA
   ========================================================================== */
.quote-band blockquote {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 32px);
    border: 1px solid var(--hair);
    border-radius: var(--r-lg);
    background: var(--tint);
    color: var(--body);
}
.home-quote-band blockquote { max-width: none; }
.quote-band .quote-mark { width: 22px; height: 22px; margin-top: 5px; color: var(--brand); }
.quote-band p { font-size: 16px; line-height: 1.7; }
.quote-band strong { color: var(--ink); font-size: clamp(18px, 2vw, 24px); font-weight: 750; }
/* Keep the visual break out of the copied quotation. */
.quote-band strong::after { content: "\A"; white-space: pre; }

.cta-section { padding-block: var(--section); }
.cta-card {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px;
    padding: clamp(36px, 6vw, 72px); border-radius: var(--r-xl);
    color: #fff; background: var(--grad-on-brand);
    box-shadow: 0 50px 100px -40px rgba(255, 0, 54, .55);
}
.cta-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(50% 70% at 0% 0%, rgba(255, 255, 255, .12), transparent 70%),
        radial-gradient(40% 60% at 100% 100%, rgba(120, 0, 40, .35), transparent 70%);
}
.cta-card::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent); mask-image: radial-gradient(60% 80% at 80% 50%, #000, transparent);
}
.cta-card .eyebrow { color: #fff; }
.cta-card .eyebrow::before { background: rgba(255, 255, 255, .85); }
.cta-card h2 { margin-top: 14px; color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 850; letter-spacing: -.03em; }
.cta-big { margin-top: 14px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 750; }
.cta-sub { margin-top: 10px; font-size: 16px; }
.cta-sub strong { color: #fff; font-weight: 700; }
.cta-card .wx-line { margin-top: 26px; color: #fff; }
.cta-card .wx-line .label { color: #fff; }
.cta-card .wx-id { color: #fff; font-size: 20px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.cta-card .btn-primary { border: 1px solid #fff; }
.cta-card :focus-visible { outline-color: #fff; }
.cta-qr { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 22px 18px; border-radius: 26px; background: #fff; color: #121016; box-shadow: 0 30px 60px -24px rgba(80, 0, 20, .55); transform: rotate(2deg); }
.cta-qr img { width: clamp(160px, 18vw, 210px); height: clamp(160px, 18vw, 210px); object-fit: contain; border-radius: 12px; }
.cta-qr span { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.cta-qr .ico { color: #07c160; }
.cta-qr .cta-guide { color: #4b4651; font-size: 12px; line-height: 1.4; text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding: 64px 0 28px; background: var(--bg); box-shadow: inset 0 1px 0 var(--hair); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.footer-brand-tenure { white-space: nowrap; }
.footer-brand-tenure strong { font-weight: 600; }
.footer-col h4 { color: var(--ink); font-size: 14px; font-weight: 700; }
.footer-col ul { margin-top: 14px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col button { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: var(--brand-ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--hair); color: var(--muted); font-size: 13px; }
.footer-bottom a:hover { color: var(--brand-ink); }

/* ==========================================================================
   Floating dock / mobile CTA / toast / lightbox
   ========================================================================== */
.dock { position: fixed; right: 22px; bottom: 26px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.dock-btn {
    position: relative; display: grid; place-items: center; gap: 0;
    width: 54px; height: 54px; border-radius: 18px;
    background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-md);
    font-size: 11px; font-weight: 650; line-height: 1;
    transition: transform .2s var(--ease), opacity .3s, visibility .3s;
}
.dock-btn:hover { transform: translateY(-2px); }
.dock-btn .ico { width: 20px; height: 20px; margin-bottom: -6px; }
.dock-btn.primary { color: #fff; background: var(--primary-fill); box-shadow: 0 14px 30px -12px rgba(255, 0, 54, .7); }
.dock-pop {
    position: absolute; right: calc(100% + 14px); bottom: 0;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px; border-radius: 20px; background: #fff; color: #121016;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(18, 16, 22, .06);
    font-size: 13px; font-weight: 600; white-space: nowrap;
    opacity: 0; visibility: hidden; transform: translateX(6px);
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.dock-pop img { width: 150px; height: 150px; object-fit: contain; }
.dock-item { position: relative; }
.dock-item:hover .dock-pop, .dock-item:focus-within .dock-pop { opacity: 1; visibility: visible; transform: none; }
#to-top { opacity: 0; visibility: hidden; }
#to-top.show { opacity: 1; visibility: visible; }

.mobile-cta { display: none; }

.toast {
    position: fixed; left: 50%; bottom: 96px; z-index: 80;
    padding: 12px 18px; border-radius: 14px;
    background: #121016; color: #fff; font-size: 14px; font-weight: 600;
    box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
html[data-theme="dark"] .toast { background: #fff; color: #121016; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.lightbox {
    position: fixed; inset: 0;
    width: 100%; height: 100%; max-width: none; max-height: none;
    margin: 0; padding: 64px 16px 16px; border: 0;
    color: #fff; background: transparent; overflow: hidden;
    cursor: zoom-out;
}
.lightbox[open] { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.lightbox::backdrop { background: rgba(8, 6, 10, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox-view {
    position: relative; display: grid; place-items: center; width: max-content; max-width: min(1188px, 100%); height: 100%;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
.lightbox-view.has-arrows { padding-inline: 44px; }
.lightbox-image {
    min-height: 0; min-width: 0; max-width: min(1100px, 100%); max-height: 100%;
    object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
}
.lightbox .carousel-arrow { color: #fff; }
.lightbox .carousel-arrow[data-gallery-step]::before, .lightbox-close { background: #18161e; border: 1px solid #554f5a; }
.lightbox .carousel-arrow[data-gallery-step]:hover::before, .lightbox-close:hover { background: #38323e; }
.lightbox-close { position: absolute; top: 12px; right: 16px; }
body:has(.lightbox[open]) { overflow: hidden; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.about-hero h1 { font-size: clamp(40px, 5.6vw, 68px); }
.about-lead { margin-top: 22px; color: var(--ink); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.8; font-weight: 500; }
.about-copy p + p { margin-top: 14px; }
.about-copy .more { margin-top: 18px; color: var(--body); font-size: 16px; line-height: 1.85; }

.about-hero .hero-visual {
    --phone-stage-height: clamp(350px, 34vw, 440px);
    --phone-side-offset: clamp(0px, calc(50vw - var(--gutter) - var(--phone-stage-height) * .215), 58%);
}

.journey { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; list-style: none; }
.journey li {
    position: relative; padding: 20px 20px 18px; border-radius: var(--r-md);
    background: var(--surface); box-shadow: var(--shadow-md);
}
.journey li b { display: block; color: var(--ink); font-size: 17px; font-weight: 750; }
.journey li.now { color: #fff; background: var(--grad-on-brand); box-shadow: var(--shadow-lg); }
.journey li.now b { color: #fff; }
.journey li:not(:last-child)::after {
    content: ""; position: absolute; right: -9px; top: 50%; z-index: 1; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brand);
}

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.value-card {
    position: relative; overflow: hidden;
    display: flex; gap: 22px; align-items: flex-start;
    padding: 32px; border-radius: var(--r-lg);
    background: var(--surface); box-shadow: var(--shadow-md);
}
.value-card h3 { font-size: 22px; font-weight: 800; }
.value-card p { margin-top: 8px; color: var(--body); font-size: 16px; }
.icon-tile.lg { width: 56px; height: 56px; border-radius: 16px; }
.icon-tile.lg .ico { width: 26px; height: 26px; }

.cta-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.cta-center .wx-line, .cta-center .cta-actions { justify-content: center; }
.cta-center .cta-qr { transform: none; margin-top: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .b-ai { grid-row: auto; }
    .adv-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .journey li::after { display: none; }
}

@media (min-width: 390px) and (max-width: 1100px) {
    .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adv-featured { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
    :root {
        --header: 60px; --gutter: 20px;
        --phone-stage-height: clamp(380px, 92vw, 520px);
    }
    html { scroll-padding-block: max(calc(var(--header-height, var(--header)) + 16px), 6rem) 6rem; }
    .site-header { position: sticky; top: 0; height: auto; }
    .header-inner { height: auto; min-height: var(--header); padding-block: 6px; gap: 8px; }
    .header-inner .brand { flex: 0 1 auto; min-width: 0; }
    .header-inner .brand img { flex: none; }
    .main-nav, .header-actions { display: none; }
    .menu-toggle { display: inline-flex; flex: none; }
    .mobile-panel {
        position: absolute; inset: 100% 0 auto; display: none; width: 100%;
        padding: 8px var(--gutter) 22px; overflow-y: auto;
        max-height: calc(100vh - 100%); max-height: calc(100dvh - 100%);
        background: var(--surface);
    }
    .is-open .mobile-panel { display: block; }
    .mobile-panel nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; color: var(--ink); font-size: 17px; font-weight: 650; box-shadow: inset 0 -1px 0 var(--hair); }
    .mobile-panel nav a[aria-current="page"] { color: var(--brand-ink); }
    .mobile-panel .m-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
    .mobile-panel .user-chip { margin-top: 18px; }
    .mobile-appearance { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--hair); }
    .mobile-appearance-label { display: block; margin-bottom: 8px; color: var(--body); font-size: 13px; font-weight: 650; }
    .mobile-theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .mobile-theme-options .theme-option {
        flex-direction: column; justify-content: center; gap: 3px; min-height: 54px; padding: 6px 4px;
        border: 1px solid var(--hair-strong); background: var(--surface); text-align: center;
    }
    .mobile-theme-options .theme-option[aria-pressed="true"] {
        border-color: var(--brand); background: var(--tint); color: var(--ink);
    }

    .btn { max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
    .hero { margin-top: calc(-1 * var(--header)); text-align: center; }
    .about-copy p { text-align: left; }
    .hero-grid, .about-hero .hero-grid { grid-template-columns: 1fr; }
    .hero-lead { margin-inline: auto; }
    .hero-actions, .hero-proof { justify-content: center; }
    .hero-visual { margin-top: 8px; }
    .float-chip { font-size: 12.5px; padding: 8px 12px 8px 8px; border-radius: 14px; }
    .float-chip .chip-ico { width: 26px; height: 26px; border-radius: 8px; }
    .float-chip.c1 { left: -4px; }
    .float-chip.c2 { right: -4px; }
    .float-chip.c3 { display: none; }
    .partners-inner { flex-direction: column; gap: 18px; }
    .partners-label { text-align: center; }
    .partner-logos { gap: 18px 32px; }
    .partner-logos img { height: 24px; }
    .partner-logos .logo-aliyun img { height: 22px; }

    .tabs { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); width: auto; max-width: none; border-radius: 0; background: transparent; box-shadow: none; padding: 0 var(--gutter) 4px; position: sticky; top: var(--header-height, var(--header)); z-index: 5; }
    .tab { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hair); padding: 9px 16px; font-size: 14px; }
    .tab[aria-selected="true"] { color: #fff; background: var(--ink); box-shadow: none; }
    html[data-theme="dark"] .tab[aria-selected="true"] { color: #121016; background: #fff; }
    .tab[aria-selected="true"] .count { background: rgba(255, 255, 255, .2); }
    html[data-theme="dark"] .tab[aria-selected="true"] .count { background: rgba(0, 0, 0, .12); color: #121016; }
    .fx-item { padding: 14px 14px 20px; }
    .fx-trigger { padding: 4px 4px 0; }
    .fx-points { padding-left: 48px; padding-right: 4px; }
    .stage { border-radius: var(--r-md); }
    /* Keep the rotated side images inside the narrower feature cards. */
    .stage .phone-carousel {
        --phone-side-offset: clamp(0px, calc(50vw - var(--phone-stage-height) * .215 - var(--gutter) - 18px), 58%);
    }

    .cta-card { grid-template-columns: 1fr; text-align: center; }
    .cta-card .wx-line, .cta-card .cta-actions { justify-content: center; }
    .cta-qr { transform: none; }
    .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

    .dock { display: none; }
    .mobile-cta {
        /* Keep its actual height after the footer when button labels wrap. */
        position: sticky; bottom: 0; z-index: 45;
        display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--header-bg); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
        box-shadow: 0 -1px 0 var(--hair);
        visibility: hidden; opacity: 0; transition: opacity .35s var(--ease);
    }
    .mobile-cta.show { visibility: visible; opacity: 1; }
    .mobile-cta .btn { --h: 46px; padding-inline: 12px; font-size: .9375rem; line-height: 1.4; }
    .mobile-cta .btn > span > span { white-space: nowrap; }
    .toast { bottom: 90px; }
}

@media (max-width: 960px) and (max-height: 28rem) {
    html { scroll-padding-block: 16px; }
    .site-header, .mobile-cta, .mobile-panel, .tabs { position: static; }
    .mobile-panel { max-height: none; }
}

@media (max-width: 640px) {
    .lightbox { padding-inline: 8px; }
    .section-head { text-align: left; margin-inline: 0; }
    .section-head.center-m { text-align: center; }
    #feature-title + p > span { display: inline-block; max-width: 100%; white-space: normal; }
    .bento { grid-template-columns: 1fr; gap: 12px; }
    .b-ai, .b-wide { grid-column: auto; }
    .b-ai { padding: 26px; }
    .b-wide { flex-direction: column; align-items: flex-start; }
    .tree { width: 140px; height: 94px; align-self: flex-end; margin-top: -40px; }
    .b-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px; }
    .b-ai { flex-direction: column; }
    .b-card p strong { font-size: 17px; }
    .b-wide .b-copy { flex-direction: row; gap: 16px; }
    .adv-grid { gap: 12px; }
    .adv { padding: clamp(14px, 3.75vw, 22px); }
    .adv .icon-tile { width: 36px; height: 36px; border-radius: 10px; }
    .adv .icon-tile .ico { width: 18px; height: 18px; }
    .adv h3 { font-size: 17px; }
    .quotes, .values { grid-template-columns: 1fr; gap: 12px; }
    .q-card, .value-card { padding: 22px; }
    .value-card { flex-direction: column; gap: 16px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-proof { text-align: left; }
    .cta-actions .btn { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-tenure { display: inline-block; max-width: 100%; white-space: normal; }
    .journey { grid-template-columns: 1fr 1fr; }
    .journey li.now { grid-column: 1 / -1; }
    .quote-band blockquote { grid-template-columns: minmax(0, 1fr); gap: 6px; border-radius: var(--r-md); }
    .quote-band .quote-mark { width: 18px; height: 18px; margin-top: 0; }
}

@media (max-width: 360px) {
    .header-inner { gap: 6px; }
    .header-inner .brand-sub { max-inline-size: 8.73em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
