:root {
    color-scheme: dark;
    --bg: #080b18;
    --bg-soft: #0c1120;
    --surface: #121a2d;
    --text: #f8f9ff;
    --muted: #a7aec2;
    --muted-strong: #c7cbda;
    --primary: #817cff;
    --primary-strong: #6e58ff;
    --primary-soft: rgba(129, 124, 255, .12);
    --cyan: #66d7f3;
    --green: #7dde89;
    --border: rgba(255, 255, 255, .12);
    --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body {
    margin: 0;
    background:
        radial-gradient(ellipse at 10% 0, rgba(104, 79, 255, .16), transparent 36rem),
        radial-gradient(ellipse at 94% 12%, rgba(70, 193, 255, .08), transparent 34rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 5px;
    border-radius: 5px;
}
::selection { background: #514398; color: #fff; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
section { padding-block: 88px; }
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--bg);
    background: var(--text);
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 11, 24, .94);
    backdrop-filter: blur(18px);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 43px; height: auto; }
.brand span { font-size: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted-strong); font-size: .9rem; }
.nav-section { display: inline-flex; align-items: center; min-height: 44px; }
.nav-section:hover, .footer-links a:hover { color: var(--text); }
.language-switch { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); }
.language-switch > svg { margin-right: 6px; }
.language-switch a { position: relative; display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.language-switch a[aria-current] { color: var(--text); }
.language-switch a[aria-current]::after { content: ""; position: absolute; height: 2px; bottom: 4px; inset-inline: 12px; background: var(--primary); }
.language-switch a:hover { color: var(--text); }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    text-align: center;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.4;
}
.button-primary { color: #fff; background: linear-gradient(135deg, var(--primary-strong), #5842cf); box-shadow: 0 10px 32px rgba(92, 73, 255, .24); }
.button-primary:hover { box-shadow: 0 12px 36px rgba(92, 73, 255, .38); }
.button-secondary { color: var(--text); border-color: var(--border); background: rgba(255, 255, 255, .025); }
.button-secondary:hover { border-color: var(--primary); background: var(--primary-soft); }
.button-small { min-height: 46px; padding: 10px 18px; font-size: .9rem; }
.hero { overflow: hidden; padding-block: 80px 68px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 58px; }
.hero-context { color: var(--muted-strong); font-size: .92rem; margin-bottom: 24px; }
h1 { font-size: clamp(3.25rem, 5.8vw, 5.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.065em; }
.gradient-text { display: block; color: #aaa6ff; background: linear-gradient(125deg, #aaa6ff, #9b8aff 48%, #6cd7f0); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 550px; margin-top: 26px; color: var(--muted-strong); font-size: 1.12rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 17px; color: var(--muted); font-size: .9rem; }
.hero-preview { min-width: 0; margin: 0; }
.phone-stage { position: relative; width: 100%; max-width: 520px; height: 595px; margin-inline: auto; }
.phone-stage::before {
    content: "";
    position: absolute;
    inset: 12% -8% 6%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(112, 82, 255, .2), transparent 66%);
    pointer-events: none;
}
.phone { position: absolute; overflow: hidden; border: 5px solid #242b40; border-radius: 31px; background: #0b0f19; box-shadow: 0 24px 60px rgba(0, 0, 0, .42); }
.phone img { width: 100%; }
.phone-main { z-index: 2; width: 258px; top: 5px; left: 4%; transform: rotate(-4deg); }
.phone-back { z-index: 1; width: 238px; top: 55px; right: 0; transform: rotate(7deg); }
.hero-preview figcaption { color: var(--muted-strong); text-align: center; font-size: .9rem; margin-top: 6px; }
.section-intro { max-width: 730px; margin-bottom: 44px; }
h2 { font-size: clamp(2rem, 3.8vw, 3.15rem); line-height: 1.12; font-weight: 750; letter-spacing: -.045em; }
.section-intro > p { max-width: 660px; margin-top: 20px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.3; }
.benefits { border-top: 1px solid var(--border); }
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.benefit { padding: 32px 0 36px; border-top: 1px solid var(--border); }
.benefit h3 { max-width: 420px; margin-top: 22px; font-size: 1.65rem; }
.benefit > p { max-width: 470px; margin-top: 16px; color: var(--muted); }
.benefit-icon, .currency-motif, .people-motif { height: 44px; display: flex; align-items: center; }
.benefit-icon { color: #b4afff; }
.benefit-icon-green { color: var(--green); }
.people-motif span { display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--bg); border-radius: 50%; background: #735bce; color: #fff; font-size: .72rem; font-weight: 700; }
.people-motif span + span { margin-left: -8px; }
.people-motif span:nth-child(2) { background: #2e6a7b; }
.people-motif span:nth-child(3) { background: #8a5075; }
.people-motif span:nth-child(4) { background: #4c608d; }
.currency-motif { gap: 14px; color: var(--cyan); }
.currency-motif span { display: grid; place-items: center; padding: 4px 13px; min-height: 36px; border-radius: 9px; background: rgba(102, 215, 243, .08); font-size: .85rem; font-weight: 700; }
.overview-note { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 28px; }

.overview-note h3 { font-size: 1.35rem; }
.overview-note p { color: var(--muted); margin-top: 6px; }
.product-tour { background: var(--bg-soft); border-block: 1px solid var(--border); }
.tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; padding: 0; margin: 0; list-style: none; }
.tour-step { display: flex; flex-direction: column; min-width: 0; }
.tour-copy { padding: 0 0 24px; }
.step-number { display: block; margin-bottom: 10px; color: #b4afff; font-size: .9rem; font-weight: 600; }
.tour-copy p { color: var(--muted); margin-top: 14px; font-size: .94rem; }
.tour-visual { margin-top: auto; display: flex; justify-content: center; padding-top: 8px; }
.screen-detail { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(100%, 196px); }
.screen-detail img { width: 100%; border: 1px solid var(--border); border-radius: 18px; }
.tour-footnote { max-width: 750px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: .94rem; }
.section-intro > .screen-language-note { font-size: .86rem; margin-top: 12px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 100px; }
.faq-intro p { color: var(--muted); margin: 20px 0 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: #b4afff; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--text); }
.faq-list { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { position: relative; padding: 22px 36px 22px 0; font-size: 1.03rem; font-weight: 650; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 8px; top: 22px; content: "+"; color: #b4afff; font-size: 1.3rem; line-height: 1.3; }
details[open] summary::after { content: "−"; }
details > p { color: var(--muted-strong); padding: 0 28px 24px 0; }
details > .text-link { margin-bottom: 16px; }
.cta { padding-top: 0; }
.cta-card { text-align: center; padding: 36px 0 28px; }
.cta-icon { width: 64px; height: auto; margin: 0 auto 24px; }
.cta-card h2 { max-width: 770px; margin-inline: auto; }
.cta-card p { max-width: 580px; margin: 22px auto 28px; color: var(--muted-strong); }
footer { border-top: 1px solid var(--border); padding-block: 34px; color: var(--muted); }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand .brand { color: var(--text); }
.footer-brand .brand img { width: 30px; }
.footer-brand .brand span { font-size: 1rem; }
.footer-brand > p { font-size: .8rem; margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 1400px) {
    .hero { padding-block: 96px 88px; }
}
@media (max-width: 1060px) {
    .hero-grid { gap: 32px; }
    .phone-main { width: 240px; left: 0; }
    .phone-back { width: 216px; }
    .phone-stage { height: 555px; }
    .nav-links { gap: 18px; }


    .faq-grid { gap: 60px; }
}
@media (max-width: 900px) {
    .nav-section { display: none; }
    .hero { padding-top: 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 46px; text-align: center; }
    .hero-copy { max-width: 670px; margin-inline: auto; }
    h1 { font-size: clamp(3.6rem, 8vw, 5.3rem); }
    .hero-description { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .phone-stage { max-width: 440px; height: 595px; }
    .phone-main { width: 258px; left: 0; }
    .phone-back { width: 238px; right: 0; }
    .benefit-grid { column-gap: 36px; }
    .tour-grid { gap: 28px; }


    .tour-copy h3 { font-size: 1.3rem; }


    .faq-grid { grid-template-columns: 1fr; gap: 30px; }
    .faq-intro { max-width: 550px; }
    .faq-intro p { margin-bottom: 8px; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    .nav { min-height: 72px; gap: 12px; }
    .nav-links { gap: 10px; }
    .nav-links .button-small { display: none; }
    .brand { gap: 9px; }
    .brand img { width: 34px; }
    .brand span { font-size: 1.06rem; }
    section { padding-block: 64px; }
    .hero { padding-block: 42px 54px; }
    .hero-context { font-size: .83rem; margin-bottom: 20px; }
    h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
    .hero-description { font-size: 1rem; margin-top: 22px; }
    .hero-actions { flex-direction: column; gap: 10px; margin-top: 26px; }
    .hero-actions .button { width: 100%; }
    .hero-note { font-size: .82rem; }
    .hero-grid { gap: 36px; }
    .phone-stage { max-width: 360px; height: auto; aspect-ratio: 360 / 560; }
    .phone-main { width: 68%; top: 5px; left: 2%; }
    .phone-back { width: 59%; top: 12%; right: 0; }
    .hero-preview figcaption { margin-top: 10px; font-size: .85rem; }
    .section-intro { margin-bottom: 30px; }
    .section-intro > p { font-size: 1rem; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit { padding-block: 28px 32px; }
    .benefit h3 { font-size: 1.5rem; margin-top: 18px; }
    .overview-note { padding-top: 24px; }

    .overview-note p { font-size: .92rem; }
    .tour-grid { grid-template-columns: 1fr; gap: 40px; }
    .tour-step { display: flex; flex-direction: column; gap: 24px; padding-top: 28px; border-top: 1px solid var(--border); }
    .tour-copy { padding: 0; }
    .tour-copy h3 { font-size: 1.3rem; }
    .tour-visual { padding: 0; margin-top: 0; }
    .screen-detail { width: min(100%, 300px); }
    .screen-detail img { border-radius: 18px; }
    .tour-footnote { text-align: left; }
    .faq-grid { gap: 24px; }
    .cta-card { padding: 28px 0 20px; }
    .cta-card h2 { font-size: 2rem; }
    .cta-card .button { width: 100%; }
    .footer-content { flex-direction: column; align-items: flex-start; gap: 20px; }
    .footer-links { gap: 8px 20px; }
}
@media (max-width: 380px) {
    .tour-copy p { font-size: .9rem; }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .hero-preview { animation: preview-enter .85s cubic-bezier(.16, 1, .3, 1) both; }
    .button { transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
    .button:hover { transform: translateY(-2px); }
    .button:active { transform: translateY(0); }
    @keyframes preview-enter {
        from { opacity: 0; transform: translateY(22px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
@media (forced-colors: active) {
    .gradient-text { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
    .button-primary, .button-secondary { border: 1px solid ButtonText; }
}

.tour-story.is-animated {
    --tour-screen-width: clamp(230px, calc((100svh - 200px) * 390 / 500), 400px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
}
.tour-story.is-animated .tour-grid { display: block; }
.tour-story.is-animated .tour-step {
    display: flex;
    justify-content: center;
    min-height: clamp(280px, 45svh, 360px);
    padding-block: 36px;
}
.tour-story.is-animated .tour-copy { padding: 0 0 0 26px; border-left: 2px solid var(--border); }
.tour-story.is-animated .tour-copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--muted); }
.tour-story.is-animated .tour-copy p { font-size: 1.05rem; max-width: 430px; }
.tour-story.is-animated .is-active .tour-copy { border-left-color: var(--primary); }
.tour-story.is-animated .is-active h3 { color: var(--text); }
.tour-story.is-animated .tour-visual { display: none; }
.tour-stage {
    position: sticky;
    top: 96px;
    width: var(--tour-screen-width);
    justify-self: center;
    margin-block: 20px;
}
.tour-stage-screens { position: relative; aspect-ratio: 390 / 500; margin-bottom: 22px; }
.tour-stage .tour-frame { position: absolute; inset: 0 auto auto 0; width: 100%; }
.tour-stage .screen-detail img { border-radius: 24px; box-shadow: 0 24px 60px #0004; }
.tour-progress { display: flex; justify-content: center; gap: 8px; }
.tour-progress > span { width: 36px; height: 3px; background: var(--border); overflow: hidden; border-radius: 2px; }
.tour-progress > span > span { display: block; width: 100%; height: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
    .tour-story .tour-copy, .tour-story .tour-copy h3 { transition: border-color .3s ease, color .3s ease; }
}
