/* FINDY website. One stylesheet for the marketing pages, legal pages and the web app.
   Palette: night ink + "spotlight" indigo, with mint green for "services you already pay for". */
@font-face { font-family: "Bricolage"; src: url(/assets/fonts/bricolage.woff2) format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/assets/fonts/inter.woff2) format("woff2-variations"); font-weight: 100 900; font-display: swap; }

:root {
  --night: #0a0d1c; --night-2: #121734; --night-3: #1b2250;
  --beam: #5b6bff; --beam-soft: #8c98ff; --glow: rgb(91 107 255 / 0.45);
  --mint: #12b37a; --mint-soft: #5fe0ae; --gold: #ffc861;
  --bg: #f6f6fb; --surface: #ffffff; --fg: #12162b; --muted: #5a6180; --line: #e1e4ef; --line-2: #cdd2e3;
  --accent: #3a4cf0; --accent-ink: #fff; --mine: #0c9467; --mine-bg: #e2f6ee; --warn: #b4540a; --warn-bg: #fff3e6;
  --display: "Bricolage", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px; --wide: 1160px; --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0e1e; --surface: #141933; --fg: #eef0fb; --muted: #9ba3c4; --line: #252c52; --line-2: #333c6b;
    --accent: #8090ff; --accent-ink: #0a0d1c; --mine: #4fd6a2; --mine-bg: #10372a; --warn: #f3a967; --warn-bg: #3a2614;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0e1e; --surface: #141933; --fg: #eef0fb; --muted: #9ba3c4; --line: #252c52; --line-2: #333c6b;
  --accent: #8090ff; --accent-ink: #0a0d1c; --mine: #4fd6a2; --mine-bg: #10372a; --warn: #f3a967; --warn-bg: #3a2614;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--beam-soft); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--fg); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Brand mark: a magnifier whose handle is a beam of light ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 var(--display); letter-spacing: -0.03em; color: inherit; text-decoration: none; }
.brand .word > span { color: var(--beam-soft); }
.mark { width: 30px; height: 30px; flex: none; background: url(/assets/img/icon.svg) center / contain no-repeat; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-glow { background: var(--beam); color: #fff; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08) inset, 0 8px 30px -6px var(--glow); }
.btn-glow:hover { background: #4a5cff; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12) inset, 0 10px 40px -4px var(--glow); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(10 13 28 / 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: #fff; border-bottom: 1px solid rgb(255 255 255 / 0.06); }
.nav-in { max-width: var(--wide); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: rgb(255 255 255 / 0.78); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: #fff; }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--night); color: #fff; overflow: hidden; padding: 72px 0 72px; }
.hero::before { /* the spotlight beam */
  content: ""; position: absolute; z-index: -1; left: 50%; top: -30%; width: 1400px; height: 1100px; transform: translateX(-62%);
  background: conic-gradient(from 168deg at 50% 0%, transparent 0deg, rgb(91 107 255 / 0.32) 10deg, rgb(140 152 255 / 0.12) 22deg, transparent 34deg);
  filter: blur(18px); pointer-events: none;
}
.hero::after { /* film grain + floor glow */
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 55%;
  background: radial-gradient(60% 80% at 50% 100%, rgb(91 107 255 / 0.28), transparent 70%); pointer-events: none;
}
.hero-in { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--beam-soft); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint-soft); box-shadow: 0 0 12px var(--mint-soft); }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; letter-spacing: -0.045em; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #fff 10%, var(--beam-soft) 55%, var(--mint-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(17px, 2vw, 20px); color: rgb(255 255 255 / 0.74); max-width: 34em; }

.hero-search { margin-top: 32px; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgb(255 255 255 / 0.07); border: 1px solid rgb(255 255 255 / 0.14); max-width: 560px; box-shadow: 0 20px 60px -20px rgb(0 0 0 / .6); }
.hero-search:focus-within { border-color: var(--beam-soft); box-shadow: 0 0 0 4px rgb(91 107 255 / .25), 0 20px 60px -20px rgb(0 0 0 / .6); }
.hero-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 18px; padding: 10px 8px 10px 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c98ff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 22px; background-position: 16px center; }
.hero-search input::placeholder { color: rgb(255 255 255 / 0.45); }
.hero-try { margin-top: 14px; font-size: 14px; color: rgb(255 255 255 / 0.55); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero-try a { color: rgb(255 255 255 / 0.85); text-decoration: none; padding: 3px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.16); }
.hero-try a:hover { border-color: var(--beam-soft); color: #fff; }

/* The phone in the hero, drawn with HTML so it stays sharp and light. */
.phone { position: relative; justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 12px; margin-block: 8px;
  background: linear-gradient(160deg, #2a3163, #10142c 40%); box-shadow: 0 0 0 1px rgb(255 255 255 / .12) inset, 0 40px 120px -30px var(--glow), 0 30px 60px -20px rgb(0 0 0 / .7); transform: rotate(3deg); }
.screen { height: 100%; border-radius: 36px; background: #0d1124; overflow: hidden; padding: 44px 16px 16px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.s-logo { font: 800 22px/1 var(--display); letter-spacing: -0.03em; }
.s-logo span { color: var(--beam-soft); }
.s-search { border-radius: 14px; background: #1a1f3d; border: 1px solid #2c3466; padding: 10px 12px; font-size: 14px; color: #fff; display: flex; justify-content: space-between; }
.s-search i { width: 2px; height: 18px; background: var(--beam-soft); animation: blink 1s steps(1) infinite; display: inline-block; vertical-align: middle; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.s-card { border-radius: 16px; background: #151a36; border: 1px solid #262e5c; padding: 10px; display: grid; grid-template-columns: 58px 1fr; gap: 10px; }
.s-card.first { border-color: rgb(95 224 174 / .5); box-shadow: 0 0 0 3px rgb(95 224 174 / .08); }
.s-poster { aspect-ratio: 2/3; border-radius: 8px; }
.s-title { font: 700 14px/1.2 var(--display); }
.s-meta { font-size: 11px; color: #8f97bd; margin: 2px 0 6px; }
.s-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.s-chip { font-size: 10px; padding: 2px 7px; border-radius: 999px; border: 1px solid #343d73; color: #d5d9f2; }
.s-chip.mine { border-color: var(--mint-soft); background: rgb(95 224 174 / .14); color: #c6f6e2; font-weight: 600; }
.p1 { background: linear-gradient(160deg, #ff8a5b, #a62d6b 60%, #2a1647); }
.p2 { background: linear-gradient(160deg, #6cf0d0, #1c6d8f 55%, #10183a); }
.p3 { background: linear-gradient(160deg, #ffd36b, #d1603a 55%, #3b1830); }

/* Service ticker under the hero */
.ticker { position: relative; background: var(--night-2); color: rgb(255 255 255 / .6); border-top: 1px solid rgb(255 255 255 / .06); padding: 26px 0 24px; overflow: hidden; font-size: 15px; }
.ticker p { text-align: center; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; color: rgb(255 255 255 / .45); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: slide 40s linear infinite; font: 600 20px/1 var(--display); color: rgb(255 255 255 / .55); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.ticker-fade { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .phone { width: min(290px, 82vw); }
}
@media (prefers-reduced-motion: reduce) { .ticker-track, .s-search i { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; font: 800 20px var(--display); color: #fff; background: linear-gradient(140deg, var(--beam), #2a37c4); margin-bottom: 20px; box-shadow: 0 10px 24px -10px var(--glow); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feat { grid-column: span 2; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feat.big { grid-column: span 3; }
.feat h3 { font-size: 22px; }
.feat p { color: var(--muted); }
.feat .demo { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.feat.dark { background: var(--night); color: #fff; border-color: transparent; position: relative; overflow: hidden; }
.feat.dark p { color: rgb(255 255 255 / .7); }
.feat.dark::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, var(--glow), transparent 70%); }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr; } .feat, .feat.big { grid-column: auto; } }

/* Chips (shared by the marketing demo and the web app) */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 4px 11px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--fg); line-height: 1.3; }
.chip img { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.chip.noimg { padding-left: 11px; }
.chip.mine { border-color: var(--mine); background: var(--mine-bg); font-weight: 650; }
.chip.mine::after { content: "✓"; color: var(--mine); font-weight: 800; font-size: 12px; }
.feat.dark .chip { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: #fff; }
.feat.dark .chip.mine { border-color: var(--mint-soft); background: rgb(95 224 174 / .16); }
.feat.dark .chip.mine::after { color: var(--mint-soft); }

/* Get the app band */
.get { background: var(--night); color: #fff; border-radius: 32px; padding: 64px clamp(24px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.get::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 700px; height: 700px; background: conic-gradient(from 200deg at 70% 30%, transparent, rgb(91 107 255 / .35), transparent 30%); filter: blur(30px); }
.get h2 { font-size: clamp(32px, 4.4vw, 52px); }
.get p { color: rgb(255 255 255 / .72); margin-top: 14px; font-size: 18px; }
.stores { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.store { display: flex; flex-direction: column; padding: 12px 20px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .22); background: rgb(255 255 255 / .05); color: #fff; text-decoration: none; font: 700 19px/1.2 var(--display); }
.store-small { font: 500 12px/1.4 var(--body); color: rgb(255 255 255 / .6); }
.store:hover:not(.is-soon) { border-color: var(--beam-soft); }
.store.is-soon { opacity: .7; }
.stores .btn { margin-top: 6px; }
@media (max-width: 800px) { .get { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font: 650 18px/1.4 var(--display); padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 26px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: rgb(255 255 255 / .7); margin-top: 0; }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 40px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot-brand p { margin-top: 12px; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-links h2 { font: 700 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .45); margin-bottom: 12px; }
.foot-links a { display: block; color: rgb(255 255 255 / .82); text-decoration: none; padding: 4px 0; font-size: 15px; overflow-wrap: anywhere; }
.foot-links a:hover { color: #fff; }
.foot-small { grid-column: 1 / -1; border-top: 1px solid rgb(255 255 255 / .08); padding-top: 24px; font-size: 13px; color: rgb(255 255 255 / .5); display: grid; gap: 8px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } .foot-links { grid-template-columns: 1fr 1fr; } }

/* ---------- Simple pages (legal, support) ---------- */
.page-hero { background: var(--night); color: #fff; padding: 72px 0 56px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; left: 10%; top: -60%; width: 900px; height: 700px; background: conic-gradient(from 170deg at 50% 0%, transparent, rgb(91 107 255 / .28) 12deg, transparent 28deg); filter: blur(16px); }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); }
.page-hero p { color: rgb(255 255 255 / .7); margin-top: 12px; font-size: 18px; max-width: 40em; }
.prose { max-width: 760px; padding: 56px 0 96px; }
.prose h2 { font-size: 26px; margin: 44px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--fg); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose .note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 12px; margin: 20px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.toc a { color: rgb(255 255 255 / .85); text-decoration: none; font-size: 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .18); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 8px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.contact-card h2 { font-size: 20px; margin: 0; }
.contact-card p { color: var(--muted); font-size: 15px; }
.contact-card a.btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound h1 { font-size: clamp(40px, 6vw, 72px); }
.notfound p { color: var(--muted); margin: 14px 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section[data-tight] { padding-top: 0; }
.s-glass { color: var(--beam-soft); }

/* ---------- Web app ---------- */
.app-page { background: var(--bg); }
.app-top { background: var(--night); color: #fff; padding: 28px 0 22px; position: sticky; top: 55px; z-index: 10; box-shadow: 0 12px 30px -20px rgb(0 0 0 / .6); }
.app-search { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); }
.app-search:focus-within { border-color: var(--beam-soft); box-shadow: 0 0 0 4px rgb(91 107 255 / .25); }
.app-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font-size: 18px; padding: 8px 8px 8px 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c98ff' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") 14px center / 22px no-repeat; }
.app-search input::placeholder { color: rgb(255 255 255 / .45); }
.app-search input::-webkit-search-cancel-button { filter: invert(1); }
.app-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.pillbtn { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); color: rgb(255 255 255 / .9); padding: 7px 14px; border-radius: 999px; cursor: pointer; text-align: left; }
.pillbtn:hover { border-color: var(--beam-soft); }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: rgb(255 255 255 / .85); }
.toggle input { width: 18px; height: 18px; accent-color: var(--mint); }
.app-body { padding-top: 28px; padding-bottom: 80px; min-height: 60vh; }
.app-status:empty { display: none; }
.app-status { margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.app-status.err { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.app-empty { text-align: center; padding: 64px 0 24px; max-width: 560px; margin: 0 auto; }
.app-empty h1 { font-size: clamp(30px, 4vw, 44px); }
.app-empty p { color: var(--muted); margin: 12px 0 22px; }
.app-try { justify-content: center; }
.app-try a { color: var(--fg); border-color: var(--line-2); }
.app-try a:hover { color: var(--accent); border-color: var(--accent); }
[hidden] { display: none !important; }

.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.card { display: grid; grid-template-columns: 92px 1fr; gap: 16px; width: 100%; height: 100%; text-align: left; padding: 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s; color: inherit; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 18px 40px -24px var(--glow); }
.card.has-mine { border-color: color-mix(in srgb, var(--mine) 55%, var(--line)); }
.poster { width: 100%; aspect-ratio: 2/3; border-radius: 12px; object-fit: cover; background: linear-gradient(160deg, var(--line), var(--line-2)); display: grid; place-items: center; font: 800 26px var(--display); color: var(--muted); overflow: hidden; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-info { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card-title { font: 700 19px/1.2 var(--display); margin: 0; letter-spacing: -0.01em; }
.meta { color: var(--muted); font-size: 13px; }
.label { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.none { color: var(--warn); font-size: 14px; }
.skel { height: 26px; width: 70%; border-radius: 999px; background: linear-gradient(90deg, var(--line) 0%, var(--line-2) 50%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.more { font-size: 13px; color: var(--muted); align-self: center; }

dialog.sheet { border: 0; padding: 0; border-radius: 26px; width: min(680px, calc(100vw - 24px)); max-height: min(90vh, 900px); background: var(--surface); color: var(--fg); box-shadow: 0 40px 120px -20px rgb(0 0 0 / .6); overflow: hidden; }
dialog.sheet[open] { display: flex; flex-direction: column; animation: rise .22s ease-out; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
dialog::backdrop { background: rgb(5 7 18 / .66); backdrop-filter: blur(4px); }
.sheet-hero { height: 150px; flex: none; background: var(--night-3) center / cover no-repeat; position: relative; }
.sheet-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, var(--surface)); }
.sheet-hero.no-art { height: 24px; }
.sheet-hero.no-art + .sheet-body .sheet-top { margin-top: 0; align-items: start; }
.sheet-body { overflow-y: auto; padding: 0 24px 20px; display: flex; flex-direction: column; gap: 18px; }
#settings .sheet-body { padding-top: 24px; }
.sheet-top { display: grid; grid-template-columns: 120px 1fr; gap: 18px; margin-top: -70px; position: relative; z-index: 1; align-items: end; }
.sheet-top .poster { box-shadow: 0 16px 40px -12px rgb(0 0 0 / .55); }
.sheet h2 { font-size: clamp(24px, 3.4vw, 32px); }
.overview { font-size: 15px; }
.group { display: flex; flex-direction: column; gap: 8px; }
.fine { font-size: 12px; color: var(--muted); }
.sheet-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; flex: none; margin: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
select, .svc-filter { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); font-size: 16px; }
.svc-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.svc { cursor: pointer; }
.svc[aria-pressed="true"] { border-color: var(--mine); background: var(--mine-bg); font-weight: 650; }
.svc[aria-pressed="true"]::after { content: "✓"; color: var(--mine); font-weight: 800; }
@media (max-width: 560px) {
  .app-top { top: 53px; padding: 16px 0 14px; }
  .card { grid-template-columns: 76px 1fr; gap: 12px; }
  .sheet-top { grid-template-columns: 96px 1fr; }
  dialog.sheet { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
}
.meta-light { color: rgb(255 255 255 / .5) !important; font-size: 14px !important; margin-top: 18px !important; }
.prose-wide { max-width: 980px; }
.prose-wide .faq { margin-top: 8px; }
.hero-in > * { min-width: 0; }
@media (max-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .hero-search .btn { padding-inline: 16px; } .hero-search input { font-size: 16px; padding-left: 40px; background-position: 10px center; } }
.foot-brand .slogan { font: 700 20px/1.2 var(--display); color: #fff; margin-top: 14px; letter-spacing: -0.01em; }
.foot-brand .slogan + p { margin-top: 6px; }
