/* Kapibara Works - one stylesheet for every page. Product pages are black; documents follow the OS light/dark.
   Motion: site.js adds .in (reveal on enter) and loops .play on [data-art] diagrams while they are visible; nothing is pinned
   to the scroll position. Every effect has a static fallback (no JS, prefers-reduced-motion). Fonts: build/fonts.py. */
@font-face { font-family: "Inter"; src: url(/assets/inter.e8d3d608.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+00D7; }
@font-face { font-family: "Noto Sans JP"; src: url(/assets/noto-400.e8d3d608.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url(/assets/noto-700.e8d3d608.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --bg: #000; --fg: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.14); --card: #111114; --card2: #1c1c1f;
  --accent: #2997ff; --accent-rgb: 41,151,255; --on-accent: #000;
  --ease: cubic-bezier(.2,.75,.2,1); --maxw: 1120px; --gutter: max(20px, calc((100vw - var(--maxw)) / 2));
  --pw: 330px;
  font-family: "Inter", "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  color-scheme: dark;
}
.theme-auto { color-scheme: light dark; }
@media (prefers-color-scheme: light) {
  .theme-auto { --bg: #fff; --fg: #1d1d1f; --muted: #6e6e73; --line: rgba(0,0,0,.12); --card: #f5f5f7; --card2: #e8e8ed; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; text-wrap: pretty; }
:lang(ja) body, body:lang(ja) { line-height: 1.85; }
body { line-break: strict; text-wrap: pretty; text-autospace: normal; }
h1, h2, h3 { text-wrap: balance; }
/* ja copy written with phrase breaks (pages.js jt): lines break only between phrases */
:lang(ja) body { word-break: keep-all; overflow-wrap: break-word; }
.kp { word-break: keep-all; overflow-wrap: anywhere; }
.kp .u { display: inline-block; max-width: 100%; }
.nb { white-space: nowrap; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
/* controls: no double-tap wait; a long press does not select a button's label (links keep their long-press menu, text stays selectable) */
a, button, summary, select { touch-action: manipulation; }
.btn, .vbtn { -webkit-user-select: none; user-select: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico-s { width: 1em; height: 1em; }
.ico-l { width: 32px; height: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .9); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 var(--gutter); }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.logo { width: 26px; height: 26px; border-radius: 7px; }
.hero-logo { display: flex; justify-content: center; margin-bottom: clamp(20px, 3vw, 30px); }
.hero-logo .logo { width: clamp(56px, 7vw, 76px); height: auto; border-radius: 0; filter: drop-shadow(0 6px 24px rgba(61,140,255,.35)); }
.nav nav { display: flex; gap: 4px; }
.nav nav a { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; font-size: 14px; text-decoration: none; color: var(--muted); border-radius: 10px; }
.nav nav a { transition: color .2s, background .2s; }
.nav nav a.pressed { color: var(--fg); background: color-mix(in srgb, var(--fg) 12%, transparent); }
@media (max-width: 480px) { .brand { font-size: 14px; gap: 8px; } .nav nav a { padding: 0 7px; font-size: 13px; } .nav nav a .ico { display: none; } }
@media (max-width: 350px) { .brand span { display: none; } }

/* ---------- shared bits ---------- */
.display { font-size: clamp(38px, 7vw, 92px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
:lang(ja) .display { letter-spacing: -.01em; line-height: 1.15; }
.eyebrow, .kicker { display: block; font-size: clamp(15px, 1.6vw, 19px); font-weight: 650; color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.section-title { font-size: min(clamp(30px, 4.8vw, 56px), (100vw - 2 * var(--gutter)) / (var(--n, 1) * 1.08)); letter-spacing: -.03em; text-align: center; margin-bottom: clamp(32px, 6vw, 64px); }
:lang(ja) .section-title { letter-spacing: 0; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: 16px; font-weight: 650; text-decoration: none; border: 0; cursor: pointer; transition: transform .22s var(--ease), box-shadow .2s, filter .22s, background-color .22s; }
/* press feedback: site.js puts .pressed on from the moment a finger lands until shortly after it lifts (:active alone is lost on a quick tap on iPhone).
   Down is fast, back up is slower. */
.btn.pressed { transform: scale(.94); filter: brightness(.82); transition-duration: .08s; }
.btn-ghost.pressed { background-color: rgba(255,255,255,.14); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); color: var(--fg); }
.btn-store { background: var(--fg); color: var(--bg); }
.btn-soon { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--muted); cursor: default; }
.price { color: var(--muted); font-size: 15px; }
.app-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px -8px rgba(var(--accent-rgb), .5); }

/* phone frame: --pw sets the width; the screen keeps the iPhone screenshot ratio */
.phone { position: relative; width: var(--pw); padding: calc(var(--pw) * .032); border-radius: calc(var(--pw) * .165); background: linear-gradient(150deg, #3a3a3f, #121214 40%, #2a2a2e); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(var(--accent-rgb), .45); }
.phone-screen { position: relative; aspect-ratio: 1320 / 2868; border-radius: calc(var(--pw) * .135); overflow: hidden; background: #000; }
.phone-screen > img, .phone-screen > canvas, .phone-screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; top: calc(var(--pw) * .058); left: 50%; width: 29%; height: calc(var(--pw) * .085); transform: translateX(-50%); background: #000; border-radius: 999px; }

/* reveal on enter (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease) calc(var(--d, 0) * 70ms), transform .7s var(--ease) calc(var(--d, 0) * 70ms); }
.js .words .w { display: inline-block; opacity: 0; transform: translateY(.35em); }
.js .words.in .w { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(var(--i) * 110ms), transform .9s var(--ease) calc(var(--i) * 110ms); }

/* ---------- top: hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 110px 20px 90px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg span { position: absolute; width: 70vmax; height: 70vmax; left: calc(var(--k) * 26% - 30%); top: calc(10% + var(--k) * 6%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 55%, transparent), transparent); opacity: .5; animation: drift 16s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -4s); }
@keyframes drift { to { transform: translate3d(6vmax, -5vmax, 0) scale(1.15); } }
.hero-in { position: relative; max-width: 980px; }
.hero .eyebrow { color: var(--fg); opacity: .8; }
.hero-title { font-size: clamp(42px, 8.6vw, 112px); }
:lang(ja) .hero-title { font-size: clamp(38px, 7.4vw, 96px); }
.hero-lead { margin: 28px auto 0; max-width: 24em; font-size: clamp(18px, 2vw, 22px); color: var(--muted); }
/* rows of three: 6 half-columns, each icon spans 2; a short last row is centred by starting it half a column (2 left) or one column (1 left) in */
.hero-icons { --cell: clamp(92px, 13vw, 124px); list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(6, calc(var(--cell) / 2)); justify-content: center; gap: 22px 0; }
.hero-icons li { grid-column: span 2; display: grid; justify-items: center; }
.hero-icons li:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.hero-icons li:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
.hero-icons a { position: relative; display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: 13px; color: var(--muted); }
.hero-icons .new-mark { position: absolute; top: -9px; right: -13px; box-shadow: 0 0 0 2.5px var(--bg); }
.hero-icons img { width: clamp(58px, 9vw, 84px); height: auto; transition: transform .3s var(--ease), filter .3s; }
.hero-icons a.pressed img { transform: scale(.9); filter: brightness(.85); transition-duration: .08s; }
.js .hero-icons li { opacity: 0; transform: translateY(40px) scale(.7) rotate(calc((var(--k) - (var(--n) - 1) / 2) * 8deg)); }
.js .hero-icons.in li { opacity: 1; transform: none; transition: opacity .8s var(--ease) calc(600ms + var(--k) * 110ms), transform 1.1s cubic-bezier(.3,1.5,.4,1) calc(600ms + var(--k) * 110ms); }
.scroll-cue { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 2px; font-size: 12px; color: var(--muted); text-decoration: none; }
.scroll-cue .ico { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- top: one row per app (diagram + text), nothing pinned ---------- */
.stage-glow { position: absolute; inset: -10%; pointer-events: none; background:
  radial-gradient(55% 45% at 72% 58%, rgba(var(--accent-rgb), .3) 0, transparent 70%),
  radial-gradient(40% 40% at 15% 30%, rgba(var(--accent-rgb), .1) 0, transparent 70%); }
.app-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 88px); padding: clamp(64px, 10vw, 130px) var(--gutter); }
.row-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 50% at 28% 50%, rgba(var(--accent-rgb), .16), transparent 70%); }
.app-row.flip .row-glow { transform: scaleX(-1); }
.app-row.flip .row-art { order: 2; }
.row-art { position: relative; }
.row-art .art-svg { width: 100%; height: auto; }
.row-shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(var(--accent-rgb), .55); }
.row-icon { width: min(240px, 60%); height: auto; margin: auto; }
.row-text { position: relative; container-type: inline-size; }
.row-name { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--accent); margin-bottom: 16px; }
.row-name .app-icon { width: 44px; height: 44px; }
.new-mark { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 750; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; }
.row-head { font-size: min(clamp(32px, 4.6vw, 60px), 100cqi / (var(--n, 1) * 1.08)); font-weight: 800; line-height: 1.2; letter-spacing: -.03em; }
:lang(ja) .row-head { letter-spacing: 0; line-height: 1.3; }
.row-lead { margin-top: 18px; font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 26em; }

/* ---------- product page ---------- */
.product { position: relative; }
.p-hero { position: relative; min-height: 92svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding: 110px var(--gutter) 60px; overflow: hidden; }
.p-hero-in { position: relative; container-type: inline-size; }
.p-kicker { display: flex; align-items: center; gap: 14px; font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 22px; }
.p-kicker .app-icon { width: 56px; height: 56px; }
.p-head { font-size: min(clamp(40px, 6.4vw, 84px), 100cqi / (var(--n, 1) * 1.08)); }
.p-lead { margin-top: 24px; font-size: clamp(18px, 1.9vw, 22px); color: var(--muted); max-width: 24em; --d: 3; }
.p-hero .ctas { --d: 4; }
.soon-note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.p-hero-phone { position: relative; --pw: min(320px, 34svh); }
/* transform only: the hero screenshot is the LCP image, so it stays opaque from the first paint */
.js .rise { transform: perspective(1200px) translateY(64px) rotateX(14deg); transform-origin: 50% 100%; }
.js .rise.in { transform: perspective(1200px); transition: transform 1.1s var(--ease) .1s; }

/* a real photo, as big as fits one screen under the nav (1.2 = its aspect); edge to edge on phones */
.p-photo { margin: 0; padding: clamp(16px, 3vw, 40px) 20px 0; }
.p-photo img { display: block; width: min(100%, max(560px, (100svh - 84px) * 1.2)); height: auto; margin-inline: auto; border-radius: clamp(12px, 1.8vw, 24px); box-shadow: 0 40px 100px -40px rgba(var(--accent-rgb), .6); }
@media (max-width: 640px) { .p-photo { padding-inline: 0; } .p-photo img { border-radius: 0; } }

/* how it works: three animated steps, side by side (stacked on phones) */
.how { padding: clamp(80px, 11vw, 150px) var(--gutter); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: none; }
.how-step { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 28px; background: var(--card); overflow: hidden; }
.how-art { padding: 18px 10px 0; background: radial-gradient(70% 70% at 50% 45%, rgba(var(--accent-rgb), .12), transparent 70%); }
.how-art .art-svg { width: 100%; height: auto; }
.how-tx { padding: 8px 26px 28px; }
.how-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.how-tx h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.3; margin-bottom: 8px; }
.how-tx p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.how-step:not(:last-child)::after { content: ""; position: absolute; z-index: 1; top: 34%; right: calc(clamp(16px, 2.4vw, 32px) / -2 - 7px); width: 14px; height: 14px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); transform: rotate(45deg); opacity: .8; }
.how-step { overflow: visible; }

/* カエリドキ: watching without draining the battery (copy watch) */
.kd-watch { padding: 0 var(--gutter) clamp(80px, 11vw, 150px); }
.kd-watch .section-title { margin-bottom: 18px; }
.kd-lead { max-width: 32em; margin: 0 auto clamp(36px, 6vw, 60px); text-align: center; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.7; }
.kd-points { list-style: none; margin: 0 auto clamp(28px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; }
.kd-points li { padding: 26px 26px 28px; border-radius: 24px; background: var(--card); }
.kd-points h3 { font-size: 21px; line-height: 1.35; margin: 14px 0 6px; }
.kd-points p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.kd-night { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 44px) clamp(18px, 4vw, 48px); border-radius: 28px; background: radial-gradient(90% 60% at 50% 0%, rgba(var(--accent-rgb), .14), transparent 70%), var(--card); }
.kd-night-title { text-align: center; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 12px; }
.kd-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 26px; color: var(--muted); font-size: 14px; }
.kd-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.kd-legend .ico { width: 18px; height: 18px; }
.kd-legend .kd-wake .ico { color: var(--accent); }
.kd-legend .kd-ios .ico { color: var(--muted); }
.kd-rows { list-style: none; margin: 0; padding: 0; }
.kd-row { position: relative; display: grid; grid-template-columns: 52px 36px minmax(0, 1fr); gap: 0 12px; padding-bottom: 22px; }
.kd-row::before { content: ""; position: absolute; left: calc(52px + 12px + 17px); top: 36px; bottom: 0; border-left: 2px solid var(--line, #3a3a40); }
.kd-row:last-child { padding-bottom: 0; } .kd-row:last-child::before { display: none; }
.kd-sleep::before { border-left-style: dashed; }
.kd-t { padding-top: 7px; text-align: right; white-space: nowrap; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.kd-wake .kd-t { color: var(--fg, #f5f5f7); }
.kd-m { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.kd-m .ico { width: 20px; height: 20px; }
.kd-wake .kd-m { background: var(--accent); color: var(--on-accent); stroke-width: 2.2; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .18); }
.kd-ios .kd-m { border: 2px solid var(--line, #3a3a40); color: var(--muted); background: var(--bg, #000); }
.kd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); opacity: .7; }
.kd-row b { display: block; font-size: 18px; line-height: 1.4; padding-top: 6px; }
.kd-sleep b { font-size: 15px; font-weight: 400; color: var(--muted); }
.kd-row p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 2px; }
.kd-note { max-width: 760px; margin: 14px auto 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
@media (max-width: 640px) { .kd-points { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kd-night { padding: 24px 14px; } .kd-row { grid-template-columns: 46px 36px minmax(0, 1fr); gap: 0 10px; } .kd-row::before { left: calc(46px + 10px + 17px); } }

/* inside the AI (copy ai): big numbers, then the photo with the detection passes and the list that lights up with them */
.ai { padding: 0 var(--gutter) clamp(80px, 11vw, 150px); }
.ai .section-title { margin-bottom: 18px; }
.ai-lead { max-width: 34em; margin: 0 auto clamp(36px, 6vw, 64px); text-align: center; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.7; }
.ai-stats { list-style: none; margin: 0 auto clamp(20px, 3vw, 32px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 960px; }
.ai-stat { padding: 24px 22px 26px; border-radius: 24px; background: var(--card); }
.ai-stat b { display: block; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -.02em; color: var(--accent); margin-bottom: 8px; white-space: nowrap; }
.ai-stat span { display: block; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ai-flow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; max-width: 1120px; margin: 0 auto; padding: clamp(14px, 2vw, 22px); border-radius: 28px; background: var(--card); }
.ai-art .art-svg { display: block; width: 100%; height: auto; }
.ai-steps { list-style: none; margin: 0; padding: 0 8px 0 0; display: grid; gap: 16px; }
.ai-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.ai-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 800; }
.ai-steps h3 { font-size: 18px; line-height: 1.35; margin: 2px 0 2px; }
.ai-steps p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.ai-note { max-width: 1120px; margin: 14px auto 0; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
@media (max-width: 900px) { .ai-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ai-flow { grid-template-columns: 1fr; } .ai-steps { padding: 0 6px 8px; } }
@media (max-width: 480px) { .ai-stat { padding: 18px 16px 20px; } .ai-stat b { font-size: min(30px, 8vw); } .ai-stat span { font-size: 14px; } }

/* and more: short cards */
.more { padding: 0 var(--gutter) clamp(80px, 11vw, 140px); }
.more-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 1120px; }
.more-card { padding: 26px 26px 28px; border-radius: 24px; background: var(--card); }
.feat-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(var(--accent-rgb), .14); color: var(--accent); margin-bottom: 16px; }
.feat-ico .ico { width: 26px; height: 26px; }
/* five or six cards: rows of three (five = 3 + 2, the short row centred) instead of 4 + 1 */
@media (min-width: 900px) {
  .more-grid:has(> :nth-child(5)) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .more-grid:has(> :nth-child(5)) > li { grid-column: span 2; }
  .more-grid:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}
.more-card h3 { font-size: 20px; line-height: 1.35; margin-bottom: 6px; }
.more-card p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* screens: one swipeable row */
.gallery { padding: 0 0 clamp(80px, 11vw, 140px); }
.gal { list-style: none; margin: 0; padding: 10px var(--gutter) 40px; display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
.gal-item { position: relative; flex: none; scroll-snap-align: start; }
.phone-g { --pw: 230px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 24px 50px -24px rgba(0,0,0,.9); }
@media (min-width: 1200px) { .gal { justify-content: safe center; } }
.vbtn { position: absolute; right: 12px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; color: #fff; }
.vbtn { transition: transform .14s var(--ease); }
.vbtn.pressed { transform: scale(.9); transition-duration: .08s; }
.vbtn .i-pause, .vbtn[aria-pressed="true"] .i-play { display: none; }
.vbtn[aria-pressed="true"] .i-pause { display: block; }

.notice { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 0 auto clamp(60px, 9vw, 110px); padding: 20px 24px; border-radius: 20px; background: var(--card); box-shadow: inset 4px 0 0 var(--accent); color: var(--muted); font-size: 15px; }
.product .notice { margin-inline: max(20px, calc((100% - 860px) / 2)); }
.notice .ico { color: var(--accent); margin-top: 3px; }
.facts { padding: 0 var(--gutter) clamp(70px, 10vw, 130px); }
.chips { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 980px; }
.chip { display: flex; align-items: center; gap: 14px; padding: 22px; border-radius: 22px; background: var(--card); font-weight: 600; font-size: 16px; line-height: 1.45; }
.chip .ico { color: var(--accent); width: 28px; height: 28px; }
.specs { max-width: 980px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.specs div { padding: 16px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.note-inline { margin-top: 4px; font-weight: 400; font-size: 14px; color: var(--muted); }
.cta { position: relative; text-align: center; padding: clamp(80px, 12vw, 150px) 20px; display: grid; justify-items: center; background: radial-gradient(50% 60% at 50% 100%, rgba(var(--accent-rgb), .22), transparent 70%); }
.cta .app-icon { width: 96px; height: 96px; margin-bottom: 22px; }
.cta-name { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.03em; }
.cta-sub { margin-top: 10px; color: var(--muted); font-size: 18px; }
.cta .ctas { justify-content: center; }
.cta-links { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; }
.cta-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); text-decoration: none; font-weight: 600; }
.cta-links a.pressed, .row-name.pressed, .foot a.pressed, .crumbs a.pressed, .scroll-cue.pressed { opacity: .5; }

/* ---------- diagrams (build/art.js): final state = plain markup; "before" state only while JS runs and .play is off ---------- */
.art-svg text { font-family: inherit; }
.art .ac { fill: var(--accent); }
.art .acs { stroke: var(--accent); }
.art :is([class^="t-"], [class*=" t-"]) { transform-box: fill-box; transform-origin: center; transition: opacity .25s, transform .25s, stroke-dashoffset .25s; }
.art .t-draw, .art .t-deplete { stroke-dasharray: 1; }
.art .t-deplete { stroke-dashoffset: var(--to); }
.art .o-top, .art .t-grow-y { transform-origin: 50% 0; }
.art .t-grow-y:not(.o-top) { transform-origin: 50% 100%; }
.art.play :is([class^="t-"], [class*=" t-"]) { transition: opacity var(--d, .6s) var(--ease), transform var(--d, .8s) cubic-bezier(.3,1.25,.5,1), stroke-dashoffset var(--d, 1s) var(--ease);
  transition-delay: calc(var(--t, 0s) + var(--k, 0) * .7s); }
.art.play .t-move, .art.play .t-draw, .art.play .t-deplete, .art.play .t-grow-y { transition-timing-function: var(--ease); }
.js .art:not(.play) .t-in { opacity: 0; transform: translateY(10px); }
.js .art:not(.play) .t-drop { opacity: 0; transform: translateY(-16px); }
.js .art:not(.play) .t-pop { opacity: 0; transform: scale(.3); }
.js .art:not(.play) .t-fade { opacity: 0; }
.js .art:not(.play) .t-out { opacity: 1; }
.art .t-out { opacity: 0; }
.js .art:not(.play) .t-draw { stroke-dashoffset: 1; }
.js .art:not(.play) .t-deplete { stroke-dashoffset: 0; }
.js .art:not(.play) .t-move { transform: translate(var(--x, 0), var(--y, 0)); }
.js .art:not(.play) .t-grow-y { transform: scaleY(0); }
.art.play .a-ripple { animation: ripple 1.8s var(--ease) infinite; animation-delay: calc(var(--t, 0s) + var(--k, 0) * .7s); }
.art.play .a-blink { animation: blink 1.6s ease-in-out infinite; animation-delay: 1.6s; }
@keyframes ripple { from { opacity: .9; transform: scale(.7); } to { opacity: 0; transform: scale(1.5); } }
@keyframes blink { 50% { opacity: .35; } }
.art .a-ripple { opacity: 0; transform-box: fill-box; transform-origin: center; }

/* ---------- top: principles, soon ---------- */
.principles { padding: clamp(90px, 13vw, 170px) var(--gutter); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { padding: 34px 30px; border-radius: 28px; background: var(--card); }
.card .ico { color: #f5b13d; margin-bottom: 22px; }
.card:nth-child(2) .ico { color: #5cc8f5; }
.card:nth-child(3) .ico { color: #8fa9e8; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.soon { padding: clamp(70px, 10vw, 130px) var(--gutter) clamp(44px, 6vw, 72px); }
.soon-list { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 16px; max-width: 1120px; }
.app-rows a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 22px; background: var(--card); text-decoration: none; transition: transform .14s var(--ease), background .2s; }
.app-rows a.pressed { transform: scale(.97); background: var(--card2); transition-duration: .08s; }
.app-rows a .ico { transition: transform .2s var(--ease); }
.app-rows .app-icon { width: 56px; height: 56px; }
.app-rows span { flex: 1; display: grid; }
.app-rows small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.soon-card { display: grid; justify-items: center; text-align: center; padding: clamp(48px, 7vw, 80px) 24px clamp(44px, 6vw, 64px); border-radius: 32px; background: radial-gradient(60% 70% at 50% 100%, rgba(var(--accent-rgb), .2), transparent 70%), var(--card); }
.soon-card .app-icon { width: clamp(96px, 12vw, 128px); height: auto; margin-bottom: 24px; box-shadow: 0 10px 50px rgba(var(--accent-rgb), .28); }
.soon-card h3 { font-size: clamp(40px, 6vw, 68px); line-height: 1.05; letter-spacing: -.03em; }
.soon-sub { margin-top: 12px; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; }
.soon-card .ctas { justify-content: center; }

/* ---------- documents ---------- */
.page-doc main { padding: 100px 20px 80px; }
.doc { max-width: 760px; margin: 0 auto; font-size: 16.5px; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); letter-spacing: -.02em; margin-bottom: 10px; }
:lang(ja) .doc h1 { font-size: min(clamp(34px, 6vw, 48px), (100vw - 2 * var(--gutter)) / 10.8); }
.doc h2 { font-size: 21px; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc p, .doc li { margin: 8px 0; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc a { color: var(--accent); }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.crumbs a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 650; text-decoration: none; color: var(--fg) !important; margin-bottom: 8px; }
.crumb-icon { border-radius: 22.5%; }
.doc .chips-doc { padding: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 8px 0 8px; }
.chips-doc .chip { padding: 16px; font-size: 14.5px; border-radius: 16px; }
.doc .notice { margin: 8px 0 24px; max-width: none; }
.steps li { padding-left: 4px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary.pressed { opacity: .5; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s var(--ease); color: var(--muted); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0; padding-bottom: 16px; color: var(--muted); }
/* the answer opens and closes smoothly where the browser can animate to its natural height; elsewhere it just appears */
@media (prefers-reduced-motion: no-preference) { @supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .28s var(--ease), content-visibility .28s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
} }
.contact-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.app-rows { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.app-rows li { margin: 0 !important; }
.app-rows .ico { color: var(--muted); }
.doc .app-rows a { color: var(--fg); }
@media (prefers-color-scheme: light) {
  .theme-auto .doc a:not(.btn), .theme-auto .chip .ico, .theme-auto .notice .ico { color: color-mix(in srgb, var(--accent) 48%, #000); }
  .theme-auto .doc .app-rows a, .theme-auto .crumbs a { color: var(--fg); }
}
.nf { text-align: center; padding-top: 10vh; }
.nf h1 { font-size: 96px; }

/* contact form */
.contact { margin-top: 56px; padding: 28px; border-radius: 28px; background: var(--card); scroll-margin-top: 80px; }
.contact h2 { border: 0; margin: 0 0 6px; padding: 0; font-size: 26px; }
.contact > p { color: var(--muted); }
.form { display: grid; gap: 16px; margin: 22px 0 16px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.f small { font-weight: 400; color: var(--muted); }
.f-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.f input, .f select, .f textarea { width: 100%; font-size: 16px; font-weight: 400; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); min-height: 48px; }
.f textarea { resize: vertical; min-height: 140px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .5; cursor: progress; }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 14px; background: var(--card2); font-weight: 600; }
.form-status.ok { background: rgba(48,209,88,.16); }
.form-status.err { background: rgba(255,69,58,.16); }
.small { font-size: 13.5px; color: var(--muted); margin-top: 6px !important; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 48px var(--gutter) calc(32px + env(safe-area-inset-bottom)); font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--fg); margin-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; max-width: 900px; }
.foot-apps li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 16px; border-bottom: 1px solid var(--line); }
.foot-apps .foot-name { color: var(--fg); }
.foot-sub { display: inline-flex; gap: 16px; font-size: 13px; }
.foot-sub em { font-style: normal; padding: 7px 0; }
.foot h2 { font-size: 13px; color: var(--fg); margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-block; padding: 7px 0; text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot-bottom a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .app-row { grid-template-columns: 1fr; gap: 8px; padding-block: 56px; }
  .app-row.flip .row-art { order: 0; }
  .row-art { max-width: 420px; margin: 0 auto; width: 100%; }
  .row-head { font-size: min(clamp(28px, 8vw, 36px), 100cqi / (var(--n, 1) * 1.08)); }
  .row-lead { font-size: 17px; margin-top: 14px; }
  .row-name { margin-bottom: 12px; }
  .app-row .ctas { gap: 10px; margin-top: 22px; }
  .app-row .btn { padding: 0 18px; font-size: 15px; }
  .p-hero { grid-template-columns: 1fr; padding-top: 92px; gap: 40px; min-height: 0; }
  .p-kicker { font-size: 17px; margin-bottom: 16px; }
  .p-kicker .app-icon { width: 44px; height: 44px; }
  .p-head { font-size: min(clamp(34px, 9.4vw, 44px), 100cqi / (var(--n, 1) * 1.08)); }
  .p-lead { font-size: 17.5px; margin-top: 18px; }
  .p-hero-phone { --pw: min(62vw, 280px); justify-self: center; }
  .how-steps { grid-template-columns: 1fr; gap: 26px; }
  .how-step { --k: 0 !important; }
  .how-step:not(:last-child)::after { top: auto; bottom: -21px; right: auto; left: calc(50% - 7px); transform: rotate(135deg); }
  .how-art { padding: 14px 18px 0; }
  .how-tx { padding: 4px 22px 24px; }
  .more-card { padding: 22px; display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
  .more-card .feat-ico { grid-row: span 2; width: 44px; height: 44px; margin: 2px 0 0; }
  .phone-g { --pw: 200px; }
  .cards { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .contact { padding: 22px 18px; margin-inline: -4px; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* ---------- reduced motion: everything static and fully visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .words .w, .js .hero-icons li, .js .rise { opacity: 1 !important; transform: none !important; }
}

/* ---------- hover: only where the pointer can hover (on touch a tap would leave it stuck) ---------- */
@media (hover: hover) and (pointer: fine) {
  .nav nav a:hover { color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); }
  .btn-accent:hover, .btn-store:hover { filter: brightness(1.08); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
  .hero-icons a:hover img { transform: translateY(-4px) scale(1.04); }
  .hero-icons a:hover { color: var(--fg); }
  .row-name:hover span:not(.new-mark), .cta-links a:hover { text-decoration: underline; text-underline-offset: .2em; }
  .foot a:hover { color: var(--fg); text-decoration: underline; }
  .app-rows a:hover { background: var(--card2); }
  .app-rows a:hover .ico { transform: translateX(3px); }
}

/* ---------- cards: a hairline edge and a faint light from above, so they lift off the black ---------- */
:root { --hair: rgba(255,255,255,.07); }
@media (prefers-color-scheme: light) { .theme-auto { --hair: rgba(0,0,0,.06); } }
.how-step, .kd-points li, .kd-night, .ai-stat, .ai-flow, .more-card, .chip, .card, .qr-tiles li, .qr-share-in, .soon-card, .app-rows a, .contact { box-shadow: inset 0 0 0 1px var(--hair); }
.theme-dark :is(.how-step, .kd-points li, .ai-stat, .ai-flow, .more-card, .chip, .card, .qr-tiles li) { background-image: linear-gradient(180deg, rgba(255,255,255,.035), transparent 45%); }

/* ---------- wide but short windows (laptops): the top hero fits one screen ---------- */
@media (min-width: 761px) and (max-height: 960px) {
  .hero { padding: min(110px, 11svh) 20px min(90px, 10svh); }
  .hero-logo { margin-bottom: min(30px, 2.4svh); }
  .hero-logo .logo { width: clamp(44px, 7svh, 76px); }
  .hero-title, :lang(ja) .hero-title { font-size: clamp(38px, min(7.4vw, 9.6svh), 96px); }
  .hero-lead { margin-top: min(28px, 2.6svh); max-width: none; }
  .hero-icons { --cell: clamp(92px, 12.5svh, 124px); margin-top: min(48px, 4svh); gap: min(22px, 2svh) 0; }
  .hero-icons img { width: clamp(52px, 8svh, 84px); }
  .hero-icons a { gap: 8px; }
}
/* ナナメドリ: its strengths, one big block per colour (pages.js powersSection) */
.nn-powers { padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(40px, 6vw, 80px); }
.nn-list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(20px, 3vw, 36px); max-width: 1120px; }
.nn-item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(18px, 3vw, 40px); border-radius: 32px;
  background: radial-gradient(70% 90% at 25% 50%, rgba(var(--accent-rgb), .22), transparent 70%), linear-gradient(135deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .03)), var(--card);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .25); }
.nn-item.flip { background: radial-gradient(70% 90% at 75% 50%, rgba(var(--accent-rgb), .22), transparent 70%), linear-gradient(225deg, rgba(var(--accent-rgb), .12), rgba(var(--accent-rgb), .03)), var(--card); }
.nn-item.flip .nn-art { order: 2; }
.nn-art .art-svg { display: block; width: 100%; height: auto; }
.nn-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--accent); color: #000; font-weight: 800; font-size: clamp(15px, 1.5vw, 18px); margin-bottom: 18px; }
.nn-tag span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #000; color: var(--accent); font-size: 15px; }
.nn-head { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 14px; }
:lang(ja) .nn-head { letter-spacing: 0; }
.nn-head em { font-style: normal; color: var(--accent); }
.nn-body { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; }
@media (max-width: 760px) { .nn-item, .nn-item.flip { grid-template-columns: 1fr; } .nn-item.flip .nn-art { order: 0; } .nn-tx { padding: 0 6px 8px; } }

/* QR-ready: where it is used (copy uses) and broadcasting to the family (copy share) */
.qr-uses, .qr-share { padding: 0 var(--gutter) clamp(80px, 11vw, 150px); }
:is(.qr-uses, .qr-share) .section-title { margin-bottom: 18px; }
.qr-lead { max-width: 32em; margin: 0 auto clamp(36px, 6vw, 60px); text-align: center; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.7; }
.qr-tiles { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1120px; }
.qr-tiles li { padding: 26px 22px 28px; border-radius: 24px; background: var(--card); }
.qr-tile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 17px; margin-bottom: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.qr-tile svg { width: 36px; height: 36px; }
.qr-tiles h3 { font-size: 20px; line-height: 1.35; margin-bottom: 6px; }
.qr-tiles p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.qr-share-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; max-width: 1120px; margin: 0 auto; padding: clamp(14px, 2vw, 22px);
  border-radius: 28px; background: radial-gradient(70% 90% at 30% 50%, rgba(var(--accent-rgb), .16), transparent 70%), var(--card); }
.qr-share-art .art-svg { display: block; width: 100%; height: auto; }
.qr-points { list-style: none; margin: 0; padding: 0 8px 0 0; display: grid; gap: 22px; }
.qr-points li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.qr-points .feat-ico { margin: 0; }
.qr-points h3 { font-size: 19px; line-height: 1.35; margin: 2px 0 4px; }
.qr-points p { color: var(--muted); font-size: 15px; line-height: 1.65; }
.qr-note { max-width: 1120px; margin: 14px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: center; }
@media (max-width: 1000px) { .qr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .qr-share-in { grid-template-columns: 1fr; } .qr-points { padding: 0 6px 10px; } }
@media (max-width: 520px) { .qr-tiles { grid-template-columns: 1fr; } .qr-tiles li { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 22px; }
  .qr-tile { grid-row: span 2; width: 56px; height: 56px; border-radius: 15px; margin: 2px 0 0; } .qr-tile svg { width: 32px; height: 32px; } }
