:root {
    --page-bg: #0f0f23;
    --page-bg-deep: #090915;
    --surface: #17142b;
    --surface-soft: #201936;
    --surface-bright: #2a1d46;
    --primary: #c58be8;
    --primary-strong: #dc5dff;
    --secondary: #8863b5;
    --accent: #ffd15c;
    --text: #f9f6ff;
    --text-soft: #c8bfd7;
    --text-muted: #938aa5;
    --border: rgba(197, 139, 232, 0.18);
    --border-strong: rgba(197, 139, 232, 0.34);
    --shadow: 0 24px 80px rgba(5, 4, 20, 0.42);
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 32px;
    --container: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 8%, rgba(136, 99, 181, 0.22), transparent 32rem),
        radial-gradient(circle at 5% 34%, rgba(220, 93, 255, 0.08), transparent 28rem),
        var(--page-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.28;
    background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(255, 209, 92, 0.84);
    outline-offset: 3px;
}

::selection {
    color: #130b1d;
    background: var(--primary);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 200;
    padding: 9px 14px;
    border-radius: 10px;
    color: #130b1d;
    background: var(--accent);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: rgba(15, 15, 35, 0.78);
    backdrop-filter: blur(18px);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    background: rgba(15, 15, 35, 0.94);
}

.header-inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    font-size: 18px;
    font-weight: 720;
    letter-spacing: 0.04em;
}

.brand img {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: 13px;
    box-shadow: 0 8px 26px rgba(197, 139, 232, 0.2);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.site-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 13px;
    border-radius: 12px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(197, 139, 232, 0.12);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before,
.nav-toggle::after {
    position: absolute;
    content: "";
}

.nav-toggle::before {
    transform: translateY(-6px);
}

.nav-toggle::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    overflow-x: clip;
    padding: 86px 0 96px;
}

.hero-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
    gap: 76px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 720;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 24px;
    height: 1px;
    content: "";
    background: currentColor;
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(46px, 7vw, 82px);
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.gradient-text {
    color: transparent;
    background: linear-gradient(116deg, #ffffff 16%, var(--primary) 56%, #ffbde9 88%);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-lead {
    max-width: 590px;
    margin: 25px 0 0;
    color: var(--text-soft);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.7;
}

.hero-copy-small {
    max-width: 590px;
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 15px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #180d21;
    background: linear-gradient(135deg, #e1b4fa, var(--primary));
    box-shadow: 0 14px 40px rgba(197, 139, 232, 0.24);
}

.button-primary:hover {
    box-shadow: 0 18px 46px rgba(197, 139, 232, 0.36);
}

.button-secondary {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
    border-color: rgba(197, 139, 232, 0.6);
    background: rgba(197, 139, 232, 0.08);
}

.button-arrow::after {
    content: "→";
    transition: transform 0.2s ease;
}

.button-arrow:hover::after {
    transform: translateX(3px);
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 13px;
}

.hero-note span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-note span::before {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    content: "";
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
}

.phone-stage {
    position: relative;
    min-height: 600px;
    isolation: isolate;
}

.phone-stage::before {
    position: absolute;
    inset: 8% 2% 5%;
    z-index: -2;
    border-radius: 50%;
    content: "";
    background: radial-gradient(circle, rgba(220, 93, 255, 0.2), rgba(136, 99, 181, 0.05) 52%, transparent 72%);
    filter: blur(4px);
}

.phone-frame {
    position: absolute;
    overflow: hidden;
    width: 246px;
    border: 7px solid rgba(39, 28, 57, 0.98);
    border-radius: 30px;
    background: #090913;
    box-shadow: var(--shadow);
}

.phone-frame::before {
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 2;
    width: 58px;
    height: 16px;
    border-radius: 10px;
    content: "";
    background: rgba(4, 4, 11, 0.9);
    transform: translateX(-50%);
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 414 / 780;
    object-fit: cover;
}

.phone-main {
    top: 0;
    left: 50%;
    z-index: 3;
    width: 282px;
    transform: translateX(-50%) rotate(1.5deg);
}

.phone-left {
    top: 86px;
    left: 0;
    z-index: 1;
    transform: rotate(-8deg);
}

.phone-right {
    top: 102px;
    right: 0;
    z-index: 2;
    transform: rotate(8deg);
}

.floating-label {
    position: absolute;
    right: 7%;
    bottom: 6%;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    color: var(--text-soft);
    background: rgba(23, 20, 43, 0.86);
    box-shadow: 0 14px 42px rgba(3, 3, 12, 0.36);
    backdrop-filter: blur(14px);
    font-size: 13px;
}

.floating-label strong {
    color: var(--text);
    font-size: 15px;
}

.floating-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7cffba;
    box-shadow: 0 0 16px rgba(124, 255, 186, 0.7);
}

.section {
    padding: 96px 0;
}

.section-tight {
    padding: 72px 0;
}

.section-muted {
    border-block: 1px solid rgba(197, 139, 232, 0.1);
    background: rgba(255, 255, 255, 0.018);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.section-heading h2 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.section-heading p {
    max-width: 440px;
    margin: 0;
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.info-card,
.download-card,
.contact-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
    box-shadow: 0 16px 50px rgba(4, 3, 15, 0.16);
}

.feature-card {
    min-height: 250px;
    padding: 25px;
    border-radius: var(--radius);
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-5px);
}

.feature-index {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 45px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    color: var(--primary);
    background: rgba(197, 139, 232, 0.08);
    font-size: 12px;
    font-weight: 800;
}

.feature-card h3,
.info-card h3,
.download-card h2,
.contact-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.35;
}

.feature-card p,
.info-card p,
.download-card p,
.contact-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.feature-card::after {
    position: absolute;
    right: -42px;
    bottom: -52px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    content: "";
    background: radial-gradient(circle, rgba(197, 139, 232, 0.13), transparent 70%);
}

.screenshot-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    scrollbar-width: none;
}

.screenshot-grid::-webkit-scrollbar {
    display: none;
}

.screen-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 20px 60px rgba(3, 3, 14, 0.3);
    transition: transform 0.24s ease, border-color 0.24s ease;
}

.screen-card:nth-child(even) {
    margin-top: 32px;
}

.screen-card:hover {
    z-index: 2;
    border-color: var(--border-strong);
    transform: translateY(-7px);
}

.screen-card img {
    width: 100%;
    aspect-ratio: 414 / 780;
    object-fit: cover;
}

.screen-card figcaption {
    padding: 13px 15px 15px;
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 650;
}

.audience-layout {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 18px;
}

.audience-panel,
.mini-program-card,
.cta-panel,
.legal-body,
.toc-card {
    border: 1px solid var(--border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014));
}

.audience-panel {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 5vw, 52px);
    border-radius: var(--radius-lg);
}

.audience-panel h2 {
    max-width: 620px;
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.24;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.chip {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.025);
    font-size: 13px;
}

.mini-program-card {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 148px;
    gap: 24px;
    padding: 34px;
    border-radius: var(--radius-lg);
}

.mini-program-card h3 {
    margin: 0 0 8px;
    font-size: 23px;
}

.mini-program-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
}

.qr-box {
    overflow: hidden;
    padding: 8px;
    border-radius: 19px;
    background: #ffffff;
}

.qr-box img {
    width: 100%;
    border-radius: 12px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: clamp(30px, 5vw, 56px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 88% 50%, rgba(220, 93, 255, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(197, 139, 232, 0.12), rgba(255, 255, 255, 0.02));
}

.cta-panel h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.22;
}

.cta-panel p {
    margin: 0;
    color: var(--text-muted);
}

.page-hero {
    padding: 78px 0 58px;
}

.page-hero-inner {
    max-width: 820px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 68px);
}

.page-hero p {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--text-soft);
    font-size: 18px;
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.meta-pill,
.status-pill {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    font-size: 12px;
}

.download-layout {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.download-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 30px;
    border-radius: var(--radius);
}

.download-card .platform-label {
    display: inline-flex;
    width: fit-content;
    min-width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    margin-bottom: 50px;
    border: 1px solid var(--border-strong);
    border-radius: 17px;
    color: var(--primary);
    background: rgba(197, 139, 232, 0.08);
    font-size: 12px;
    font-weight: 800;
}

.download-card p {
    flex: 1;
    margin-bottom: 25px;
}

.download-card .button {
    width: 100%;
}

.status-pill {
    width: fit-content;
    margin-top: 12px;
    color: var(--accent);
    border-color: rgba(255, 209, 92, 0.2);
    background: rgba(255, 209, 92, 0.06);
}

.download-extra {
    display: grid;
    align-items: center;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 34px;
    margin-top: 20px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.022);
}

.download-extra h2 {
    margin: 0 0 8px;
    font-size: 26px;
}

.download-extra p {
    margin: 0 0 18px;
    color: var(--text-muted);
}

.legal-layout {
    display: grid;
    align-items: start;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 96px;
}

.toc-card {
    position: sticky;
    top: 96px;
    padding: 16px;
    border-radius: 18px;
    scrollbar-width: none;
}

.toc-card::-webkit-scrollbar {
    display: none;
}

.toc-title {
    margin: 4px 10px 10px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.toc-card a {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 13px;
    transition: color 0.2s ease, background 0.2s ease;
}

.toc-card a:hover {
    color: var(--text);
    background: rgba(197, 139, 232, 0.09);
}

.legal-body {
    min-width: 0;
    padding: clamp(24px, 5vw, 50px);
    border-radius: var(--radius-lg);
}

.legal-intro {
    margin: 0 0 34px;
    padding: 18px 20px;
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    color: var(--text-soft);
    background: rgba(197, 139, 232, 0.07);
}

.legal-section {
    scroll-margin-top: 100px;
    padding-top: 8px;
}

.legal-section + .legal-section {
    margin-top: 42px;
    padding-top: 42px;
    border-top: 1px solid var(--border);
}

.legal-section h2 {
    margin: 0 0 15px;
    font-size: 27px;
    line-height: 1.35;
}

.legal-section h3 {
    margin: 25px 0 10px;
    font-size: 18px;
}

.legal-section p,
.legal-section li {
    color: var(--text-soft);
}

.legal-section p {
    margin: 0 0 13px;
}

.legal-section ul,
.legal-section ol {
    margin: 12px 0;
    padding-left: 1.3em;
}

.legal-section li + li {
    margin-top: 7px;
}

.legal-section a,
.inline-link {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(197, 139, 232, 0.4);
    text-underline-offset: 3px;
}

.table-wrap {
    max-width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(8, 8, 20, 0.28);
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.55;
}

.collection-table {
    min-width: 1280px;
}

.sdk-table,
.permission-table {
    min-width: 980px;
}

th,
td {
    padding: 14px 15px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th:last-child,
td:last-child {
    border-right: 0;
}

tr:last-child td {
    border-bottom: 0;
}

th {
    color: var(--text);
    background: rgba(197, 139, 232, 0.08);
    font-weight: 700;
    white-space: nowrap;
}

td {
    color: var(--text-soft);
}

.notice {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid rgba(255, 209, 92, 0.18);
    border-radius: 13px;
    color: var(--text-soft);
    background: rgba(255, 209, 92, 0.045);
    font-size: 14px;
}

.info-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.info-card,
.contact-card {
    padding: 26px;
    border-radius: var(--radius);
}

.contact-card a {
    color: var(--primary);
}

.support-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.support-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.support-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
}

.support-list li:last-child {
    border-bottom: 0;
}

.about-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
}

.about-copy {
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(197, 139, 232, 0.09), rgba(255, 255, 255, 0.018));
}

.about-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
}

.about-copy p {
    margin: 0;
    color: var(--text-soft);
}

.company-facts {
    display: grid;
    gap: 12px;
}

.fact-row {
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.025);
}

.fact-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 12px;
}

.fact-row strong,
.fact-row a {
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
}

.site-footer {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    background: rgba(5, 5, 15, 0.34);
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) 0.8fr 0.8fr;
    gap: 56px;
    padding: 54px 0 36px;
}

.footer-brand p {
    max-width: 390px;
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-group h2 {
    margin: 0 0 13px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.footer-group a,
.footer-group span {
    display: block;
    width: fit-content;
    margin-top: 7px;
    color: var(--text-soft);
    font-size: 13px;
}

.footer-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 0 26px;
    border-top: 1px solid rgba(197, 139, 232, 0.1);
    color: var(--text-muted);
    font-size: 12px;
}

.footer-records {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
}

.footer-records a:hover {
    color: var(--text-soft);
}

@media (max-width: 1060px) {
    .hero-grid {
        gap: 35px;
    }

    .phone-stage {
        min-height: 540px;
    }

    .phone-frame {
        width: 215px;
    }

    .phone-main {
        width: 250px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-card:last-child {
        grid-column: 1 / -1;
        min-height: 260px;
    }
}

@media (max-width: 900px) {
    :root {
        --container: min(100% - 32px, 760px);
    }

    .nav-toggle {
        position: relative;
        display: inline-flex;
        flex: 0 0 auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        left: 16px;
        display: grid;
        visibility: hidden;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 17px;
        background: rgba(20, 17, 39, 0.98);
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav a {
        min-height: 46px;
        padding-inline: 14px;
    }

    .hero {
        padding-top: 66px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-lead,
    .hero-copy-small {
        margin-inline: auto;
    }

    .button-row,
    .hero-note {
        justify-content: center;
    }

    .phone-stage {
        width: min(100%, 560px);
        margin: 20px auto 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 14px;
    }

    .screenshot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .screen-card:nth-child(even) {
        margin-top: 0;
    }

    .screen-card:nth-child(4),
    .screen-card:nth-child(5) {
        transform: translateX(50%);
    }

    .screen-card:hover {
        transform: translateY(-5px);
    }

    .audience-layout,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .toc-card {
        position: static;
        display: flex;
        gap: 4px;
        overflow-x: auto;
    }

    .toc-title {
        display: none;
    }

    .toc-card a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .info-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 36px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    :root {
        --container: calc(100% - 28px);
    }

    body {
        font-size: 15px;
    }

    .header-inner {
        min-height: 64px;
    }

    .brand img {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

    .hero {
        padding: 52px 0 68px;
    }

    .hero h1 {
        font-size: clamp(44px, 16vw, 64px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .button-row .button {
        flex: 1 1 150px;
    }

    .phone-stage {
        min-height: 430px;
    }

    .phone-frame {
        width: 156px;
        border-width: 5px;
        border-radius: 22px;
    }

    .phone-main {
        width: 202px;
    }

    .phone-left,
    .phone-right {
        top: 68px;
    }

    .floating-label {
        right: 2%;
        bottom: 2%;
        padding: 9px 11px;
    }

    .section,
    .section-tight {
        padding: 66px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .feature-grid,
    .download-layout,
    .info-grid,
    .contact-grid,
    .support-panel {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 210px;
    }

    .feature-index {
        margin-bottom: 32px;
    }

    .screenshot-grid {
        width: calc(100vw - 14px);
        margin-left: calc((var(--container) - 100vw) / 2 + 7px);
        padding: 0 14px 18px;
        overflow-x: auto;
        grid-template-columns: repeat(5, 175px);
        scroll-snap-type: x mandatory;
    }

    .screen-card,
    .screen-card:nth-child(4),
    .screen-card:nth-child(5) {
        margin-top: 0;
        transform: none;
        scroll-snap-align: start;
    }

    .audience-panel {
        min-height: 310px;
    }

    .mini-program-card {
        grid-template-columns: 1fr 120px;
        padding: 24px;
    }

    .cta-panel {
        display: block;
    }

    .cta-panel .button-row {
        justify-content: flex-start;
    }

    .page-hero {
        padding: 55px 0 42px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .download-card:last-child {
        grid-column: auto;
    }

    .download-extra {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 20px;
        padding: 22px;
    }

    .legal-layout {
        padding-bottom: 66px;
    }

    .legal-body {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .legal-section h2 {
        font-size: 23px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-records {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

@media (max-width: 430px) {
    .phone-stage {
        min-height: 405px;
    }

    .phone-main {
        width: 184px;
    }

    .phone-frame:not(.phone-main) {
        width: 142px;
    }

    .floating-label {
        display: none;
    }

    .mini-program-card {
        display: block;
    }

    .mini-program-card .qr-box {
        width: 138px;
        margin: 20px auto 0;
    }

    .download-extra {
        display: block;
    }

    .download-extra .qr-box {
        width: 126px;
        margin-bottom: 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
