:root {
    --accent: #0064d2;
    --accent-soft: rgba(0, 100, 210, 0.1);
    --text: #1d1d1f;
    --muted: #6e6e73;
    --faint: #a1a1a6;
    --surface: #ffffff;
    --surface-alt: #f5f5f7;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 40px 80px -28px rgba(20, 40, 90, 0.32), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shell: 1100px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Noto Sans SC", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: rgba(0, 100, 210, 0.18);
}

a {
    color: inherit;
}

.shell {
    width: min(100%, var(--shell));
    margin: 0 auto;
    padding: 0 24px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.nav-inner {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

.brand img,
.footer-brand img {
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a,
.site-footer a {
    color: #424245;
    text-decoration: none;
    font-size: 14px;
    font-weight: 520;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
    color: var(--accent);
}

.language-switcher {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: #f0f0f3;
}

.language-switcher button {
    border: 0;
    appearance: none;
    border-radius: 999px;
    padding: 5px 11px;
    color: #86868b;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

.language-switcher button[aria-pressed="true"] {
    color: var(--text);
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero {
    position: relative;
    text-align: center;
    padding: 92px 0 0;
    background: radial-gradient(1200px 480px at 50% -8%, #eaf2ff 0%, rgba(234, 242, 255, 0) 60%), #fff;
}

.hero-copy {
    max-width: 860px;
}

.hero-kicker,
.section-heading p,
.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.hero-kicker {
    padding: 6px 14px;
    border-radius: 999px;
    background: #f0f3f8;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 28px;
}

.hero-kicker::before {
    content: "";
    width: 6px;
    height: 12px;
    border-radius: 4px;
    background: var(--accent);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(44px, 7vw, 68px);
    line-height: 1.04;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    max-width: 630px;
    margin: 0 auto 36px;
    color: var(--muted);
    font-size: clamp(18px, 2.1vw, 20px);
    line-height: 1.5;
}

.hero-actions,
.final-cta .store-button {
    display: inline-flex;
}

.hero-actions {
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: 14px;
    background: #1d1d1f;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.store-button.is-disabled {
    cursor: default;
}

.apple-mark {
    display: inline-flex;
    width: 26px;
    height: 26px;
}

.apple-mark svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.store-button small,
.store-button strong {
    display: block;
    text-align: left;
    line-height: 1.1;
}

.store-button small {
    font-size: 11px;
    font-weight: 450;
    opacity: 0.85;
}

.store-button strong {
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -0.01em;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    text-decoration: none;
    font-size: 16px;
    font-weight: 650;
}

.system-requirement {
    margin: 18px 0 0;
    color: var(--faint);
    font-size: 13px;
}

.hero-stage {
    margin-top: 64px;
}

.desktop-scene {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 22px;
    background: linear-gradient(150deg, #c6dcff 0%, #d9d2ff 45%, #ffd9ec 100%);
    box-shadow: var(--shadow);
}

.scene-sheen {
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 300px at 22% 18%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%);
}

.scene-menubar {
    position: absolute;
    inset: 0 0 auto;
    height: 30px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    font-size: 12px;
    font-weight: 520;
}

.scene-menu-left,
.scene-menu-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.scene-menu-left > span:not(.scene-brand) {
    opacity: 0.55;
}

.scene-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 760;
}

.scene-brand span {
    width: 6px;
    height: 12px;
    border-radius: 4px;
    background: var(--accent);
}

.battery {
    width: 16px;
    height: 9px;
    border: 1.5px solid rgba(29, 29, 31, 0.6);
    border-radius: 3px;
}

.background-window {
    position: absolute;
    left: 6%;
    top: 20%;
    width: 46%;
    height: 62%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 40px -16px rgba(30, 40, 80, 0.25);
    animation: floatY 7s ease-in-out infinite;
}

.window-controls {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-controls span:nth-child(1) { background: #ff5f57; }
.window-controls span:nth-child(2) { background: #febc2e; }
.window-controls span:nth-child(3) { background: #28c840; }

.window-lines {
    padding: 16px;
}

.window-lines i {
    display: block;
    height: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.06);
}

.window-lines i:nth-child(1) {
    width: 70%;
    background: rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}
.window-lines i:nth-child(2) { width: 90%; }
.window-lines i:nth-child(3) { width: 82%; }
.window-lines i:nth-child(4) { width: 60%; }

.edge-sliver {
    position: absolute;
    right: 5px;
    top: 50%;
    width: 7px;
    height: 64px;
    border-radius: 6px;
    background: var(--accent);
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.5);
    transform: translateY(-50%);
    animation: sliverPulse 9s ease-in-out infinite;
}

.peek-panel {
    position: absolute;
    top: 30px;
    right: 0;
    bottom: 0;
    width: 58%;
    display: flex;
    border-left: 1px solid rgba(0, 0, 0, 0.07);
    border-top-left-radius: 18px;
    background: rgba(252, 252, 253, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: -24px 0 50px -20px rgba(20, 40, 90, 0.3);
    animation: peekPanel 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    will-change: transform;
}

.panel-sidebar {
    width: 52px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 0 14px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 9px;
    background: #fff;
    color: #111;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    font-size: 12px;
    font-weight: 750;
}

.sidebar-icon.dark {
    background: #000;
    color: #fff;
}

.sidebar-icon.color-dot {
    color: #fff;
    background: linear-gradient(135deg, #36c5f0, #2eb67d 50%, #ecb22e);
}

.sidebar-icon.add {
    margin-top: auto;
    border-color: transparent;
    background: #eef0f3;
    color: #86868b;
    box-shadow: none;
    font-size: 18px;
}

.sidebar-divider {
    width: 22px;
    height: 1px;
    margin: 4px 0;
    background: rgba(0, 0, 0, 0.1);
}

.panel-content {
    min-width: 0;
    flex: 1;
    padding: 18px 20px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    color: var(--text);
    font-size: 14px;
    font-weight: 560;
}

.search-field svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #86868b;
    stroke-width: 2.2;
    stroke-linecap: round;
}

.search-field i {
    width: 1.5px;
    height: 15px;
    border-radius: 1px;
    background: var(--accent);
}

.suggestions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
}

.suggestions p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 9px;
    color: #424245;
    font-size: 13px;
    animation: peekRow 9s ease infinite;
}

.suggestions p:first-child {
    background: rgba(0, 122, 255, 0.08);
    color: var(--text);
    animation-delay: 0.1s;
}
.suggestions p:nth-child(2) { animation-delay: 0.25s; }
.suggestions p:nth-child(3) { animation-delay: 0.4s; }

.suggestions span {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #e3e3e8;
}

.suggestions p:first-child span {
    background: var(--accent);
}

.suggestions b {
    font-weight: 520;
}

.cursor {
    position: absolute;
    top: 50%;
    right: 0;
    width: 22px;
    height: 22px;
    animation: peekCursor 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.cursor svg {
    width: 100%;
    height: 100%;
}

.cursor path {
    fill: #fff;
    stroke: #000;
    stroke-width: 1.2;
    stroke-linejoin: round;
}

.section {
    padding: 96px 0 40px;
}

.section-heading {
    text-align: center;
    margin-bottom: 56px;
}

.section-heading h2,
.privacy-panel h2,
.final-cta h2,
.page-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.step-grid,
.feature-grid,
.privacy-metrics {
    display: grid;
    gap: 24px;
}

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

.step-grid article {
    padding: 32px;
    border-radius: 20px;
    background: var(--surface-alt);
}

.step-grid span {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 760;
}

.step-grid h3,
.feature-grid h3,
.faq-item h2,
.policy-section h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 21px;
    font-weight: 680;
    letter-spacing: -0.01em;
}

.step-grid p,
.feature-grid p,
.page-hero p,
.faq-item p,
.policy-section p,
.policy-section li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.58;
}

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

.feature-grid article {
    min-height: 230px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: var(--accent-soft);
    color: var(--accent);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.privacy-band {
    padding: 64px 0;
}

.privacy-panel {
    position: relative;
    overflow: hidden;
    padding: 72px 48px;
    border-radius: 28px;
    background: #0b0b0f;
    color: #fff;
    text-align: center;
}

.privacy-panel::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.35), rgba(0, 122, 255, 0) 70%);
    transform: translateX(-50%);
}

.privacy-panel > * {
    position: relative;
}

.privacy-panel h2 {
    color: #fff;
    margin-bottom: 16px;
}

.privacy-panel p:not(.section-label) {
    max-width: 640px;
    margin: 0 auto 44px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 18px;
    line-height: 1.55;
}

.privacy-metrics {
    max-width: 760px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.privacy-metrics article {
    padding: 28px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
}

.privacy-metrics strong {
    display: block;
    margin-bottom: 8px;
    color: #5ea2ff;
    font-size: 30px;
    line-height: 1;
}

.privacy-metrics span {
    color: #fff;
    font-size: 16px;
    font-weight: 560;
}

.final-cta {
    padding: 90px 0 96px;
    text-align: center;
}

.language-pills {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.language-pills span {
    padding: 8px 18px;
    border-radius: 999px;
    background: #f0f3f8;
    font-size: 15px;
    font-weight: 650;
}

.final-cta p {
    max-width: 540px;
    margin: 18px auto 36px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.5;
}

.site-footer {
    border-top: 1px solid var(--border);
}

.footer-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.footer-brand span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 520;
}

.site-footer div:last-child {
    display: flex;
    gap: 24px;
}

.page-hero {
    padding: 92px 0 48px;
    background: radial-gradient(900px 360px at 50% -8%, #eaf2ff 0%, rgba(234, 242, 255, 0) 65%), #fff;
    text-align: center;
}

.page-hero p {
    max-width: 680px;
    margin: 18px auto 0;
}

.content-page {
    padding: 28px 0 96px;
}

.content-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
}

.policy-section + .policy-section,
.faq-item + .faq-item {
    margin-top: 28px;
}

.policy-section ul {
    margin: 0;
    padding-left: 20px;
}

.policy-section li + li {
    margin-top: 8px;
}

.last-updated {
    margin-bottom: 28px;
    color: var(--faint);
    font-size: 14px;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    padding: 26px;
    border-radius: 18px;
    background: var(--surface-alt);
}

.faq-item p {
    margin-bottom: 0;
}

.contact-box {
    margin-top: 34px;
    padding: 28px;
    border-radius: 20px;
    background: #0b0b0f;
    color: #fff;
    text-align: center;
}

.contact-box p {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 680;
}

@keyframes peekPanel {
    0%, 6% { transform: translateX(102%); }
    17%, 74% { transform: translateX(0); }
    85%, 100% { transform: translateX(102%); }
}

@keyframes peekCursor {
    0% { transform: translate(-360px, -24px); opacity: 0; }
    6% { opacity: 1; }
    16% { transform: translate(-18px, 6px); opacity: 1; }
    74% { transform: translate(-18px, 6px); opacity: 1; }
    88% { transform: translate(-360px, -24px); opacity: 1; }
    100% { transform: translate(-360px, -24px); opacity: 0; }
}

@keyframes sliverPulse {
    0%, 100% { opacity: 0.5; transform: translateY(-50%) scaleY(0.9); }
    50% { opacity: 1; transform: translateY(-50%) scaleY(1); }
}

@keyframes peekRow {
    0%, 24% { opacity: 0; transform: translateY(6px); }
    32%, 74% { opacity: 1; transform: translateY(0); }
    82%, 100% { opacity: 0; transform: translateY(6px); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 72px;
    }

    .hero-stage {
        margin-top: 44px;
        padding: 0 12px;
    }

    .desktop-scene {
        border-radius: 18px;
    }

    .step-grid,
    .feature-grid,
    .privacy-metrics {
        grid-template-columns: 1fr;
    }

    .feature-grid article {
        min-height: unset;
    }
}

@media (max-width: 620px) {
    .shell {
        padding: 0 18px;
    }

    .nav-inner {
        height: 58px;
    }

    .brand span {
        display: none;
    }

    .hero {
        padding-top: 56px;
    }

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

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

    .store-button {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .text-link {
        width: 100%;
        justify-content: center;
    }

    .desktop-scene {
        aspect-ratio: 10 / 12;
    }

    .background-window {
        left: 8%;
        top: 18%;
        width: 66%;
        height: 38%;
    }

    .peek-panel {
        top: 30px;
        width: 78%;
    }

    .panel-sidebar {
        width: 42px;
    }

    .sidebar-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 10px;
    }

    .panel-content {
        padding: 14px 12px;
    }

    .search-field,
    .suggestions p {
        font-size: 12px;
    }

    .section {
        padding: 72px 0 28px;
    }

    .step-grid article,
    .feature-grid article,
    .privacy-panel,
    .content-card {
        padding: 26px;
    }

    .privacy-band {
        padding: 42px 0;
    }

    .final-cta {
        padding: 68px 0;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-hero {
        padding: 62px 0 36px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
