:root {
    --ink: #060611;
    --ink-2: #0d0b28;
    --panel: rgba(255, 255, 255, 0.065);
    --panel-strong: rgba(255, 255, 255, 0.095);
    --line: rgba(255, 255, 255, 0.12);
    --text: #f8f7ff;
    --muted: rgba(248, 247, 255, 0.68);
    --faint: rgba(248, 247, 255, 0.43);
    --blue: #3c8cff;
    --cyan: #33e6ff;
    --violet: #7559ff;
    --pink: #ff4fb7;
    --orange: #ffae54;
    --green: #5ee7a7;
    --shell: 1160px;
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: var(--cyan); }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.75rem, 6.8vw, 5rem); font-weight: 820; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 780; }
h3 { font-size: 1.2rem; font-weight: 720; }

.shell { width: min(calc(100% - 42px), var(--shell)); margin-inline: auto; }
.ambient {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(58rem 38rem at 80% -4%, rgba(100, 66, 255, .34), transparent 64%),
        radial-gradient(48rem 38rem at -4% 20%, rgba(0, 195, 255, .2), transparent 62%),
        radial-gradient(44rem 34rem at 70% 110%, rgba(255, 54, 164, .14), transparent 65%),
        linear-gradient(180deg, var(--ink-2), var(--ink) 55%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 13px clamp(20px, 4vw, 42px);
    background: rgba(6, 6, 17, .74);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 760; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.header-spacer { flex: 1; }
.header-nav { display: flex; gap: 22px; }
.header-nav a { color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 570; }
.header-nav a:hover { color: var(--text); }
.nav-cta, .button-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--blue), var(--violet) 54%, var(--pink));
    box-shadow: 0 14px 34px rgba(72, 76, 255, .28);
}
.nav-cta { padding: 9px 17px; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 720; white-space: nowrap; }

.hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
    padding: clamp(58px, 9vw, 112px) 0 clamp(62px, 9vw, 108px);
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .86rem; font-weight: 650; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(94, 231, 167, .14); }
.gradient-text { background: linear-gradient(100deg, var(--cyan), #b694ff 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin-top: 23px; color: var(--muted); font-size: 1.13rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; gap: 11px; padding: 14px 22px; border-radius: 15px; text-decoration: none; font-weight: 720; transition: transform .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-secondary { color: var(--text); background: var(--panel); border: 1px solid var(--line); }
.button small { display: block; font-size: .67rem; font-weight: 600; opacity: .76; text-transform: uppercase; letter-spacing: .05em; }
.button strong { display: block; font-size: 1rem; }
.availability { margin-top: 17px; color: var(--faint); font-size: .86rem; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 620px; }
.orbit { position: absolute; width: 480px; max-width: 90vw; aspect-ratio: 1; border: 1px solid rgba(68, 226, 255, .18); border-radius: 50%; transform: rotate(-15deg); }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 48px; border: 1px solid rgba(135, 83, 255, .2); border-radius: 50%; }
.orbit::after { inset: 115px; border-color: rgba(255, 79, 183, .15); }
.phone {
    position: relative;
    z-index: 2;
    width: min(326px, 84vw);
    aspect-ratio: 9 / 19.1;
    padding: 9px;
    border-radius: 44px;
    background: linear-gradient(160deg, #3a3d57, #11121f);
    box-shadow: 0 50px 100px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone-screen { height: 100%; overflow: hidden; border-radius: 36px; background: #000; padding: 18px 14px 15px; display: flex; flex-direction: column; }
.phone-status { display: flex; justify-content: space-between; font-size: .66rem; font-weight: 700; padding: 0 7px 15px; }
.phone-title { text-align: center; font-size: .92rem; font-weight: 720; margin-bottom: 19px; }
.language-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; padding: 0 4px 15px; font-size: .76rem; font-weight: 670; }
.language-row span:last-child { text-align: right; }
.swap { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #22232d; color: var(--muted); }
.translation-card { border-radius: 18px; padding: 17px; background: #121216; border: 1px solid rgba(255, 255, 255, .11); margin-bottom: 12px; }
.card-label { display: flex; justify-content: space-between; color: var(--faint); font-size: .67rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; }
.source-copy { font-size: 1rem; margin-top: 12px; }
.result-copy { margin-top: 12px; font-size: 1.24rem; font-weight: 690; }
.card-actions { display: flex; align-items: center; gap: 16px; color: var(--faint); font-size: .86rem; margin-top: 17px; }
.card-actions small { margin-left: auto; }
.ai-card { border-color: rgba(97, 87, 255, .48); background: linear-gradient(145deg, rgba(82, 54, 255, .12), #121216 54%); }
.explain-line { font-size: .72rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.quick-tabs { display: flex; gap: 6px; margin-top: auto; padding-top: 12px; overflow: hidden; }
.quick-tabs span { white-space: nowrap; border-radius: 999px; background: #17171d; padding: 7px 10px; font-size: .64rem; color: var(--muted); }
.quick-tabs span:first-child { color: #fff; background: #292934; }
.composer { display: flex; align-items: center; gap: 8px; margin-top: 10px; border-radius: 999px; background: #111116; padding: 8px 9px 8px 12px; color: var(--faint); font-size: .67rem; }
.composer b { font-size: .92rem; }
.composer i { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #31323a; color: #fff; font-style: normal; }
.floating { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17, 15, 43, .9); box-shadow: 0 18px 40px rgba(0, 0, 0, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.floating b { display: block; font-size: .82rem; }
.floating small { display: block; color: var(--faint); font-size: .7rem; }
.floating-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.float-system { left: 0; top: 29%; }
.float-photo { right: 0; bottom: 14%; }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; gap: 1px; }
.trust-strip div { background: rgba(8, 8, 21, .84); padding: 22px 17px; text-align: center; }
.trust-strip b { display: block; font-size: 1.35rem; }
.trust-strip span { display: block; color: var(--faint); font-size: .79rem; margin-top: 3px; }

.block { padding-block: clamp(66px, 9vw, 108px); }
.section-head { max-width: 47rem; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature, .flow-step, .privacy-card { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.glyph { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; margin-bottom: 20px; background: linear-gradient(135deg, rgba(51, 230, 255, .22), rgba(117, 89, 255, .38)); font-size: 1.35rem; }
.feature:nth-child(2n) .glyph { background: linear-gradient(135deg, rgba(255, 79, 183, .25), rgba(117, 89, 255, .38)); }
.feature h3, .flow-step h3 { margin-bottom: 10px; }
.feature p, .flow-step p, .privacy-card p { color: var(--muted); font-size: .96rem; }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: steps; }
.flow-step { counter-increment: steps; position: relative; padding-top: 72px; }
.flow-step::before { content: counter(steps); position: absolute; top: 23px; left: 25px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #fff; font-size: .82rem; font-weight: 760; background: linear-gradient(135deg, var(--blue), var(--pink)); }

.compare { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .035); }
.compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.compare-row > div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.compare-row > div + div { border-left: 1px solid var(--line); }
.compare-row:last-child > div { border-bottom: 0; }
.compare-head { background: rgba(255, 255, 255, .055); font-weight: 720; }
.compare-row:not(.compare-head) > div:first-child { color: var(--muted); }
.yes { color: var(--green); font-weight: 650; }
.depends { color: var(--orange); font-weight: 650; }

.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-card strong { color: var(--green); }
.privacy-card h3 { margin-bottom: 11px; }

.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 2px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; padding-right: 30px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--cyan); font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 13px; max-width: 48rem; }

.final-cta { text-align: center; padding: clamp(72px, 10vw, 120px) 0; }
.final-cta .icon-large { width: 108px; height: 108px; margin: 0 auto 25px; border-radius: 25px; box-shadow: 0 26px 70px rgba(83, 54, 255, .36); }
.final-cta p { color: var(--muted); margin: 16px auto 28px; max-width: 38rem; }
.final-cta .hero-actions { justify-content: center; margin-top: 0; }

.site-footer { border-top: 1px solid var(--line); color: var(--faint); font-size: .84rem; }
.footer-inner { display: flex; align-items: center; gap: 22px; padding: 25px 0; }
.footer-links { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }

/* Legal and support pages */
.legal { padding-block: clamp(54px, 8vw, 92px); }
.legal-body { max-width: 850px; margin-inline: auto; }
.legal-body h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); margin-bottom: 10px; }
.legal-body .updated { color: var(--faint); margin-bottom: 34px; }
.legal-body > p, .legal-body li { color: var(--muted); }
.legal-body > p { margin: 14px 0; }
.legal-body h2 { font-size: 1.55rem; margin: 42px 0 12px; }
.legal-body h3 { margin: 28px 0 9px; }
.legal-body li { margin: 8px 0; }
.callout { margin: 25px 0; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(51, 230, 255, .25); background: rgba(51, 230, 255, .07); color: var(--muted); }
.callout strong { color: var(--text); }

/* App Store copy workspace */
.metadata-page { padding-block: 48px 90px; }
.metadata-intro { max-width: 920px; margin-bottom: 34px; }
.metadata-intro h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.metadata-intro p { color: var(--muted); margin-top: 14px; }
.metadata-toolbar { position: sticky; top: 64px; z-index: 35; display: flex; flex-wrap: wrap; gap: 10px; padding: 13px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 17px; background: rgba(10, 9, 26, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.copy-button, .tab-button { border: 1px solid var(--line); border-radius: 10px; background: var(--panel-strong); color: var(--text); font: inherit; font-size: .86rem; font-weight: 680; padding: 9px 13px; cursor: pointer; }
.copy-button:hover, .tab-button.active { background: linear-gradient(120deg, rgba(60, 140, 255, .5), rgba(117, 89, 255, .5)); }
.copy-button.copied { border-color: var(--green); color: var(--green); }
.metadata-section { margin-top: 24px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.metadata-section h2 { font-size: 1.55rem; margin-bottom: 7px; }
.section-note { color: var(--faint); font-size: .86rem; margin-bottom: 18px; }
.field { position: relative; padding: 16px; margin-top: 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(0, 0, 0, .2); }
.field-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.field-label { font-size: .79rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.field-limit { margin-left: auto; color: var(--faint); font-size: .75rem; }
.field-copy { border: 0; background: transparent; color: var(--cyan); padding: 2px 0; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 680; }
.copy-value { white-space: pre-wrap; word-break: break-word; color: var(--text); font-size: .94rem; }
.metadata-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.iap-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.iap-table th, .iap-table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.iap-table th { color: var(--muted); }
.iap-table code { color: var(--cyan); word-break: break-all; }
.language-panel[hidden] { display: none; }
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 20px; padding-left: 0; list-style: none; }
.checklist li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 8px; }
.warning { color: var(--orange); }

@media (max-width: 900px) {
    .header-nav { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-lede { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { min-height: 610px; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .flow { grid-template-columns: 1fr; }
    .float-system { left: 5%; }
    .float-photo { right: 5%; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .site-header { padding-inline: 15px; }
    .brand { font-size: .96rem; }
    .hero { padding-top: 48px; }
    .hero-visual { min-height: 570px; }
    .floating { display: none; }
    .feature-grid, .privacy-grid, .metadata-grid { grid-template-columns: 1fr; }
    .trust-strip { grid-template-columns: 1fr 1fr; }
    .compare-row { grid-template-columns: 1fr; }
    .compare-row > div + div { border-left: 0; }
    .compare-row > div { border-bottom: 1px solid var(--line); }
    .compare-head > div:first-child { display: none; }
    .footer-inner { display: block; text-align: center; }
    .footer-links { margin-top: 12px; justify-content: center; }
    .metadata-toolbar { top: 62px; }
    .metadata-section { padding: 18px; }
    .iap-table { display: block; overflow-x: auto; }
    .checklist { grid-template-columns: 1fr; }
}

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