:root {
    --bg: #f6efe4;
    --surface: rgba(255, 255, 255, 0.82);
    --line: rgba(18, 49, 74, 0.12);
    --text: #18334c;
    --text-soft: #5f7081;
    --accent: #0f84e7;
    --accent-deep: #0d5db7;
    --accent-warm: #ffb347;
    --success: #1f8b5b;
    --success-soft: rgba(31, 139, 91, 0.12);
    --shadow-lg: 0 28px 60px rgba(30, 62, 95, 0.16);
    --shadow-md: 0 16px 34px rgba(30, 62, 95, 0.12);
    --container: 1180px;
    --phone-shot-ratio: 1280 / 2774;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 208, 130, 0.3), transparent 28%),
        radial-gradient(circle at top right, rgba(113, 198, 255, 0.22), transparent 32%),
        linear-gradient(180deg, #f9f3e8 0%, #eef6ff 48%, #f7f4ed 100%);
    line-height: 1.65;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    overflow: clip;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: padding 0.25s ease, backdrop-filter 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

#main-header.scrolled {
    padding: 12px 0;
    background: rgba(250, 245, 236, 0.8);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(19, 43, 67, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark img {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(31, 88, 133, 0.16);
}

.brand-mark span {
    display: grid;
}

.brand-mark strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark small {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-panel a {
    color: var(--text-soft);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-panel .nav-cta {
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(15, 132, 231, 0.26);
}

.nav-panel .nav-cta:hover,
.nav-panel .nav-cta:focus-visible {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px var(--line);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

section {
    padding: 42px 0 96px;
}

#hero {
    padding-top: 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08);
    color: var(--accent-deep);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.download-copy h2 {
    font-family: 'Noto Serif TC', serif;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(2.6rem, 6vw, 4.75rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.hero-description {
    max-width: 680px;
    margin-top: 22px;
    font-size: 1.08rem;
    color: var(--text-soft);
}

.hero-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.hero-info-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-height: 124px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08);
}

.hero-info-card > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(15, 132, 231, 0.1);
    color: var(--accent-deep);
    font-size: 1.15rem;
}

.hero-info-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.hero-info-card p {
    display: block;
    margin-top: 6px;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
    color: #fff;
    box-shadow: 0 18px 28px rgba(15, 132, 231, 0.24);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.86);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px rgba(30, 62, 95, 0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.14);
}

.btn:disabled {
    opacity: 0.68;
    transform: none;
    box-shadow: none;
    cursor: wait;
}

.backup-option {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08);
    color: var(--text-soft);
    font-size: 0.95rem;
}

.backup-option strong {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 800;
}

.backup-option a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-deep);
    font-weight: 800;
}

.backup-option-inline {
    margin-top: 18px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
    list-style: none;
}

.hero-metrics li {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 100%);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08);
}

.hero-metrics strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.hero-metrics span {
    display: block;
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.hero-visual {
    position: relative;
    min-height: 720px;
}

.hero-card {
    position: absolute;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    aspect-ratio: var(--phone-shot-ratio);
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-main {
    top: 60px;
    right: 28px;
    width: min(100% - 118px, 360px);
    transform: rotate(-8deg);
}

.hero-card-float {
    width: 280px;
    right: 12px;
    bottom: 0;
    aspect-ratio: var(--phone-shot-ratio);
    transform: rotate(8deg);
    border: 8px solid rgba(255, 255, 255, 0.82);
}

.floating-badge {
    position: absolute;
    left: 0;
    top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-md);
}

.floating-badge img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
}

.floating-badge strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
}

.floating-badge span {
    display: block;
    color: var(--text-soft);
    font-size: 0.88rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.section-heading p:last-child,
.download-copy p {
    margin-top: 16px;
    color: var(--text-soft);
    font-size: 1.02rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-panel:nth-child(n+4) .feature-icon {
    background: linear-gradient(135deg, rgba(31, 139, 91, 0.12) 0%, rgba(15, 132, 231, 0.14) 100%);
}

.feature-panel {
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 252, 255, 0.8) 100%);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 132, 231, 0.14) 0%, rgba(255, 179, 71, 0.22) 100%);
    color: var(--accent-deep);
    font-size: 1.5rem;
}

.feature-panel h3 {
    margin-top: 18px;
    font-size: 1.35rem;
}

.feature-panel p {
    margin-top: 12px;
    color: var(--text-soft);
}

.changelog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.changelog-group {
    padding: 28px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 252, 255, 0.8) 100%);
    box-shadow: var(--shadow-md);
}

.changelog-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.changelog-tag--new {
    background: rgba(31, 139, 91, 0.12);
    color: var(--success);
}

.changelog-tag--update {
    background: rgba(15, 132, 231, 0.12);
    color: var(--accent-deep);
}

.changelog-tag--fix {
    background: rgba(255, 179, 71, 0.2);
    color: #b87a1a;
}

.changelog-list {
    margin-top: 18px;
    list-style: none;
    display: grid;
    gap: 14px;
}

.changelog-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.changelog-list li i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(15, 132, 231, 0.08);
    color: var(--accent-deep);
    font-size: 0.85rem;
}

.changelog-list span {
    font-size: 1.02rem;
    font-weight: 700;
}

.changelog-list p {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.release-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    margin-top: 26px;
}

.release-media-card {
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
}

.release-media-card > img {
    width: 100%;
    aspect-ratio: var(--phone-shot-ratio);
    object-fit: cover;
    background: #f3f6fb;
}

.release-media-card--phone-media {
    padding-top: 18px;
}

.release-phone-frame {
    width: min(100% - 32px, 282px);
    margin: 0 auto;
    padding: 10px;
    border-radius: 34px;
    background: linear-gradient(180deg, #172026 0%, #05070b 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 18px 34px rgba(18, 49, 74, 0.16);
}

.release-phone-frame img,
.release-phone-frame video {
    display: block;
    width: 100%;
    aspect-ratio: var(--phone-shot-ratio);
    max-height: 560px;
    object-fit: contain;
    border-radius: 24px;
    background: #05070b;
}

.release-media-card figcaption {
    padding: 18px 20px 22px;
}

.release-media-card strong {
    display: block;
    font-size: 1.08rem;
}

.release-media-card span {
    display: block;
    margin-top: 8px;
    color: var(--text-soft);
}

.changelog-archive {
    margin-top: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08);
}

.changelog-archive summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    color: var(--text);
    font-weight: 900;
    list-style: none;
}

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

.changelog-archive summary i {
    transition: transform 0.2s ease;
}

.changelog-archive[open] summary i {
    transform: rotate(180deg);
}

.changelog-grid--archive {
    padding: 0 24px 24px;
}

.showcase-shell,
.download-shell {
    padding: 42px;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(10px);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.shot-card {
    overflow: hidden;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
}

.shot-card img {
    display: block;
    width: 100%;
    aspect-ratio: var(--phone-shot-ratio);
    object-fit: contain;
    background: #05070b;
}

.shot-card figcaption {
    padding: 18px 20px 22px;
}

.shot-card strong {
    display: block;
    font-size: 1.08rem;
}

.shot-card span {
    display: block;
    margin-top: 8px;
    color: var(--text-soft);
}

.download-shell {
    display: grid;
    gap: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86) 0%, rgba(237, 246, 255, 0.76) 100%),
        radial-gradient(circle at bottom right, rgba(255, 179, 71, 0.2), transparent 30%);
}

.download-copy {
    max-width: 820px;
}

.download-copy h2 {
    margin-top: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.inline-file {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(15, 132, 231, 0.1);
    color: var(--accent-deep);
    font-weight: 800;
    white-space: nowrap;
}

.download-proof img {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.download-platform-sections {
    display: grid;
    gap: 22px;
}

.download-platform-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(210px, 0.45fr);
    gap: 26px;
    align-items: center;
    padding: 30px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08), var(--shadow-md);
}

.download-platform-section--combined {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 247, 255, 0.92) 100%),
        radial-gradient(circle at top right, rgba(31, 139, 91, 0.14), transparent 30%),
        radial-gradient(circle at bottom left, rgba(15, 132, 231, 0.12), transparent 34%);
}

.download-platform-section__copy {
    display: grid;
    gap: 18px;
}

.download-platform-section__copy > p {
    color: var(--text-soft);
    font-size: 1rem;
}

.download-platform-title {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.download-platform-title > span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(15, 132, 231, 0.12);
    color: var(--accent-deep);
    font-size: 1.65rem;
}

.download-platform-title p {
    color: var(--accent-deep);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-platform-title h3 {
    margin-top: 2px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
}

.download-platform-visual {
    margin: 0;
}

.download-platform-visual img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.72);
}

.download-platform-visual--app-icon {
    display: grid;
    place-items: center;
}

.download-platform-visual--app-icon img {
    width: min(220px, 72%);
    aspect-ratio: 1;
    padding: 18px;
    border-radius: 42px;
    object-fit: contain;
}

.download-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
}

.download-choice-list li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.download-choice-list > li > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(15, 132, 231, 0.1);
    color: var(--accent-deep);
    font-size: 1.2rem;
}

.download-choice-list strong {
    display: block;
    font-size: 1rem;
    font-weight: 900;
}

.download-choice-list p {
    margin-top: 4px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.download-platform-section .download-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
}

.download-platform-section .download-actions .btn {
    width: 100%;
}

.download-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.download-step-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(18, 49, 74, 0.08);
}

.download-step-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.download-step-card p {
    margin-top: 8px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.download-step-image {
    width: 100%;
    margin-top: 14px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

footer {
    padding: 0 0 32px;
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 26px 30px;
    border-radius: 28px;
    background: rgba(24, 51, 76, 0.92);
    color: rgba(255, 255, 255, 0.88);
}

.footer-shell a {
    color: #fff1d2;
    font-weight: 700;
}

.mobile-cta-bar {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-grid,
    .download-shell {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 660px;
    }

    .feature-grid,
    .showcase-grid,
    .release-media-grid,
    .hero-metrics,
    .download-steps,
    .changelog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .download-proof {
        width: min(100%, 420px);
        justify-self: center;
    }
}

@media (max-width: 820px) {
    section {
        padding: 30px 0 72px;
    }

    .nav-shell {
        border-radius: 30px;
        padding: 14px;
        align-items: flex-start;
        position: relative;
        gap: 12px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: var(--shadow-md);
        z-index: 2;
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-panel a {
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(242, 247, 252, 0.9);
    }

    .brand-mark {
        max-width: calc(100% - 64px);
    }

    .hero-copy h1 {
        font-size: clamp(2.05rem, 7.4vw, 2.85rem);
    }

    .hero-visual {
        min-height: 560px;
    }

    .hero-card-main {
        top: 46px;
        right: 24px;
        width: min(100% - 74px, 300px);
    }

    .hero-card-float {
        width: 210px;
    }

    .feature-grid,
    .showcase-grid,
    .release-media-grid,
    .hero-metrics,
    .download-steps,
    .download-choice-list,
    .changelog-grid {
        grid-template-columns: 1fr;
    }

    .hero-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .showcase-shell,
    .download-shell {
        padding: 22px 18px;
        border-radius: 30px;
    }

    .download-platform-section {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        border-radius: 28px;
    }

    .download-platform-visual img {
        max-height: 360px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 20px));
    }

    #main-header {
        padding: 12px 0;
    }

    .nav-shell {
        border-radius: 24px;
    }

    .brand-mark {
        gap: 10px;
        max-width: calc(100% - 60px);
    }

    .brand-mark span {
        min-width: 0;
    }

    .brand-mark img {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .brand-mark strong {
        font-size: 0.92rem;
        line-height: 1.2;
    }

    .brand-mark small {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .download-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .backup-option {
        align-items: flex-start;
    }

    .hero-visual {
        min-height: 450px;
    }

    .hero-card-main {
        top: 30px;
        right: 14px;
        width: min(100% - 42px, 250px);
        transform: rotate(-5deg);
    }

    .release-phone-frame {
        width: min(100% - 20px, 260px);
        padding: 8px;
        border-radius: 30px;
    }

    .release-phone-frame img,
    .release-phone-frame video {
        border-radius: 22px;
    }

    .download-platform-title {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .download-platform-title > span {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 1.35rem;
    }

    .hero-card-float {
        width: 156px;
        border-radius: 22px;
    }

    .floating-badge {
        left: 6px;
        top: 0;
        right: 46px;
        padding: 12px 14px;
    }

    .floating-badge img {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .footer-shell {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .mobile-cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: block;
        z-index: 1100;
        padding: 0 10px calc(10px + env(safe-area-inset-bottom));
        pointer-events: none;
    }

    .mobile-cta-bar__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
        border-radius: 24px;
        background: rgba(255, 250, 244, 0.92);
        box-shadow: 0 -10px 28px rgba(24, 51, 76, 0.12);
        backdrop-filter: blur(16px);
        pointer-events: auto;
    }

    body {
        padding-bottom: 102px;
    }
}

@media (max-width: 560px) {
    .hero-copy h1 {
        font-size: clamp(1.9rem, 8.8vw, 2.35rem);
    }

    .hero-description,
    .section-heading p:last-child,
    .download-copy p {
        font-size: 0.98rem;
    }

    .hero-info-card,
    .download-step-card {
        padding: 16px;
        border-radius: 18px;
    }

    .hero-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 14px;
        justify-items: center;
    }

    .hero-card,
    .floating-badge {
        position: static;
        transform: none;
    }

    .hero-card-main {
        width: min(100%, 320px);
        aspect-ratio: var(--phone-shot-ratio);
    }

    .hero-card-float {
        width: min(52vw, 176px);
        margin-right: 6px;
        justify-self: end;
        border-width: 6px;
        border-radius: 20px;
    }

    .floating-badge {
        order: -1;
        width: min(100%, 320px);
        padding: 12px 14px;
        border-radius: 20px;
    }

    .showcase-shell,
    .download-shell {
        padding: 16px 14px;
        border-radius: 24px;
    }

    .feature-panel {
        padding: 22px;
        border-radius: 26px;
    }

    .shot-card,
    .download-proof img {
        border-radius: 24px;
    }

    .mobile-cta-bar__inner {
        border-radius: 20px;
    }
}
