:root {
  color-scheme: light;
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface2: #EEF2F9;
  --band: #EDF1F8;
  --ink: #0E1526;
  --ink2: #586074;
  --line: rgba(14,21,38,.08);
  --brand: #163BB7;
  --brand-ink: #0F2A85;
  --brand-soft: #E9EFFF;
  --accent: #D9862B;
  --accent-soft: #FBF1E1;
  --accent-ink: #9A5D19;
  --hero-from: #1B3FBE;
  --hero-to: #0E246E;
  --header: rgba(244,246,250,.72);
  --glow: rgba(22,59,183,.14);
  --card-shadow: 0 20px 50px -30px rgba(16,34,110,.35);
  --badge-bg: #0E1526;
  --badge-ink: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080C18;
  --surface: #111A2E;
  --surface2: #18223A;
  --band: #0C1322;
  --ink: #EEF2FB;
  --ink2: #9AA6BE;
  --line: rgba(255,255,255,.10);
  --brand: #5E86FF;
  --brand-ink: #9DB6FF;
  --brand-soft: #16224A;
  --accent: #E9A64E;
  --accent-soft: #2A2213;
  --accent-ink: #E9A64E;
  --hero-from: #16224A;
  --hero-to: #070B16;
  --header: rgba(8,12,24,.72);
  --glow: rgba(94,134,255,.18);
  --card-shadow: 0 22px 55px -30px rgba(0,0,0,.6);
  --badge-bg: #ffffff;
  --badge-ink: #0E1526;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); transition: background .3s ease, color .3s ease; }
::selection { background: var(--brand); color: #fff; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { margin: 0; }

.site-header { position: sticky; top: 0; z-index: 60; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: var(--header); border-bottom: 1px solid var(--line); }
.site-header-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 13px 0; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 6px 16px -6px rgba(16,34,110,.5); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: clamp(14px,3vw,28px); }
.desktop-nav { display: flex; align-items: center; gap: 26px; }
.desktop-nav a { color: var(--ink2); font-weight: 600; font-size: 15px; transition: color .2s; }
.desktop-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle, .theme-toggle { border: 1px solid var(--line); background: var(--surface2); color: var(--ink); cursor: pointer; font-family: inherit; }
.lang-toggle { height: 38px; min-width: 44px; padding: 0 12px; border-radius: 11px; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.theme-toggle { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.header-cta { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 11px; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 8px 22px -10px rgba(22,59,183,.7); transition: filter .2s; }
.header-cta:hover { filter: brightness(1.07); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: -160px; right: -120px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 68%); pointer-events: none; }
.hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(40px,7vw,88px) 0 clamp(48px,7vw,90px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px,5vw,56px); }
.hero-copy { flex: 1 1 380px; min-width: 290px; }
.rating-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px; box-shadow: 0 8px 24px -14px rgba(16,34,110,.35); }
.stars { color: #F5A623; font-size: 13px; letter-spacing: 1px; }
.rating-pill span:last-child { font-size: 13.5px; font-weight: 600; }
.hero h1 { margin: 20px 0 0; font-size: clamp(34px,5.6vw,58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.hero-text { margin: 20px 0 0; font-size: clamp(16px,1.5vw,19px); line-height: 1.6; color: var(--ink2); max-width: 480px; text-wrap: pretty; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.app-store-badge { display: inline-flex; align-items: center; gap: 11px; background: var(--badge-bg); color: var(--badge-ink); padding: 13px 22px; border-radius: 15px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.55); transition: transform .2s, background .3s, color .3s; }
.app-store-badge:hover { transform: translateY(-2px); }
.app-store-badge svg { flex: 0 0 auto; }
.app-store-badge span { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.app-store-badge small { font-size: 10.5px; opacity: .82; letter-spacing: .02em; }
.app-store-badge strong { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.qr-block { display: flex; align-items: center; gap: 12px; }
.qr-block img { display: block; border-radius: 13px; background: #fff; padding: 5px; box-shadow: 0 8px 22px -12px rgba(16,34,110,.4); border: 1px solid var(--line); }
.qr-block span { font-size: 13.5px; color: var(--ink2); max-width: 118px; line-height: 1.4; }
.hero-trust { margin: 26px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink2); letter-spacing: .01em; }

.hero-visual { flex: 1 1 340px; min-width: 270px; position: relative; display: flex; justify-content: center; }
.phone-float { position: relative; width: min(300px,78vw); animation: floaty 7s ease-in-out infinite; }
.phone-shell { padding: 9px; background: linear-gradient(160deg,#23272f,#0a0b0e); border-radius: 50px; box-shadow: 0 40px 80px -30px rgba(16,34,110,.5), 0 0 0 1px rgba(255,255,255,.05) inset; }
.phone-shell-inner { border-radius: 41px; overflow: hidden; background: #000; }
.phone-shell-inner img { display: block; width: 100%; height: auto; }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px; box-shadow: 0 18px 44px -16px rgba(16,34,110,.4); display: flex; align-items: center; gap: 11px; }
.float-card-a { top: 76px; left: -38px; animation: floaty2 6s ease-in-out infinite; }
.float-card-b { bottom: 70px; right: -34px; animation: floaty 6.6s ease-in-out infinite; }
.float-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.float-icon-accent { background: var(--accent-soft); color: var(--accent-ink); }
.float-copy { display: flex; flex-direction: column; line-height: 1.15; }
.float-copy small { font-size: 11px; color: var(--ink2); font-weight: 600; }
.float-copy strong { font-size: 15px; font-weight: 800; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floaty2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(11px); } }
@media (prefers-reduced-motion: reduce) {
  .phone-float, .float-card-a, .float-card-b { animation: none; }
}

.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.section-head { max-width: 620px; }
.section-head h2 { margin: 12px 0 0; font-size: clamp(27px,3.6vw,40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.section-head p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink2); }

.features { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(40px,6vw,80px) 0; }
.feature-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(auto-fit,minmax(238px,1fr)); gap: 18px; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--card-shadow); }
.feature-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon-accent { background: var(--accent-soft); color: var(--accent-ink); }
.feature-card h3 { margin: 0 0 7px; font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.feature-card p { margin: 0; color: var(--ink2); font-size: 15px; line-height: 1.55; }

.story { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(44px,6vw,84px) 0; }
.story-head { max-width: 640px; }
.story-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(auto-fit,minmax(208px,1fr)); column-gap: clamp(22px,3vw,36px); row-gap: clamp(40px,7vw,64px); }
.story-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.story-phone { width: 100%; max-width: 236px; padding: 8px; background: linear-gradient(160deg,#23272f,#0a0b0e); border-radius: 42px; box-shadow: 0 30px 60px -28px rgba(16,34,110,.45), 0 0 0 1px rgba(255,255,255,.05) inset; }
.story-phone-inner { border-radius: 35px; overflow: hidden; background: #000; aspect-ratio: 1206 / 2622; }
.story-phone-inner img { display: block; width: 100%; height: auto; }
.story-caption { text-align: center; max-width: 230px; }
.story-caption strong { display: block; font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; }
.story-caption span { display: block; color: var(--ink2); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }

.trust { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(48px,7vw,96px) 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px,5vw,60px); }
.trust-photo { flex: 1 1 300px; min-width: 270px; position: relative; }
.trust-photo-frame { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(150deg, var(--brand-soft), var(--accent-soft)); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.trust-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-content { flex: 1 1 380px; min-width: 290px; }
.trust-content .kicker { color: var(--accent-ink); }
.trust-content h2 { margin: 12px 0 0; font-size: clamp(26px,3.4vw,38px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.body-text { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink2); max-width: 480px; text-wrap: pretty; }
.quote { margin: 28px 0 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 16px; box-shadow: var(--card-shadow); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 500; letter-spacing: -.01em; }
.quote figcaption { margin-top: 14px; display: flex; align-items: center; gap: 11px; }
.quote-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.quote-meta { display: flex; flex-direction: column; line-height: 1.25; }
.quote-meta strong { font-weight: 700; font-size: 14.5px; }
.quote-meta span { color: var(--ink2); font-size: 13px; }

.cta-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 clamp(44px,6vw,80px); }
.cta-card { position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(150deg, var(--hero-from), var(--hero-to)); box-shadow: 0 40px 90px -40px rgba(16,34,110,.6); }
.cta-glow { position: absolute; top: -100px; right: -60px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.cta-inner { position: relative; padding: clamp(36px,5vw,64px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px,4vw,48px); }
.cta-copy { flex: 1 1 340px; min-width: 280px; }
.cta-copy .stars { font-size: 14px; }
.cta-copy h2 { margin: 12px 0 0; font-size: clamp(28px,3.8vw,44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: #fff; text-wrap: balance; }
.cta-copy p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.82); max-width: 440px; }
.cta-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-actions .app-store-badge { background: #fff; color: #0E1526; box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.cta-actions .app-store-badge small { opacity: .7; }
.cta-note { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.72); }
.cta-qr { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-qr img { display: block; border-radius: 18px; background: #fff; padding: 9px; box-shadow: 0 20px 50px -18px rgba(0,0,0,.5); }
.cta-qr span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); }

footer { border-top: 1px solid var(--line); }
.footer-top { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: clamp(30px,4vw,44px) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer-brand-block { flex: 1 1 260px; min-width: 220px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-tagline { margin: 12px 0 0; font-size: 13.5px; color: var(--ink2); line-height: 1.5; white-space: nowrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-nav a { color: var(--ink2); font-weight: 600; font-size: 14.5px; transition: color .2s; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0; font-size: 13px; color: var(--ink2); }

@media (max-width: 780px) {
  .desktop-nav { display: none; }
  .qr-block, .cta-qr { display: none; }
  .menu-toggle { display: grid; width: 38px; height: 38px; place-content: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface2); color: var(--ink); cursor: pointer; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-bars { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .mobile-menu { position: fixed; top: 64px; left: 0; right: 0; z-index: 55; max-height: calc(100vh - 64px); display: flex; flex-direction: column; visibility: hidden; opacity: 0; background: var(--header); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(0,0,0,.4); overflow-y: auto; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
  .mobile-menu[aria-hidden="false"] { visibility: visible; opacity: 1; transform: translateY(0); }
  .mobile-menu-nav { display: flex; flex-direction: column; width: min(100% - 40px, 560px); margin: 0 auto; }
  .mobile-menu-nav a { padding: 18px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 21px; font-weight: 650; }
  .mobile-menu-cta { display: flex; align-items: center; justify-content: center; width: min(100% - 40px, 560px); margin: 24px auto 32px; height: 54px; border-radius: 16px; background: var(--brand); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 16px 36px -14px rgba(22,59,183,.7); }
  .hero-inner { text-align: center; justify-content: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-actions, .rating-pill { justify-content: center; }
  .float-card { display: none; }
  .hero-visual { min-height: 420px; }
  .trust { text-align: center; }
  .trust-content { display: flex; flex-direction: column; align-items: center; }
  .body-text { margin-left: auto; margin-right: auto; }
  .quote { text-align: left; }
}
@media (max-width: 520px) {
  .site-header-inner { padding: 11px 0; }
  .mobile-menu { top: 60px; max-height: calc(100vh - 60px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-inner { text-align: center; justify-content: center; }
  .cta-copy { display: flex; flex-direction: column; align-items: center; }
  .cta-copy p { margin-left: auto; margin-right: auto; }
  .cta-actions { flex-direction: column; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-brand-block { flex: none; min-width: 0; }
  .footer-tagline { white-space: normal; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .header-actions { gap: 4px; }
  .lang-toggle { min-width: 36px; padding: 0 6px; }
  .header-cta { padding: 0 8px; font-size: 12.5px; }
}

.legal-main { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: clamp(48px,7vw,88px) 0 96px; }
.legal-main h1 { margin: 0 0 28px; font-size: clamp(38px,6vw,60px); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; }
.legal-content h2 { margin: 34px 0 8px; font-size: 21px; letter-spacing: -.02em; font-weight: 700; }
.legal-content p { margin: 0 0 4px; color: var(--ink2); font-size: 16px; line-height: 1.7; }
.legal-content p a { color: var(--brand); }
.legal-content .note { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 40px; color: var(--brand); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
