@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root {
    color-scheme: light;
    --bg: #faf9fd;
    --surface: #fff;
    --surface-soft: #f0edf7;
    --text: #202032;
    --muted: #686777;
    --accent: #7154ce;
    --accent-hover: #5e40b8;
    --accent-soft: #eee8fc;
    --border: #e7e3ee;
    --header: rgb(250 249 253 / 90%);
    --shadow: 0 20px 55px rgb(43 28 79 / 8%);
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg: #11111b;
    --surface: #1b1b29;
    --surface-soft: #242335;
    --text: #f2f0fa;
    --muted: #b0adbf;
    --accent: #b9a0ff;
    --accent-hover: #cfbdff;
    --accent-soft: #302744;
    --border: #333043;
    --header: rgb(17 17 27 / 90%);
    --shadow: 0 20px 55px rgb(0 0 0 / 20%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent-soft); color: var(--text); }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand { font-family: 'Manrope', sans-serif; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.045em; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--surface); border: 2px solid var(--accent); border-radius: 12px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--header); border-bottom: 1px solid var(--border); backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 24px; font-weight: 800; letter-spacing: -.8px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 550; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.theme-switcher, .menu-toggle { border: 1px solid var(--border); background: var(--surface); color: var(--text); width: 42px; height: 42px; border-radius: 50%; display: inline-flex; justify-content: center; align-items: center; }
.theme-switcher:hover, .menu-toggle:hover { background: var(--accent-soft); }
.theme-icon { width: 19px; height: 19px; }
#theme-icon-sun { display: none; }
[data-theme="dark"] #theme-icon-sun { display: block; }
[data-theme="dark"] #theme-icon-moon { display: none; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 13px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid transparent; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgb(113 84 206 / 14%); }
.button-primary:hover { background: var(--accent-hover); }
[data-theme="dark"] .button-primary { color: #171022; }
.button-secondary { border-color: var(--border); background: var(--surface); }
.button-secondary:hover { background: var(--accent-soft); }
.button-small { min-height: 42px; padding: 9px 17px; font-size: 13px; border-radius: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 17px; }
.hero { padding: 76px 0 62px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; position: relative; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 12px; }
.hero-badge { display: inline-flex; gap: 9px; align-items: center; border: 1px solid var(--border); border-radius: 30px; padding: 6px 13px; font-size: 11px; font-weight: 550; color: var(--muted); background: var(--surface); margin-bottom: 25px; }
.status-dot { width: 6px; height: 6px; background: #48a38d; border-radius: 50%; box-shadow: 0 0 0 3px rgb(72 163 141 / 12%); }
.hero h1 { font-size: clamp(46px, 5.9vw, 76px); font-weight: 800; letter-spacing: -.065em; line-height: 1.09; }
.hero h1 span { color: var(--accent); }
.hero-description { max-width: 440px; color: var(--muted); font-size: 16px; line-height: 1.85; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 19px; font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 17px; }
.hero-note span { display: inline-flex; align-items: center; gap: 5px; }
.hero-note svg { width: 14px; height: 14px; color: var(--accent); }
.hero-visual { height: 575px; position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; }
.hero-glow { position: absolute; z-index: -2; inset: 15px -20px; border-radius: 50%; background: radial-gradient(ellipse, #ded4f6 0%, #ede7f9 40%, transparent 70%); }
[data-theme="dark"] .hero-glow { background: radial-gradient(ellipse, #382750, #201c31 45%, transparent 70%); }
.orbit { position: absolute; z-index: -1; border: 1px solid rgb(141 114 192 / 16%); width: 500px; height: 500px; border-radius: 50%; }
.orbit-small { width: 390px; height: 390px; }
.phone { background: #111216; border: 5px solid #282831; border-radius: 29px; padding: 3px; box-shadow: 0 24px 50px rgb(24 17 47 / 23%), 0 0 0 1px #53515c; overflow: hidden; }
.phone img { width: 100%; height: auto; border-radius: 20px; }
.phone-back { position: absolute; width: 210px; left: 13px; top: 47px; transform: rotate(-9deg); }
.phone-front { position: absolute; width: 237px; right: 28px; top: 61px; transform: rotate(7deg); }
.visual-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 12px 17px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 14px; font-size: 12px; }
.visual-label strong { display: block; font-weight: 650; }
.visual-label small { color: var(--muted); font-size: 10px; }
.visual-label svg { color: var(--accent); width: 25px; height: 25px; }
.label-progress { top: 32px; right: 4px; }
.label-routine { bottom: 33px; left: 2px; }
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; gap: 20px; }
.benefit-strip div { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 550; }
.benefit-strip svg { color: var(--accent); width: 18px; height: 18px; }
.section { padding-top: 102px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 35px; }
.section-heading h2, .split-copy h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 750; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; max-width: 320px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { border: 1px solid var(--border); border-radius: 23px; background: var(--surface); overflow: hidden; position: relative; padding: 30px; }
.feature-card h3 { font-size: 22px; letter-spacing: -.035em; margin: 18px 0 12px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.feature-icon { width: 42px; height: 42px; background: var(--accent-soft); color: var(--accent); display: flex; justify-content: center; align-items: center; border-radius: 13px; }
.feature-card .text-link { margin-top: 22px; font-size: 12px; }
.feature-wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; min-height: 355px; padding-bottom: 0; background: linear-gradient(125deg, var(--surface), var(--accent-soft)); }
.feature-wide .feature-copy { padding-bottom: 32px; }
.feature-wide h3 { font-size: 28px; }
.feature-preview { align-self: end; display: block; height: 300px; overflow: hidden; padding: 7px 7px 0; background: #2d2c34; border-radius: 24px 24px 0 0; transform: rotate(5deg) translateY(17px); box-shadow: var(--shadow); }
.feature-preview img { border-radius: 18px 18px 0 0; width: 100%; height: auto; }
.feature-routine { background: #eeeffa; }
[data-theme="dark"] .feature-routine { background: #24243b; }
.routine-tags { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 8px; }
.routine-tags span { padding: 5px 10px; border: 1px solid var(--border); background: var(--surface); border-radius: 7px; font-size: 10px; color: var(--muted); }
.feature-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; color: var(--muted); font-size: 12px; }
.feature-footnote a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 85px; }
.showcase-art { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 28px; height: 470px; overflow: hidden; position: relative; display: flex; justify-content: center; padding-top: 45px; }
.showcase-art::before { content: ''; position: absolute; width: 370px; height: 370px; border: 1px solid var(--border); border-radius: 50%; top: 65px; }
.showcase-art .phone { width: 225px; position: relative; transform: rotate(-5deg); flex-shrink: 0; align-self: flex-start; }
.split-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 22px 0; }
.check-list { list-style: none; padding: 0; margin: 25px 0 29px; }
.check-list li { display: flex; align-items: center; gap: 11px; font-size: 13px; margin: 14px 0; }
.check-list svg { width: 19px; height: 19px; color: var(--accent); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card { border: 1px solid var(--border); background: var(--surface); border-radius: 22px; padding: 30px; }
.info-card h3 { font-size: 21px; margin-bottom: 12px; }
.info-card > p { color: var(--muted); font-size: 13px; }
.requirements { margin: 22px 0 0; }
.requirements div { border-top: 1px solid var(--border); padding: 13px 0; display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 12px; }
.requirements dt { font-weight: 650; }
.requirements dd { color: var(--muted); margin: 0; }
.credits-list { list-style: none; padding: 0; margin: 20px 0 0; }
.credits-list li { padding: 9px 0; font-size: 12px; display: flex; flex-wrap: wrap; gap: 5px 10px; }
.credits-list a { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.credits-list a:hover { text-decoration: underline; }
.credits-list span { color: var(--muted); }
.download-section { margin-top: 90px; padding: 50px; border: 1px solid var(--border); border-radius: 26px; background: var(--accent-soft); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.download-section h2 { font-size: 34px; }
.download-section p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.download-section .button { flex-shrink: 0; }
.site-footer { margin-top: 85px; border-top: 1px solid var(--border); padding: 36px 0 25px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand .brand { font-size: 20px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand > p { margin-top: 8px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.page-heading { padding: 68px 0 38px; max-width: 710px; }
.page-heading h1 { font-size: clamp(38px, 5vw, 58px); }
.page-heading > p:last-child { color: var(--muted); margin-top: 19px; font-size: 15px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filter-button { border: 1px solid var(--border); color: var(--muted); background: var(--surface); border-radius: 30px; padding: 9px 18px; font-size: 12px; min-height: 42px; }
.filter-button[aria-pressed="true"] { color: #fff; background: #7154ce; border-color: #7154ce; }
.filter-button:hover { border-color: var(--accent); }
.gallery-count { font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.screenshots-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.screenshot-item { padding: 20px 20px 16px; margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.screenshot-item a { display: block; border-radius: 13px; overflow: hidden; background: #111216; }
.screenshot-item img { width: 100%; height: auto; transition: transform .25s; }
.screenshot-item a:hover img { transform: scale(1.025); }
.screenshot-caption { margin-top: 17px; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.screenshot-caption span { font-size: 16px; color: var(--accent); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video-card { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); }
.video-card video { display: block; width: 100%; height: 420px; background: #111216; border-radius: 12px; object-fit: contain; }
.video-card h3 { font-size: 19px; margin-top: 20px; }
.video-card p { margin-top: 9px; font-size: 12px; color: var(--muted); }
.video-card a { color: var(--accent); text-decoration: underline; }
.legal-layout { max-width: 850px; }
.legal-document { background: var(--surface); padding: 44px 50px; border: 1px solid var(--border); border-radius: 24px; }
.legal-document p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 20px; }
.legal-document p:last-child { margin-bottom: 0; }
.legal-document h2 { font-size: 22px; line-height: 1.4; margin: 35px 0 15px; letter-spacing: -.025em; }
.legal-document a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.lightbox { border: 1px solid var(--border); padding: 18px; border-radius: 20px; background: var(--surface); color: var(--text); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgb(10 9 20 / 83%); backdrop-filter: blur(7px); }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 12px; }
.lightbox-toolbar h2 { font-size: 15px; letter-spacing: -.01em; }
.lightbox-close { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-soft); color: var(--text); border: 1px solid var(--border); font-size: 25px; line-height: 1; }
.lightbox-image { max-height: calc(100dvh - 140px); max-width: 100%; width: auto; margin-inline: auto; border-radius: 10px; }

@media (min-width: 1400px) {
    .hero { padding-top: 90px; padding-bottom: 80px; }
}
@media (max-width: 1050px) {
    .container { width: calc(100% - 48px); }
    .nav-links { gap: 20px; }
    .header-inner { gap: 20px; }
    .hero { gap: 16px; }
    .hero-visual { height: 510px; }
    .phone-back { width: 180px; left: 5px; top: 48px; }
    .phone-front { width: 205px; right: 12px; top: 63px; }
    .orbit { width: 370px; height: 370px; }
    .orbit-small { width: 280px; height: 280px; }
    .label-progress { right: 0; top: 20px; }
    .label-routine { bottom: 25px; }
    .feature-card { padding: 24px; }
    .feature-wide { padding-bottom: 0; gap: 18px; }
    .showcase { gap: 45px; }
    .screenshots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .header-inner { min-height: 74px; }
    .brand { font-size: 22px; }
    .brand img { width: 38px; height: 38px; }
    .header-actions { gap: 10px; }
    .header-actions > .button { display: none; }
    .menu-toggle { display: inline-flex; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 12px; }
    .js .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; margin: 0; background: var(--surface); padding: 20px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .js .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .js .nav-links a { padding: 12px; font-size: 15px; }
    .hero { grid-template-columns: 1fr; padding: 45px 0 35px; gap: 24px; }
    .hero-copy { text-align: center; }
    .hero h1 { font-size: clamp(46px, 9vw, 68px); }
    .hero-description { margin-inline: auto; max-width: 440px; font-size: 15px; }
    .hero-actions, .hero-note { justify-content: center; }
    .hero-visual { width: min(440px, 100%); height: 510px; margin-inline: auto; }
    .phone-back { left: 35px; }
    .phone-front { right: 30px; }
    .hero-glow { inset: 0; }
    .label-progress { right: 5px; }
    .label-routine { left: 12px; }
    .benefit-strip { grid-template-columns: 1fr 1fr; gap: 22px 12px; padding: 24px 0; }
    .benefit-strip div { font-size: 11px; }
    .section { padding-top: 65px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 26px; }
    .section-heading p:not(.eyebrow) { max-width: 440px; }
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .feature-wide { min-height: 330px; }
    .feature-routine { grid-column: span 2; }
    .feature-grid > .feature-card:last-child { grid-column: span 2; }
    .feature-footnote { flex-wrap: wrap; text-align: center; }
    .showcase { grid-template-columns: 1fr; gap: 35px; }
    .showcase-art { height: 390px; }
    .showcase-art .phone { width: 210px; }
    .details-grid { grid-template-columns: 1fr; }
    .download-section { margin-top: 65px; padding: 32px; flex-direction: column; text-align: center; }
    .download-section h2 { font-size: 29px; }
    .site-footer { margin-top: 60px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .footer-links { gap: 14px 22px; }
    .screenshots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .screenshot-item { padding: 14px; border-radius: 16px; }
    .page-heading { padding-top: 45px; }
    .legal-document { padding: 30px; }
    .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .container { width: calc(100% - 36px); }
    .hero h1 { font-size: 45px; }
    .hero-actions { gap: 9px; }
    .hero-actions .button { padding-inline: 15px; font-size: 12px; }
    .hero-visual { height: 455px; }
    .phone-back { left: 12px; width: 161px; }
    .phone-front { right: 14px; width: 181px; }
    .orbit { width: 290px; height: 290px; }
    .orbit-small { width: 240px; height: 240px; }
    .visual-label { padding: 9px 12px; font-size: 11px; }
    .label-routine { bottom: 13px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid > .feature-card, .feature-grid > .feature-card:last-child { grid-column: 1 / -1; }
    .feature-wide { grid-template-columns: 1fr; }
    .feature-wide .feature-copy { padding-bottom: 0; }
    .feature-preview { width: 200px; justify-self: center; height: 245px; }
    .screenshots-grid { gap: 12px; }
    .screenshot-item { padding: 9px; }
    .screenshot-caption { font-size: 11px; margin-top: 12px; }
    .screenshot-caption span { display: none; }
    .filter-button { padding-inline: 13px; }
    .info-card, .legal-document { padding: 23px; }
    .requirements div { grid-template-columns: 90px 1fr; }
    .footer-bottom { flex-direction: column; gap: 7px; }
    .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; }
    .js .header-inner { flex-wrap: nowrap; }
    html:not(.js) .nav-links { order: 3; width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
