/* cuka.app — one stylesheet for every page. Brand values mirror docs/design-system.md
   (canvas #F6F6FA, accent #3B84F7, primary gradient #59A4FF → #3B84F7) plus the app-icon lime. */

:root {
  --ink: #0c0d12;
  --text: #3d4150;
  --muted: #6b6f7e;
  --line: #e4e5ec;
  --canvas: #f6f6fa;
  --card: #ffffff;
  --accent: #3b84f7;
  --accent-light: #59a4ff;
  --accent-strong: #1f6ae0;
  --lime: #94e95e;
  --lime-light: #c3f7a0;
  --lime-deep: #3f8f14;
  --success: #247a40;
  --tint-lime: #effbe6;
  --tint-blue: #eaf2ff;
  --tint-violet: #f1eeff;
  --tint-sky: #e7f6fd;
  --tint-peach: #fff1e6;
  --tint-rose: #ffeef3;
  --dark: #0e1016;
  --dark-card: #181b23;
  --dark-line: #262a35;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --space-medium: 12px;
  --shadow-sm: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 8%);
  --shadow: 0 12px 32px -12px rgb(16 24 40 / 18%), 0 4px 10px -4px rgb(16 24 40 / 8%);
  --shadow-phone: 0 40px 70px -28px rgb(16 24 40 / 45%), 0 16px 30px -18px rgb(16 24 40 / 30%);
  --gutter: 20px;
  --max: 1180px;
  --header: 68px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans", sans-serif;
  color-scheme: light;
}

:lang(zh-Hans) { --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif; }
:lang(zh-Hant) { --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Segoe UI", sans-serif; }
:lang(ja) { --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif; }
:lang(ko) { --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--card);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.25; }
/* Keep Japanese phrases and Korean words intact when headings wrap; Chinese headings break
   at punctuation and spaces. Over-long runs still wrap through overflow-wrap: anywhere. */
:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }
:is(:lang(zh-Hans), :lang(zh-Hant)) :is(h1, h2) { word-break: keep-all; }
:lang(ko) { word-break: keep-all; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
/* Single-column grids must not grow past the container when a long unbreakable phrase
   (common in Japanese headings) sets the min-content width. */
.hero-copy, .feature-copy, .section-head, .privacy-copy, .footer-brand, .not-found .inner { grid-template-columns: minmax(0, 1fr); }
.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: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; text-decoration: none; }

.icon { width: 1em; height: 1em; flex: none; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-strong); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) .kicker { letter-spacing: 0.04em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--text); }
.hl { background: linear-gradient(transparent 58%, rgb(148 233 94 / 70%) 58%, rgb(148 233 94 / 70%) 92%, transparent 92%); padding-inline: 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 0;
  font: 600 16px/1.2 var(--font); color: #fff; cursor: pointer; white-space: nowrap;
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
  box-shadow: 0 8px 20px -10px rgb(59 132 247 / 70%);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgb(59 132 247 / 75%); }
.button-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-strong); }
.text-link .icon { transition: transform .15s ease; }
.text-link:hover .icon { transform: translateX(3px); }
.store-badge { display: inline-block; border-radius: 10px; transition: transform .15s ease, opacity .15s ease; }
.store-badge:hover { transform: translateY(-1px); opacity: .9; }
.store-badge img { height: 54px; width: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 84%); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { text-decoration: none; }
.brand-icon { width: 36px; height: 36px; }
.brand-word { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav > a, .menu > summary { color: var(--ink); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav > a:hover, .menu > summary:hover { background: var(--canvas); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.menu { position: relative; }
.menu > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; user-select: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.menu[open] > summary .chev { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.menu-panel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: 15px; }
.menu-panel a:hover { background: var(--canvas); text-decoration: none; }
.menu-panel a[aria-current="page"] { color: var(--accent-strong); }
.menu-panel .icon-tile { width: 32px; height: 32px; font-size: 17px; border-radius: 10px; }
.lang-menu .menu-panel { left: auto; right: 0; min-width: 180px; }
.lang-menu > summary { font-weight: 500; }
.lang-menu > summary .globe { width: 18px; height: 18px; }

.mobile-menu { display: none; }
.mobile-menu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; color: var(--ink); }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu > summary .icon { width: 24px; height: 24px; }
.mobile-menu .close-icon, .mobile-menu[open] .open-icon { display: none; }
.mobile-menu[open] .close-icon { display: block; }
.mobile-panel { position: fixed; inset: var(--header) 0 auto; max-height: calc(100dvh - var(--header)); overflow-y: auto; background: var(--card); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px var(--gutter) 24px; }
.mobile-panel a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-panel a:hover { text-decoration: none; }
.mobile-panel .group-label { margin: 16px 4px 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.mobile-panel .langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mobile-panel .langs a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 15px; }
.mobile-panel .langs a[aria-current="page"] { border-color: var(--accent); color: var(--accent-strong); }

/* Phones */
.phone {
  --w: 280px;
  position: relative; flex: none; width: var(--w); padding: calc(var(--w) * .032);
  background: #0d0e12; border-radius: calc(var(--w) * .165);
  box-shadow: inset 0 0 0 1.5px #3a3d47, var(--shadow-phone);
}
.phone img { width: 100%; border-radius: calc(var(--w) * .135); background: var(--canvas); }
.phone::after { content: ""; position: absolute; left: 50%; top: calc(var(--w) * .058); width: 30%; height: calc(var(--w) * .088); transform: translateX(-50%); background: #000; border-radius: 999px; }

/* Hero */
.hero { position: relative; padding: 48px 0 96px; background:
  radial-gradient(52% 58% at 88% 18%, rgb(148 233 94 / 30%), transparent 72%),
  radial-gradient(44% 50% at 8% 0%, rgb(89 164 255 / 16%), transparent 70%),
  linear-gradient(180deg, #fff 0%, var(--canvas) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
/* Give the square app icon breathing room inside the capsule's curved edge. */
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px var(--space-medium); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 600; font-size: 15px; }
.tag picture, .tag img { width: 28px; height: 28px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); }
:is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) .hero h1 { font-size: clamp(34px, 4.4vw, 54px); }
.hero .lead { max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink); font-weight: 600; font-size: 15px; }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.check-dot { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.check-dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.requirements { color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; height: 640px; }
.hero-visual .phone { position: absolute; }
.hero-visual .phone-main { --w: 296px; left: 50%; top: 10px; transform: translateX(-50%); z-index: 3; }
.hero-visual .phone-left { --w: 250px; left: 2%; top: 92px; transform: rotate(-7deg); z-index: 1; }
.hero-visual .phone-right { --w: 250px; right: 2%; top: 92px; transform: rotate(7deg); z-index: 2; }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: rgb(255 255 255 / 94%); border-radius: 999px; box-shadow: var(--shadow); color: var(--ink); font-weight: 700; font-size: 15px; white-space: nowrap; }
.float-chip .icon-tile { width: 32px; height: 32px; font-size: 17px; border-radius: 999px; }
.float-chip.one { left: -24px; top: 585px; }
.float-chip.two { right: -24px; top: 112px; }

.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint-blue); color: var(--accent-strong); font-size: 24px; flex: none; }
.icon-tile.lime { background: var(--tint-lime); color: var(--lime-deep); }
.icon-tile.solid { background: var(--lime); color: var(--ink); }

/* Trust strip */
.trust { position: relative; z-index: 5; margin-top: -56px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
/* Scope copy styles to the text so icon tiles keep their shared size and centering. */
.trust-item > div > span { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 4px; }

/* Sections */
.section { padding: 104px 0; }
.section-tight { padding: 0 0 96px; }
.section-canvas { background: var(--canvas); }
.section-head { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 780px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); }
.section-head .lead { color: var(--muted); }

/* Feature rows */
.features { display: grid; gap: 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 0; height: 560px; padding-top: 52px; border-radius: var(--radius-xl); overflow: hidden; background: var(--tint-lime); isolation: isolate; }
.feature-media .phone { --w: 290px; }
.feature-media.duo .phone { --w: 250px; }
.feature-media.duo .phone:first-child { transform: translate(28px, 36px) rotate(-5deg); z-index: 1; }
.feature-media.duo .phone:last-child { transform: translate(-28px, 0) rotate(4deg); z-index: 2; }
.feature-media.bottom { align-items: flex-end; padding-top: 0; padding-bottom: 44px; }
.feature-media::before { content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(closest-side, rgb(255 255 255 / 75%), transparent); z-index: -1; }
.tint-lime { background: var(--tint-lime); }
.tint-blue { background: var(--tint-blue); }
.tint-violet { background: var(--tint-violet); }
.tint-sky { background: var(--tint-sky); }
.tint-peach { background: var(--tint-peach); }
.tint-rose { background: var(--tint-rose); }
.tint-ink { background: radial-gradient(60% 60% at 50% 30%, rgb(148 233 94 / 28%), transparent 70%), var(--dark); }
.tint-ink::before { display: none; }
.vault-badge { position: absolute; z-index: 3; left: 50%; bottom: 48px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 999px; background: rgb(14 16 22 / 88%); color: #fff; font-weight: 700; box-shadow: 0 20px 40px -16px rgb(0 0 0 / 60%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.vault-badge .icon-tile { width: 36px; height: 36px; border-radius: 999px; font-size: 18px; }
.feature-copy { display: grid; gap: 18px; justify-items: start; }
.feature-copy h2 { font-size: clamp(28px, 3.2vw, 42px); }
.feature-copy p { font-size: 18px; }
.bullets { display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.bullets .check-dot { margin-top: 2px; }

/* Grids of cards */
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: grid; align-content: start; gap: 12px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.card h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.55; }
a.card { color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
a.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
a.card .text-link { margin-top: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; display: grid; align-content: start; gap: 10px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 18px; }
.step h3 { font-size: 21px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 16px; }

/* Privacy */
.privacy { background: var(--dark); color: #c9ccd6; padding: 104px 0; position: relative; overflow: hidden; }
.privacy::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; background: radial-gradient(closest-side, rgb(148 233 94 / 22%), transparent); pointer-events: none; }
.privacy-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.privacy h2 { color: #fff; font-size: clamp(34px, 4.4vw, 56px); }
.privacy .kicker { color: var(--lime); }
.privacy-copy { display: grid; gap: 20px; justify-items: start; }
.privacy-copy p { font-size: 18px; }
.privacy-copy a { color: var(--lime); font-weight: 600; }
.privacy-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.privacy-point { display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--radius-lg); }
.privacy-point h3 { color: #fff; font-size: 18px; letter-spacing: 0; }
.privacy-point p { font-size: 15px; line-height: 1.55; color: #a3a7b4; }
.privacy-point .icon-tile { background: rgb(148 233 94 / 14%); color: var(--lime); width: 44px; height: 44px; font-size: 22px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.plan { display: grid; align-content: start; gap: 18px; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.plan-pro { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(135deg, var(--accent-light), var(--lime)) border-box; box-shadow: var(--shadow); }
.plan-name { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; }
.plan-price { color: var(--ink); font-size: 18px; font-weight: 600; }
.pro-pill { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: linear-gradient(90deg, #ffd66b, #f6a93b); color: #4a2f00; font-size: 13px; font-weight: 800; }
.plans-note { max-width: 720px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq-layout .section-head { text-align: left; justify-items: start; margin: 0; position: sticky; top: calc(var(--header) + 32px); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .2s ease; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--text); font-size: 16px; }

/* Final CTA */
.final-cta { padding: 0 0 104px; }
.cta-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 48px 56px; border-radius: var(--radius-xl); background: radial-gradient(80% 140% at 100% 0%, rgb(255 255 255 / 55%), transparent 60%), linear-gradient(120deg, var(--lime-light), var(--lime)); overflow: hidden; }
.cta-card .cta-icon { width: 112px; height: 112px; filter: drop-shadow(0 16px 24px rgb(40 90 10 / 30%)); }
.cta-card h2 { font-size: clamp(28px, 3.4vw, 42px); }
.cta-card p { color: #253018; font-size: 18px; margin-top: 8px; }

/* Feature page */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .icon { width: 14px; height: 14px; }
.page-hero { padding: 32px 0 88px; background: radial-gradient(50% 60% at 85% 20%, rgb(148 233 94 / 24%), transparent 72%), linear-gradient(180deg, #fff, var(--canvas)); overflow: hidden; }
.page-hero .hero-grid { margin-top: 28px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); }
.page-hero .hero-visual { height: 600px; display: flex; justify-content: center; align-items: flex-start; }
.page-hero .hero-visual .phone { position: relative; --w: 280px; }
.page-hero .hero-visual.duo .phone:first-child { transform: translate(34px, 44px) rotate(-5deg); z-index: 1; }
.page-hero .hero-visual.duo .phone:last-child { transform: translate(-34px, 0) rotate(4deg); z-index: 2; }
.gallery { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.gallery figure { margin: 0; display: grid; gap: 16px; justify-items: center; }
.gallery .phone { --w: 260px; }
.gallery figcaption { max-width: 260px; text-align: center; color: var(--muted); font-size: 15px; }

/* Legal & plain pages */
.plain { padding: 56px 0 96px; }
.plain .container { max-width: 760px; }
.plain h1 { font-size: clamp(34px, 5vw, 48px); margin: 12px 0 8px; }
.plain .date { color: var(--muted); font-size: 15px; }
.plain .intro { font-size: 19px; margin: 28px 0 8px; color: var(--ink); }
.plain section { margin-top: 32px; }
.plain h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 10px; }
.plain .back { margin-top: 48px; }
.not-found { min-height: calc(100dvh - var(--header) - 200px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .inner { display: grid; gap: 18px; justify-items: center; max-width: 560px; }
.not-found h1 { font-size: clamp(36px, 5vw, 52px); }
.not-found .langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }

/* Footer */
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: grid; gap: 16px; justify-items: start; }
.footer-brand p { color: var(--muted); max-width: 22em; }
.footer-brand .store-badge img { height: 44px; }
.footer-title { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--ink); }
.footer-col a[aria-current="page"] { color: var(--accent-strong); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Language suggestion (site.js) */
.lang-suggest { position: fixed; z-index: 70; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(100% - 32px, 520px); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; background: var(--ink); color: #fff; border-radius: 999px; box-shadow: 0 20px 40px -16px rgb(0 0 0 / 50%); font-size: 15px; }
.lang-suggest span { flex: 1; min-width: 0; }
.lang-suggest .button { min-height: 38px; padding: 6px 16px; font-size: 15px; }
.lang-suggest .dismiss { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 0; background: rgb(255 255 255 / 12%); color: #fff; cursor: pointer; }
.lang-suggest .dismiss .icon { width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav > a { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { gap: 48px; }
  .hero-visual .phone-left, .hero-visual .phone-right { --w: 220px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header: 60px; }
  body { font-size: 16px; }
  .nav, .header-actions .lang-menu { display: none; }
  .header-inner { gap: 12px; justify-content: space-between; }
  .header-actions { gap: 4px; }
  .mobile-menu { display: block; }
  .hero { padding: 32px 0 88px; }
  .hero-grid, .feature, .privacy-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { justify-items: center; text-align: center; }
  .hero-copy .cta-row, .hero-copy .checks { justify-content: center; }
  .hero-visual { height: 540px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-visual .phone-main { --w: 250px; }
  .hero-visual .phone-left, .hero-visual .phone-right { --w: 200px; top: 80px; }
  .float-chip { font-size: 14px; }
  .float-chip.one { top: auto; bottom: 8px; left: 0; }
  .float-chip.two { top: 96px; right: 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section, .privacy { padding: 72px 0; }
  .features { gap: 64px; }
  .feature { gap: 28px; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .feature-media { height: 460px; padding-top: 40px; }
  .feature-media .phone { --w: 240px; }
  .feature-media.duo .phone { --w: 200px; }
  .steps, .card-grid.three { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { gap: 28px; }
  .faq-layout .section-head { position: static; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .cta-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 40px 24px; gap: 20px; }
  .cta-card .cta-icon { width: 88px; height: 88px; }
  .final-cta { padding-bottom: 72px; }
  .page-hero .hero-visual { height: 520px; }
  .page-hero .hero-visual .phone { --w: 230px; }
  .page-hero .breadcrumb { justify-content: center; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .brand-word { height: 22px; }
  .header-actions .button-small { padding: 8px 14px; }
  .hero h1 { font-size: 38px; }
  :is(:lang(zh-Hans), :lang(zh-Hant), :lang(ja), :lang(ko)) .hero h1 { font-size: 32px; }
  .page-hero h1 { font-size: 32px; }
  .hero-visual { height: 470px; }
  .hero-visual .phone-main { --w: 218px; }
  .hero-visual .phone-left, .hero-visual .phone-right { --w: 170px; top: 70px; }
  .hero-visual .phone-left { left: -4%; }
  .hero-visual .phone-right { right: -4%; }
  .float-chip.one { left: -2px; }
  .float-chip.two { display: none; }
  .store-badge img { height: 50px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .trust-item { padding: 18px 20px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .step { padding: 22px; }
  .privacy-points { grid-template-columns: minmax(0, 1fr); }
  .feature-media { height: 420px; border-radius: var(--radius-lg); }
  .feature-media .phone { --w: 220px; }
  .feature-media.duo .phone { --w: 172px; }
  .plan { padding: 28px 24px; }
  .faq-item summary { padding: 18px 20px; font-size: 16px; }
  .faq-item p { padding: 0 20px 20px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero .hero-visual { height: 440px; }
  .page-hero .hero-visual .phone { --w: 200px; }
  .page-hero .hero-visual.duo .phone { --w: 172px; }
  .gallery .phone { --w: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
