/* TrailFusion brand system (2026-10-25). Bright storybook sky like 合格！クエスト,
   anchored on the logo blue. Used by the new pages and layered over site-v2.css on older pages. */
:root {
  --ink: #1d3150;
  --muted: #4d5f78;
  --blue: #1b5fd6;
  --blue-deep: #144aa8;
  --sky: #5bb8f0;
  --sky-soft: #eaf6ff;
  --sun: #ffcd3c;
  --sun-soft: #fff4cf;
  --mint: #0f9a7a;
  --mint-soft: #e2f7f0;
  --red: #e2263a;
  --paper: #fffdf7;
  --line: #e1e9f3;
  --round: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Noto Sans JP', sans-serif;
  --body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  /* re-token the older site-v2 pages */
  --tf-ink: var(--ink);
  --tf-muted: var(--muted);
  --tf-blue: var(--blue);
  --tf-tint: var(--sky-soft);
  --tf-paper: var(--paper);
  --tf-line: var(--line);
  --tf-site-header-height: 76px;
}

body.br { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.85; -webkit-font-smoothing: antialiased; }
body.br * { box-sizing: border-box; }
.br img { max-width: 100%; height: auto; display: block; }
.br h1, .br h2, .br h3 { font-family: var(--round); color: var(--ink); line-height: 1.32; margin: 0; letter-spacing: .01em; word-break: auto-phrase; text-wrap: balance; }
.br p { margin: 0; color: var(--muted); }
.br a { color: inherit; }
.br-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.br .narrow { width: min(860px, calc(100% - 48px)); }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 10px; }
.skip:focus { top: 10px; }
.br :focus-visible, .br-header :focus-visible, .br-footer :focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 6px; }
.center { text-align: center; }
mark { background: linear-gradient(transparent 60%, #ffe27a 60%, #ffe27a 92%, transparent 92%); color: inherit; padding: 0 .04em; }

/* ---------- header / footer (all pages) ---------- */
.br-header { position: sticky; top: 0; z-index: 40; background: #ffffffef; backdrop-filter: blur(12px); box-shadow: 0 2px 0 #e6eef8; font-family: var(--round); }
.br-header-inner { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.br-logo img { width: 92px; height: auto; }
.br-nav { display: flex; gap: 6px; margin-left: auto; }
.br-nav a { text-decoration: none; font-weight: 800; font-size: 15px; color: var(--ink); padding: 8px 14px; border-radius: 999px; }
.br-nav a:hover { background: var(--sky-soft); color: var(--blue); }
.br-header .lang { font-size: 13px; font-weight: 800; text-decoration: none; color: var(--blue); border: 2px solid #cfe2fa; padding: 5px 12px; border-radius: 999px; }
.br-header .tf-extra { display: flex; align-items: center; gap: 8px; }
.br-header .tf-extra select { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 10px; border: 2px solid #cfe2fa; background: #fff; }
.br-menu { display: none; margin-left: auto; position: relative; }
.br-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; gap: 5px; background: var(--sky-soft); }
.br-menu summary::-webkit-details-marker { display: none; }
.br-menu summary span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.br-menu nav { position: absolute; right: 0; top: 54px; width: min(80vw, 280px); background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 16px 40px #1d315033; display: grid; }
.br-menu nav a { padding: 12px 14px; text-decoration: none; font-weight: 800; border-radius: 12px; }
.br-menu nav a:hover { background: var(--sky-soft); }

.br-footer { background: linear-gradient(180deg, #eaf6ff, #dff0fc); padding: 56px 0 30px; font-size: 14px; color: var(--muted); font-family: var(--body); }
.br-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.br-footer-brand img { width: 110px; margin-bottom: 12px; }
.br-footer-brand p { margin: 0 0 12px; line-height: 1.8; }
.br-footer h2 { font-family: var(--round); font-size: 15px; color: var(--ink); margin: 0 0 10px; }
.br-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.br-footer a { color: var(--ink); text-decoration: none; }
.br-footer a:hover { color: var(--blue); text-decoration: underline; }
.br-footer .mail { font-weight: 700; color: var(--blue); }
.br-footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #c9dcef; margin-top: 36px; padding-top: 18px; font-size: 12px; }

/* ---------- shared bits ---------- */
.tag { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 16px 6px 12px; border-radius: 999px; background: var(--sun-soft); color: #7a5000;
  font-family: var(--round); font-weight: 800; font-size: 13px; letter-spacing: .04em; margin-bottom: 14px; }
.tag:before { content: ''; width: 15px; height: 15px; background: var(--sun); clip-path: polygon(50% 0, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 77%, 20% 100%, 30% 60%, 0 38%, 38% 35%); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 999px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.btn-main { background: var(--blue); color: #fff !important; box-shadow: 0 5px 0 #0e3c8c; }
.btn-sub { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #cfdcea, 0 5px 0 #cfdcea; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(3px); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.actions.center { justify-content: center; }
.text-link { font-family: var(--round); font-weight: 800; color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.fine, .note { font-size: 12px; color: #627189; line-height: 1.7; }
.note { margin-top: 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: #14171c; color: #fff !important; padding: 9px 18px; border-radius: 14px; min-width: 176px; box-shadow: 0 4px 0 #000; transition: transform .15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 22px; height: 26px; }
.store small { display: block; font-size: 10px; line-height: 1.2; color: #fff; }
.store strong { display: block; font-family: var(--round); font-size: 18px; line-height: 1.2; }
.store.small { min-width: 0; padding: 7px 14px; }
.store.small strong { font-size: 15px; }
.status-pill { display: inline-block; margin: 16px 0 8px; padding: 7px 16px; border-radius: 999px; background: #fff0f4; color: #a3254b !important; font-family: var(--round); font-weight: 800; font-size: 14px; box-shadow: inset 0 0 0 2px #f6c9d6; }
.rating { display: inline-flex; align-items: baseline; gap: 4px; font-family: var(--round); font-weight: 900; color: var(--ink); font-size: 15px; }
.rating b { color: #f2a900; }
.rating small { font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.checks svg { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; color: var(--mint); }
.sec { position: relative; isolation: isolate; overflow: hidden; padding: 100px 0; }
.bg { position: absolute; inset: 0; z-index: -2; }
.bg img { width: 100%; height: 100%; object-fit: cover; }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .tag { margin-inline: auto; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; }
.sec-head .lead { margin-top: 18px; font-size: 17px; line-height: 1.95; }
.sec-head.center .lead { margin-inline: auto; max-width: 680px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 40px; }
.hero .bg img { object-position: 70% 100%; }
.hero:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, #ffffffe8 0%, #ffffffbd 36%, #ffffff26 60%, #fff0 76%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 520px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 74px); font-weight: 900; line-height: 1.18; }
.hero .lead { font-size: 18px; line-height: 2; margin-top: 20px; max-width: 520px; color: #33465f; }
.flagship-card { position: relative; display: block; text-decoration: none; background: #ffffffee; border-radius: 30px; padding: 30px 28px 24px; box-shadow: 0 0 0 3px #fff, 0 22px 50px #1d31502b; transition: transform .2s; max-width: 470px; justify-self: end; }
.flagship-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.flag-ribbon { position: absolute; top: -16px; left: 24px; background: var(--red); color: #fff; font-family: var(--round); font-weight: 900; font-size: 14px; padding: 6px 16px; border-radius: 999px; box-shadow: 0 4px 0 #a5141f; }
.flag-top { display: flex; gap: 16px; align-items: center; }
.flag-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 6px 14px #1d315033; }
.flag-top strong { display: block; font-family: var(--round); font-weight: 900; font-size: 26px; line-height: 1.2; }
.flag-top small { display: block; color: var(--muted); font-weight: 700; margin: 2px 0 4px; }
.flag-fan { position: relative; height: 210px; margin: 22px 0 6px; }
.flag-fan img { position: absolute; top: 0; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 12px; border: 5px solid #fff; box-shadow: 0 10px 22px #1d315033; }
.fan-0 { left: 4%; transform: rotate(-8deg); top: 16px !important; }
.fan-1 { left: 31%; z-index: 2; }
.fan-2 { left: 58%; transform: rotate(8deg); top: 16px !important; }
.flag-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.flag-nums div { background: var(--sky-soft); border-radius: 14px; text-align: center; padding: 8px 4px; }
.flag-nums dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.flag-nums dd { margin: 0; font-family: var(--round); font-weight: 900; font-size: 22px; color: var(--blue); }
.flag-go { display: block; font-family: var(--round); font-weight: 800; color: var(--blue); text-align: right; }
.dock-wrap { margin-top: 30px; }
.dock-label { font-family: var(--round); font-weight: 800; color: var(--ink) !important; margin-bottom: 10px !important; }
.dock { display: flex; flex-wrap: wrap; gap: 10px; }
.dock-item { display: flex; align-items: center; gap: 10px; background: #ffffffe6; border-radius: 18px; padding: 8px 16px 8px 8px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 14px; color: var(--ink); box-shadow: 0 4px 12px #1d31501a; transition: transform .15s; }
.dock-item:hover { transform: translateY(-3px); }
.dock-icon { width: 40px; height: 40px; border-radius: 11px; }

/* ---------- proof board ---------- */
.proof { padding: 30px 0 10px; }
.proof-board { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: #fff; border-radius: 26px; padding: 22px 8px; box-shadow: 0 8px 0 #dcebf9, 0 16px 34px #1d31501a; }
.proof-board div { text-align: center; padding: 4px 12px; border-left: 2px dashed var(--line); }
.proof-board div:first-child { border-left: 0; }
.proof-board dt { display: inline-block; font-family: var(--round); font-weight: 800; font-size: 13px; color: var(--blue); background: var(--sky-soft); padding: 2px 12px; border-radius: 999px; }
.proof-board dd { margin: 6px 0 0; }
.proof-board .num { display: block; font-family: var(--round); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; color: var(--ink); }
.proof-board small { font-size: 12px; color: var(--muted); }
.proof .note { text-align: center; }

/* ---------- flagship ---------- */
.flagship .bg img { object-position: center top; }
.flag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.phones { position: relative; height: 560px; }
.phone { position: absolute; margin: 0; width: 210px; padding: 8px; background: #1f2a3d; border-radius: 32px; box-shadow: 0 20px 40px #1d315040; }
.phone img { border-radius: 25px; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
.phone.p0 { left: 0; top: 40px; transform: rotate(-6deg); }
.phone.p1 { left: 32%; top: 0; z-index: 2; }
.phone.p2 { right: 0; top: 50px; transform: rotate(6deg); }
.kingdom-chip { position: absolute; left: 14%; bottom: 0; z-index: 3; margin: 0; width: 230px; background: #fff; border-radius: 16px; padding: 6px 6px 4px; box-shadow: 0 14px 28px #1d315033; transform: rotate(-3deg); }
.kingdom-chip img { border-radius: 11px; aspect-ratio: 6 / 5; object-fit: cover; }
.kingdom-chip figcaption { font-family: var(--round); font-weight: 800; font-size: 13px; text-align: center; padding: 4px 0 2px; color: var(--ink); }

/* ---------- spotlights ---------- */
.spots { padding-bottom: 60px; background: linear-gradient(180deg, #fff, var(--sky-soft) 40%, #fff); }
.spot { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: 34px; padding: 48px; margin-bottom: 36px; box-shadow: 0 0 0 3px #fff, 0 10px 0 #dbe8f6; }
.spot .bg img { object-position: right center; }
.spot .bg + .spot-copy { background: #ffffffde; border-radius: 24px; padding: 26px; margin: -26px; }
.spot.flip .spot-copy { order: 2; }
.spot .text-link { display: table; margin-top: 8px; }
.spot-app { display: flex; align-items: center; gap: 14px; margin-bottom: 16px !important; }
.spot-icon { width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 5px 12px #1d315030; }
.spot-app small { display: block; font-family: var(--round); font-weight: 800; font-size: 13px; }
.spot-app strong { display: block; font-family: var(--round); font-weight: 900; font-size: 22px; color: var(--ink); line-height: 1.3; }
.spot h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; margin-bottom: 12px; }
.spot-shots { display: flex; justify-content: center; align-items: flex-end; gap: 14px; }
.shot { margin: 0; flex: 0 1 31%; max-width: 200px; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 28px #1d315030; background: #fff; }
.shot.s2 { transform: translateY(-24px); }

/* ---------- more apps ---------- */
.more { padding-top: 40px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.mini { display: grid; grid-template-columns: 58px 1fr; gap: 6px 14px; align-items: center; text-decoration: none; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 0 0 2px var(--line), 0 6px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.mini:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--c), 0 8px 0 var(--c); }
.mini-icon { width: 58px; height: 58px; border-radius: 15px; }
.mini small { display: block; color: var(--c); font-family: var(--round); font-weight: 800; font-size: 12px; }
.mini strong { display: block; font-family: var(--round); font-weight: 900; font-size: 18px; color: var(--ink); line-height: 1.3; }
.mini p { grid-column: 1 / -1; font-size: 14px; line-height: 1.7; }

/* ---------- trust ---------- */
.trust .bg img { object-position: center; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-grid.three { grid-template-columns: repeat(3, 1fr); }
.trust-grid article { background: #fff; border-radius: 24px; padding: 26px 22px; box-shadow: 0 8px 0 #dcebf9; }
.trust-grid .no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--round); font-weight: 900; margin-bottom: 12px; }
.trust-grid h3 { font-size: 19px; margin-bottom: 10px; }
.trust-grid div, .trust-grid p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.updates { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.updates li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; border-bottom: 1px dashed var(--line); padding-bottom: 3px; }
.updates time { font-family: var(--round); font-weight: 800; color: var(--blue); white-space: nowrap; }

/* ---------- maker / garage ---------- */
.maker-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.maker-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.maker-nums.vertical { grid-template-columns: 1fr; }
.maker-nums div { background: #fff; border-radius: 18px; padding: 14px; text-align: center; box-shadow: 0 0 0 2px var(--line); }
.maker-nums dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.maker-nums dd { margin: 0; font-family: var(--round); font-weight: 900; font-size: 28px; color: var(--ink); }
.garage { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; min-height: 460px; display: flex; align-items: flex-end; box-shadow: 0 16px 34px #1d315026; }
.garage-bg img { object-position: 70% center; }
.garage-in { margin: 18px; padding: 24px; background: #ffffffe8; border-radius: 22px; }
.garage-in h3 { font-size: 24px; font-weight: 900; margin-bottom: 6px; }
.g-cards { display: grid; gap: 10px; margin: 14px 0; }
.g-card { display: block; text-decoration: none; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 0 0 2px var(--line); transition: transform .15s; }
.g-card:hover { transform: translateX(4px); box-shadow: 0 0 0 2px var(--blue); }
.g-card strong { display: block; font-family: var(--round); font-weight: 900; color: var(--ink); }
.g-card span { font-size: 13px; color: var(--muted); }

/* ---------- faq / closing ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; padding: 4px 22px; box-shadow: 0 4px 0 #dcebf9, 0 0 0 2px var(--line); }
.faq summary { cursor: pointer; font-family: var(--round); font-weight: 800; font-size: 17px; padding: 16px 0; color: var(--ink); }
.faq details p { padding-bottom: 18px; }
.closing { position: relative; isolation: isolate; overflow: hidden; padding: 110px 0; }
.closing .bg img { object-position: 70% 80%; }
.closing-card { max-width: 640px; margin: 0 auto; text-align: center; background: #ffffffee; border-radius: 34px; padding: 44px 30px 30px; box-shadow: 0 12px 0 #cfe6fa; }
.closing-card .stores { justify-content: center; }
.closing-icon { width: 92px; height: 92px; border-radius: 24px; margin: 0 auto 16px; box-shadow: 0 8px 18px #1d315033; }
.closing-card h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; margin-bottom: 10px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 70px 0 60px; }
.page-hero:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, #ffffffeb 0%, #ffffffc4 45%, #ffffff40 75%, #fff0); }
.page-hero .bg img { object-position: 70% 70%; }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.2; }
.page-hero .lead { font-size: 17px; line-height: 2; margin-top: 18px; max-width: 640px; color: #33465f; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips[hidden] { display: none; }
.chip { --c: var(--ink); display: inline-flex; gap: 8px; align-items: center; font-family: var(--round); font-weight: 800; font-size: 15px; border: 0; background: #fff; color: var(--ink); padding: 9px 16px; border-radius: 999px; cursor: pointer; box-shadow: inset 0 0 0 2px #cfdcea, 0 4px 0 #cfdcea; }
.chip small { background: var(--sky-soft); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.chip[aria-pressed="true"] { background: var(--c); color: #fff; box-shadow: 0 4px 0 #1d315044; }
.chip[aria-pressed="true"] small { background: #ffffff33; color: #fff; }
.catalog { padding-top: 50px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-grid.two { grid-template-columns: repeat(2, 1fr); }
.app-card { background: #fff; border-radius: 24px; padding: 22px; box-shadow: 0 0 0 2px var(--line), 0 6px 0 var(--line); border-top: 6px solid var(--c); scroll-margin-top: 100px; }
.app-card[hidden] { display: none; }
.app-card:target { box-shadow: 0 0 0 3px var(--c), 0 6px 0 var(--c); }
.app-card-top { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.card-icon { width: 64px; height: 64px; border-radius: 17px; box-shadow: 0 4px 10px #1d315026; }
.app-card small { display: block; color: var(--c); font-family: var(--round); font-weight: 800; font-size: 12px; }
.app-card h3 { font-size: 20px; font-weight: 900; }
.app-card > p { font-size: 14px; line-height: 1.75; }
.app-card .meta { font-size: 12px; margin-top: 8px; color: #6b7a90; }
.app-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; margin-top: 4px; }
.app-links a { color: var(--muted); }
.legacy { margin-top: 70px; }
.prose p { font-size: 16px; line-height: 2.05; margin-bottom: 16px; color: #3c4f68; }
.origin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.origin-grid article { background: #ffffffec; border-radius: 24px; padding: 24px 20px; box-shadow: 0 8px 0 #dcebf9; }
.origin-grid h3 { font-size: 18px; margin-bottom: 8px; }
.origin-grid p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.builder { font-family: var(--round); font-weight: 900; font-size: 20px; color: var(--blue) !important; }
.paper { background: #ffffffe8; border-radius: 30px; padding: 40px; }
.room { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 40px 0; border-bottom: 2px dashed var(--line); }
.room:last-of-type { border-bottom: 0; }
.garage-hero .bg img { object-position: 75% center; }

/* ---------- older pages (site-v2) brought into the brand ---------- */
.tf-kicker { color: var(--blue) !important; font-family: var(--round); }
.tf-button, .tf-actions a.tf-button { border-radius: 999px !important; font-family: var(--round); font-weight: 800; }
.tf-page-heading h1, .tf-section h2, .tf-hero h1 { font-family: var(--round); }
.tf-accent { color: var(--blue); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid, .flag-grid, .maker-grid { grid-template-columns: 1fr; }
  .flagship-card { justify-self: start; }
  .hero:before { background: linear-gradient(180deg, #ffffffde, #ffffffa8 55%, #fff4); }
  .trust-grid, .origin-grid { grid-template-columns: repeat(2, 1fr); }
  .spot { grid-template-columns: 1fr; padding: 36px; }
  .spot.flip .spot-copy { order: 0; }
  .mini-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .phones { max-width: 620px; margin-inline: auto; width: 100%; }
}
@media (max-width: 860px) {
  .br-nav, .br-header-inner > .lang { display: none; }
  .br-menu { display: block; }
  .br-footer-grid { grid-template-columns: 1fr 1fr; }
  .proof-board { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .proof-board div:nth-child(3) { border-left: 0; }
  .room { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 720px) {
  .br-wrap, .br .narrow { width: calc(100% - 32px); }
  .sec { padding: 70px 0; }
  .hero { padding: 30px 0 30px; }
  .hero-grid { min-height: 0; gap: 30px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 16px; }
  .flagship-card { padding: 26px 18px 18px; }
  .flag-fan { height: 170px; }
  .dock-item { padding: 6px 12px 6px 6px; font-size: 13px; }
  .dock-icon { width: 34px; height: 34px; }
  .sec-head h2 { font-size: 27px; }
  .sec-head .lead { font-size: 15px; }
  .phones { height: 430px; }
  .phone { width: 150px; padding: 6px; border-radius: 24px; }
  .phone img { border-radius: 19px; }
  .phone.p1 { left: 30%; }
  .kingdom-chip { width: 170px; left: 4%; }
  .spot { padding: 26px 18px; border-radius: 26px; }
  .spot .bg + .spot-copy { margin: -10px; padding: 18px; }
  .shot { max-width: 140px; border-radius: 14px; }
  .shot.s2 { transform: translateY(-14px); }
  .mini-grid, .app-grid, .app-grid.two, .trust-grid, .trust-grid.three, .origin-grid { grid-template-columns: 1fr; }
  .maker-nums dd { font-size: 20px; white-space: nowrap; }
  .maker-nums div { padding: 10px 4px; }
  .maker-nums dt { font-size: 11px; line-height: 1.4; }
  .garage { min-height: 520px; }
  .br-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .br-footer-brand { grid-column: 1 / -1; }
  .store { min-width: 0; flex: 1 1 150px; }
  .paper { padding: 24px 18px; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 36px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 0 16px 8px; }
  .chip { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .store, .flagship-card, .dock-item, .mini, .g-card { transition: none; }
}

/* ---------- section backgrounds: every section sits on an image, with a light veil for text ---------- */
.veil { position: relative; isolation: isolate; overflow: hidden; }
.veil:before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,253,247,.78) 0%, rgba(255,253,247,.58) 45%, rgba(255,253,247,.72) 100%); }
.proof.veil { padding: 40px 0 30px; }
.bg.flip img { transform: scaleX(-1); }
.flagship.veil:before { background: linear-gradient(95deg, rgba(255,253,247,.92) 0%, rgba(255,253,247,.78) 45%, rgba(255,253,247,.35) 75%, rgba(255,253,247,.2) 100%); }
.maker.veil:before, .faq-sec.veil:before { background: linear-gradient(95deg, rgba(255,253,247,.9) 0%, rgba(255,253,247,.7) 50%, rgba(255,253,247,.45) 100%); }
.legacy { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: 40px 36px; }
.legacy .legacy-bg { z-index: -2; }
.legacy:before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255,253,247,.72); }
.room { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: 36px; margin-bottom: 26px; border-bottom: 0; }
.room .room-bg { z-index: -2; }
.room:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(255,253,247,.94) 0%, rgba(255,253,247,.8) 50%, rgba(255,253,247,.35) 100%); }

/* ---------- app detail pages ---------- */
.d-hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px 0 70px; }
.d-hero:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, #fffdf7f2 0%, #fffdf7cc 42%, #fffdf74d 72%, #fffdf700 100%); }
.d-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.d-id { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.d-icon { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 10px 22px #1d315033; }
.d-id small { display: block; font-family: var(--round); font-weight: 800; font-size: 14px; }
.d-id h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; }
.d-catch { font-family: var(--round); font-weight: 900; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.35; color: var(--ink) !important; word-break: auto-phrase; }
.d-copy .lead { font-size: 17px; line-height: 2; margin-top: 16px; color: #33465f; }
.d-fan { position: relative; height: 560px; }
.d-phone { position: absolute; margin: 0; width: 230px; border-radius: 28px; overflow: hidden; box-shadow: 0 22px 44px #1d315040; background: #fff; }
.d-phone img { width: 100%; }
.d-phone.f0 { left: 2%; top: 50px; transform: rotate(-6deg); }
.d-phone.f1 { left: 32%; top: 0; z-index: 2; }
.d-phone.f2 { right: 2%; top: 60px; transform: rotate(6deg); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-grid article { background: #fff; border-radius: 24px; padding: 24px 22px; box-shadow: 0 8px 0 #dcebf9; }
.feat-grid .no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--round); font-weight: 900; margin-bottom: 10px; }
.feat-grid h3 { font-size: 19px; margin-bottom: 8px; }
.feat-grid p { font-size: 14px; line-height: 1.85; }
.gal { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.gal figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 12px 26px #1d315030; }
.gal:focus-visible { outline: 3px solid var(--red); }
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.usage-grid.one { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.mini-h { font-size: 22px !important; font-weight: 900; margin: 6px 0 14px !important; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 0 0 2px var(--line); }
.steps li > b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-family: var(--round); font-weight: 900; }
.steps strong { font-family: var(--round); font-weight: 900; color: var(--ink); }
.steps p { font-size: 14px; }
.d-info .paper p { font-size: 15px; line-height: 1.95; }
.notes { margin: 0 0 6px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pill-link { text-decoration: none; background: #fff; border-radius: 999px; padding: 8px 16px; font-family: var(--round); font-weight: 800; font-size: 14px; color: var(--blue) !important; box-shadow: inset 0 0 0 2px #cfe2fa; }
.pill-link:hover { background: var(--sky-soft); }
@media (max-width: 1100px) {
  .d-hero-grid, .usage-grid { grid-template-columns: 1fr; }
  .d-hero:before { background: linear-gradient(180deg, #fffdf7ee, #fffdf7c4 60%, #fffdf766); }
  .d-fan { max-width: 620px; width: 100%; margin: 0 auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .d-hero { padding: 24px 0 40px; }
  .d-icon { width: 80px; height: 80px; border-radius: 20px; }
  .d-catch { font-size: 25px; }
  .d-fan { height: 400px; }
  .d-phone { width: 160px; border-radius: 20px; }
  .d-phone.f1 { left: 28%; }
  .feat-grid { grid-template-columns: 1fr; }
  .gal figure { flex-basis: 160px; border-radius: 16px; }
  .legacy, .room { padding: 24px 16px; border-radius: 22px; }
  .room:before { background: rgba(255,253,247,.86); }
}
