/* ==========================================================================
   DataLookup — pages
   ========================================================================== */

html { scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Shared ---------- */
.phero { position: relative; min-height: 78vh; min-height: 78svh; display: grid; align-content: end; gap: 40px; padding: calc(var(--hdr) + 12vh) var(--pad) clamp(48px, 7vw, 96px); overflow: hidden; }
.cobalt { background: var(--cobalt); color: var(--bone); --fg: var(--bone); --fg-2: rgba(236, 231, 222, .78); --fg-3: rgba(236, 231, 222, .56); --line: rgba(236, 231, 222, .22); --line-2: rgba(236, 231, 222, .4); --surface: var(--cobalt); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn.loading .roll, .btn.loading .disc svg { opacity: 0; }
.btn .disc { position: relative; }
.btn.loading .disc::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.art .ink-f { fill: var(--ink); }
.art .co { fill: var(--cobalt); }
.art .bone-f { fill: var(--bone); }
.art text { font-family: var(--sans); font-weight: 500; }

/* ---------- Tile puzzle frame ---------- */
.puzzle { position: relative; border-radius: 28px; overflow: hidden; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.puzzle svg { width: 100%; height: auto; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero2 { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; gap: clamp(40px, 5vw, 72px); padding: calc(var(--hdr) + 5vh) var(--pad) clamp(48px, 6vw, 80px); }
@media (min-width: 1080px) { .hero2 { grid-template-columns: 1fr 1.05fr; align-items: center; } }
.hero2 .h1 { max-width: 9ch; }
.hero2 .lede { margin-top: 28px; }

.check { margin-top: 40px; display: flex; align-items: center; gap: 10px; height: 68px; max-width: 560px; padding: 0 8px 0 26px; border-radius: 999px; background: rgba(236, 231, 222, .04); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .4s var(--ease); }
.check:focus-within { box-shadow: inset 0 0 0 1px var(--bone); }
.check.err { box-shadow: inset 0 0 0 1px #ff6b5b; }
.check input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; font-size: 17px; }
.check input::placeholder { color: var(--fg-3); }
.check .btn { --h: 52px; flex: none; }
.check-note { margin: 14px 0 0 26px; min-height: 1.5em; font-size: 14px; color: var(--fg-3); }
.check-note.err { color: #ff8a7d; }
@media (max-width: 480px) { .check { padding-left: 18px; } .check .btn { padding-left: 16px; } .check-note { margin-left: 18px; } }

/* stats strip */
.stats { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: clamp(28px, 3.4vw, 48px) var(--pad); background: var(--ink); display: grid; gap: 8px; }
.stat b { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.8rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-feature-settings: "tnum"; }
.stat span { color: var(--fg-2); }

/* results */
.res { padding-block: clamp(80px, 9vw, 140px); }
.res-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.res-email { margin: 0; font-family: var(--mono); font-size: 14px; color: var(--fg-3); word-break: break-all; }
.demo-note { margin: 0; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--cobalt-2); background: rgba(var(--cobalt-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--cobalt-rgb), .35); }
.res-h { outline: 0; }
.res-h b { font-weight: 500; color: var(--cobalt-2); }
.res-lede { margin-top: 24px; max-width: 52ch; }
.res-grid { display: grid; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 1000px) { .res-grid { grid-template-columns: 1fr 1.25fr 1.25fr; } }
.panel { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.panel h3 { margin: 0; font-size: 13px; font-weight: 500; color: var(--fg-3); }
.panel p { margin: 0; color: var(--fg-2); }
.risk-v { font-size: clamp(2.6rem, 1.6rem + 2.4vw, 4rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.risk[data-level="high"] { background: var(--cobalt); box-shadow: none; --fg-2: rgba(236, 231, 222, .82); --fg-3: rgba(236, 231, 222, .64); }
.risk[data-level="elevated"] .risk-v { color: var(--cobalt-2); }

.dc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dc li { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 14px; border-radius: 999px; background: rgba(236, 231, 222, .06); font-size: 14px; }
.dc li b { font-size: 12px; font-weight: 500; color: var(--fg-3); }
.dc li.hot { background: rgba(var(--cobalt-rgb), .2); box-shadow: inset 0 0 0 1px rgba(var(--cobalt-rgb), .55); }

.yr { flex: 1; display: flex; align-items: flex-end; gap: 6px; min-height: 140px; }
.yr-col { flex: 1; min-width: 0; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.yr-col span { margin-top: 6px; font-size: 11px; color: var(--fg-3); white-space: nowrap; }
.yr-col i { display: block; width: 100%; max-width: 22px; aspect-ratio: 1; border-radius: 5px; background: var(--bone); }
.yr-col i.pw { background: var(--cobalt); }
.yr-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.yr-key span { display: inline-flex; align-items: center; gap: 8px; }
.yr-key span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--bone); }
.yr-key span.pw::before { background: var(--cobalt); }

.breaches { display: grid; gap: 12px; margin-top: 14px; }
.breach { display: grid; grid-template-columns: 56px 1fr; gap: 18px 20px; padding: clamp(20px, 2.2vw, 28px); border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .breach { grid-template-columns: 72px 1.3fr 1fr; } }
.b-logo { width: 100%; aspect-ratio: 1; border-radius: 18px; background: var(--bone); display: grid; place-items: center; overflow: hidden; }
.b-logo img { width: 68%; height: 68%; object-fit: contain; }
.b-logo.mono { background: var(--cobalt); color: var(--bone); font-size: 26px; font-weight: 700; letter-spacing: -.05em; text-transform: uppercase; }
.b-title { margin: 0; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.b-meta { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--fg-3); }
.b-desc { margin: 14px 0 0; max-width: 60ch; font-size: 15.5px; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.breach.open .b-desc { display: block; }
.b-more { margin-top: 8px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--cobalt-2); }
.b-side { grid-column: 1 / -1; display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .b-side { grid-column: auto; } }
.b-flags { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.b-flags span { padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2); }

.res-clear { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .res-clear { grid-template-columns: 220px 1fr; } }
.res-clear svg { width: min(100%, 220px); }
.res-clear p { margin: 0; color: var(--fg-2); max-width: 48ch; }
.res-actions { margin-top: 40px; }

/* how it works (paper) */
.steps-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 88px); }
@media (min-width: 1000px) { .steps-head { grid-template-columns: 1fr 2fr; align-items: end; } }
.steps { display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.step { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 24px; min-height: 420px; padding: clamp(24px, 2.6vw, 36px); border-radius: 28px; background: #e4ded3; transition: translate .7s var(--ease), background-color .6s var(--ease); }
@media (hover: hover) { .step:hover { translate: 0 -6px; background: #ddd6c9; } }
.step .sn { font-size: 13px; font-weight: 500; color: var(--fg-3); }
.step h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 1.05rem + .6vw, 1.7rem); font-weight: 500; letter-spacing: -.035em; }
.step p { margin: 0; color: var(--fg-2); max-width: 34ch; }
.step .art { width: 100%; flex: 1; min-height: 190px; overflow: visible; }
.step:nth-child(2) { background: var(--ink); color: var(--bone); --fg-2: rgba(236, 231, 222, .62); --fg-3: rgba(236, 231, 222, .42); }
@media (hover: hover) { .step:nth-child(2):hover { background: var(--ink-3); } }

/* what to do (cobalt) */
.todo-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 1000px) { .todo-head { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.todo { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: todo; }
.todo li { display: grid; grid-template-columns: 52px 1fr; gap: 10px 24px; padding: 30px 0; border-bottom: 1px solid var(--line); counter-increment: todo; }
@media (min-width: 900px) { .todo li { grid-template-columns: 80px 64px 1.1fr 1.4fr; align-items: center; padding: 36px 0; } .todo li::before { content: "0" counter(todo); font-size: 14px; font-weight: 500; color: var(--fg-3); } }
.todo svg { width: 44px; height: 44px; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.todo h3 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.todo p { margin: 0; grid-column: 2; color: var(--fg-2); max-width: 46ch; }
@media (min-width: 900px) { .todo p { grid-column: auto; } }

/* faq */
.faq { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq { grid-template-columns: 1fr 2fr; } }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border: 0; background: none; text-align: left; font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); font-weight: 500; letter-spacing: -.025em; }
.qa .pm { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .4s, transform .6s var(--ease); }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 13px; right: 13px; top: 19.5px; height: 1.5px; background: currentColor; transition: transform .6s var(--ease); }
.qa .pm::after { transform: rotate(90deg); }
.qa[data-open] .pm { background: var(--cobalt); color: var(--bone); transform: rotate(180deg); }
.qa[data-open] .pm::after { transform: rotate(0); }
.qa .ans { height: 0; overflow: hidden; }
.qa .ans p { margin: 0; padding: 0 64px 30px 0; color: var(--fg-2); max-width: 64ch; }
.no-js .qa .ans { height: auto; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; left: -4%; right: -4%; bottom: -.12em; width: 108%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--cobalt-2); stroke-width: 5; stroke-linecap: round; }
.story2 { display: grid; gap: 48px; }
@media (min-width: 1000px) { .story2 { grid-template-columns: 1fr 1.3fr; } }
.story2-mark { position: sticky; top: 20vh; align-self: start; font-size: clamp(5rem, 3rem + 8vw, 12rem); font-weight: 500; letter-spacing: -.07em; line-height: .85; }
.story2-mark .serif { color: var(--cobalt-2); }
.story2-body { display: grid; gap: 40px; font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); line-height: 1.4; letter-spacing: -.015em; }
.story2-body p { margin: 0; }
.story2-body .muted { color: var(--fg-2); }

.values { border-top: 1px solid var(--line); }
.value { position: relative; isolation: isolate; display: grid; grid-template-columns: 60px 1fr; gap: 12px 24px; padding: 34px var(--pad); border-bottom: 1px solid var(--line); overflow: hidden; }
@media (min-width: 900px) { .value { grid-template-columns: 120px 1.3fr 1fr; align-items: center; padding-block: 44px; } }
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cobalt); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.value .vn { font-size: 14px; font-weight: 500; color: var(--fg-3); }
.value h3 { margin: 0; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.6rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; transition: translate .7s var(--ease); }
.value p { margin: 0; grid-column: 2; color: var(--fg-2); max-width: 40ch; transition: color .5s; }
@media (min-width: 900px) { .value p { grid-column: auto; } }
@media (hover: hover) { .value:hover::before { transform: scaleY(1); } .value:hover h3 { translate: 16px 0; } .value:hover p, .value:hover .vn { color: rgba(236, 231, 222, .85); } }

.hello { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .hello { grid-template-columns: 2fr 1fr; } }
.hello-mail { font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem); font-weight: 500; letter-spacing: -.04em; word-break: break-all; }

/* ==========================================================================
   PRIVACY
   ========================================================================== */
.prose { max-width: 68ch; display: grid; gap: 18px; font-size: 18px; }
.prose h2 { margin: 40px 0 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; }
.prose p, .prose li { margin: 0; color: var(--fg-2); }
.prose ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.prose b { color: var(--fg); font-weight: 500; }
.prose .updated { font-size: 14px; color: var(--fg-3); }

/* ==========================================================================
   404
   ========================================================================== */
.lost { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: calc(var(--hdr) + 24px) var(--pad) 64px; }
.lost-num { position: absolute; left: 50%; top: 50%; translate: -50% -54%; font-size: clamp(10rem, 4rem + 30vw, 34rem); font-weight: 500; letter-spacing: -.08em; line-height: .8; color: var(--ink-2); user-select: none; pointer-events: none; }
.lost-copy { position: relative; display: grid; justify-items: center; gap: 22px; }
.lost-copy .lede { margin-inline: auto; }

/* ==========================================================================
   MASCOT — Dee
   ========================================================================== */
.mascot { color: var(--fg); }
.mascot svg { width: 100%; height: auto; overflow: visible; }
.res-clear .mascot { width: min(100%, 220px); }

.org { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .org { grid-template-columns: minmax(220px, 1fr) 2fr; gap: 64px; } }
.org-dee { width: min(70%, 320px); justify-self: center; }

/* ==========================================================================
   FAQ PAGE
   ========================================================================== */
.faq-hero { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .faq-hero { grid-template-columns: 1.6fr 1fr; } }
.faq-hero .mascot { width: min(60%, 300px); justify-self: center; }
.faq-group + .faq-group { margin-top: clamp(64px, 8vw, 112px); }

/* ==========================================================================
   API DOCS
   ========================================================================== */
.api-hero { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .api-hero { grid-template-columns: 1.6fr 1fr; } }
.api-hero .mascot { width: min(60%, 300px); justify-self: center; }
.docs { display: grid; gap: 48px; }
@media (min-width: 1000px) { .docs { grid-template-columns: 220px 1fr; gap: 72px; } }
.docs-nav { display: none; }
@media (min-width: 1000px) { .docs-nav { display: grid; gap: 4px; position: sticky; top: calc(var(--hdr) + 24px); align-self: start; } }
.docs-nav a { padding: 8px 14px; border-radius: 10px; font-size: 15px; color: var(--fg-3); transition: color .3s, background-color .3s; }
.docs-nav a:hover { color: var(--fg); }
.docs-nav a.on { color: var(--fg); background: var(--ink-2); }
.docs-body { display: grid; gap: clamp(64px, 8vw, 104px); min-width: 0; }
.doc { display: grid; gap: 20px; min-width: 0; }
.doc h2 { margin: 0; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.doc h3 { margin: 12px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.doc p { margin: 0; color: var(--fg-2); max-width: 66ch; }
.doc code { font-family: var(--mono); font-size: .88em; padding: 2px 7px; border-radius: 6px; background: var(--ink-2); color: var(--bone); }

.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; }
.verb { padding: 3px 10px; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .05em; background: var(--cobalt); color: var(--bone); }
.verb.get { background: var(--bone); color: var(--ink); }

.code { border-radius: 18px; overflow: hidden; background: #111116; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 8px 6px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--fg-2); }
.code .k { color: #7484ff; } .code .s { color: var(--bone); } .code .c { color: rgba(236, 231, 222, .34); }

.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 13px; font-weight: 500; color: var(--fg-3); transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg .pill { position: absolute; z-index: 0; top: 4px; left: 0; height: 32px; border-radius: 999px; background: var(--bone); transition: translate .6s var(--ease), width .6s var(--ease); }
.chip-btn { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(236, 231, 222, .07); font-size: 13px; font-weight: 500; transition: background-color .3s; }
.chip-btn:hover { background: rgba(236, 231, 222, .14); }

.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; padding: 0 16px 12px 0; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
.tbl td:first-child { white-space: nowrap; }

/* ==========================================================================
   AUTH (login / register)
   ========================================================================== */
.auth { min-height: 100vh; min-height: 100svh; display: grid; }
@media (min-width: 1000px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-art { position: relative; display: grid; place-items: center; gap: 32px; padding: calc(var(--hdr) + 40px) var(--pad) 48px; overflow: hidden; }
.auth-art .mascot { width: min(52%, 280px); color: var(--bone); }
.auth-art blockquote { margin: 0; max-width: 22ch; text-align: center; font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.6rem); line-height: 1.1; }
.auth-art .ring-art { position: absolute; inset: 50% auto auto 50%; width: 140%; max-width: 900px; translate: -50% -50%; opacity: .25; pointer-events: none; }
@media (max-width: 999px) { .auth-art { padding-bottom: 32px; } .auth-art blockquote { display: none; } .auth-art .mascot { width: 150px; } }
.auth-form { display: grid; align-content: center; justify-items: center; padding: 48px var(--pad) 72px; }
@media (min-width: 1000px) { .auth-form { padding-top: calc(var(--hdr) + 24px); } }
.auth-box { width: 100%; max-width: 460px; display: grid; gap: 24px; }
.auth-box h1 { margin: 0; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
.auth-box .sub { margin: 0; color: var(--fg-2); }
.auth-box .btn { width: 100%; justify-content: space-between; }
.auth-box .fine { margin: 0; font-size: 14px; color: var(--fg-3); }
.auth-box .fine a { color: var(--fg); }
.auth-note { margin: 0; min-height: 1.4em; font-size: 14px; color: #ff8a7d; }
.row2 { display: grid; gap: 24px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field select { appearance: none; color: var(--fg); cursor: pointer; }
.field select option { background: var(--ink-2); }
.field .sel-label { position: absolute; left: 0; top: 4px; font-size: 13px; color: var(--fg-2); }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--fg-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cobalt); flex: none; }
.check-row a { color: var(--fg); }
.field.check-field::after { display: none; }
.pw { position: relative; }
.pw .eye { position: absolute; right: 0; top: 22px; border: 0; background: none; padding: 4px; color: var(--fg-3); }
.pw .eye svg { width: 20px; height: 20px; }
.btn:disabled { cursor: default; }

/* ==========================================================================
   DASHBOARD
   ========================================================================== */
.dash { padding: calc(var(--hdr) + 40px) var(--pad) clamp(80px, 10vw, 140px); display: grid; gap: 14px; }
.dash-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.dash-head h1 { margin: 10px 0 0; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.dash-grid { display: grid; gap: 14px; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: 1fr 2fr; } }
.meter { height: 8px; border-radius: 999px; background: rgba(236, 231, 222, .08); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--cobalt); transition: width 1.2s var(--ease); }
.big-n { font-size: clamp(2.6rem, 1.6rem + 2.4vw, 4rem); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-feature-settings: "tnum"; }
.usage { display: flex; align-items: flex-end; gap: 6px; height: 170px; }
.u-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.u-col i { display: block; width: 100%; max-width: 30px; height: calc(var(--h) * 100% - 22px); min-height: 4px; border-radius: 6px; background: var(--cobalt); }
.u-col:last-child i { background: var(--bone); }
.u-col span { height: 16px; font-size: 11px; color: var(--fg-3); }
.keys { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.key-row { display: grid; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .key-row { grid-template-columns: 1fr 1.4fr auto; align-items: center; } }
.key-row b { display: block; font-weight: 500; }
.key-row span { font-size: 13px; color: var(--fg-3); }
.key-row code { font-family: var(--mono); font-size: 13px; color: var(--fg-2); word-break: break-all; }
.key-act { display: flex; gap: 6px; }
.play { display: grid; gap: 14px; }
.play .check { margin-top: 0; max-width: none; height: 58px; }
.play .check .btn { --h: 44px; }
.play pre { margin: 0; max-height: 360px; }
.cobalt .mascot { --dee: var(--ink); --dee-accent: var(--bone); --dee-mouth: var(--bone); }
.field .check-row { position: static; font-size: 14px; color: var(--fg-2); pointer-events: auto; transform: none; }
@media (min-width: 1000px) { .hello { grid-template-columns: 200px 2fr 1fr; } }
.hello-dee { width: 160px; }
.lost-dee { width: clamp(150px, 18vw, 210px); }
.todo-title { position: relative; }
.todo-dee { width: clamp(120px, 14vw, 180px); margin-bottom: 24px; }
/* the header's difference blend turns bone mustard over cobalt — keep it plain on split auth pages */
body:is([data-page="login"], [data-page="register"]) .hdr { mix-blend-mode: normal; }

/* ==========================================================================
   HELP CENTER
   ========================================================================== */
.help-search { position: relative; margin-top: 36px; padding-right: 22px; }
.help-search input { padding-left: 34px; }
.help-search input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.help-icon { position: absolute; left: 24px; width: 20px; height: 20px; fill: none; stroke: var(--fg-3); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.help-topics { padding-bottom: 16px; }
.topics { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
@media (min-width: 700px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .topics { grid-template-columns: repeat(3, 1fr); } }
.topics a { display: grid; gap: 6px; padding: 26px 28px; background: var(--ink); transition: background-color .4s var(--ease); }
.topics a:hover { background: var(--ink-2); }
.topics b { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.topics span { font-size: 15px; color: var(--fg-3); }
.help-body { padding-top: clamp(48px, 6vw, 88px); }
.help-group + .help-group { margin-top: clamp(56px, 7vw, 96px); }
.help-h { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.help-group code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--ink-2); }
.help-empty { display: grid; gap: 24px; align-items: center; justify-items: start; }
@media (min-width: 700px) { .help-empty { grid-template-columns: 180px 1fr; } }
.help-empty .mascot { width: 160px; }
.help-empty .body { margin: 10px 0 0; }

/* ==========================================================================
   WHO'S DEE
   ========================================================================== */
.dee-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .dee-grid { grid-template-columns: 1.2fr 1fr; } }
.dee-stage { width: min(80%, 420px); justify-self: center; cursor: pointer; }
.poses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.poses button { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: rgba(236, 231, 222, .07); font-size: 15px; font-weight: 500; transition: background-color .3s, color .3s; }
.poses button:hover { background: rgba(236, 231, 222, .14); }
.poses button[aria-pressed="true"] { background: var(--cobalt); color: var(--bone); }

/* ==========================================================================
   COMING SOON
   ========================================================================== */
.soon { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.soon-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; }
.soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); animation: pulse 1.8s var(--ease-io) infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.soon-grid { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); }
@media (min-width: 1080px) { .soon-grid { grid-template-columns: 1fr 1.05fr; } }
.soon-copy .display { font-size: clamp(3.2rem, 1rem + 7vw, 8.4rem); }
.soon-copy .lede { margin-top: 28px; max-width: 44ch; }
.soon-done { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; margin-top: 40px; max-width: 560px; }
.soon-done .mascot { width: 120px; }
.soon-done .body { margin: 8px 0 0; }
.soon-art { position: relative; padding-top: 110px; }
.soon-dee { position: absolute; z-index: 1; right: 8%; top: 0; width: clamp(110px, 12vw, 150px); }
.soon-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }

/* ==========================================================================
   BLOG — listing
   ========================================================================== */
.blog-hero { padding-block: clamp(120px, 16vw, 200px) clamp(48px, 6vw, 80px); }
.blog-hero .h1 { max-width: 16ch; }
.blog-hero .lede { margin-top: 20px; }

.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.cat-btn {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 0;
  background: rgba(236,231,222,.07); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .25s, color .25s;
}
.cat-btn:hover { background: rgba(236,231,222,.14); }
.cat-btn.on  { background: var(--cobalt); color: var(--bone); }

.blog-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  padding-block: 64px clamp(80px, 12vw, 160px);
}

.post-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: border-color .3s;
}
.post-card:hover { border-color: var(--line-2); }
.post-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.post-card-title { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; text-wrap: balance; }
.post-card-body .cat-tag { align-self: flex-start; }
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--cobalt-2); }
.post-card-excerpt { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); flex: 1; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.post-card-foot a { color: var(--cobalt-2); font-weight: 500; }

.cat-tag {
  display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px;
  border-radius: 6px; font-size: 12px; font-weight: 500; letter-spacing: .01em;
}
.cat-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cat-tag.news    { background: rgba(255,107,91,.12); color: #ff8a7d; }
.cat-tag.news::before { background: #ff6b5b; }
.cat-tag.guide   { background: rgba(59,76,255,.14); color: var(--cobalt-2); }
.cat-tag.guide::before { background: var(--cobalt); }
.cat-tag.update  { background: rgba(93,189,138,.12); color: #5dbd8a; }
.cat-tag.update::before { background: #5dbd8a; }
.cat-tag.tips    { background: rgba(116,132,255,.14); color: #a9b4ff; }
.cat-tag.tips::before { background: #7484ff; }

.blog-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: clamp(64px, 10vw, 120px) var(--pad); }
.blog-empty .h3 { margin-top: 12px; }
.blog-empty .body { max-width: 28ch; }

/* ==========================================================================
   POST — detail
   ========================================================================== */
.post-wrap { max-width: 720px; margin-inline: auto; padding-inline: var(--pad); }

.post-header { padding-block: clamp(100px, 14vw, 180px) 56px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--fg-3); margin-bottom: 32px; transition: color .25s; }
.post-back:hover { color: var(--fg); }
.post-back svg { width: 14px; height: 14px; }
.post-title { text-wrap: balance; margin-top: 18px; font-size: clamp(2rem, 1rem + 3.6vw, 3.6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.05; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; font-size: 14px; color: var(--fg-3); }
.post-meta-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-3); }

/* post body typography */
.post-body { padding-block: 0 48px; line-height: 1.75; font-size: 18px; }
.post-body p    { margin: 0 0 1.4em; color: var(--fg-2); }
.post-body h2   { margin: 2.4em 0 .7em; font-size: 1.55rem; font-weight: 600; letter-spacing: -.04em; }
.post-body h3   { margin: 2em 0 .6em; font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; }
.post-body h4   { margin: 1.8em 0 .5em; font-size: 1.05rem; font-weight: 600; }
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.4em; color: var(--fg-2); }
.post-body li   { margin-bottom: .5em; }
.post-body a    { color: var(--cobalt-2); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--bone); }
.post-body strong { color: var(--fg); font-weight: 600; }
.post-body em   { font-style: italic; }
.post-body hr   { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.post-body blockquote { border-left: 3px solid var(--cobalt); padding-left: 1.25em; margin: 1.6em 0; color: var(--fg-2); font-style: italic; }
.post-body code { font-family: var(--mono); font-size: .88em; background: rgba(59,76,255,.1); padding: .12em .36em; border-radius: 4px; color: var(--cobalt-2); }
.post-body pre  { background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 1.4em 1.6em; overflow-x: auto; margin: 0 0 1.6em; }
.post-body pre code { background: none; padding: 0; color: var(--fg-2); font-size: .9em; }
.post-body img  { max-width: 100%; border-radius: 10px; margin-block: 1.2em; }

.post-share { display: flex; align-items: center; gap: 12px; padding: 32px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }
.post-share a { color: var(--cobalt-2); font-weight: 500; }

.post-related { padding-block: clamp(60px, 8vw, 100px); border-top: 1px solid var(--line); }
.post-related h3 { margin: 0 0 32px; }
.post-related .blog-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.blog-hero .faq-hero .mascot { width: min(56%, 260px); }
