/* Console Clarity - landing page. Built on Site.css: the same tokens and components as the app, so dark mode follows it too. */

body.lp { background: var(--gsc-surface); color: var(--gsc-text); }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.lp h1, .lp h2, .lp h3 { font-family: var(--font-google); font-weight: 400; color: var(--gsc-text); }

/* ---------- top bar (mirrors the app's) ---------- */
.lp-bar { position: sticky; top: 0; z-index: 50; height: 64px; background: var(--gsc-surface); border-bottom: 1px solid var(--gsc-border); }
.lp-bar .lp-wrap { display: flex; align-items: center; gap: 16px; height: 100%; }
.lp-brand { display: flex; align-items: center; gap: 10px; font: 400 22px var(--font-google); color: var(--gsc-text-secondary); white-space: nowrap; }
.lp-brand:hover { text-decoration: none; }
.lp-brand .cc-mark { width: 28px; height: 28px; }
.lp-brand b { font-weight: 500; color: var(--gsc-text); }
.lp-nav { display: flex; gap: 2px; margin-left: 24px; }
.lp-nav a { padding: 8px 14px; border-radius: 20px; color: var(--gsc-text-secondary); font: 500 14px var(--font-google); }
.lp-nav a:hover { background: var(--gsc-bg); color: var(--gsc-text); text-decoration: none; }
.lp-bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* ---------- buttons (Material) ---------- */
.lp-btn { height: 40px; padding: 0 24px; border-radius: 20px; font: 500 14px var(--font-google); letter-spacing: .01em; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.lp-btn:hover { text-decoration: none; }
.lp-btn-filled { background: var(--gsc-blue); color: #fff; }
.lp-btn-filled:hover { background: var(--gsc-blue-hover); box-shadow: 0 1px 3px rgba(60,64,67,.3); }
.lp-btn-text { background: none; color: var(--gsc-blue); padding: 0 16px; }
.lp-btn-text:hover { background: var(--gsc-blue-light); }
.lp-btn:disabled { opacity: .7; cursor: default; }

/* Google's own sign-in button */
.lp-gbtn { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 20px 0 14px; border-radius: 22px; border: 1px solid #747775; background: #fff; color: #1f1f1f; font: 500 15px Roboto, var(--font-body); cursor: pointer; transition: box-shadow .15s, background .15s; }
.lp-gbtn:hover { background: #f8fafd; box-shadow: 0 1px 2px rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15); }
.lp-gbtn:disabled { opacity: .7; cursor: default; }
[data-theme="dark"] .lp-gbtn { background: #131314; color: #e3e3e3; border-color: #8e918f; }

.lp-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--gsc-border); border-radius: 8px; font: 500 13px var(--font-google); color: var(--gsc-text-secondary); background: var(--gsc-surface); }
.lp-chip svg { width: 16px; height: 16px; color: var(--gsc-blue); }
.lp-pill { display: inline-block; padding: 4px 12px; border-radius: 16px; font: 500 12px var(--font-google); background: var(--gsc-blue-light); color: var(--gsc-blue); }
.lp-pill-soon { background: rgba(227,116,0,.12); color: var(--gsc-warning); }

/* ---------- expired notice ---------- */
.lp-expired { max-width: 720px; margin: 0 auto 32px; text-align: left; display: flex; gap: 12px; padding: 14px 16px; border-radius: 8px; background: rgba(227,116,0,.08); border: 1px solid rgba(227,116,0,.35); font-size: 14px; color: var(--gsc-text-secondary); }
.lp-expired svg { width: 20px; height: 20px; color: var(--gsc-warning); flex-shrink: 0; margin-top: 1px; }
.lp-expired strong { color: var(--gsc-text); font-weight: 500; display: block; }
.lp-done { background: rgba(30,142,62,.08); border-color: rgba(30,142,62,.35); }
.lp-done svg { color: var(--gsc-success); }
.lp-agree { margin-top: 14px; font-size: 13px; color: var(--gsc-text-muted); }
.lp-agree a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lp-foot-links a[aria-current] { color: var(--gsc-text); }
.lp-expired .login-notice-why { display: block; margin-top: 6px; font-size: 13px; color: var(--gsc-text-muted); }

/* ---------- hero ---------- */
.lp-hero { padding: 72px 0 0; text-align: center; background: linear-gradient(var(--gsc-surface) 62%, var(--gsc-bg) 62%); }
.lp-kicker { font: 500 15px var(--font-google); color: var(--gsc-text-secondary); margin-bottom: 16px; }
.lp-kicker span { color: var(--gsc-blue); }
.lp-hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.1; letter-spacing: -.02em; max-width: 920px; margin: 0 auto; text-wrap: balance; }
.lp-lede { text-wrap: balance; font-size: 18px; line-height: 1.6; color: var(--gsc-text-secondary); max-width: 660px; margin: 20px auto 0; }
.lp-chips { list-style: none; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
/* Stacked, so the sign-in button sits in the centre with the features link beneath it. */
.lp-ctas { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 32px; }

/* product shot: an app card */
.lp-shot { margin: 56px auto 0; max-width: 1080px; text-align: left; background: var(--gsc-surface); border: 1px solid var(--gsc-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(60,64,67,.15), 0 12px 40px rgba(60,64,67,.14); overflow: hidden; }
[data-theme="dark"] .lp-shot { box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.lp-shot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--gsc-border-light); }
.lp-shot-title { font: 400 18px var(--font-google); }
.lp-shot-title small { font-size: 13px; color: var(--gsc-text-muted); margin-left: 8px; }
.lp-range { display: flex; gap: 4px; }
.lp-range span { white-space: nowrap; padding: 4px 12px; border-radius: 16px; font: 500 12px var(--font-google); color: var(--gsc-text-secondary); }
.lp-range span.on { background: var(--gsc-blue-light); color: var(--gsc-blue); }
.lp-chart { position: relative; height: 300px; margin: 8px 16px 12px; }
.lp-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lp-chart text { font: 11px var(--font-body); fill: var(--gsc-text-muted); }
.lp-chart .c-grid { stroke: var(--gsc-border-light); }
.lp-chart .c-series { fill: none; stroke-width: 2; stroke-linejoin: round; }
.lp-chart .c-band { fill: rgba(217,48,37,.07); }
.lp-chart .c-mark { stroke: rgba(217,48,37,.55); stroke-dasharray: 3 3; }
.lp-chart .c-minor { stroke: var(--gsc-border); stroke-dasharray: 2 4; }
.lp-chart .c-ulabel { fill: var(--gsc-error); font-weight: 500; }
.lp-chart .c-dot { fill: var(--gsc-surface); stroke: var(--gsc-clicks); stroke-width: 2.5; }
.lp-tip { position: absolute; width: 236px; padding: 12px 14px; background: var(--gsc-surface); border: 1px solid var(--gsc-border); border-radius: 8px; box-shadow: var(--gsc-shadow-sm); font-size: 13px; color: var(--gsc-text-secondary); }
.lp-tip-title { font: 500 13px var(--font-google); color: var(--gsc-text); margin-bottom: 6px; }
.lp-tip-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lp-tip-row b { font: 400 22px var(--font-google); color: var(--gsc-error); }
.lp-shot-foot { padding: 10px 24px; border-top: 1px solid var(--gsc-border-light); font-size: 12px; color: var(--gsc-text-muted); }

/* ---------- sections ---------- */
.lp-sec { padding: 96px 0; scroll-margin-top: 64px; }
html { scroll-behavior: smooth; }
.lp-sec-grey { background: var(--gsc-bg); }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.lp-head h2, .lp-copy h2 { text-wrap: balance; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.01em; margin-top: 14px; }
.lp-head p, .lp-copy > p { font-size: 16px; line-height: 1.65; color: var(--gsc-text-secondary); margin-top: 14px; }

/* four feature cards */
.lp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-card { background: var(--gsc-surface); border: 1px solid var(--gsc-border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; color: inherit; transition: box-shadow .15s, border-color .15s; }
.lp-card:hover { text-decoration: none; box-shadow: var(--gsc-shadow); border-color: transparent; }
.lp-card-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--gsc-blue-light); color: var(--gsc-blue); display: grid; place-items: center; margin-bottom: 18px; }
.lp-card-icon svg { width: 22px; height: 22px; }
.lp-card h3 { font-size: 19px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lp-card p { font-size: 14px; line-height: 1.6; color: var(--gsc-text-secondary); flex: 1; }
.lp-card-more { margin-top: 16px; font: 500 14px var(--font-google); color: var(--gsc-blue); }
.lp-card-main { border-color: var(--gsc-blue); box-shadow: inset 0 3px 0 var(--gsc-blue); }
.lp-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.lp-tool { background: var(--gsc-surface); border: 1px solid var(--gsc-border); border-radius: 12px; padding: 24px; }
.lp-tool h3 { font-size: 17px; margin-bottom: 6px; }
.lp-tool p { font-size: 14px; line-height: 1.6; color: var(--gsc-text-secondary); }

/* split rows */
.lp-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.lp-split.flip > .lp-copy { order: 2; }
.lp-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.lp-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; font-size: 14px; line-height: 1.6; color: var(--gsc-text-secondary); }
.lp-steps li b { display: block; font: 500 15px var(--font-google); color: var(--gsc-text); margin-bottom: 2px; }
.lp-num { width: 32px; height: 32px; border-radius: 50%; background: var(--gsc-blue-light); color: var(--gsc-blue); display: grid; place-items: center; font: 500 14px var(--font-google); }
.lp-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.lp-ticks li { display: flex; gap: 10px; font-size: 14px; color: var(--gsc-text-secondary); line-height: 1.55; }
.lp-ticks svg { width: 20px; height: 20px; color: var(--gsc-success); flex-shrink: 0; }

/* app-card mock */
.lp-panel { background: var(--gsc-surface); border: 1px solid var(--gsc-border); border-radius: 12px; box-shadow: 0 1px 3px rgba(60,64,67,.12), 0 8px 28px rgba(60,64,67,.10); overflow: hidden; }
[data-theme="dark"] .lp-panel { box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.lp-panel .gsc-card-header { padding: 18px 20px 14px; align-items: center; border-bottom: 1px solid var(--gsc-border-light); }
.lp-panel .gsc-table thead th { cursor: default; }
.lp-panel .gsc-table tbody tr:hover td { background: none; }
.lp-ev-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; }
.lp-ev-big { font: 400 32px var(--font-google); color: var(--gsc-error); }
.lp-ev-big small { font-size: 14px; color: var(--gsc-text-secondary); margin-left: 6px; }
.lp-ev-row { display: grid; grid-template-columns: 24px 1fr 96px; gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--gsc-border-light); font-size: 13px; color: var(--gsc-text-secondary); }
.lp-ev-row:first-of-type { border-top: 0; }
.lp-ev-row b { display: block; font: 500 14px var(--font-google); color: var(--gsc-text); }
.lp-ev-row > svg:first-child { width: 22px; height: 22px; color: var(--gsc-success); }
.lp-ev-row .mini { width: 96px; height: 38px; }
.lp-up { color: var(--gsc-success); font-weight: 500; }
.lp-down { color: var(--gsc-error); font-weight: 500; }
.lp-muted { color: var(--gsc-text-muted); }
.lp-tag { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 10px; background: var(--gsc-bg); color: var(--gsc-text-secondary); text-transform: capitalize; }
.lp-tag-core { background: rgba(217,48,37,.10); color: var(--gsc-error); }
.lp-tag-spam { background: rgba(147,52,230,.10); color: var(--gsc-impressions); }
.lp-updates { margin-top: 32px; }

/* mini diagram strokes */
.m-line { fill: none; stroke: var(--gsc-text-muted); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.m-hot { fill: none; stroke: var(--gsc-error); stroke-width: 2; vector-effect: non-scaling-stroke; }
.m-series { fill: none; stroke: var(--gsc-clicks); stroke-width: 2; vector-effect: non-scaling-stroke; }
.m-rule { stroke: var(--gsc-border); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-mark { stroke: var(--gsc-error); stroke-width: 1; vector-effect: non-scaling-stroke; }
.m-fill { fill: var(--gsc-text-muted); }
.m-fill-soft { fill: var(--gsc-border); }
.m-fill-hot { fill: var(--gsc-error); }

/* portfolio rows */
.lp-prop { display: grid; grid-template-columns: 28px minmax(0,1fr) 84px 48px 52px; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--gsc-border-light); font-size: 13px; }
.lp-prop:first-of-type { border-top: 0; }
.lp-fav { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--font-google); color: #fff; }
.lp-prop-name { font-weight: 500; color: var(--gsc-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-prop-name small { display: block; font-weight: 400; font-size: 12px; color: var(--gsc-text-muted); }
.lp-prop-name small.warn { color: var(--gsc-warning); }
.lp-prop svg { width: 84px; height: 30px; }
.lp-prop .n { text-align: right; font-variant-numeric: tabular-nums; }

/* extended data */
.lp-ext { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--gsc-surface); border: 1px solid var(--gsc-border); border-radius: 16px; padding: 48px; }
.lp-bars { display: grid; gap: 22px; }
.lp-bars-row span { display: flex; justify-content: space-between; font-size: 13px; color: var(--gsc-text-secondary); margin-bottom: 8px; }
.lp-bars-row span b { font: 500 14px var(--font-google); color: var(--gsc-text); }
.lp-track { height: 12px; border-radius: 6px; background: var(--gsc-bg); border: 1px solid var(--gsc-border-light); position: relative; overflow: hidden; }
.lp-track i { position: absolute; top: 0; bottom: 0; right: 0; border-radius: 6px; background: var(--gsc-clicks); }
.lp-years { display: flex; justify-content: space-between; font-size: 12px; color: var(--gsc-text-muted); }

/* data trust row */
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lp-trust h3 { font-size: 17px; margin: 14px 0 6px; }
.lp-trust p { font-size: 14px; line-height: 1.6; color: var(--gsc-text-secondary); }

/* closing */
.lp-cta { background: var(--gsc-blue-light); border-radius: 24px; padding: 64px 48px; text-align: center; }
.lp-cta h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; }
.lp-cta p { font-size: 16px; color: var(--gsc-text-secondary); margin: 12px 0 28px; }

.lp-foot { border-top: 1px solid var(--gsc-border); padding: 24px 0 36px; font-size: 13px; color: var(--gsc-text-muted); }
.lp-foot .lp-wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }

/* ---------- narrower screens ---------- */
@media (max-width: 1000px) {
    .lp-nav { display: none; }
    .lp-cards { grid-template-columns: 1fr 1fr; }
    .lp-tools { grid-template-columns: 1fr 1fr; }
    .lp-split, .lp-split.flip, .lp-ext { grid-template-columns: 1fr; gap: 40px; }
    .lp-split.flip > .lp-copy { order: 0; }
    .lp-trust { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
    .lp-wrap { padding: 0 16px; }
    .lp-brand { font-size: 18px; }
    .lp-bar-end .lp-btn-filled { padding: 0 16px; }
    .lp-hero { padding-top: 44px; background: linear-gradient(var(--gsc-surface) 75%, var(--gsc-bg) 75%); }
    .lp-lede { font-size: 16px; }
    .lp-shot { margin-top: 40px; border-radius: 10px; }
    .lp-shot-head { padding: 12px 14px; }
    .lp-range span:not(.on) { display: none; }
    .lp-shot .metric-toggle { padding: 10px 10px; }
    .lp-shot .metric-toggle .metric-value { font-size: 18px; }
    .lp-shot .metric-toggle .metric-label { font-size: 11px; }
    .lp-shot .metric-toggle:nth-child(n+3) { display: none; }
    .lp-chart { height: 230px; margin: 4px 8px 8px; }
    .lp-tip { width: 190px; padding: 10px 12px; }
    .lp-sec { padding: 64px 0; }
    .lp-cards { grid-template-columns: 1fr; }
    .lp-tools { grid-template-columns: 1fr; }
    .lp-tool { padding: 20px; }
    .lp-ev-row { grid-template-columns: 24px 1fr; }
    .lp-ev-row .mini { display: none; }
    .lp-prop { grid-template-columns: 28px 1fr 56px; padding: 12px 14px; }
    .lp-prop svg, .lp-prop .n-clicks { display: none; }
    .lp-hide-sm { display: none; }
    .lp-ext { padding: 28px 20px; }
    .lp-cta { padding: 44px 20px; border-radius: 16px; }
}

.lp-tip-note { margin-top: 6px; }
.lp-tip .ev-badge, .lp-panel .col-num, .lp-tag { white-space: nowrap; }
@media (max-width: 640px) {
    .lp-tip { width: auto; }
    .lp-tip-note { display: none; }
    .lp-tip-row { gap: 12px; }
    .lp-tip-row b { font-size: 18px; }
    .lp-panel .gsc-card-header > .lp-muted { display: none; }
    .lp-panel .gsc-table thead th, .lp-panel .gsc-table tbody td { padding-left: 12px; padding-right: 12px; }
}

/* ---------- production details ---------- */
.lp-skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 0 0 8px 8px; background: var(--gsc-blue); color: #fff; font: 500 14px var(--font-google); }
.lp-skip:focus { top: 0; text-decoration: none; }
.lp a:focus-visible, .lp button:focus-visible { outline: 2px solid var(--gsc-blue); outline-offset: 2px; }
.lp .lp-card:focus-visible { outline-offset: 3px; }
.lp-bar { transition: box-shadow .2s; }
.lp-bar.scrolled { box-shadow: 0 1px 2px rgba(60,64,67,.12), 0 2px 6px rgba(60,64,67,.08); border-bottom-color: transparent; }
[data-theme="dark"] .lp-bar.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.lp-nav a[aria-current] { color: var(--gsc-blue); background: var(--gsc-blue-light); }
.lp-menu-btn { display: none; }
.lp-drawer { position: absolute; left: 0; right: 0; top: 64px; background: var(--gsc-surface); border-bottom: 1px solid var(--gsc-border); box-shadow: 0 8px 16px rgba(60,64,67,.12); padding: 8px 16px 16px; display: grid; }
.lp-drawer[hidden] { display: none; }
.lp-drawer a { padding: 14px 8px; border-bottom: 1px solid var(--gsc-border-light); color: var(--gsc-text); font: 500 15px var(--font-google); }
.lp-drawer a:last-child { border-bottom: 0; }
.lp-drawer a:hover { text-decoration: none; color: var(--gsc-blue); }

.lp-sub { font-size: 13px; }
.lp-table-scroll { overflow-x: auto; }
.lp-trust-more { text-align: center; margin-top: 40px; font-size: 14px; color: var(--gsc-text-secondary); }
.lp-sec:not(.lp-sec-grey) + .lp-sec-cta { padding-top: 0; }
.lp-foot-links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.lp-foot-links a { color: var(--gsc-text-secondary); }
.lp-foot > .lp-wrap > span a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lp-foot > .lp-wrap > span a:hover { color: var(--gsc-text-secondary); }

/* chart interaction */
.lp-chart { touch-action: pan-y; cursor: crosshair; }
.lp-chart .c-cross { stroke: var(--gsc-text-muted); stroke-width: 1; stroke-dasharray: 3 3; }
.lp-chart .c-hdot { fill: var(--gsc-surface); stroke-width: 2.5; }
.lp-chart .c-hover, .lp-hover { display: none; }
.lp-chart.is-hovering .c-hover { display: inline; }
.lp-chart.is-hovering .lp-hover { display: block; }
.lp-chart.is-hovering .lp-pin, .lp-chart.is-hovering .c-pin { display: none; }
.lp-hover { width: auto; min-width: 170px; pointer-events: none; }
.lp-chart .lp-pin, .lp-chart .lp-hover { pointer-events: none; }
.lp-tip-line { display: flex; align-items: center; gap: 8px; margin-top: 3px; white-space: nowrap; }
.lp-tip-line i { width: 8px; height: 8px; border-radius: 50%; }
.lp-tip-line b { margin-left: auto; padding-left: 12px; font-weight: 500; color: var(--gsc-text); font-variant-numeric: tabular-nums; }
.lp-tip-update { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--gsc-border-light); font-size: 12px; color: var(--gsc-error); white-space: nowrap; }
.lp-chart.intro .lp-pin, .lp-chart.intro .c-pin { animation: lp-fade .4s ease 1.3s both; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lp-shot .metric-toggle:focus-visible { outline-offset: -2px; }

/* sign-in states */
.lp-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: lp-rot .7s linear infinite; opacity: .7; }
@keyframes lp-rot { to { transform: rotate(360deg); } }
.lp-toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 6px; background: #323232; color: #fff; font-size: 14px; box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; }
.lp-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
    .lp-menu-btn { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lp-bar, .lp-card, .lp-toast { transition: none; }
}

/* ---------- legal pages ---------- */
.lp-legal { padding: 56px 0 96px; }
.lp-legal .lp-wrap { max-width: 760px; }
.lp-legal h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.lp-legal-meta { color: var(--gsc-text-muted); font-size: 14px; margin-top: 8px; }
.lp-legal h2 { font-size: 22px; margin: 40px 0 10px; }
.lp-legal p, .lp-legal li { font-size: 15px; line-height: 1.7; color: var(--gsc-text-secondary); }
.lp-legal p + p { margin-top: 12px; }
.lp-legal ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.lp-legal strong { color: var(--gsc-text); font-weight: 500; }
.lp-legal code { font-size: 13px; padding: 1px 6px; border-radius: 4px; background: var(--gsc-bg); border: 1px solid var(--gsc-border-light); }
.lp-legal-summary { margin-top: 32px; padding: 24px 28px; border-radius: 12px; background: var(--gsc-blue-light); }
.lp-legal-summary h2 { margin-top: 0; font-size: 18px; }
.lp-legal-cols { grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 640px) { .lp-legal-cols { grid-template-columns: 1fr; } .lp-legal-summary { padding: 20px; } }
.lp-credit { white-space: nowrap; }
.lp-credit img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; vertical-align: -8px; margin: 0 6px 0 4px; }
