:root {
  --ink: #18191d;
  --muted: #65666c;
  --line: #e9e9eb;
  --paper: #ffffff;
  --wash: #f7f7f7;
  --accent: #ff6238;
  --accent-deep: #e94e27;
  --night: #17191f;
  --night-muted: #c3c6ce;
  --shell: 1160px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, select { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[dir="rtl"] { text-align: right; }
[dir="rtl"] .hero-actions, [dir="rtl"] .footer-inner > div, [dir="rtl"] .text-link { direction: rtl; }
.skip-link { position: fixed; left: 16px; top: -48px; z-index: 100; padding: 10px 14px; color: white; background: var(--ink); border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(24,25,29,.08); }
.legal-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.legal-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-header nav { display: flex; align-items: center; gap: 24px; color: #4c4d53; font-size: 14px; font-weight: 650; }
.legal-header nav a { text-decoration: none; }
.legal-header nav a:hover { color: var(--accent); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 22px; font-weight: 760; letter-spacing: -.05em; }
.brand svg { width: 31px; height: 31px; color: var(--accent); flex: none; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.button) { text-decoration: none; color: #4c4d53; transition: color .2s; }
.site-nav > a:not(.button):hover { color: var(--accent); }
.language-control select { appearance: none; border: 0; background: transparent; color: #4c4d53; cursor: pointer; font-size: 14px; font-weight: 600; padding: 6px 18px 6px 4px; background-image: linear-gradient(45deg, transparent 50%, #71727a 50%), linear-gradient(135deg, #71727a 50%, transparent 50%); background-position: calc(100% - 7px) 52%, calc(100% - 3px) 52%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; padding: 10px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s var(--ease); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; padding: 0 21px; color: white; background: var(--accent); border: 1px solid var(--accent); border-radius: 11px; font-size: 15px; font-weight: 720; text-decoration: none; box-shadow: 0 10px 24px rgba(255,98,56,.18); transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.button svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); background: var(--accent-deep); box-shadow: 0 14px 28px rgba(255,98,56,.25); }
.button-small { min-height: 40px; padding: 0 14px; border-radius: 9px; font-size: 13px; box-shadow: none; }

.hero { min-height: min(770px, calc(100vh - 76px)); display: grid; grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr); align-items: center; gap: 70px; padding-block: 86px 64px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero h1, .feature h2, .privacy h2, .faq h2, .closing h2 { margin: 0; font-weight: 760; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 { max-width: 620px; font-size: clamp(48px, 6vw, 82px); line-height: 1.02; }
.hero-copy > p { max-width: 530px; margin: 25px 0 31px; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.platform-notes { display: grid; gap: 5px; color: #818188; font-size: 13px; line-height: 1.35; }
.android-preview { display: inline-flex; align-items: center; gap: 7px; color: #5e6067; font-weight: 650; }
.android-preview::before { width: 6px; height: 6px; content: ""; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff2ed; }
.hero-media { position: relative; justify-self: center; width: min(100%, 450px); min-height: 580px; display: grid; place-items: center; }
.device-shot { position: relative; z-index: 1; width: 100%; margin: 0; }
.device-shot img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 80px rgba(22,24,31,.18); }
.hero-phone { width: min(100%, 330px); transform: rotate(2.2deg); }
.memory { position: absolute; width: 165px; aspect-ratio: 1.1; background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(236,224,217,.7)); box-shadow: 0 20px 45px rgba(31,25,24,.13); border: 7px solid white; }
.memory::after { content: ""; position: absolute; inset: 14px; background: linear-gradient(135deg, #bdc8d0, #f3d0bb 52%, #788c99); }
.memory-one { right: -7%; top: 13%; transform: rotate(12deg); }
.memory-two { left: -8%; bottom: 11%; transform: rotate(-12deg); width: 132px; }

.statement { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 30px; }
.statement p { max-width: 790px; margin: 0; color: #4d4e55; font-size: 18px; line-height: 1.65; letter-spacing: -.02em; }
.feature { padding-block: clamp(84px, 13vw, 170px); }
.feature-suggestion { background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%); }
.feature-swipe { background: var(--wash); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: center; gap: clamp(45px, 10vw, 130px); }
.feature-grid.reverse { grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); }
.feature-media { justify-self: center; width: min(100%, 360px); }
.feature-grid.reverse .feature-media { grid-column: 2; }
.feature-grid.reverse .feature-copy { grid-column: 1; grid-row: 1; }
.feature-copy { max-width: 500px; }
.feature-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 23px; color: var(--accent); background: #fff2ed; border-radius: 50%; }
.feature-icon svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.feature-copy h2 { font-size: clamp(35px, 4vw, 57px); line-height: 1.08; }
.feature-copy p { margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }

.legal-page { background: #fbfbfc; }
.legal-content { width: min(calc(100% - 48px), 820px); padding-block: 92px 112px; }
.legal-eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.legal-content h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 6vw, 64px); line-height: 1.06; letter-spacing: -.06em; }
.legal-updated { margin: 18px 0 0; color: #777982; font-size: 14px; }
.legal-intro { margin: 46px 0 0; color: #303137; font-size: 19px; line-height: 1.85; }
.legal-content section { padding-top: 44px; }
.legal-content section h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.legal-content section p { margin: 0 0 14px; color: #5c5e66; font-size: 16px; line-height: 1.82; }

.privacy { padding-block: clamp(76px, 10vw, 130px); color: white; background: var(--night); }
.privacy-grid { display: grid; grid-template-columns: 100px minmax(0, 1fr) max-content; align-items: center; gap: 42px; }
.privacy-icon { display: grid; place-items: center; width: 88px; height: 88px; color: var(--accent); border: 1px solid rgba(255,98,56,.8); border-radius: 50%; }
.privacy-icon svg { width: 41px; height: 41px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.privacy h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.12; }
.privacy p { max-width: 680px; margin: 18px 0 0; color: var(--night-muted); font-size: 17px; line-height: 1.8; }
.text-link { align-self: end; color: white; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 6px; }
.text-link span { color: var(--accent); padding-left: 7px; }

.faq { padding-block: clamp(88px, 12vw, 150px); }
.faq > h2 { max-width: 600px; font-size: clamp(39px, 5vw, 66px); line-height: 1.06; }
.faq-list { margin-top: 52px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 25px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 690; letter-spacing: -.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); font-size: 27px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 800px; margin: -4px 55px 24px 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 54px; border-top: 1px solid var(--line); }
.closing h2 { max-width: 630px; font-size: clamp(34px, 5vw, 60px); line-height: 1.08; }

.site-footer { border-top: 1px solid var(--line); padding-block: 45px 36px; }
.footer-inner { display: grid; grid-template-columns: max-content 1fr max-content; align-items: start; gap: 20px 36px; }
.footer-inner .brand { font-size: 20px; }
.footer-inner .brand svg { width: 28px; height: 28px; }
.footer-inner p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.footer-inner > div { display: flex; gap: 21px; font-size: 14px; }
.footer-inner > div a { color: #4b4c53; text-decoration: none; }
.footer-inner > div a:hover { color: var(--accent); }
.footer-inner small { grid-column: 1 / -1; color: #898a90; font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.error-page main { width: min(100%, 520px); }
.error-page h1 { margin: 52px 0 12px; font-size: clamp(44px, 8vw, 72px); letter-spacing: -.07em; }
.error-page p { margin: 0 0 30px; color: var(--muted); font-size: 18px; line-height: 1.7; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 400px; gap: 30px; }
  .hero h1 { font-size: clamp(48px, 7vw, 68px); }
  .hero-media { width: 390px; }
  .memory { width: 118px; border-width: 5px; }
  .privacy-grid { grid-template-columns: 84px minmax(0, 1fr); }
  .text-link { grid-column: 2; justify-self: start; }
  .footer-inner { grid-template-columns: max-content 1fr; }
  .footer-inner > div { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .shell { width: min(calc(100% - 36px), var(--shell)); }
  .header-inner { min-height: 66px; }
  .brand { font-size: 20px; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: grid; gap: 0; padding: 12px 18px 20px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); transform: translateY(-16px); opacity: 0; visibility: hidden; transition: .22s var(--ease); }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > a:not(.button), .language-control { padding: 12px 0; }
  .language-control select { padding-left: 0; }
  .site-nav .button { margin-top: 7px; }
  .legal-header-inner { min-height: 66px; }
  .legal-header nav { gap: 14px; font-size: 12px; }
  .legal-content { padding-block: 58px 76px; }
  .legal-intro { margin-top: 32px; font-size: 17px; }
  .legal-content section { padding-top: 36px; }
  .menu-toggle { display: block; }
  .menu-toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-block: 68px 76px; }
  .hero h1 { font-size: clamp(47px, 14vw, 64px); }
  .hero-copy > p { font-size: 17px; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { width: min(100%, 340px); min-height: 480px; }
  .hero-phone { width: 255px; }
  .memory-one { right: -6%; top: 12%; }
  .memory-two { left: -7%; bottom: 7%; }
  .statement { padding-block: 25px; }
  .statement p { font-size: 16px; }
  .feature { padding-block: 85px; }
  .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; gap: 38px; }
  .feature-grid.reverse .feature-media, .feature-grid.reverse .feature-copy { grid-column: auto; grid-row: auto; }
  .feature-grid.reverse .feature-copy { order: 1; }
  .feature-grid.reverse .feature-media { order: 2; }
  .feature-media { width: min(100%, 290px); }
  .feature-copy p, .privacy p { font-size: 16px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 27px; }
  .privacy-icon { width: 70px; height: 70px; }
  .privacy-icon svg { width: 32px; height: 32px; }
  .text-link { grid-column: auto; }
  .faq-list { margin-top: 38px; }
  .faq summary { padding: 21px 0; font-size: 17px; }
  .faq details p { margin-right: 0; font-size: 15px; }
  .closing { align-items: flex-start; flex-direction: column; padding-block: 50px; }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; }
  .footer-inner > div, .footer-inner small { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
