:root {
  --ink: #172038;
  --ink-soft: #4f596d;
  --paper: #f4f3ee;
  --white: #fffefd;
  --blue: #315f9b;
  --blue-deep: #173665;
  --blue-pale: #dfe7f1;
  --coral: #ee725a;
  --aqua: #4bb5b2;
  --line: rgba(23, 32, 56, .12);
  --shadow: 0 24px 60px rgba(27, 48, 80, .13);
  --radius-lg: 40px;
  --radius-md: 26px;
  --shell: min(1180px, calc(100% - 48px));
  --font-sans: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:lang(zh-CN),
html:lang(zh-Hans) {
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-display: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
}
html:lang(zh-TW),
html:lang(zh-HK),
html:lang(zh-Hant) {
  --font-sans: "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", "Source Han Sans TC", system-ui, sans-serif;
  --font-display: "Microsoft JhengHei UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", "Source Han Sans TC", system-ui, sans-serif;
}
html:lang(ja),
html:lang(ja-JP) {
  --font-sans: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  --font-display: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, system-ui, sans-serif;
}
html:lang(en) {
  --font-sans: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, .brand strong { font-family: var(--font-display); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 116px 0; }
.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; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -100px; padding: 12px 16px; background: var(--ink); color: white; border-radius: 12px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; padding: 18px 0; transition: background .25s, box-shadow .25s, padding .25s; }
.site-header.scrolled { padding: 10px 0; background: rgba(244, 243, 238, .88); backdrop-filter: blur(20px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { width: var(--shell); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 20px rgba(20, 47, 88, .18); }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { color: var(--ink-soft); font-size: 11px; margin-top: 2px; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.nav-links > a { color: var(--ink-soft); transition: color .2s; }
.nav-links > a:hover { color: var(--blue); }
.language-switcher { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.55); }
.language-switcher button { border: 0; background: transparent; color: var(--ink-soft); min-width: 32px; height: 30px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 700; }
.language-switcher button[aria-pressed="true"] { background: var(--ink); color: white; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 830px; padding: 154px 0 46px; overflow: hidden; background: linear-gradient(145deg, #f8f7f2 0%, #f1f3f3 52%, #e8edf2 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }
.hero-copy { padding-top: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px 8px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.58); font-size: 13px; font-weight: 700; color: var(--blue); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(238,114,90,.13); }
.hero h1 { margin: 28px 0 22px; max-width: 620px; font-size: clamp(52px, 6vw, 82px); line-height: 1.03; letter-spacing: -.055em; font-weight: 800; }
.hero-lead { max-width: 565px; margin: 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 21px; border-radius: 17px; }
.button-primary { color: white; background: var(--ink); box-shadow: 0 12px 28px rgba(23,32,56,.22); transition: transform .2s, box-shadow .2s; }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(23,32,56,.28); }
.button-icon { display: grid; place-items: center; width: 30px; height: 30px; }
.button-icon svg { display: block; width: 27px; height: 27px; }
.button span:nth-child(2) { display: flex; flex-direction: column; }
.button small { font-size: 10px; opacity: .7; }
.button strong { font-size: 15px; }
.text-link { display: inline-flex; gap: 10px; color: var(--blue); font-size: 14px; font-weight: 750; border-bottom: 1px solid rgba(49,95,155,.35); padding-bottom: 4px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 17px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; font-weight: 650; }
.trust-row li { display: flex; align-items: center; gap: 6px; }
.check { color: var(--aqua); font-size: 15px; font-weight: 900; }
.hero-visual { position: relative; height: 590px; }
.phone { position: absolute; overflow: hidden; border-radius: 36px; background: #fff; border: 7px solid #18243a; box-shadow: 0 38px 70px rgba(21,42,73,.25); }
.phone::before { content: ""; position: absolute; z-index: 3; top: 8px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 999px; background: #121a29; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-front { z-index: 3; width: 268px; height: 582px; left: 86px; top: 3px; transform: rotate(-2deg); }
.phone-back { z-index: 2; width: 234px; height: 508px; right: 20px; top: 48px; opacity: .96; transform: rotate(7deg); }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-radius: 18px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(18px); box-shadow: 0 18px 38px rgba(26,50,82,.18); }
.floating-card span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.floating-card small { color: var(--ink-soft); font-size: 10px; }
.floating-card strong { font-size: 12px; }
.floating-icon { display: grid; place-items: center; width: 32px; height: 32px; background: var(--blue-pale); color: var(--blue); border-radius: 10px; font-weight: 900; }
.card-shift { top: 105px; left: 0; }
.card-hours { right: -4px; bottom: 67px; }
.mini-ring { position: relative; display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: conic-gradient(var(--coral) 0 89%, #e7e8e9 89% 100%); }
.mini-ring::after { content: ""; position: absolute; width: 27px; height: 27px; border-radius: 50%; background: white; }
.mini-ring b { position: relative; z-index: 2; font-size: 9px; }
.orbit { position: absolute; border: 1px solid rgba(49,95,155,.14); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; top: 30px; left: 30px; }
.orbit-two { width: 410px; height: 410px; top: 85px; left: 85px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .65; }
.hero-glow-one { width: 560px; height: 560px; right: -150px; top: -200px; background: radial-gradient(circle, rgba(75,181,178,.24), transparent 68%); }
.hero-glow-two { width: 620px; height: 620px; left: -320px; bottom: -300px; background: radial-gradient(circle, rgba(49,95,155,.17), transparent 68%); }
.hero-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; margin-top: 22px; color: var(--ink-soft); font-size: 12px; letter-spacing: .08em; }
.hero-foot .rule { flex: 1; height: 1px; background: var(--line); }

.section-kicker { margin: 0 0 19px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-kicker.light { color: #8fd8d5; }
.manifesto { background: var(--white); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.manifesto h2 { max-width: 820px; margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.18; letter-spacing: -.045em; }
.manifesto p:last-child { max-width: 760px; margin: 36px 0 0; color: var(--ink-soft); font-size: 18px; line-height: 1.85; }

.features { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 6px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feature-card { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: 35px; border: 1px solid rgba(23,32,56,.09); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.74); box-shadow: 0 12px 40px rgba(27,48,80,.05); }
.feature-copy { position: relative; z-index: 2; max-width: 450px; margin-bottom: 30px; }
/* Decorative art that bleeds off the card stays absolute: reserve its height so longer copy grows the card instead of running under it. */
.feature-calendar, .feature-docs { padding-bottom: 245px; }
.feature-number { display: inline-grid; place-items: center; width: 38px; height: 28px; border-radius: 999px; background: var(--blue-pale); color: var(--blue); font-size: 11px; font-weight: 800; }
.feature-card h3 { margin: 19px 0 12px; font-size: 28px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.calendar-art { position: absolute; width: 72%; right: -2%; bottom: -8%; padding: 24px; border-radius: 26px 0 0 0; background: #eef2f6; transform: rotate(-2deg); }
.cal-top { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 16px; text-align: center; }
.cal-days { color: #8991a0; font-size: 9px; }
.cal-grid i { width: 25px; height: 25px; margin: auto; border-radius: 9px; background: rgba(255,255,255,.78); }
.cal-grid i.job-blue { background: #90aad0; box-shadow: inset 0 -5px 0 #5c81b8; }
.cal-grid i.job-coral { background: #edb19e; box-shadow: inset 0 -5px 0 #cf7957; }
.cal-grid i.today { background: var(--ink); }
.feature-money { background: #eef2f5; }
.money-art { position: relative; margin-top: auto; padding: 25px; border-radius: 26px; background: rgba(255,255,255,.83); }
.money-art small { color: var(--ink-soft); }
.money-art > strong { display: block; margin-top: 8px; font-size: 34px; letter-spacing: -.04em; }
.currency-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.currency-chips span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.7); font-size: 8px; font-weight: 800; letter-spacing: .05em; }
.currency-chips span.is-current { border-color: transparent; background: var(--ink); color: white; }
.money-bars { height: 105px; display: flex; align-items: end; gap: 15px; margin-top: 16px; border-bottom: 1px solid var(--line); }
.money-bars i { flex: 1; height: var(--h); border-radius: 8px 8px 0 0; background: var(--blue); opacity: .86; }
.money-bars i:nth-child(even) { background: var(--coral); }
.money-legend { display: flex; gap: 18px; margin-top: 10px; color: var(--ink-soft); font-size: 10px; }
.money-legend span { display: flex; align-items: center; gap: 5px; }
.money-legend b { width: 7px; height: 7px; background: var(--blue); border-radius: 50%; }
.money-legend span:last-child b { background: var(--coral); }
.feature-risk { background: #e6eee9; }
.risk-art { position: relative; margin-top: auto; padding: 26px; background: rgba(255,255,255,.78); border-radius: 26px; }
.risk-head { display: flex; align-items: baseline; justify-content: space-between; color: var(--ink-soft); font-size: 12px; }
.risk-head strong { color: var(--ink); font-size: 30px; }
.progress { height: 13px; margin: 18px 0 8px; background: #d9dedb; border-radius: 99px; overflow: hidden; }
.progress i { display: block; width: 89%; height: 100%; background: linear-gradient(90deg, var(--aqua), #eeb06c 78%, var(--coral)); border-radius: inherit; }
.risk-scale { display: flex; justify-content: space-between; color: #858d94; font-size: 9px; }
.risk-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.risk-note span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #f5dccb; color: #b85238; font-weight: 900; }
.risk-note p { color: var(--ink); font-size: 12px; font-weight: 700; }
.feature-docs { background: #f0ebe7; }
.docs-art { position: absolute; left: 50%; bottom: -14%; width: 330px; height: 250px; transform: translateX(-50%); }
.doc { position: absolute; width: 190px; height: 245px; padding: 24px; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.doc span { font-size: 14px; font-weight: 800; }
.doc i { display: block; height: 6px; margin-top: 14px; border-radius: 99px; background: #e7e9ed; }
.doc i:nth-child(3) { width: 70%; }
.doc-one { left: 18px; top: 15px; transform: rotate(-8deg); }
.doc-two { right: 18px; top: 0; transform: rotate(7deg); }
.lock-mark { position: absolute; z-index: 4; display: grid; place-items: center; left: 50%; top: 92px; width: 68px; height: 68px; border-radius: 22px; transform: translateX(-50%); background: var(--ink); color: white; font-size: 29px; box-shadow: 0 14px 28px rgba(23,32,56,.25); }

.privacy { padding-top: 50px; }
.privacy-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; padding: 72px; border-radius: 52px; background: radial-gradient(circle at 80% 20%, rgba(75,181,178,.25), transparent 30%), linear-gradient(145deg, #192843, #0f1c32); color: white; box-shadow: 0 35px 80px rgba(21,38,68,.2); }
.privacy-copy h2 { margin: 0; font-size: clamp(40px, 5vw, 60px); line-height: 1.12; letter-spacing: -.045em; }
.privacy-copy > p:not(.section-kicker) { max-width: 530px; margin: 26px 0; color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.8; }
.privacy-link { display: inline-flex; gap: 28px; align-items: center; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.4); font-weight: 700; font-size: 14px; }
.updates { padding-top: 0; background: var(--paper); }
.update-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.update-card { padding: 30px; border: 1px solid rgba(23,32,56,.09); border-radius: var(--radius-md); background: rgba(255,255,255,.74); box-shadow: 0 12px 40px rgba(27,48,80,.05); }
.update-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--blue-pale); color: var(--blue); font-size: 19px; font-weight: 800; line-height: 1; }
.update-card h3 { margin: 18px 0 10px; font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
.update-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.75; }
.privacy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.privacy-list > div { display: flex; align-items: center; gap: 13px; min-height: 115px; padding: 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 24px; background: rgba(255,255,255,.07); backdrop-filter: blur(12px); }
.privacy-symbol { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; background: rgba(143,216,213,.14); color: #8fd8d5; font-size: 20px; font-weight: 800; }
.privacy-list p { display: flex; flex-direction: column; gap: 5px; margin: 0; }
.privacy-list strong { font-size: 14px; }
.privacy-list small { color: rgba(255,255,255,.55); font-size: 11px; line-height: 1.4; }

.screens { overflow: hidden; }
.screenshot-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px max(24px, calc((100vw - 1180px) / 2)) 50px; margin-inline: calc((100vw - 100%) / -2); }
.screenshot-track::-webkit-scrollbar { display: none; }
.screenshot-card { flex: 0 0 250px; height: 525px; padding: 14px 14px 0; border: 1px solid var(--line); border-radius: 34px; overflow: hidden; scroll-snap-align: center; background: #e8ebef; cursor: zoom-in; text-align: left; box-shadow: 0 16px 38px rgba(24,45,74,.11); transition: transform .25s; }
.screenshot-card:hover { transform: translateY(-7px); }
.screenshot-card span { display: block; padding: 6px 5px 14px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.screenshot-card img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 24px 24px 0 0; }
.screenshot-card:nth-child(even) { margin-top: 40px; }
.drag-hint { margin: 0; color: var(--ink-soft); font-size: 12px; text-align: center; }
.image-dialog { width: min(430px, calc(100% - 30px)); max-height: 90vh; padding: 0; border: 0; border-radius: 30px; overflow: hidden; background: #111b2d; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.image-dialog::backdrop { background: rgba(10,18,32,.72); backdrop-filter: blur(10px); }
.image-dialog img { width: 100%; max-height: 90vh; object-fit: contain; }
.dialog-close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(17,27,45,.75); color: white; font-size: 24px; cursor: pointer; }

.languages { padding-top: 50px; }
.language-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; padding: 55px 60px; border: 1px solid var(--line); border-radius: 36px; background: rgba(255,255,255,.65); }
.language-panel h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.language-panel > p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.currency-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.currency-cloud span { display: inline-grid; place-items: center; min-width: 48px; height: 30px; padding-inline: 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.75); color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .06em; }

.download { padding-top: 20px; }
.download-panel { position: relative; display: grid; grid-template-columns: 150px 1fr .9fr; gap: 38px; align-items: center; padding: 60px; overflow: hidden; border-radius: 48px; background: linear-gradient(135deg, #244d89 0%, #173765 55%, #132845 100%); color: white; box-shadow: 0 30px 70px rgba(24,54,96,.24); }
.download-panel::after { content: ""; position: absolute; width: 400px; height: 400px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; right: -230px; top: -230px; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.02); }
.download-icon { width: 142px; height: auto; aspect-ratio: 1; object-fit: cover; flex-shrink: 0; border-radius: 34px; box-shadow: 0 22px 40px rgba(0,0,0,.24); }
.download-copy h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; letter-spacing: -.04em; }
.download-copy > p:last-child { margin: 18px 0 0; color: rgba(255,255,255,.66); line-height: 1.7; }
.platforms { position: relative; z-index: 2; display: grid; gap: 12px; }
.platform-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; min-height: 78px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.09); }
.platform-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,.13); }
.platform-icon svg { display: block; width: 25px; height: 25px; color: white; }
.platform-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.platform-card small { color: rgba(255,255,255,.55); }
.platform-card strong { font-size: 15px; }
.platform-card i { padding: 5px 8px; border-radius: 99px; background: rgba(143,216,213,.13); color: #a5e2df; font-size: 9px; font-style: normal; font-weight: 800; }
.platform-ios i { background: rgba(255,255,255,.11); color: rgba(255,255,255,.7); }

.site-footer { padding: 70px 0 24px; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-bottom: 50px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid > div:first-child > p { max-width: 460px; margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.footer-links { display: flex; gap: 30px; align-items: start; padding-top: 12px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--line); color: #7f8796; font-size: 10px; letter-spacing: .04em; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page { background: var(--white); }
.legal-hero { padding: 150px 0 70px; background: linear-gradient(145deg, #f8f7f2, #e8edf2); }
.legal-hero h1 { margin: 12px 0 18px; font-size: clamp(42px, 6vw, 70px); letter-spacing: -.05em; }
.legal-hero p { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.legal-content { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 120px; }
.legal-content section { margin-bottom: 48px; }
.legal-content h2 { margin: 0 0 14px; font-size: 25px; }
.legal-content p, .legal-content li { color: var(--ink-soft); line-height: 1.85; }
.legal-content ul { padding-left: 22px; }
.legal-date { margin-top: 50px; color: #808796; font-size: 12px; }
/* Privacy and support pages carry all three languages; legal.js shows one. Beats display rules such as .support-box. */
[data-lang-block][hidden] { display: none !important; }
.legal-actions { display: flex; align-items: center; gap: 18px; }
.legal-actions .language-switcher { margin-top: 0; }
/* Phones: the logo already links home, so the switcher keeps the header to one line. */
@media (max-width: 640px) { .legal-actions .text-link { display: none; } }
.support-box { margin: 35px 0; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.support-box a { color: var(--blue); font-weight: 750; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .section { padding: 90px 0; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: 76px 18px auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border: 1px solid var(--line); border-radius: 24px; background: rgba(248,247,243,.97); backdrop-filter: blur(20px); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: opacity .2s, transform .2s; }
  .nav-links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links > a { padding: 14px 10px; border-bottom: 1px solid var(--line); }
  .language-switcher { margin-top: 14px; justify-content: center; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { width: min(590px, 100%); margin: auto; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .update-grid { grid-template-columns: 1fr 1fr; }
  .privacy-panel { grid-template-columns: 1fr; padding: 54px; }
  .language-panel { grid-template-columns: 1fr; gap: 25px; }
  .download-panel { grid-template-columns: 120px 1fr; }
  .download-icon { width: 112px; }
  .platforms { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 30px); --radius-lg: 30px; }
  .section { padding: 74px 0; }
  .brand img { width: 39px; height: 39px; border-radius: 11px; }
  .brand strong { font-size: 14px; }
  .hero { padding-top: 115px; }
  .hero h1 { font-size: 51px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .trust-row { gap: 12px; }
  .hero-visual { height: 480px; margin-top: -12px; }
  .phone-front { width: 210px; height: 456px; left: calc(50% - 120px); }
  .phone-back { width: 180px; height: 391px; right: calc(50% - 194px); }
  .phone { border-width: 5px; border-radius: 29px; }
  .phone::before { width: 55px; height: 14px; top: 6px; }
  .orbit-one { width: 390px; height: 390px; left: calc(50% - 195px); }
  .orbit-two { display: none; }
  .floating-card { padding: 10px 12px; }
  .card-shift { top: 80px; left: -6px; }
  .card-hours { right: -7px; bottom: 45px; }
  .floating-card strong { font-size: 10px; }
  .hero-foot { margin-top: 10px; }
  .manifesto h2, .section-heading h2 { font-size: 37px; }
  .manifesto p:last-child { margin-top: 24px; font-size: 16px; }
  .feature-card { min-height: 480px; padding: 28px; }
  .feature-card h3 { font-size: 25px; }
  .update-grid { grid-template-columns: 1fr; }
  .update-card { padding: 26px; }
  .feature-calendar, .feature-docs { padding-bottom: 225px; }
  .calendar-art { width: 88%; }
  .privacy { padding-top: 15px; }
  .privacy-panel { gap: 42px; padding: 38px 24px; border-radius: 34px; }
  .privacy-copy h2 { font-size: 38px; }
  .privacy-list { grid-template-columns: 1fr; }
  .privacy-list > div { min-height: 86px; }
  .screenshot-card { flex-basis: 220px; height: 465px; }
  .language-panel { padding: 38px 26px; }
  .language-panel h2 { font-size: 32px; }
  .download { padding-top: 0; }
  .download-panel { grid-template-columns: 1fr; padding: 38px 24px; text-align: center; border-radius: 34px; }
  .download-icon { width: 100px; margin: auto; }
  .platforms { grid-column: auto; grid-template-columns: 1fr; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { gap: 15px; flex-direction: column; }
}

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