/* ============================================================
   SunnyFish New · Design System (StashMap-inspired, light theme)
   ============================================================ */

:root {
    --paper: #f1f4ef;
    --surface: #ffffff;
    --surface-2: #e9eee7;
    --text: #102016;
    --text-2: #526057;
    --text-3: #7b867e;
    --line: rgba(16, 32, 22, 0.1);
    --accent: #36e56b;
    --accent-soft: rgba(54, 229, 107, 0.14);
    --on-accent: #06120e;
    --link: #176934;
    --amber: #f59e0b;
    --r-lg: 16px;
    --r-md: 12px;
    --r-pill: 999px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --shadow: 0 10px 30px rgba(16, 32, 22, 0.06);
    --shadow-lg: 0 24px 60px rgba(16, 32, 22, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.grn {
    color: var(--link);
}

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-3);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn.primary {
    background: var(--accent);
    color: var(--on-accent);
    border-color: transparent;
}

.btn.primary:hover {
    box-shadow: 0 12px 28px rgba(54, 229, 107, 0.35);
}

.btn.large {
    padding: 14px 26px;
    font-size: 15px;
}

.btn .ico {
    width: 18px;
    height: 18px;
}

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(241, 244, 239, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.brand-name {
    font-size: 18px;
}

.brand-sunny {
    color: #b45309;
}

.brand-name small {
    font-weight: 600;
    color: var(--text-3);
    font-size: 13px;
}

.nav-links {
    display: none;
    gap: 26px;
    align-items: center;
    font-size: 14px;
    color: var(--text-2);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nav-cta {
    padding: 9px 16px;
    font-size: 13px;
}

.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
}

@media (min-width: 900px) {
    .nav-links {
        display: inline-flex;
    }

    .menu-btn {
        display: none;
    }
}

/* ---------- Language switcher ---------- */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--text-3);
}

.lang-btn svg {
    width: 15px;
    height: 15px;
    opacity: 0.75;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 164px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 120;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lang-option:hover {
    background: var(--surface-2);
}

.lang-option.active {
    background: var(--accent-soft);
    color: var(--link);
}

.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-name {
    flex: 1;
}

/* ---------- Hero ---------- */
.hero {
    padding: 56px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../4cf4fb2683b9766019a3.webp);
    background-size: cover;
    background-position: center;
    filter: blur(10px) saturate(1.05);
    transform: scale(1.06);
    animation: heroBgShift 26s ease-in-out infinite alternate;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(241, 244, 239, 0.42) 0%, rgba(241, 244, 239, 0.7) 100%);
    pointer-events: none;
}

@keyframes heroBgShift {
    0% {
        transform: scale(1.06) translateX(0);
    }
    100% {
        transform: scale(1.1) translateX(-1.2%);
    }
}

.hero .grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin: 16px 0 0;
    font-size: 44px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero .lead {
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 520px;
}

.hero .lead b {
    color: var(--text);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: var(--text-2);
    font-size: 13px;
}

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

.hero-meta .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--link);
}

.hero-cta-link .cta-arrow {
    transition: transform 0.2s ease;
}

.hero-cta-link:hover .cta-arrow {
    transform: translateX(3px);
}

/* Hero right · phone stage with 3D iPhone mockups */
.phone-stage {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    perspective: 1400px;
    padding-bottom: 26px;
}

.phone {
    position: relative;
    width: 250px;
    border-radius: 44px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(16, 32, 22, 0.1);
    box-shadow: 0 34px 70px rgba(16, 32, 22, 0.18);
    z-index: 4;
    will-change: transform;
}

.phone::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 22px;
    border-radius: 999px;
    background: #0b1116;
    z-index: 2;
}

.phone::after {
    content: "";
    position: absolute;
    right: -3px;
    top: 130px;
    width: 3px;
    height: 46px;
    border-radius: 3px;
    background: #d8dce0;
}

.phone .screen {
    border-radius: 36px;
    overflow: hidden;
    background: #e9eee7;
    aspect-ratio: 1260 / 2844;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone .screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.phone-left {
    transform: rotateY(16deg) rotate(-6deg);
    z-index: 5;
}

.phone-right {
    transform: rotateY(-14deg) rotate(5deg);
    margin-left: -16px;
    z-index: 4;
}

/* Glow orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(6px);
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: -40px;
    right: -60px;
    background: radial-gradient(circle, rgba(54, 229, 107, 0.2), transparent 65%);
    animation: orbPulse 12s ease-in-out infinite;
}

.orb-2 {
    width: 240px;
    height: 240px;
    bottom: 10px;
    left: -80px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.14), transparent 65%);
    animation: orbPulse 15s ease-in-out infinite reverse;
}

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

/* ---------- Sections (common) ---------- */
section {
    padding: 72px 0;
}

section h2 {
    margin: 14px 0 0;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-lead {
    margin: 14px 0 0;
    font-size: 15px;
    color: var(--text-2);
    max-width: 600px;
    line-height: 1.7;
}

.center {
    text-align: center;
}

.center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feat::before {
    content: "";
    position: absolute;
    top: -46px;
    right: -46px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--feat-glow, rgba(54, 229, 107, 0.16)), transparent 70%);
    pointer-events: none;
}

.feat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(54, 229, 107, 0.45);
}

.feat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.feat-ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--feat-c1, #34d399), var(--feat-c2, #0ea5e9));
    box-shadow: 0 8px 20px rgba(16, 32, 22, 0.15);
}

.feat-ico svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.feat:nth-child(1) {
    --feat-c1: #34d399;
    --feat-c2: #0ea5e9;
    --feat-glow: rgba(14, 165, 233, 0.18);
}

.feat:nth-child(2) {
    --feat-c1: #22d3ee;
    --feat-c2: #6366f1;
    --feat-glow: rgba(99, 102, 241, 0.18);
}

.feat:nth-child(3) {
    --feat-c1: #a3e635;
    --feat-c2: #16a34a;
    --feat-glow: rgba(34, 197, 94, 0.18);
}

.feat:nth-child(4) {
    --feat-c1: #fbbf24;
    --feat-c2: #f97316;
    --feat-glow: rgba(249, 115, 22, 0.18);
}

.feat:nth-child(5) {
    --feat-c1: #38bdf8;
    --feat-c2: #2563eb;
    --feat-glow: rgba(37, 99, 235, 0.18);
}

.feat:nth-child(6) {
    --feat-c1: #818cf8;
    --feat-c2: #d946ef;
    --feat-glow: rgba(217, 70, 239, 0.18);
}

.feat h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.feat p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-2);
}

/* ---------- Screenshots ---------- */
.screenshots {
    background: var(--paper);
}

.screenshots-scroller {
    position: relative;
    margin-top: 32px;
}

.screenshots-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 12px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.screenshot-item {
    flex: 0 0 200px;
    scroll-snap-align: center;
    margin: 0;
    position: relative;
    border-radius: 34px;
    padding: 8px;
    background: #0b1116;
    box-shadow: 0 26px 50px rgba(16, 32, 22, 0.16);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 27px;
    background: var(--paper);
}

.screenshots-track img {
    cursor: zoom-in;
}

.screenshots-track::-webkit-scrollbar {
    height: 6px;
}

.screenshots-track::-webkit-scrollbar-track {
    background: var(--surface-2);
    border-radius: 999px;
}

.screenshots-track::-webkit-scrollbar-thumb {
    background: rgba(16, 32, 22, 0.25);
    border-radius: 999px;
}

.screenshots-nav {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .screenshots-nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: var(--r-pill);
        border: 1px solid var(--line);
        background: var(--surface);
        color: var(--text);
        cursor: pointer;
        position: absolute;
        top: 42%;
        transform: translateY(-50%);
        z-index: 5;
        box-shadow: var(--shadow);
    }

    .screenshots-nav:hover {
        border-color: var(--text-3);
    }

    .screenshots-nav:disabled {
        opacity: 0.35;
        cursor: default;
    }

    .screenshots-nav svg {
        width: 18px;
        height: 18px;
    }

    .screenshots-nav-prev {
        left: -18px;
    }

    .screenshots-nav-next {
        right: -18px;
    }
}

/* ---------- Downloads ---------- */
.dl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.dl-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plat-ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plat-ico svg {
    width: 22px;
    height: 22px;
}

.plat-name {
    font-size: 16px;
    font-weight: 700;
}

.status-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--link);
    font-size: 11px;
    font-weight: 700;
    vertical-align: 2px;
}

.plat-req {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text-3);
    margin-top: 2px;
}

.dl-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
}

.badge-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--on-accent);
    width: 100%;
    font-weight: 700;
    margin-top: auto;
    box-shadow: 0 12px 26px rgba(54, 229, 107, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.badge-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(54, 229, 107, 0.42);
}

.badge-img .ico {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.badge-img .lbl {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-img .big {
    font-size: 16px;
    font-weight: 700;
}

.dl-note {
    font-size: 12px;
    color: var(--text-3);
}

.cn-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cn-store {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.2s ease, transform 0.18s ease;
}

.cn-store:hover {
    border-color: var(--text-3);
    transform: translateY(-1px);
}

.cn-store .cn-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

/* ---------- Knowledge page ---------- */
.k-hero {
    padding: 52px 0 12px;
}

.k-hero h1 {
    margin: 14px 0 0;
    font-size: 40px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.k-hero .lead {
    margin: 14px 0 0;
    max-width: 560px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}

.k-section {
    padding: 28px 0 80px;
}

.k-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.k-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.k-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.k-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.k-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.k-card:hover .k-img img {
    transform: scale(1.05);
}

.k-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--link);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.k-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.k-body h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.k-body p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-2);
    flex: 1;
}

.k-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--link);
}

.k-more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.k-card:hover .k-more svg {
    transform: translateX(3px);
}

.k-note {
    margin-top: 26px;
    font-size: 12px;
    color: var(--text-3);
}

@media (max-width: 900px) {
    .k-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .k-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .k-hero h1 {
        font-size: 30px;
    }
}

/* ---------- Footer ---------- */
.footer {
    padding: 40px 0;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.footer .copy {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-3);
}

.footer .beian {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-3);
}

.footer .beian:hover {
    color: var(--link);
}

.footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 14px;
    color: var(--text-2);
}

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

.footer .footer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-3);
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 32, 22, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 200;
}

.modal-overlay[hidden] {
    display: none;
}

.modal {
    width: min(640px, 100%);
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: min(760px, calc(100dvh - 48px));
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--line);
}

.modal-title {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
}

.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--surface);
}

.modal-body {
    padding: 14px 18px 18px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
    overflow: auto;
}

.modal-body p {
    margin: 0 0 10px;
}

.modal-lead {
    color: var(--text);
}

.modal-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.modal-section-title {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 700;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 0;
}

.modal-list li {
    position: relative;
    padding-left: 16px;
}

.modal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    transform: translateY(-50%);
}

.modal-k {
    color: var(--text);
    font-weight: 600;
}

.modal-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--text-2);
}

.modal-note-title {
    color: var(--text);
    font-weight: 700;
}

.modal-link {
    color: var(--link);
}

.modal-link:hover {
    text-decoration: underline;
}

.modal-preview-image {
    max-width: min(96vw, 1200px);
    max-height: calc(100dvh - 48px);
    width: auto;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: contain;
}

.overlay-preview {
    padding: 24px;
}

.modal-preview {
    width: auto;
    max-height: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.overlay-preview .modal-header {
    position: fixed;
    top: 18px;
    right: 18px;
    padding: 0;
    border: 0;
}

.overlay-preview .modal-title {
    display: none;
}

.overlay-preview .modal-body {
    padding: 0;
    overflow: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero .grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 64px;
    }

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

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

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

@media (max-width: 640px) {
    section {
        padding: 52px 0;
    }

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

    .hero h1 {
        font-size: 32px;
    }

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

    .phone-stage {
        min-height: 400px;
        padding-bottom: 20px;
    }

    .phone {
        width: 190px;
    }

    .phone-right {
        margin-left: -10px;
    }

    .nav .brand-name small {
        display: none;
    }

    .nav-cta span.cta-text {
        display: none;
    }
}

