/* MyTaxFree website styles, ported from website/design-draft (breakpoint 820px). */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/nunito-latin-wght.woff2?v=20fc9b6fc6) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16163A; --text: #45465F; --muted: #6A6B85; --muted-2: #5B5C78; --faint: #9A9BB3;
  --line: #E4E5EF; --line-2: #EEEFF5; --blue: #2B2BD9; --blue-dark: #1E1EB0; --red: #E8192C; --red-text: #C8102E;
  --pink: #FFF1F2; --blue-tint: #EFF0FF; --gray: #F4F4F9; --legal-bg: #F6F6FA; --chip: #F3F3F8;
  --mono: ui-monospace, Menlo, monospace;
  --cjk: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
html[lang='zh-Hant'] { --cjk: 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', sans-serif; }
html[lang='zh-Hans'] { --cjk: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; }
html[lang='ja'] { --cjk: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', Meiryo, sans-serif; }
html[lang='ko'] { --cjk: 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; word-break: keep-all; }
:lang(ja) { line-break: strict; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Nunito', var(--cjk); -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: clamp(20px, 4vw, 40px); padding-right: clamp(20px, 4vw, 40px); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.dot-red { background: var(--red); }
.dot-blue { background: var(--blue); }
section[id], footer[id] { scroll-margin-top: 64px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-bar { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.brand { display: flex; align-items: center; flex: none; }
.brand-logo { height: 28px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); min-width: 0; }
.header-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.header-nav a { color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-nav a:hover { color: var(--blue); }
.btn-cta { display: flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; white-space: nowrap; flex: none; }
.btn-cta:hover { background: var(--blue-dark); color: #fff; }
.lang-menu { position: relative; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--blue); }
.caret { font-size: 10px; opacity: .6; }
.lang-panel { position: absolute; right: 0; top: 50px; width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(22, 22, 58, .25); padding: 6px; z-index: 60; }
.lang-title { padding: 8px 12px 6px; font-size: 12px; font-weight: 700; color: var(--muted-2); letter-spacing: .04em; }
.lang-option { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 600; }
.lang-option[aria-current] { background: var(--chip); font-weight: 800; }
.lang-option:hover { background: var(--blue-tint); color: var(--ink); }
.check { color: var(--blue); }
.mobile-menu { display: none; }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { padding-top: clamp(32px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-logo { height: clamp(60px, 7vw, 92px); width: auto; max-width: 100%; display: block; }
.tagline { margin: 0; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.18; font-weight: 900; letter-spacing: -.01em; display: flex; flex-direction: column; gap: 2px; }
.tagline-part { display: flex; align-items: center; gap: 14px; }
.tagline-part .dot { width: .34em; height: .34em; }
.hero-intro { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.75; color: var(--text); max-width: 34em; text-wrap: pretty; }
.notice { position: relative; max-width: 520px; background: var(--pink); padding: 16px 18px 24px; border-radius: 14px 14px 0 0;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
.notice-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.notice-label { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.notice-date { font-family: var(--mono); font-size: 12px; color: #9B1220; font-weight: 600; }
.notice p { margin: 0; font-size: 15px; line-height: 1.7; color: #3A2026; text-wrap: pretty; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: flex; align-items: center; height: 52px; }
.store-badge img { display: block; height: 52px; width: auto; }
.store-soon { display: flex; flex-direction: column; justify-content: center; min-width: 172px; height: 52px; padding: 0 20px; border-radius: 12px; background: var(--chip); border: 1.5px dashed #B9BACD; color: var(--muted-2); line-height: 1.1; }
.soon-label { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--red-text); }
.soon-name { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; padding: clamp(12px, 3vw, 32px) 0; min-width: 0; }
.hero-circle, .hero-ring { position: absolute; width: min(92%, 520px); aspect-ratio: 1; border-radius: 50%; }
.hero-circle { background: var(--red); }
.hero-ring { border: 2px solid var(--red); transform: translate(7%, 6%); }

/* Phone frames */
.phone { position: relative; aspect-ratio: 9 / 19.5; background: var(--ink); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone-hero { width: min(300px, 70vw); border-radius: 44px; padding: 10px; box-shadow: 0 40px 70px -24px rgba(22, 22, 58, .5); transform: rotate(-4deg); }
.phone-hero .phone-screen { border-radius: 35px; }
.phone-feature { width: min(250px, 62vw); border-radius: 38px; padding: 9px; box-shadow: 0 30px 50px -24px rgba(22, 22, 58, .45); }
.phone-feature .phone-screen { border-radius: 30px; }
.phone-step { width: 100%; border-radius: 36px; padding: 8px; box-shadow: 0 30px 50px -24px rgba(0, 0, 30, .6); }
.phone-step .phone-screen { border-radius: 29px; }

/* Sections */
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-index { font-family: var(--mono); font-size: 13px; color: var(--red); font-weight: 600; }
.section-head h2, .faq-head h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.01em; }
.features { padding: clamp(56px, 7vw, 112px) 0; border-top: 1px solid var(--line-2); }
.feature-list { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature-media { border-radius: 28px; padding: clamp(28px, 4vw, 56px) 24px; display: flex; justify-content: center; min-width: 0; background: var(--pink); }
.feature-2 .feature-media { background: var(--blue-tint); order: 2; }
.feature-text { order: 1; display: flex; flex-direction: column; gap: 18px; min-width: 0; max-width: 520px; }
.feature-num { font-family: 'Nunito', sans-serif; font-size: clamp(48px, 5vw, 72px); font-weight: 900; line-height: 1; color: var(--red); }
.feature-2 .feature-num { color: var(--blue); }
.feature-text h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; font-weight: 900; text-wrap: balance; }
.feature-desc { margin: 0; font-size: 17px; line-height: 1.85; color: var(--text); text-wrap: pretty; }
.feature-note { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-top: 6px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; font-size: 15px; }
.btn-outline:hover { background: var(--blue); color: #fff; }

.how { padding: clamp(56px, 7vw, 112px) 0; background: var(--blue); color: #fff; }
.how .section-head { margin-bottom: clamp(28px, 4vw, 56px); }
.how .section-index { color: #C9CBFF; }
.steps { display: flex; gap: clamp(16px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.steps::-webkit-scrollbar { display: none; }
.step { margin: 0; flex: 1 1 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.step figcaption { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.5; font-weight: 800; text-wrap: pretty; }
.step figcaption span:last-child { padding-top: 3px; }
.step-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; }
.swipe-hint { display: none; margin: 0; padding-top: 20px; font-size: 13px; color: #C9CBFF; font-weight: 700; }

.faq { padding: clamp(56px, 7vw, 112px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 18px 0; color: var(--ink); }
.faq-item summary:hover { color: var(--blue); }
.faq-num { font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 600; min-width: 20px; align-self: baseline; }
.faq-q { align-self: baseline; }
.faq-q { flex: 1; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; font-weight: 800; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #F0F0F6; transition: background .2s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 8px; top: 13px; width: 12px; height: 2px; border-radius: 1px; background: var(--ink); transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--blue); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { margin: 0; padding: 0 48px 24px 34px; font-size: 16px; line-height: 1.85; color: var(--text); text-wrap: pretty; }
.faq-item p a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.download-section { padding: clamp(56px, 7vw, 112px) clamp(16px, 4vw, 40px); background: var(--gray); }
.download-card { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 28px 28px 0 0; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(48px, 6vw, 80px);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
  display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; justify-content: space-between; }
.download-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.download-copy h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
.app-icon { position: relative; width: 80px; height: 80px; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.app-icon img { position: absolute; left: -17%; top: -15%; width: 130%; height: 130%; max-width: none; }
.app-icon-large { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 18px 40px -18px rgba(22, 22, 58, .35); }
.soon-all { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: var(--red); }
.download-desc { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.qr-card { flex: none; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; border: 1.5px solid var(--line); border-radius: 20px; font-size: 14px; font-weight: 800; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-grid { padding-top: clamp(40px, 5vw, 64px); padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand a { align-self: flex-start; }
.footer-logo { height: 40px; width: auto; display: block; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-label { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.footer-mail { font-size: 17px; font-weight: 800; }
.footer-company { font-size: 15px; font-weight: 700; }
.footer-address { font-size: 14px; line-height: 1.6; color: var(--text); }
.footer-bottom { padding-bottom: 36px; }
.footer-bottom-row { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 14px; font-weight: 700; color: var(--ink); }
.footer-links a:hover { color: var(--blue); }
.copyright { font-size: 13px; color: var(--muted); }
.disclaimer { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.slim-footer { padding: 20px clamp(20px, 4vw, 40px); border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-align: center; }
.slim-footer p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.slim-footer .footer-links { justify-content: center; }
.slim-footer .footer-links a { font-size: 13px; }

/* Download page */
.download-page { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 40px); background: var(--gray); }
.download-inner { width: 100%; max-width: 980px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.download-inner h1 { margin-top: 8px; font-size: clamp(32px, 4vw, 52px); line-height: 1.15; font-weight: 900; letter-spacing: -.01em; }
.dl-tagline { margin: 0; font-size: 15px; font-weight: 800; color: var(--red-text); letter-spacing: .02em; }
.dl-lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--text); max-width: 30em; text-wrap: pretty; }
.platforms { margin-top: 20px; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; text-align: left; }
.platform-card { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--line); }
.platform-card .store-soon, .platform-card .store-badge { align-self: flex-start; }
.platform-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform-name { font-size: 22px; font-weight: 900; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.chip .dot { width: 6px; height: 6px; }
.chip-live { background: #E7F6EC; color: #1F8A4C; }
.chip-soon { background: var(--pink); color: var(--red-text); }
.qr-card-dl { border: 2px solid var(--blue); border-radius: 24px; background: #fff; justify-content: center; }
.back-link { margin-top: 16px; font-size: 15px; font-weight: 800; }
.mobile-soon { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 24px; gap: 20px; text-align: center; align-items: center; }
.mobile-soon h1 { font-size: 30px; line-height: 1.3; font-weight: 900; text-wrap: balance; }
.mobile-soon p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); max-width: 22em; text-wrap: pretty; }
/* Phones: the head script sets data-platform, so the "coming soon" view shows without a flash. */
html[data-platform="ios"] .mobile-soon[data-platform="ios"],
html[data-platform="android"] .mobile-soon[data-platform="android"] { display: flex !important; }
html[data-platform="ios"] body:has(.mobile-soon[data-platform="ios"]) [data-desktop-view],
html[data-platform="android"] body:has(.mobile-soon[data-platform="android"]) [data-desktop-view] { display: none; }
.btn-primary { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 320px; height: 52px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 800; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
body:has(.download-page), body:has(.not-found) { min-height: 100vh; display: flex; flex-direction: column; }
.not-found { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 64px 24px; }
.not-found-code { margin: 0; font-family: 'Nunito', sans-serif; font-size: clamp(72px, 12vw, 140px); font-weight: 900; color: var(--blue); line-height: 1; }
.root-chooser { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; padding: 40px 24px; }
.root-logo { height: 60px; width: auto; }
.root-langs { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; }
.root-langs a { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 800; }
.root-langs a:hover { border-color: var(--blue); color: var(--blue); }

/* Legal pages */
.legal-hero { background: var(--legal-bg); border-bottom: 1px solid var(--line); }
.legal-hero .wrap { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); }
.doc-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 24px; padding: 0 4px; }
.doc-tabs::-webkit-scrollbar { display: none; }
.doc-tabs a { flex: none; display: flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.doc-tabs a:hover { border-color: var(--blue); }
.doc-tabs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.eyebrow { font-family: 'Nunito', sans-serif; font-size: 14px; font-weight: 900; letter-spacing: .02em; color: var(--red-text); margin-bottom: 8px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.25; font-weight: 900; letter-spacing: -.005em; text-wrap: balance; }
.legal-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: 14px; color: var(--text); }
.legal-meta strong { font-weight: 700; }
.prevail { display: flex; gap: 6px; align-items: center; }
.prevail .dot { width: 4px; height: 4px; background: var(--faint); }
.pending-note { margin-top: 20px; max-width: 760px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid #D9DAF5; font-size: 14px; line-height: 1.6; color: #2E2F6B; }
.pending-note > span:first-child { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.legal-grid { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(56px, 6vw, 96px); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.toc-aside { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc-title { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.toc { display: flex; flex-direction: column; border-left: 2px solid var(--line); }
.toc a { display: flex; gap: 10px; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--text); }
.toc a:hover { color: var(--blue); }
.toc a.active { border-left-color: var(--blue); color: var(--blue); font-weight: 800; }
.toc-num { flex: none; min-width: 18px; font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--muted); }
.toc-mobile { display: none; }
.legal-body { min-width: 0; max-width: 740px; font-size: 17px; line-height: 1.9; color: #2A2B45; letter-spacing: .01em; }
.legal-body p { margin: 0 0 16px; text-wrap: pretty; }
.legal-body .lead { margin-bottom: 20px; font-size: 1.08em; color: var(--ink); }
.legal-body .alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: var(--pink); color: #5A1520; }
.legal-body .alert strong { color: var(--red-text); }
.legal-body strong { font-weight: 800; color: var(--ink); }
.legal-body a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal-body h2 { scroll-margin-top: 88px; margin: 48px 0 16px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-size: clamp(21px, 2vw, 24px); line-height: 1.45; font-weight: 900; color: var(--ink); }
.legal-body h2 .num { flex: none; font-family: 'Nunito', sans-serif; font-weight: 900; color: var(--red); min-width: 1.2em; }
.legal-body h3 { margin: 28px 0 12px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; font-weight: 800; color: var(--ink); }
.legal-body ol, .legal-body ul { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal-body ol { counter-reset: item; }
.legal-body li { position: relative; padding-left: 36px; }
.legal-body ol > li::before { counter-increment: item; content: counter(item); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 8px; background: var(--blue-tint); color: var(--blue); font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 900; line-height: 24px; text-align: center; }
.legal-body ul > li { padding-left: 18px; }
.legal-body ul > li::before { content: ''; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.legal-body .table { margin: 4px 0 24px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.legal-body table { width: 100%; border-collapse: collapse; }
.legal-body th { padding: 12px 16px; background: var(--legal-bg); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--text); letter-spacing: .03em; text-align: left; }
.legal-body td { padding: 14px 16px; font-size: .94em; line-height: 1.7; vertical-align: top; border-bottom: 1px solid #EEEFF5; }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body td:first-child { font-weight: 700; }
.legal-end { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 14px; }
.legal-end span { color: var(--muted); }
.legal-end a { font-weight: 700; text-decoration: none; }

/* Phones */
@media (max-width: 819px) {
  .header-nav, .lang-menu-desktop { display: none; }
  .header-actions { gap: 8px; }
  .brand-logo { height: 24px; }
  .btn-cta { height: 38px; padding: 0 14px; font-size: 14px; }
  .lang-menu summary { height: 38px; padding: 0 10px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
  .bars { display: flex; flex-direction: column; gap: 5px; }
  .bars span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .mobile-menu[open] .bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .mobile-menu[open] .bars span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] .bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .mobile-panel { position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 24px; box-shadow: 0 20px 30px -20px rgba(22, 22, 58, .3); }
  .mobile-menu[open]::before { content: ''; position: fixed; left: 0; right: 0; top: 64px; bottom: 0; background: rgba(22, 22, 58, .35); }
  .mobile-nav { display: flex; flex-direction: column; }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; height: 60px; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 20px; font-weight: 800; }
  .mobile-nav a span { color: var(--faint); font-size: 16px; }
  .mobile-lang-title { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--muted-2); display: flex; align-items: center; gap: 6px; }
  .mobile-lang { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; background: var(--chip); border-radius: 14px; }
  .seg { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 10px; color: var(--ink); font-size: 15px; font-weight: 600; }
  .seg[aria-current] { background: #fff; box-shadow: 0 1px 3px rgba(22, 22, 58, .1); font-weight: 800; }
  .seg .check { display: none; }
  .stores .store-soon { min-width: 0; flex: 1 1 0; max-width: 172px; padding: 0 14px; }
  .soon-name { font-size: 18px; white-space: nowrap; }
  .feature-2 .feature-media { order: 0; }
  .feature-media { order: 0; }
  .step { flex: 0 0 68%; }
  .swipe-hint { display: block; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .qr-card:not(.qr-card-dl) { display: none; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .toc-aside { display: none; }
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
  .toc-mobile summary { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 16px; font-size: 15px; font-weight: 800; }
  .toc-count { margin-left: 8px; margin-right: auto; font-weight: 600; color: var(--muted); font-size: 13px; }
  .toc-mobile .toc { border-left: 0; border-top: 1px solid var(--line); padding: 6px 0; }
  .toc-mobile .toc a { padding: 10px 16px; margin-left: 0; border-left: 0; font-size: 15px; color: var(--ink); font-weight: 600; }
  .legal-body { font-size: 16px; }
  .legal-body .table { border: 0; border-radius: 0; overflow: visible; }
  .legal-body table, .legal-body tbody, .legal-body tr, .legal-body td { display: block; }
  .legal-body thead { display: none; }
  .legal-body tr { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px; }
  .legal-body td { padding: 0; border: 0; }
  .legal-body td:first-child { font-weight: 800; color: var(--ink); }
  .legal-body td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .03em; }
}
@media (max-width: 360px) {
  .brand-logo { height: 20px; }
  .btn-cta { padding: 0 10px; font-size: 13px; }
  .lang-menu summary { padding: 0 8px; }
  .lang-menu summary .caret { display: none; }
}
