/* Swallow AI · Restaurant Online Score
   Tokens follow swallowai.us (white, warm ink, chili). */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --bg: #fbf8f4; --card: #fff; --ink: #1e1510; --body: #5a4e46; --mute: #8c8078; --line: #ece5dc; --cream: #f5eee4;
  --chili: #e5742d; --chili-d: #c95e1c; --chili-soft: #fdeee3; --dark: #1a120d;
  --good: #2f9e62; --good-soft: #e6f4ec; --fair: #d99a14; --fair-soft: #fbf1d9; --poor: #d9482b; --poor-soft: #fcebe6;
  --display: "Inter Tight", Inter, system-ui, sans-serif; --sans: Inter, system-ui, sans-serif;
  --r-card: 20px; --r-panel: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --inout: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 48px -28px rgba(43,27,20,.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; margin: 0; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tone { color: var(--mute); }
.wrap { width: min(1120px, calc(100vw - 48px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100vw - 48px)); }
.center { text-align: center; }
:focus-visible { outline: 2px solid var(--chili); outline-offset: 3px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 12px; padding: 14px 22px; font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), background .2s, box-shadow .25s; white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(30,21,16,.6); }
.btn-primary:hover { background: #000; }
.btn-quiet { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: 10px 16px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; color: var(--mute); text-decoration: underline; font-size: 13px; padding: 8px; }

/* ---------- views ---------- */
.view { display: none; min-height: 100svh; }
.view.is-active { display: block; }
.view.is-leaving { animation: viewOut .45s var(--ease) forwards; }
@keyframes viewOut { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }

/* ============ LANDING ============ */
.view-landing { position: relative; display: none; flex-direction: column; overflow: hidden; }
.view-landing.is-active { display: flex; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.l-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; }
.logo img { height: 33px; width: auto; }
.l-hero { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 24px 12vh; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chili); box-shadow: 0 0 0 0 rgba(229,116,45,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(229,116,45,0); } 100% { box-shadow: 0 0 0 0 rgba(229,116,45,0); } }
.l-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.5rem); margin: 22px 0 18px; }
.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 34em; margin-inline: auto; }
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) calc(var(--i) * 90ms + 120ms) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.search { position: relative; width: min(620px, 100%); margin-top: 36px; z-index: 5; }
.search-glow { position: absolute; inset: -2px; border-radius: 24px; background: conic-gradient(from var(--spin), transparent 0 55%, var(--chili) 75%, #ffc79a 85%, transparent 100%); filter: blur(10px); opacity: .0; transition: opacity .5s; animation: spin 5s linear infinite; }
.search:focus-within .search-glow, .search.has-value .search-glow { opacity: .75; }
@keyframes spin { to { --spin: 360deg; } }
.search-box { position: relative; display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 10px 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.search:focus-within .search-box { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 34px 60px -30px rgba(43,27,20,.4); }
.search-ico { width: 22px; height: 22px; color: var(--mute); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 18px var(--sans); color: var(--ink); height: 100%; }
.ghost { position: absolute; left: 56px; top: 50%; transform: translateY(-50%); font: 500 18px var(--sans); color: #b9aea5; pointer-events: none; white-space: nowrap; }
.ghost::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--chili); margin-left: 2px; vertical-align: -3px; animation: blink 1s steps(2) infinite; }
.search.has-value .ghost, .search:focus-within .ghost.is-hidden { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.go { flex: none; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--chili); color: #fff; display: grid; place-items: center; transition: transform .35s var(--spring), background .2s, opacity .2s; }
.go svg { width: 22px; height: 22px; }
.go:disabled { background: #e9e2da; color: #fff; cursor: not-allowed; transform: scale(.9); }
.go:not(:disabled):hover { transform: scale(1.07); background: var(--chili-d); }
.go:not(:disabled) { animation: goPulse 2.2s var(--ease) infinite; }
@keyframes goPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(229,116,45,.45); } 60% { box-shadow: 0 0 0 12px rgba(229,116,45,0); } }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(43,27,20,.35); text-align: left; transform-origin: top center; animation: drop .35s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.suggest li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; cursor: pointer; opacity: 0; animation: rise .5s var(--ease) calc(var(--i) * 45ms) forwards; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--cream); }
.suggest li[aria-disabled="true"] { cursor: default; opacity: .5 !important; }
.suggest li[aria-disabled="true"]:hover { background: none; }
.s-pin { width: 36px; height: 36px; border-radius: 12px; background: var(--chili-soft); color: var(--chili); display: grid; place-items: center; flex: none; overflow: hidden; }
.s-pin img { width: 100%; height: 100%; object-fit: cover; }
.s-pin svg { width: 18px; height: 18px; }
.s-text b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.3; }
.s-text b mark { background: none; color: var(--chili); }
.s-text span { font-size: 13px; color: var(--mute); }
.s-tag { margin-left: auto; font-size: 11px; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.suggest .empty { cursor: default; color: var(--mute); font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; max-width: 620px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 14px; font-weight: 500; color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .3s var(--spring), box-shadow .3s, border-color .2s; }
.chip:hover { transform: translateY(-2px); border-color: #dccfc2; box-shadow: 0 12px 20px -14px rgba(43,27,20,.4); }
.chip-ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.chip-ico svg { width: 14px; height: 14px; }
.c1 { background: var(--good-soft); color: var(--good); } .c2 { background: var(--poor-soft); color: var(--poor); } .c3 { background: var(--fair-soft); color: var(--fair); }
.l-foot { position: relative; z-index: 2; display: flex; gap: 18px; justify-content: center; padding: 18px; font-size: 13px; color: var(--mute); }
.l-foot a { text-decoration: none; } .l-foot a:hover { color: var(--ink); }

/* ============ SCAN ============ */
.view-scan { position: fixed; inset: 0; background: #fff; overflow: hidden; display: none; }
.view-scan.is-active { display: block; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.s-top { position: absolute; z-index: 10; top: 0; left: 0; right: 0; padding: 22px 24px 0; text-align: center; pointer-events: none; }
.rail { display: flex; gap: 6px; justify-content: center; list-style: none; margin: 0 auto 14px; padding: 0; width: min(360px, 70vw); }
.rail li { flex: 1; height: 4px; border-radius: 4px; background: #eee7df; overflow: hidden; }
.rail li i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; border-radius: 4px; }
.rail li.is-done i { transform: scaleX(1); }
.rail li.is-on i { background: var(--chili); animation: fill var(--dur, 3s) linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.s-label { font: 600 clamp(1.05rem, 2vw, 1.35rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); min-height: 1.4em; }
.shimmer { display: inline-block; background: linear-gradient(100deg, var(--ink) 0 38%, var(--chili) 50%, var(--ink) 62% 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.shimmer.swap { animation: shimmer 2.2s linear infinite, labelIn .5s var(--ease); }
@keyframes labelIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.s-eta { position: absolute; right: 24px; top: 20px; font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.skip { position: absolute; z-index: 10; bottom: 18px; left: 50%; transform: translateX(-50%); background: none; border: 0; font-size: 12px; color: #c4b9af; padding: 8px 12px; }
.skip:hover { color: var(--mute); }

.stage { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .7s, filter .7s; padding: 110px 24px 60px; }
.scene.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.scene.is-off { opacity: 0; transform: scale(.96); filter: blur(8px); }

/* map */
.sc-map { padding: 0; }
.streets { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.streets .st { stroke: #efe8df; stroke-width: 7; }
.streets .st.minor { stroke-width: 3.5; stroke: #f3ede5; }
.streets .ave { stroke: #e9dfd3; stroke-width: 13; }
.streets .water { fill: #e4edf2; stroke: none; }
.streets .park { fill: #e9f1e2; stroke: none; }
.streets path, .streets line { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.is-mapped .streets { opacity: 1; }
.is-mapped .streets path, .is-mapped .streets line { animation: draw 1.6s var(--ease) calc(var(--d, 0) * 1ms) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sweep { position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; margin: -75vmax; border-radius: 50%; background: conic-gradient(from 0deg, rgba(229,116,45,.26), rgba(229,116,45,.08) 12%, rgba(229,116,45,0) 30%, rgba(229,116,45,0) 100%); opacity: 0; transition: opacity .8s; -webkit-mask: radial-gradient(circle, #000 0, rgba(0,0,0,.6) 18%, transparent 30%); mask: radial-gradient(circle, #000 0, rgba(0,0,0,.6) 18%, transparent 30%); }
.is-mapped .sweep { opacity: 1; animation: rot 3.2s linear infinite; }
@keyframes rot { to { transform: rotate(-360deg); } }
.rings { position: absolute; left: 50%; top: 50%; }
.rings i { position: absolute; left: -90px; top: -90px; width: 180px; height: 180px; border-radius: 50%; border: 1.5px solid rgba(229,116,45,.5); animation: ring 2.8s var(--ease) infinite; opacity: 0; }
.rings i:nth-child(2) { animation-delay: .9s; } .rings i:nth-child(3) { animation-delay: 1.8s; }
@keyframes ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.me { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; z-index: 3; }
.me-pin { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--chili), 0 20px 34px -12px rgba(43,27,20,.45); animation: bob 2.4s ease-in-out infinite, popIn .7s var(--spring); overflow: hidden; }
.me-pin img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes popIn { from { transform: scale(0); } }
.me-name { font: 600 15px var(--display); color: var(--ink); background: #fff; padding: 4px 12px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(43,27,20,.4); opacity: 0; transform: translateY(-6px); transition: .5s var(--ease) .3s; }
.is-found .me-name { opacity: 1; transform: none; }
.pins { position: absolute; inset: 0; z-index: 2; }
.pin { position: absolute; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 4px; opacity: 0; }
.pin.is-in { animation: pinDrop .7s var(--spring) forwards; }
@keyframes pinDrop { 0% { opacity: 0; transform: translate(-50%, -180%) scale(.6); } 100% { opacity: 1; transform: translate(-50%, -100%) scale(1); } }
.pin b { font: 600 12px var(--sans); color: var(--ink); background: #fff; border-radius: 999px; padding: 3px 9px; box-shadow: 0 6px 14px -8px rgba(43,27,20,.5); white-space: nowrap; }
.pin i { width: 26px; height: 26px; border-radius: 50% 50% 50% 2px; transform: rotate(-45deg); background: var(--ink); display: grid; place-items: center; font: 700 11px var(--sans); color: #fff; font-style: normal; }
.pin i span { transform: rotate(45deg); }
.pin.top i { background: var(--poor); }
.tally { position: absolute; bottom: 64px; left: 50%; transform: translate(-50%, 12px); z-index: 4; background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--ink); opacity: 0; transition: .6s var(--ease); white-space: nowrap; }
.tally b { font: 700 16px var(--display); color: var(--chili); font-variant-numeric: tabular-nums; }
.is-mapped .tally { opacity: 1; transform: translate(-50%, 0); }

/* profile card */
.sc-profile { perspective: 1400px; }
.gcard { width: min(680px, 100%); display: grid; grid-template-columns: 1.1fr .9fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(43,27,20,.45), 0 0 0 1px var(--line); transform: rotateX(18deg) translateY(60px) scale(.94); opacity: 0; transition: transform 1.1s var(--ease), opacity .7s; }
.is-on .gcard { transform: none; opacity: 1; }
.gcard-body { padding: 28px; text-align: left; }
.gcard-kicker { font-size: 12px; font-weight: 600; color: var(--chili); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.gcard h2 { font-size: 28px; }
.g-addr { font-size: 13px; color: var(--mute); margin: 6px 0 12px; }
.g-rate { display: flex; align-items: center; gap: 8px; font-size: 13px; flex-wrap: wrap; }
.g-rate b { color: var(--ink); } .g-cat { border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: #f4b63f; stroke: none; transform: scale(0); }
.is-on .stars svg { animation: starIn .45s var(--spring) calc(var(--i) * 90ms + var(--base, 500ms)) forwards; }
@keyframes starIn { to { transform: scale(1); } }
.g-desc { font-size: 14px; margin: 14px 0; color: var(--body); }
.g-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--ink); }
.g-ticks li { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateX(-8px); }
.is-on .g-ticks li { animation: slideIn .5s var(--ease) calc(var(--i) * 260ms + 1100ms) forwards; }
@keyframes slideIn { to { opacity: 1; transform: none; } }
.g-ticks i { width: 16px; height: 16px; border-radius: 50%; background: var(--good); display: grid; place-items: center; }
.g-ticks i.no { background: var(--poor); }
.g-ticks i svg { width: 10px; height: 10px; color: #fff; stroke-width: 3.5; }
.gcard-photo { position: relative; min-height: 260px; overflow: hidden; }
.gcard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 3.5s var(--ease); }
.is-on .gcard-photo img { transform: scale(1); }
.gcard > * > * { opacity: 0; transform: translateY(10px); }
.is-on .gcard-body > * { animation: rise .6s var(--ease) calc(var(--n, 0) * 110ms + 350ms) forwards; }
.gcard-body > :nth-child(2) { --n: 1; } .gcard-body > :nth-child(3) { --n: 2; } .gcard-body > :nth-child(4) { --n: 3; } .gcard-body > :nth-child(5) { --n: 4; } .gcard-body > :nth-child(6) { --n: 5; }
.gcard-photo > * { opacity: 1; }

/* reviews deck */
.sc-reviews { perspective: 1200px; }
.deck { position: relative; width: min(380px, 86vw); height: 260px; transform-style: preserve-3d; }
.rev { position: absolute; inset: 0; background: #fff; border-radius: 22px; padding: 26px; text-align: center; box-shadow: 0 40px 70px -36px rgba(43,27,20,.5), 0 0 0 1px var(--line); display: grid; align-content: center; justify-items: center; gap: 12px; transform: translateY(120px) rotateX(-40deg) scale(.8); opacity: 0; transition: transform .9s var(--ease), opacity .6s; }
.rev.is-front { transform: none; opacity: 1; z-index: 3; }
.rev.is-back1 { transform: translateY(-26px) scale(.93); opacity: .55; z-index: 2; }
.rev.is-back2 { transform: translateY(-48px) scale(.86); opacity: .25; z-index: 1; }
.rev.is-gone { transform: translateY(-160px) rotateX(35deg) scale(.8); opacity: 0; }
.rev p { font: 500 16px/1.45 var(--display); color: var(--ink); letter-spacing: -.01em; }
.rev cite { font-style: normal; font-size: 13px; color: var(--mute); }
.rev .stars svg { width: 18px; height: 18px; }
.rev.is-front .stars svg { animation: starIn .45s var(--spring) calc(var(--i) * 70ms + 250ms) forwards; }
.deck-note { position: absolute; bottom: 70px; font-size: 14px; color: var(--mute); }
.deck-note b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* photos */
.cloud { position: relative; width: min(900px, 100%); height: min(560px, 68vh); }
.ph { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: var(--ar, 1); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(43,27,20,.55); transform: translate(-50%, -50%) scale(.2) rotate(var(--rot)); opacity: 0; filter: blur(12px); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.is-on .ph { animation: phIn 1s var(--ease) calc(var(--i) * 230ms + 150ms) forwards, drift 6s ease-in-out calc(var(--i) * 230ms + 1150ms) infinite alternate; }
@keyframes phIn { to { transform: translate(-50%, -50%) scale(1) rotate(var(--rot)); opacity: 1; filter: none; } }
@keyframes drift { from { transform: translate(-50%, -50%) rotate(var(--rot)); } to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(calc(var(--rot) * -1)); } }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(229,116,45,.55) 50%, transparent 60%); background-size: 100% 300%; background-position: 0 -50%; mix-blend-mode: screen; opacity: 0; }
.is-on .ph::after { animation: phScan 1.1s var(--inout) calc(var(--i) * 230ms + 900ms) 1; }
@keyframes phScan { 0% { opacity: 1; background-position: 0 -50%; } 100% { opacity: 1; background-position: 0 150%; } }
.ph em { position: absolute; left: 8px; bottom: 8px; font: 600 11px var(--sans); font-style: normal; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 3px 9px; opacity: 0; transform: translateY(6px); }
.is-on .ph em { animation: slideUp .4s var(--ease) calc(var(--i) * 230ms + 1700ms) forwards; }
@keyframes slideUp { to { opacity: 1; transform: none; } }

/* browser */
.browser { width: min(860px, 100%); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 60px 100px -50px rgba(43,27,20,.5), 0 0 0 1px var(--line); }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f4efe9; }
.b-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8cec4; }
.b-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 8px; padding: 3px 60px; font-size: 12px; color: var(--ink); }
.b-url b { font-weight: 500; }
.b-fav { width: 14px; height: 14px; border-radius: 50%; }
.b-screen { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eee; }
.b-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sc-site .browser { transform: translateY(40px) scale(.96); transition: transform 1s var(--ease); }
.sc-site.is-on .browser { transform: none; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 26%; background: linear-gradient(180deg, rgba(229,116,45,0), rgba(229,116,45,.28) 80%, rgba(255,255,255,.9) 98%, rgba(229,116,45,0)); transform: translateY(-110%); mix-blend-mode: screen; }
.beam::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; box-shadow: 0 0 18px 4px var(--chili); }
.sc-site.is-on .beam { animation: beam 2.4s var(--inout) .4s infinite alternate; }
@keyframes beam { to { transform: translateY(400%); } }
.find { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); transform: translate(-50%, -50%) scale(.6); opacity: 0; display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--sans); background: #fff; color: var(--ink); border-radius: 999px; padding: 5px 11px 5px 6px; box-shadow: 0 14px 24px -12px rgba(0,0,0,.5); white-space: nowrap; }
.find::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px rgba(47,158,98,.25); }
.find.bad::before { background: var(--poor); box-shadow: 0 0 0 4px rgba(217,72,43,.25); }
.sc-site.is-on .find { animation: findIn .6s var(--spring) calc(var(--i) * 480ms + 900ms) forwards; }
@keyframes findIn { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

.done-bar { display: grid; justify-items: center; gap: 18px; font: 600 18px var(--display); color: var(--ink); width: min(260px, 70vw); }
.done-bar i { display: block; width: 100%; height: 6px; border-radius: 6px; background: #f1eae2; position: relative; overflow: hidden; }
.done-bar i::after { content: ""; position: absolute; inset: 0; background: var(--chili); border-radius: 6px; transform: scaleX(0); transform-origin: left; }
.sc-done.is-on .done-bar i::after { animation: grow 1s var(--inout) forwards; }

.wipe { position: fixed; inset: 0; z-index: 200; background: var(--chili); pointer-events: none; clip-path: circle(0 at 50% 50%); }
.wipe.is-in { animation: wipeIn .75s var(--inout) forwards; }
.wipe.is-out { animation: wipeOut .9s var(--inout) forwards; }
@keyframes wipeIn { from { clip-path: circle(0 at 50% 50%); } to { clip-path: circle(150vmax at 50% 50%); } }
@keyframes wipeOut { from { clip-path: circle(150vmax at 50% 0); } to { clip-path: circle(0 at 50% 0); } }

/* ============ REPORT ============ */
.view-report { position: relative; }
.r-nav { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 24px; background: rgba(251,248,244,.78); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.r-nav.is-stuck { border-color: var(--line); }
.r-nav .logo img { height: 30px; }
.r-nav .btn { justify-self: end; }
.tabs { position: relative; display: flex; background: #f1eae2; border-radius: 999px; padding: 4px; }
.tab { position: relative; z-index: 1; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--body); text-decoration: none; transition: color .3s; white-space: nowrap; }
.tab.is-on { color: #fff; }
.tab sup { font-size: 9px; font-weight: 700; color: var(--chili); margin-left: 2px; }
.tab-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: 60px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }

.r-body { transition: filter 1.1s var(--ease), opacity .8s; }
.is-gated .r-body { filter: blur(14px) saturate(.9); height: calc(100svh - 56px); overflow: hidden; pointer-events: none; user-select: none; }
.is-gated .r-nav .tabs, .is-gated .r-nav .btn { filter: blur(6px); pointer-events: none; }

.r-hero { padding: 52px 0 28px; background: linear-gradient(180deg, #fff, var(--bg)); --p-rep: #e5742d; --p-disc: #2b1d15; --p-web: #e9b44c; --p-buzz: #b9aea5; }
.view-report { --p-rep: #e5742d; --p-disc: #2b1d15; --p-web: #e9b44c; --p-buzz: #b9aea5; }
.hero-grid { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sc-label { display: flex; align-items: center; gap: 8px; font: 600 14px var(--sans); color: var(--chili-d); letter-spacing: .01em; }
.sc-help { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--mute); font: 600 11px var(--sans); padding: 0; display: grid; place-items: center; transition: .2s; }
.sc-help:hover { border-color: var(--chili); color: var(--chili-d); }
.odo { display: flex; align-items: flex-end; height: 1em; overflow: hidden; font: 700 clamp(104px, 13vw, 176px)/1 var(--display); letter-spacing: -.055em; color: var(--ink); margin: 2px 0 10px -4px; font-variant-numeric: tabular-nums; -webkit-mask: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.odo.odo-long { font-size: clamp(72px, 9vw, 124px); }
.odo-col { display: block; height: 1em; }
.odo-strip { display: flex; flex-direction: column; transition: transform 2.2s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.odo-strip span { display: block; height: 1em; line-height: 1; }
.odo-sep { display: block; height: 1em; line-height: 1; margin-inline: -.02em; color: var(--ink); transform: translateY(-.1em); }
.tier { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--mute); opacity: 0; transform: translateY(8px); }
.is-live .tier { animation: rise .7s var(--ease) 1.9s forwards; }
.tier b { color: var(--ink); font-weight: 600; }
.tier-badge { font: 600 13px var(--sans); color: #fff; background: var(--ink); border-radius: 999px; padding: 4px 12px; }
.trend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); margin-top: 10px; min-height: 20px; max-width: 30em; opacity: 0; }
.is-live .trend { animation: rise .7s var(--ease) 2.1s forwards; }
.trend b { font-weight: 600; } .trend .up { color: var(--good); } .trend .down { color: var(--poor); }
.spark { width: 64px; height: 20px; flex: none; } .spark polyline { fill: none; stroke: var(--chili); stroke-width: 2; }
.site-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px 4px 4px; margin-bottom: 16px; }
.site-chip img { width: 22px; height: 22px; border-radius: 50%; }
.hero-copy h1 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.board { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 6px; max-width: 560px; }
.board.fade-top { -webkit-mask: linear-gradient(180deg, transparent 0, #000 26%); mask: linear-gradient(180deg, transparent 0, #000 26%); }
.board.fade-bottom { -webkit-mask: linear-gradient(0deg, transparent 0, #000 26%); mask: linear-gradient(0deg, transparent 0, #000 26%); }
.board.fade-top.fade-bottom { -webkit-mask: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.brow { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; opacity: 0; translate: 0 10px; }
.is-live .brow { animation: riseT .6s var(--ease) calc(var(--i) * 80ms + 900ms) forwards; }
.b-rank { font: 600 13px var(--display); color: var(--mute); font-variant-numeric: tabular-nums; }
.b-name { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-name img { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.b-gap { font: 600 12px var(--sans); border-radius: 999px; padding: 2px 9px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-gap.ahead { color: var(--poor); background: var(--poor-soft); } .b-gap.behind { color: var(--good); background: var(--good-soft); }
.b-score { font: 600 18px var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 3.4ch; text-align: right; }
.brow.you { background: var(--chili-soft); border-color: var(--chili); box-shadow: 0 0 0 1px var(--chili) inset, 0 14px 26px -18px rgba(229,116,45,.7); }
.brow.you .b-rank { color: var(--chili-d); }
.brow.far, .rung.far { filter: blur(5px); user-select: none; pointer-events: none; }
.is-live .brow.far { animation-name: riseFar; } @keyframes riseFar { to { opacity: .55; translate: 0 0; } }
.rung.far { opacity: .55; }
.hero-sub { margin-top: 16px; }
.hero-sub { font: 500 clamp(1.02rem, 1.6vw, 1.25rem)/1.4 var(--display); color: var(--mute); letter-spacing: -.01em; margin-top: 14px; max-width: 30em; }
.hero-sub b { color: var(--ink); font-weight: 600; }
.fine sup, .ladder-note sup { font-size: 10px; color: var(--mute); margin-left: 2px; }
.word { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); }
.is-live .word { animation: wordIn .7s var(--ease) calc(var(--i) * 45ms + 300ms) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }

.stack { display: flex; gap: 4px; height: 14px; margin-top: 44px; }
.stack i { flex: var(--g) 0 0; background: var(--c); border-radius: 5px; transform: scaleX(0); transform-origin: left; }
.stack i:first-child { border-radius: 9px 5px 5px 9px; } .stack i:last-child { border-radius: 5px 9px 9px 5px; }
.stack .stack-empty { background: repeating-linear-gradient(-45deg, #e9e1d8 0 5px, transparent 5px 10px); border: 1px dashed #d8cdc1; }
.is-live .stack i { animation: grow .9s var(--ease) calc(var(--i) * 260ms + 1000ms) forwards; }
@keyframes grow { to { transform: scaleX(1); } }
.pillars { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 14px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; display: grid; gap: 2px; align-content: start; opacity: 0; translate: 0 16px; }
@keyframes riseT { to { opacity: 1; translate: 0 0; } }
.is-live .pillar { animation: riseT .7s var(--ease) calc(var(--i) * 110ms + 900ms) forwards; }
.p-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.p-name i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.pillar b { font: 600 34px/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.p-detail { font-size: 13px; color: var(--body); }
.p-hint { font-size: 12px; font-weight: 600; color: var(--chili-d); background: var(--chili-soft); border-radius: 8px; padding: 3px 8px; justify-self: start; margin-top: 8px; }
.pillar.is-empty { background: transparent; border-style: dashed; } .pillar.is-empty b { color: #c4b9af; } .pillar.is-empty .p-hint { color: var(--mute); background: #f1eae2; }

.r-body section, .r-body .audit { margin-top: 96px; }
.r-body .r-hero { margin-top: 0; }
.kicker { font-size: 13px; font-weight: 600; color: var(--chili-d); margin-bottom: 10px; }
.kicker.on-dark { color: #ffb689; }
.r-body h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.h-wide { max-width: 22em; } .center .h-wide { margin-inline: auto; }
.h-mid { margin-bottom: 32px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); padding: 28px; }
.panel h2 { font-size: 1.35rem; margin-bottom: 18px; }
.chase { margin: 6px 0 22px; padding-top: 22px; }
.chase-track { position: relative; height: 8px; border-radius: 8px; background: #f1eae2; }
.chase-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: linear-gradient(90deg, #f6c9a8, var(--chili)); transition: width .9s var(--ease); }
.chase-flags i { position: absolute; top: -5px; width: 2px; height: 18px; background: var(--ink); border-radius: 2px; transition: background .4s, opacity .4s; }
.chase-flags em { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font: 600 11px var(--sans); font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .4s; }
.chase-flags i.is-passed { background: var(--good); } .chase-flags i.is-passed em { color: var(--good); }
.runner { position: absolute; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--chili), 0 8px 16px -6px rgba(43,27,20,.5); overflow: hidden; transition: left .9s var(--ease); z-index: 2; }
.runner img { width: 100%; height: 100%; object-fit: cover; }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rung-rank { font: 600 13px var(--display); color: var(--mute); font-variant-numeric: tabular-nums; }
.rung.you .rung-rank { color: var(--chili-d); }
.rung { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fbf8f4; color: var(--ink); font-weight: 500; transition: background .4s, opacity .4s; }
.rung-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rung-name img { width: 22px; height: 22px; border-radius: 50%; }
.rung-gap { font: 600 12px var(--sans); color: var(--poor); background: var(--poor-soft); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.rung-gap:empty { display: none; }
.rung-score { font: 600 18px var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }
.rung.is-passed { opacity: .55; } .rung.is-behind .rung-gap { color: var(--good); background: var(--good-soft); } .rung.is-passed .rung-gap { color: var(--good); background: var(--good-soft); }
.rung.you { background: var(--chili-soft); box-shadow: 0 0 0 1.5px var(--chili) inset; }
.rung.you .rung-gap { color: var(--mute); background: rgba(255,255,255,.7); }
.rung.you.is-up .rung-score { color: var(--chili-d); }
.you-tag { font: 600 11px var(--sans); color: #fff; background: var(--chili); border-radius: 999px; padding: 2px 9px; }
.ladder-note { font-size: 12px; color: var(--mute); margin-top: 14px; }
.quests { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.quests li { opacity: 0; transform: translateY(12px); }
.is-in .quests li { animation: rise .6s var(--ease) calc(var(--i) * 90ms + 200ms) forwards; }
.quest { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; color: var(--ink); transition: border-color .25s, background .25s, transform .25s var(--spring); }
.quest:hover { border-color: #d9cbbd; transform: translateY(-1px); }
.q-box { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid #d9cbbd; display: grid; place-items: center; transition: .25s var(--spring); }
.q-box svg { width: 14px; height: 14px; color: #fff; stroke-width: 3; transform: scale(0); transition: transform .3s var(--spring); }
.q-pts { font: 700 15px var(--display); color: var(--chili-d); font-variant-numeric: tabular-nums; }
.quest[aria-checked="true"] { border-color: var(--good); background: var(--good-soft); }
.quest[aria-checked="true"] .q-box { background: var(--good); border-color: var(--good); transform: scale(1.08); }
.quest[aria-checked="true"] .q-box svg { transform: scale(1); }
.quest[aria-checked="true"] .q-pts { color: var(--good); }
.quest-more .quest { filter: blur(5px); opacity: .6; pointer-events: none; user-select: none; }
.quest-more .quest:hover { transform: none; }
.quests.has-more { -webkit-mask: linear-gradient(180deg, #000 0, #000 70%, transparent 100%); mask: linear-gradient(180deg, #000 0, #000 70%, transparent 100%); }
.quest-rest { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.quest-rest a { color: var(--chili-d); text-decoration: none; } .quest-rest a:hover { text-decoration: underline; }
.quest-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 18px; }
.quest-all { background: none; border: 0; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.quest-all b { color: var(--chili-d); text-decoration: none; display: inline-block; margin-left: 4px; }
.quest-sum { font-size: 14px; color: var(--mute); margin-left: auto; }
.quest-sum b { font: 700 20px var(--display); color: var(--ink); font-variant-numeric: tabular-nums; margin: 0 4px; }
.quest-sum .up { font-weight: 600; color: var(--good); }
.quest-lock { flex-basis: 100%; font-size: 13px; color: var(--mute); }
.quest-lock:empty { display: none; }
#quest-cta { flex-basis: 100%; opacity: 0; max-height: 0; padding-block: 0; overflow: hidden; pointer-events: none; transition: opacity .4s, max-height .5s var(--ease), padding .5s var(--ease); }
#quest-cta.is-on { opacity: 1; max-height: 60px; padding-block: 12px; pointer-events: auto; }
.kw-pts { margin-left: 8px; font: 600 11px var(--sans); color: var(--good); background: var(--good-soft); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.c-pts { font: 700 13px var(--display); color: var(--chili-d); background: var(--chili-soft); border-radius: 8px; padding: 2px 8px; font-variant-numeric: tabular-nums; align-self: start; margin-top: 1px; }
.how { background: var(--cream); border-radius: var(--r-card); padding: 4px 24px; }
.how summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 600 17px var(--display); color: var(--ink); }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 100% no-repeat; transition: transform .4s var(--ease); }
.how[open] summary::after { transform: rotate(135deg); }
.how > div { padding-bottom: 24px; display: grid; gap: 18px; font-size: 15px; animation: rise .45s var(--ease); }
.scale { padding-top: 34px; }
.scale-bar { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 10px; }
.scale-bar i { border-radius: 4px; background: #e6dccf; } .scale-bar i:nth-child(2) { background: #d9c7b3; } .scale-bar i:nth-child(3) { background: #c9a98b; } .scale-bar i:nth-child(4) { background: #8a6a52; }
.scale-you { position: absolute; top: -6px; width: 3px; height: 22px; background: var(--chili); border-radius: 3px; }
.scale-you span { position: absolute; bottom: 26px; left: 50%; transform: translateX(-30%); font: 600 12px var(--sans); color: #fff; background: var(--chili); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.scale-labels { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 12px; color: var(--mute); }
.scale-labels b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.how-list li { display: grid; grid-template-columns: 10px 96px 1fr; gap: 10px; align-items: baseline; }
.how-list i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.how-list b { color: var(--ink); font-weight: 600; }
.kw { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.kw-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); }
.kw-row:first-child { border-top: 0; }
.kw-head { font-size: 13px; font-weight: 600; color: var(--mute); background: #fdfbf8; }
.kw-q { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.kw-q svg { width: 16px; height: 16px; color: var(--mute); flex: none; }
.pos { display: flex; align-items: center; gap: 10px; }
.track { display: flex; gap: 4px; }
.track i { width: 9px; height: 9px; border-radius: 50%; background: #efe8df; transform: scale(0); }
.is-in .track i { animation: starIn .35s var(--spring) calc(var(--r) * 90ms + var(--i) * 28ms + 200ms) forwards; }
.track i.hit { background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 22%, transparent); }
.pos b { font: 600 13px var(--sans); color: var(--tone); white-space: nowrap; }
.pos.out b { color: var(--mute); font-weight: 500; }

.audit { border-top: 1px solid var(--line); padding-top: 72px; }
.audit-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.audit-side { position: sticky; top: 92px; }
.audit-side h2 { font-size: 1.5rem; margin: 6px 0 20px; }
.mini { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.mini > span:first-child { flex-basis: 100%; font-weight: 600; color: var(--chili-d); }
.mini b { font: 600 26px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.mbar { flex-basis: 100%; height: 6px; border-radius: 6px; background: #f0e9e1; overflow: hidden; margin-top: 6px; }
.mbar i { display: block; height: 100%; border-radius: 6px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) .3s; }
.is-in .mbar i { transform: scaleX(var(--v)); }
.vis { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -36px rgba(43,27,20,.45), 0 0 0 1px var(--line); }
.vis .b-url { padding-inline: 28px; }
.vis-review { position: relative; aspect-ratio: 4/3; display: grid; place-content: center; text-align: center; color: #fff; padding: 22px; }
.vis-review img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vis-review::before { content: ""; position: absolute; inset: 0; background: rgba(20,12,8,.62); z-index: 1; }
.vis-review > :not(img) { position: relative; z-index: 2; }
.vis-review { justify-items: center; }
.vis-review .stars svg { transform: none; width: 18px; height: 18px; }
.vis-review p { font: 500 15px/1.4 var(--display); margin-top: 10px; }
.vis-gbp img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.vis-gbp div { padding: 14px 16px; }
.vis-gbp b { font: 600 17px var(--display); color: var(--ink); display: block; }
.vis-gbp span { font-size: 13px; color: var(--mute); display: block; }
.vis-gbp .stars svg { transform: none; }
.group { margin-bottom: 30px; }
.group h3 { font-size: 15px; letter-spacing: -.01em; margin-bottom: 8px; }
.check { border-radius: 14px; transition: background .25s; }
.check summary { list-style: none; display: grid; grid-template-columns: 22px 1fr auto 18px; gap: 12px; align-items: start; padding: 10px 12px; cursor: pointer; }
.check summary::-webkit-details-marker { display: none; }
.check:hover, .check[open] { background: #fff; }
.check .ico { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); transform: scale(0); }
.check .ico svg { width: 12px; height: 12px; stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; }
.check.fail .ico { background: var(--poor); color: #fff; }
.is-in .check .ico { animation: starIn .45s var(--spring) calc(var(--i) * 45ms + 100ms) forwards; }
.is-in .check .ico svg { animation: draw .45s var(--ease) calc(var(--i) * 45ms + 300ms) forwards; }
.check .t { color: var(--ink); font-weight: 500; }
.check.fail .t { color: #b23a1f; }
.check .f { display: block; font-size: 13px; color: var(--mute); font-weight: 400; margin-top: 1px; }
.check .chev { width: 16px; height: 16px; color: #c4b9af; margin-top: 4px; transition: transform .35s var(--ease); }
.check[open] .chev { transform: rotate(180deg); }
.check.plain summary { cursor: default; } .check.plain .chev { visibility: hidden; }
.check .more-body { padding: 0 12px 14px 46px; font-size: 14px; display: grid; gap: 8px; animation: rise .4s var(--ease); }
.check .fix { background: var(--good-soft); color: #1d6a40; border-radius: 10px; padding: 8px 12px; }
.check .fix b { font-weight: 600; }

.inset { width: min(1320px, calc(100vw - 32px)); margin-inline: auto; border-radius: var(--r-panel); padding: 88px 0; }
.inset-dark { background: var(--dark); color: #cdbfb3; position: relative; overflow: hidden; }
.inset-dark::before { content: ""; position: absolute; left: 50%; top: 48%; width: 900px; height: 520px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(229,116,45,.38), transparent); filter: blur(30px); pointer-events: none; animation: breathe 6s ease-in-out infinite alternate; }
@keyframes breathe { to { opacity: .55; transform: translate(-50%, -50%) scale(1.1); } }
.inset-dark > * { position: relative; }
h2.on-dark { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h2.on-dark .tone { color: #a8978a; }
.inset-cream { background: var(--cream); }
.inset-cream h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.inset-cream .lead { margin: 14px auto 28px; }
.cmp-switch { display: inline-flex; background: rgba(255,255,255,.08); border-radius: 999px; padding: 4px; margin: 28px 0 24px; }
.cmp-switch button { border: 0; background: none; color: #cdbfb3; font-size: 14px; font-weight: 500; padding: 7px 18px; border-radius: 999px; transition: .3s; }
.cmp-switch button.is-on { background: #fff; color: var(--ink); }
.cmp-browser { margin: 0 auto 28px; width: min(960px, 100%); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08); }
.cmp-browser .b-bar { background: #2a1f18; } .cmp-browser .b-bar i { background: #4a3b31; }
.cmp-browser .b-url { background: #1a120d; color: #e9ddd2; }
.cmp { cursor: ew-resize; touch-action: pan-y; user-select: none; }
.cmp img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.cmp-new { position: absolute; inset: 0; }
.cmp-old { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
.cmp.is-anim .cmp-old { transition: clip-path .8s var(--ease); } .cmp.is-anim .cmp-handle { transition: left .8s var(--ease); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 2px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.5); }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); transition: transform .3s var(--spring); }
.cmp:active .cmp-handle span { transform: scale(1.15); }
.cmp-handle svg { width: 20px; height: 20px; }
.cmp-tag { position: absolute; top: 14px; font: 600 12px var(--sans); border-radius: 999px; padding: 4px 12px; background: rgba(20,12,8,.7); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .3s; }
.cmp-tag { top: auto; bottom: 14px; }
.tag-old { left: 14px; } .tag-new { right: 14px; background: var(--chili); }
.fixed-list { list-style: none; margin: 0 auto 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 860px; }
.fixed-list li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #f1e7de; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 6px 12px 6px 8px; opacity: 0; transform: translateY(8px); }
.is-in .fixed-list li { animation: rise .5s var(--ease) calc(var(--i) * 70ms + 500ms) forwards; }
.tick { width: 18px; height: 18px; border-radius: 50%; background: var(--good); display: inline-grid; place-items: center; flex: none; }
.tick::after { content: ""; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

.feat3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat3 li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.feat3 li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(43,27,20,.4); }
.f-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--chili-soft); color: var(--chili-d); display: grid; place-items: center; margin-bottom: 28px; }
.f-ico svg { width: 20px; height: 20px; }
.feat3 h3 { font-size: 17px; letter-spacing: -.015em; margin-bottom: 6px; }
.feat3 p { font-size: 14px; }
.feat-rows { list-style: none; margin: 18px 0 0; padding: 0; }
.feat-rows li { display: grid; grid-template-columns: 320px 1fr; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); font-size: 15px; align-items: center; }
.feat-rows b { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps li { position: relative; background: var(--cream); padding: 20px 22px 26px; min-height: 150px; display: grid; align-content: space-between; }
.steps li:first-child { border-radius: var(--r-card) 6px 6px var(--r-card); } .steps li:last-child { border-radius: 6px var(--r-card) var(--r-card) 6px; }
.st-n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 13px var(--display); }
.st-t { position: absolute; right: 20px; top: 22px; font-size: 13px; color: var(--mute); }
.steps h3 { font-size: 19px; font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font: 600 18px var(--display); color: var(--ink); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--ink), var(--ink)) center/100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { padding: 0 4px 22px; max-width: 40em; animation: rise .45s var(--ease); }
.r-foot { margin-top: 110px; padding-bottom: 60px; display: grid; gap: 18px; }
.fine { font-size: 12px; color: var(--mute); max-width: 70em; line-height: 1.55; }

/* gate */
.gate { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 24px; background: radial-gradient(60% 50% at 50% 45%, rgba(251,248,244,.55), rgba(251,248,244,.15)); }
.is-gated .gate { display: grid; }
.gate-card { position: relative; width: min(400px, 100%); background: rgba(255,255,255,.92); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border: 1px solid rgba(255,255,255,.7); border-radius: 26px; padding: 30px 28px 22px; text-align: center; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 50px 90px -40px rgba(43,27,20,.5), 0 0 0 1px var(--line); animation: gateIn .9s var(--ease) .9s backwards; }
@keyframes gateIn { from { opacity: 0; transform: translateY(40px) scale(.94); filter: blur(8px); } }
.gate-card.is-shake { animation: shake .4s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.gate-card.is-open { animation: gateOut .7s var(--ease) forwards; }
@keyframes gateOut { 30% { transform: scale(1.03); } 100% { opacity: 0; transform: translateY(-30px) scale(.9); filter: blur(10px); } }
.lock { width: 48px; height: 48px; border-radius: 16px; background: var(--chili-soft); color: var(--chili-d); display: inline-grid; place-items: center; margin-bottom: 14px; }
.lock svg { width: 22px; height: 22px; }
.shackle { transform-origin: 16px 11px; transition: transform .5s var(--spring); }
.is-open .shackle { transform: rotate(38deg) translateY(-2px); }
.is-open .lock { background: var(--good-soft); color: var(--good); transition: .3s; }
.gate-card h2 { font-size: 1.6rem; }
.gate-sub { font-size: 14px; margin: 8px 0 20px; }
.gate-step { display: none; gap: 12px; }
.gate-step.is-on { display: grid; animation: rise .5s var(--ease); }
.field-box { display: flex; align-items: center; gap: 10px; height: 54px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field-box:focus-within { border-color: var(--chili); box-shadow: 0 0 0 4px rgba(229,116,45,.15); }
.cc { font-size: 15px; color: var(--ink); padding-right: 10px; border-right: 1px solid var(--line); white-space: nowrap; }
.field-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 17px var(--sans); color: var(--ink); letter-spacing: .01em; }
.code-hint { font-size: 14px; } .code-hint b { color: var(--ink); }
.otp { display: flex; gap: 8px; justify-content: center; }
.otp input { width: 46px; height: 56px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; font: 600 22px var(--display); color: var(--ink); outline: 0; background: #fff; transition: border-color .2s, box-shadow .2s, transform .25s var(--spring); }
.otp input:focus { border-color: var(--chili); box-shadow: 0 0 0 4px rgba(229,116,45,.15); }
.otp input.is-filled { transform: scale(1.06); border-color: var(--ink); }
.gate-legal { font-size: 11px; color: var(--mute); margin-top: 16px; line-height: 1.5; }
.demo-note { font-size: 11px; color: var(--chili-d); background: var(--chili-soft); border-radius: 8px; padding: 6px 10px; margin-top: 10px; }

.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .5s var(--ease), box-shadow .5s; will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s; box-shadow: 0 30px 50px -30px rgba(43,27,20,.4); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--chili); transform: scaleX(var(--p, 0)); transform-origin: left; }
.is-gated .progress { display: none; }
.g-knob { fill: #fff; stroke: var(--tone, var(--fair)); stroke-width: 5; opacity: 0; transition: opacity .4s; }
.is-live .g-knob { opacity: 1; }
.m-cta { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gate-step.is-on { gap: 10px; }
.gate-who { display: flex; align-items: center; gap: 10px; text-align: left; font-size: 13px; color: var(--body); background: var(--cream); border-radius: 14px; padding: 10px 12px; margin-top: 14px; }
.gate-who img, .handoff img { border-radius: 50%; object-fit: cover; flex: none; }
.gate-who b, .handoff b { color: var(--ink); font-weight: 600; }
.handoff { display: none; background: var(--chili-soft); border-bottom: 1px solid #f6d9c4; }
.handoff.is-on { display: block; animation: rise .7s var(--ease); }
.handoff-in { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 15px; color: var(--body); }
.handoff-in p { flex: 1; }
.toast { position: relative; z-index: 3; display: none; max-width: 560px; margin: -6vh auto 4vh; padding: 12px 18px; text-align: center; font-size: 14px; color: #8f2a14; background: var(--poor-soft); border-radius: 14px; }
.toast.is-on { display: block; animation: rise .5s var(--ease); }
.toast a { font-weight: 600; }
.search.nudge .search-box { animation: nudge .5s var(--spring); }
@keyframes nudge { 30% { transform: scale(1.025); } }
.b-screen.no-shot > img.b-shot, .b-screen.no-shot .cmp-old, .b-screen.no-shot .cmp-new { display: none; }
.sc-site .b-screen:not(.is-read) .beam { opacity: .5; }
.cloud-empty { position: absolute; inset: 0; display: grid; place-items: center; font: 500 18px var(--display); color: var(--mute); }
.gcard.no-photo { grid-template-columns: 1fr; width: min(460px, 100%); }
.kw-2 .kw-row { grid-template-columns: 1.2fr 1fr; }
.unread { background: var(--cream); border-radius: var(--r-card); padding: 18px 22px; }
.two.is-solo { grid-template-columns: minmax(0, 720px); justify-content: center; }
.is-single .cmp-switch, .is-single .cmp-handle, .is-single .cmp-tag, .is-single .cmp-new, .is-single .cmp-built { display: none; }
.is-single .cmp-old { clip-path: none; position: static; } .is-single .cmp { cursor: default; }
.cmp-single { display: none; } .is-single .cmp-single { display: block; }
.is-single .cmp-browser { margin-top: 30px; }
.no-site .cmp-browser { display: none; } .no-site .fixed-list { margin-top: 30px; }
.fixed-list li.todo .tick { background: var(--chili); } .fixed-list li.todo .tick::after { width: 8px; height: 2px; border: 0; background: #fff; transform: none; }
.cmp-old img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); } .hero-grid { gap: 36px; }
  .two { grid-template-columns: 1fr; }
  .audit-grid { grid-template-columns: 1fr; gap: 28px; } .audit-side { position: static; } .vis { max-width: 420px; }
  .feat3 { grid-template-columns: 1fr; } .f-ico { margin-bottom: 14px; }
  .feat-rows li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100vw - 32px); }
  .l-hero { padding-bottom: 8vh; } .search-box { height: 60px; padding-left: 16px; } .ghost { left: 50px; font-size: 16px; } .search input { font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; } .r-hero { padding-top: 28px; } .stack { margin-top: 28px; } .pillar b { font-size: 28px; }
  .quest-sum { margin-left: 0; } .how-list li { display: block; } .how-list li i { display: inline-block; margin-right: 8px; } .how-list li b { margin-right: 6px; } .how { padding-inline: 18px; } .scale-labels { font-size: 10px; } .scale-labels b { font-size: 11px; }
  .r-nav { grid-template-columns: auto 1fr; padding: 10px 14px; gap: 10px; } .r-nav .btn { display: none; } .tabs { justify-self: end; } .tab { padding: 6px 11px; font-size: 13px; } .r-nav .logo img { height: 24px; }
  .r-body section, .r-body .audit { margin-top: 64px; } .audit { padding-top: 48px; }
  .panel { padding: 20px; border-radius: 22px; }
  .kw-head { display: none; } .kw-row { grid-template-columns: 1fr 1fr; padding: 14px 16px; gap: 8px 12px; } .kw-q { grid-column: 1 / -1; }
  .pos { flex-direction: column; align-items: flex-start; gap: 4px; } .pos::before { content: attr(data-l); font-size: 11px; color: var(--mute); } .track i { width: 7px; height: 7px; gap: 3px; }
  .inset { width: calc(100vw - 16px); padding: 56px 0; border-radius: 22px; }
  .steps { grid-template-columns: 1fr; } .steps li, .steps li:first-child, .steps li:last-child { border-radius: 16px; min-height: 110px; }
  .gcard { grid-template-columns: 1fr; } .gcard-photo { min-height: 150px; order: -1; } .gcard-body { padding: 20px; } .gcard h2 { font-size: 22px; } .g-ticks { display: none; }
  .b-url { padding-inline: 18px; } .find { font-size: 10px; padding: 3px 8px 3px 4px; } .find::before { width: 10px; height: 10px; }
  .pin b { font-size: 10px; } .s-eta { top: auto; bottom: 54px; right: 50%; transform: translateX(50%); position: fixed; }
  .handoff-in { flex-wrap: wrap; font-size: 14px; } .handoff-in p { flex-basis: calc(100% - 60px); } .handoff-in .btn { margin-left: 58px; }
  .ph { width: calc(var(--w) * 1.75); } .cloud { height: 62vh; }
  .s-tag { display: none; }
  .m-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; transform: translateY(140%); transition: transform .6s var(--ease); }
  .m-cta.is-up { transform: none; } .is-gated .m-cta { display: none; }
  .r-foot { padding-bottom: 110px; }
  .tally { bottom: 90px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
