:root {
    --ink: #0f1a2b;
    --ink-soft: #4c5b73;
    --ink-mute: #7b879b;
    --bg: #ffffff;
    --bg-alt: #f4f8ff;
    --line: #e2e9f5;
    --night: #0a1225;
    --brand: #2e7cf6;
    --brand-dark: #1c5ec4;
    --violet: #7b5cff;
    --mint: #12b8a6;
    --amber: #f2a33c;
    --radius: 16px;
    --shadow-soft: 0 16px 40px rgba(20, 42, 84, 0.1);
    --shadow-phone: 0 26px 60px rgba(16, 34, 68, 0.28);
    --container: 1120px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family:
        -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC',
        'Hiragino Sans GB', 'Source Han Sans SC', sans-serif;
    font-size: 17px;
    line-height: 1.78;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--brand-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -64px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--ink);
    font-weight: 600;
    transition: top 0.15s ease-in;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(180%) blur(12px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
}

.brand:hover {
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(46, 124, 246, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 17px;
    letter-spacing: 0.2px;
}

.brand-text small {
    color: var(--ink-mute);
    font-size: 11.5px;
    letter-spacing: 0.6px;
}

.nav-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.nav-button {
    display: none;
}

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

.site-nav a {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.4;
}

.site-nav a:hover {
    background: var(--bg-alt);
    color: var(--ink);
    text-decoration: none;
}

.site-nav .nav-cta {
    margin-left: 8px;
    padding: 10px 20px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(46, 124, 246, 0.3);
}

.site-nav .nav-cta:hover {
    background: var(--brand-dark);
    color: #ffffff;
}

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 13px 28px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        background-color 0.12s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(115deg, var(--brand), var(--violet));
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(46, 124, 246, 0.32);
}

.btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(123, 92, 255, 0.32);
}

.btn-ghost {
    border-color: var(--line);
    background: #ffffff;
    color: var(--ink);
}

.btn-ghost:hover {
    border-color: #c9d7ee;
    background: var(--bg-alt);
    color: var(--ink);
}

.btn-on-dark {
    border-color: rgba(255, 255, 255, 0.34);
    color: #eaf1ff;
    background: transparent;
}

.btn-on-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 76px;
    background:
        radial-gradient(90% 90% at 88% 6%, rgba(123, 92, 255, 0.16), transparent 62%),
        radial-gradient(80% 80% at 4% 12%, rgba(46, 124, 246, 0.16), transparent 60%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 72%);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 5px 14px 5px 8px;
    border: 1px solid #d8e4fb;
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-dark);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.eyebrow span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.eyebrow span + span::before {
    content: '·';
    margin-right: 6px;
    color: #b9c8de;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.26;
    letter-spacing: -0.6px;
}

.hero h1 .hero-h1-sub {
    display: block;
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 0.55em;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
}

.lede {
    margin: 0 0 24px;
    max-width: 33em;
    color: var(--ink-soft);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.tag-row li {
    padding: 5px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-meta {
    margin: 22px 0 4px;
    color: var(--ink-mute);
    font-size: 13.5px;
}

.hero-meta a {
    color: inherit;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-meta a:hover {
    color: var(--ink-soft);
}

.hero-note {
    margin: 0;
    color: var(--ink-mute);
    font-size: 13.5px;
}

.hero-note strong {
    color: var(--brand-dark);
}

.hero-figure {
    position: relative;
    margin: 0;
    display: flex;
    justify-content: center;
}

.hero-figure .phone {
    width: min(300px, 68vw);
}

.badge-float {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
}

.badge-float small {
    display: block;
    color: var(--ink-mute);
    font-size: 11.5px;
    font-weight: 500;
}

.badge-float b {
    font-size: 20px;
    line-height: 1;
}

.badge-free {
    top: 12%;
    right: 0;
    color: var(--brand-dark);
}

.badge-ad {
    bottom: 14%;
    left: 0;
}

.badge-ad::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(18, 184, 166, 0.16);
}

/* ---------- phone mockup ---------- */

.phone {
    position: relative;
    margin: 0;
    padding: 9px;
    border-radius: 32px;
    background: linear-gradient(160deg, #24314a, #0b1220);
    box-shadow: var(--shadow-phone);
}

.phone::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    width: 62px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.phone img {
    width: 100%;
    border-radius: 25px;
    background: #ffffff;
}

/* ---------- sections ---------- */

.section {
    padding: 74px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-label {
    margin: 0 0 10px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 33px);
    line-height: 1.35;
    letter-spacing: -0.3px;
}

.section-lede {
    margin: 0 0 34px;
    max-width: 46em;
    color: var(--ink-soft);
}

.inline-link {
    margin: 26px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
}

/* ---------- promise ---------- */

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

.promise-card {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.promise-value {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.promise-value small {
    margin-left: 6px;
    color: var(--ink-mute);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
}

.promise-card h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    line-height: 1.5;
}

.promise-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.why-free {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    margin-top: 26px;
    padding: 26px 28px;
    border: 1px solid #d9e6fb;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #f2f7ff, #fbfaff);
}

.why-free h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.5;
}

.why-free p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.why-free ul {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.why-free li + li {
    margin-top: 6px;
}

/* ---------- scenes / features ---------- */

.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 18px;
}

.scene-card,
.feature-card {
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.scene-card h3,
.feature-card h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    line-height: 1.5;
}

.scene-card p,
.feature-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15.5px;
}

.feature-card h3::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--brand), var(--violet));
    vertical-align: 2px;
}

.scene-card-muted {
    border-style: dashed;
    background: transparent;
}

/* ---------- steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    padding: 26px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

.step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--violet));
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.steps h3 {
    margin: 0 0 7px;
    font-size: 17.5px;
}

.steps p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15.5px;
}

/* ---------- shots ---------- */

.shots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 8px;
}

.shot {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.shot .phone {
    width: 100%;
}

.shot figcaption {
    margin-top: 14px;
    color: var(--ink-mute);
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
}

.shot figcaption strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
}

/* ---------- table ---------- */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
}

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

thead th {
    background: #f1f6ff;
    color: var(--ink);
    font-size: 14px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

tbody th {
    width: 24%;
    color: var(--ink);
    font-weight: 600;
    white-space: nowrap;
}

tbody td {
    color: var(--ink-soft);
}

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

td .yes {
    color: #0d8a7c;
    font-weight: 700;
}

td .no {
    color: #b8542f;
    font-weight: 700;
}

.compare-note {
    margin: 18px 0 0;
    padding: 15px 19px;
    border-left: 3px solid var(--brand);
    border-radius: 0 10px 10px 0;
    background: #f3f7ff;
    color: var(--ink-soft);
    font-size: 14.5px;
}

/* ---------- faq ---------- */

.faq details {
    padding: 4px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
}

.faq details + details {
    margin-top: 11px;
}

.faq summary {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 0;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::before {
    content: '+';
    flex: 0 0 22px;
    color: var(--brand);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.faq details[open] summary::before {
    content: '–';
}

.faq details p {
    margin: 0 0 17px;
    padding-left: 34px;
    color: var(--ink-soft);
    font-size: 15.5px;
}

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    text-align: center;
}

.contact-card h3 {
    margin: 0 0 14px;
    font-size: 16.5px;
}

.contact-qr {
    margin: 0 0 12px;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    line-height: 0;
}

.contact-qr img {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.contact-id {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.contact-time {
    margin: 2px 0 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.contact-note {
    margin: 0 0 14px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 9px 20px;
    border: 1px solid #cddcf4;
    border-radius: 999px;
    background: #ffffff;
    color: var(--brand-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.contact-btn:hover {
    background: #f2f7ff;
}

.contact-btn.is-copied {
    border-color: #b9e6df;
    background: #ecfbf8;
    color: #0d8a7c;
}

/* ---------- cta band ---------- */

.cta-band {
    padding: 58px 0;
    color: #eef4ff;
    background:
        radial-gradient(70% 120% at 92% 10%, rgba(123, 92, 255, 0.42), transparent 60%),
        linear-gradient(115deg, #0b1730, #12305e 62%, #1b1740);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.cta-band h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.4;
}

.cta-band p {
    margin: 0;
    max-width: 44em;
    color: #bccdf0;
    font-size: 15.5px;
}

/* ---------- footer ---------- */

.site-footer {
    padding: 54px 0 26px;
    background: #070e1d;
    color: #9fb0cc;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 8px;
}

.footer-brand p {
    margin: 0 0 12px;
    max-width: 30em;
}

.footer-brand strong {
    color: #eaf1ff;
}

.footer-contact a {
    color: #bccdf0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-col h3 {
    margin: 0 0 7px;
    color: #eaf1ff;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.footer-col a {
    padding: 6px 0;
    color: #9fb0cc;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7c8ca8;
    font-size: 13.5px;
}

.footer-legal p {
    margin: 0;
}

.footer-legal a {
    color: #7c8ca8;
}

.footer-legal a:hover {
    color: #bccdf0;
}

.footer-legal span {
    margin: 0 10px;
    color: #3a4763;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .hero-figure {
        max-width: 380px;
        margin-inline: auto;
    }

    .hero-figure .phone {
        width: min(272px, 64vw);
    }

    .badge-float {
        display: none;
    }

    .shots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
    }

    .steps,
    .promise-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .why-free {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 980px) {
    .nav-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0 10px;
        border: 1px solid var(--line);
        border-radius: 10px;
        cursor: pointer;
    }

    .nav-button span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: var(--ink-soft);
    }

    .nav-checkbox:focus-visible + .nav-button {
        outline: 3px solid var(--brand);
        outline-offset: 2px;
    }

    .site-nav {
        position: fixed;
        top: 64px;
        left: 12px;
        right: 12px;
        display: none;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 22px 44px rgba(12, 28, 56, 0.18);
    }

    .nav-checkbox:checked ~ .site-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .site-nav .nav-cta {
        margin: 8px 0 0;
        text-align: center;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .container {
        padding-inline: 18px;
    }

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

    .section {
        padding: 50px 0;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .cta-actions {
        width: 100%;
    }

    .shots {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .shot .phone {
        width: min(280px, 76vw);
        margin-inline: auto;
    }

    .hero-figure .phone {
        width: min(238px, 64vw);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    th,
    td {
        padding: 13px 15px;
    }

    tbody th {
        width: 38%;
        white-space: normal;
    }
}

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

    .btn {
        transition: none;
    }
}
