:root {
  color-scheme: dark;
  background: #080808;
  color: #f4f4f4;
  font: 1rem/1.5 "Segoe UI", system-ui, sans-serif;
  --muted: #a5a5a5;
  --line: #292929;
  --mono: Consolas, "Courier New", monospace;
  --motion-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
html { scroll-padding-top: 86px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid #e5e5e5; outline-offset: 5px; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); padding: 12px 16px; z-index: 5; background: #eee; color: #080808; }
.skip-link:focus { transform: none; }
.frame { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  border-bottom: 1px solid #2b2b2b;
  background: #080808f5;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 66px;
  gap: 20px;
}
.wordmark { justify-self: start; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
.wordmark span { color: #8c8c8c; }
.site-header nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.site-header nav a, .site-footer > a:last-child { font-size: .91rem; color: var(--muted); }
.site-header nav a:hover, .site-footer > a:last-child:hover { color: #fff; }
.header-policy { justify-self: end; padding: 7px 12px; border: 1px solid #454545; white-space: nowrap; font-size: .86rem; }
.header-policy:hover { color: #080808; background: #eee; border-color: #eee; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner {
  display: grid;
  align-items: center;
  min-height: clamp(460px, 74svh, 740px);
  padding-block: clamp(61px, 8vw, 115px);
}
.site-background { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; transform: translateZ(0); will-change: transform; }
.site-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .75; transform: translateZ(0); will-change: transform; backface-visibility: hidden; }
.site-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08080889, #08080835 70%);
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 6.6vw, 6.8rem); line-height: 1.02; font-weight: 625; letter-spacing: -.078em; }
.title-line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.title-line > span { display: block; }
.title-line:last-child { color: #c1c1c1; }
h2 span { color: #848484; }
.hero-description { max-width: 25rem; margin-top: 23px; color: #d0d0d0; font-size: clamp(1rem, 1.55vw, 1.21rem); line-height: 1.58; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.button { display: inline-flex; min-height: 45px; align-items: center; padding: 9px 16px; border: 1px solid #515151; border-radius: 2px; font-weight: 620; font-size: .91rem; transition: background .2s, border-color .2s; }
.button.primary { background: #eee; border-color: #eee; color: #0b0b0b; }
.button.primary:hover { background: white; border-color: white; }
.button.secondary { background: #101010ad; }
.button.secondary:hover { background: #252525; border-color: #888; }
.section { padding-block: clamp(74px, 9vw, 135px); }
.section-intro h2 { font-size: clamp(2.65rem, 5.5vw, 5.05rem); line-height: .99; letter-spacing: -.075em; font-weight: 610; }
.section-intro p { color: var(--muted); max-width: 34rem; margin-top: 21px; font-size: 1.06rem; line-height: 1.65; }
.section-intro strong { color: #eee; font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 5vw, 72px); margin-top: clamp(34px, 5.2vw, 69px); }
.tile { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #373737; color: #ddd; background: #121212; font-size: 1.27rem; }
.source-icon { position: relative; width: 17px; height: 21px; border: 1px solid currentColor; border-radius: 3px; }
.source-icon::after { content: ""; position: absolute; top: 6px; left: 4px; width: 7px; height: 1px; background: currentColor; box-shadow: 0 4px currentColor; }
.link-icon { position: relative; width: 23px; height: 13px; transform: rotate(-34deg); }
.link-icon::before, .link-icon::after { content: ""; position: absolute; inset: 1px auto 1px 0; width: 13px; border: 1px solid currentColor; border-radius: 6px; }
.link-icon::after { left: auto; right: 0; }
.principles h3 { margin-top: 16px; font-size: 1.18rem; font-weight: 650; }
.principles p { color: var(--muted); margin-top: 7px; max-width: 25rem; }
.example-section { padding-block: clamp(40px, 6vw, 82px); border-block: 1px solid var(--line); background: radial-gradient(ellipse at 77% 38%, #19191985, #0b0b0b44 63%); }
.example-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 4vw, 64px); align-items: center; }
.case-avatar { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #4b4b4b; border-radius: 9px; background: #222; color: #e5e5e5; font: .86rem var(--mono); }
@media (prefers-reduced-motion: no-preference) {
}
.policy-section {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 21% 20%, #17171786, transparent 55%);
}
.policy-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 7vw, 94px);
  align-items: start;
}
.policy-card {
  padding: clamp(19px, 4vw, 37px);
  border: 1px solid #cfcfcf;
  background: #e5e5e5;
  color: #111;
}
.policy-card h3 { max-width: 24ch; font-size: clamp(1.42rem, 2.3vw, 2rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 630; }
.policy-card ul { list-style: none; margin: 23px 0 0; padding: 0; }
.policy-card li { display: grid; gap: 4px; padding-block: 13px; border-top: 1px solid #c3c3c3; }
.policy-card li:last-child { padding-bottom: 0; }
.policy-card li strong { font-weight: 620; }
.policy-card li span { color: #444; font-size: .94rem; }
.questions { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(24px, 6vw, 90px); }
.questions-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; place-items: center; width: 29px; height: 29px; flex: none; color: #a5a5a5; border: 1px solid #444; border-radius: 50%; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0 45px 20px 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > :not(h1) { animation: enter .65s var(--entrance-delay, 0s) both cubic-bezier(.16,1,.3,1); }
  .hero-description { --entrance-delay: .18s; }
  .hero-copy .actions { --entrance-delay: .25s; }
  .title-line > span { animation: title-rise .82s .05s both cubic-bezier(.22,1,.36,1); }
  .title-line:last-child > span { animation-delay: .13s; }
  .site-background { animation: background-enter .9s both ease-out; }
  .motion-ready [data-reveal]:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(24px); }
  .motion-ready [data-reveal] { transition: opacity .5s, transform .7s cubic-bezier(.16,1,.3,1); }
  .motion-ready .principles article:nth-child(2), .motion-ready .policy-card { transition-delay: .08s; }
  .motion-ready .principles article:nth-child(3) { transition-delay: .16s; }
  details[open] p { animation: enter .28s both ease-out; }
}
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
@keyframes title-rise { from { transform: translateY(108%); } }
@keyframes background-enter { from { opacity: .45; } }
@media (max-width: 790px) {
  .frame { width: calc(100% - 44px); }
  .example-grid, .policy-layout, .questions { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-inner { min-height: 450px; padding-block: 69px; }
  .site-background::after { background: #08080866; }
  h1 { font-size: clamp(2.7rem, 9.5vw, 4.3rem); }
}
@media (max-width: 540px) {
  .header-inner { min-height: 55px; }
  .wordmark { font-size: .91rem; }
  .hero-description { margin-top: 20px; }
  .actions { margin-top: 23px; }
  .principles { grid-template-columns: 1fr; gap: 27px; }
  .principles h3 { margin-top: 10px; }
}

.principles article {
  border-top: 1px solid #383838;
  padding-top: 17px;
}
.trail-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 24% 42%, #15151588 0, #0a0a0a44 57%); }
.trail-intro { margin-bottom: clamp(31px, 5vw, 60px); }
.trail-layout { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(28px, 5vw, 75px); align-items: start; }
.trail-visual {
  position: sticky;
  top: min(23vh, 145px);
  min-width: 0;
  border: 1px solid #424242;
  border-radius: 17px;
  overflow: hidden;
  background: #101010;
  box-shadow: 0 20px 55px #0008;
}
.trail-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px clamp(12px, 2.2vw, 23px);
  font: .82rem/1.4 var(--mono);
  color: #b2b2b2;
}
.trail-bar { justify-content: space-between; flex-wrap: wrap; border-bottom: 1px solid #303030; }
.trail-bar span:first-child { color: #ebebeb; }
.trail-map {
  position: relative;
  isolation: isolate;
  min-height: clamp(232px, 26vw, 320px);
  background: radial-gradient(ellipse at center, #222, #0b0b0b 78%);
}
.trail-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle, #ffffff36 1px, transparent 1.35px) center / 18px 18px;
  mask-image: radial-gradient(ellipse, #000, transparent 74%);
}
.trail-path {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background: var(--trace);
  opacity: .23;
}
.trail-path.trail-left { left: 20%; --hidden-edge: inset(0 0 0 100%); }
.trail-path.trail-right { left: 50%; --hidden-edge: inset(0 100% 0 0); }
.trail-path { width: 30%; }
.trail-path.trail-upper { top: 23%; height: 27%; }
.trail-path.trail-middle { top: 50%; height: 1px; --trace: #bcbcbc; }
.trail-path.trail-lower { top: 50%; height: 27%; }
.trail-path:is(.trail-left.trail-upper, .trail-right.trail-lower) { --trace: linear-gradient(to bottom left, transparent calc(50% - .6px), #bcbcbc 50%, transparent calc(50% + .6px)); }
.trail-path:is(.trail-right.trail-upper, .trail-left.trail-lower) { --trace: linear-gradient(to bottom right, transparent calc(50% - .6px), #bcbcbc 50%, transparent calc(50% + .6px)); }
.trail-path::after { content: ""; position: absolute; inset: 0; background: var(--trace); clip-path: var(--hidden-edge); }
.trail-node {
  position: absolute;
  translate: -50% -50%;
  display: grid;
  gap: 3px;
  min-width: clamp(76px, 12vw, 128px);
  padding: 8px 10px;
  border: 1px solid #515151;
  border-radius: 7px;
  background: #131313;
  color: #e0e0e0;
  text-align: center;
  white-space: nowrap;
}
.trail-node span { color: #a7a7a7; font: .69rem/1.2 var(--mono); }
.trail-node b { color: inherit; font: 650 clamp(.73rem, 1.4vw, .88rem)/1.25 var(--mono); }
.trail-origin { left: 50%; top: 50%; border-color: #929292; background: #222; box-shadow: 0 0 32px #fff1; }
.trail-node.trail-left { left: 20%; }
.trail-node.trail-right { left: 80%; }
.trail-node.trail-upper { top: 23%; }
.trail-node.trail-middle { top: 50%; }
.trail-node.trail-lower { top: 77%; }
.trail-step { list-style: none; align-content: center; padding: 25px 0 25px 23px; border-left: 1px solid #444; }
.trail-steps { margin: 0; padding: 0; }
.trail-step h3 { font-size: clamp(1.5rem, 2.6vw, 2.32rem); line-height: 1.05; letter-spacing: -.052em; font-weight: 630; }
.trail-step p { color: var(--muted); margin-top: 13px; max-width: 26rem; }
.trail-step strong { color: #e1e1e1; }
.walk-ready .trail-step { min-height: clamp(160px, 38vh, 340px); }
.walk-ready .trail-step:not([aria-current]) { border-color: #292929; }
.walk-ready .trail-step[aria-current] { border-color: #e2e2e2; }
.walk-ready .trail-visual[data-stage="0"] :is(.trail-node.trail-left, .trail-node.trail-right),
.walk-ready .trail-visual[data-stage="1"] .trail-node.trail-right { opacity: .38; }
.trail-visual:not([data-stage="0"]) .trail-path.trail-left,
.trail-visual[data-stage="2"] .trail-path.trail-right { opacity: .83; }
.trail-visual:not([data-stage="0"]) .trail-path.trail-left::after,
.trail-visual[data-stage="2"] .trail-path.trail-right::after { clip-path: inset(0); }
@media (prefers-reduced-motion: no-preference) {
  .trail-meter i { transition: background .35s; }
  .trail-map.is-visible .trail-node { animation: map-assemble .64s var(--node-delay, 0s) both cubic-bezier(.22,1,.36,1); }
  .trail-node.trail-upper { --node-delay: .08s; }
  .trail-node.trail-middle { --node-delay: .16s; }
  .trail-node.trail-lower { --node-delay: .24s; }
}
@keyframes map-assemble { from { scale: .84; filter: brightness(.4); } }
@media (max-width: 420px) {

}



@media (max-width: 540px) {
  .trail-map { min-height: 236px; }
  .trail-node { padding: 6px 5px; min-width: 0; }
  .trail-node b { font-size: .68rem; }
}

.hero-inner { grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 90px); }
.hero-dossier {
  justify-self: end;
  width: min(100%, 330px);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #535353;
  border-radius: 12px;
  background: #101010f5;
  box-shadow: 0 20px 50px #0009;
}
.dossier-content { padding: 16px 17px 0; }
.dossier-identity { display: flex; gap: 12px; align-items: center; }
.dossier-identity h2 { font-size: 1.17rem; font-weight: 650; }
.dossier-identity p { color: var(--muted); font: .82rem/1.45 var(--mono); }
.hero-dossier dl { margin: 14px 0 0; }
.hero-dossier dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-block: 9px; border-top: 1px solid #303030; font-size: .85rem; }
.hero-dossier dd { min-width: 0; margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.dossier-link { display: block; padding: 12px 17px; border-top: 1px solid #353535; font-size: .85rem; font-weight: 600; }
.dossier-link:hover { background: #222; }
.dossier-link:focus-visible { outline-offset: -4px; }
.trail-meter { margin-left: auto; display: flex; gap: 4px; }
.trail-meter i { width: 14px; height: 3px; border-radius: 2px; background: #494949; }
.trail-meter i:first-child,
.trail-visual:not([data-stage="0"]) .trail-meter i:nth-child(2),
.trail-visual[data-stage="2"] .trail-meter i:last-child { background: #eee; }
@media (prefers-reduced-motion: no-preference) {
  .hero-dossier { animation: enter .7s .14s both cubic-bezier(.22,1,.36,1); }
  .trail-path { transition: opacity .44s ease; }
  .trail-path::after { transition: clip-path .68s cubic-bezier(.22,1,.36,1); }
  .trail-node { transition: opacity .42s; }
}
@media (max-width: 790px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-dossier { justify-self: start; }
}
@media (max-width: 650px) {
  .trail-layout { grid-template-columns: 1fr; gap: 17px; }
  .trail-visual { top: 76px; z-index: 1; }
  .walk-ready .trail-step { min-height: 175px; }
}
@media (max-width: 540px) {
  .header-inner { gap: 10px; }
  .site-header nav { gap: 11px; }
  .site-header nav a, .header-policy { font-size: .78rem; }
  .header-policy { padding-inline: 8px; }
}
@media (max-width: 360px) {
  .site-header nav a:last-child { display: none; }
}
@media (max-height: 540px) {
  .trail-visual { position: relative; top: auto; }
}

.feature-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.feature-filters[hidden], .feature-card[hidden] { display: none; }
.feature-filters button { color: #bbb; background: transparent; border: 1px solid #454545; border-radius: 5px; padding: 7px 10px; cursor: pointer; font-size: .84rem; }
.feature-filters button:hover { color: #fff; border-color: #888; }
.feature-filters button[aria-pressed="true"] { color: #101010; background: #ededed; border-color: #ededed; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); margin-top: 20px; }
.feature-card { padding: clamp(15px, 2.4vw, 25px); border: 1px solid #363636; border-radius: 10px; background: linear-gradient(150deg, #1d1d1df5, #101010f2); }
.feature-card:hover { border-color: #666; }
.feature-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border: 1px solid #494949; border-radius: 7px; background: #282828; color: #e4e4e4; font: .98rem var(--mono); }
.feature-card h3 { font-size: 1.08rem; line-height: 1.3; }
.feature-card p { margin-top: 6px; color: #b7b7b7; font-size: .9rem; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .feature-card { transition-delay: var(--feature-delay, 0s); }
  .feature-card:nth-child(3n + 2) { --feature-delay: .05s; }
  .feature-card:nth-child(3n + 3) { --feature-delay: .1s; }
}
@media (max-width: 790px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 470px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border-color: #545454;
  background: linear-gradient(145deg, #383838, #1b1b1b 78%);
  box-shadow: inset 0 1px #ffffff14;
  color: #f0f0f0;
}
.feature-icon svg { display: block; width: 22px; height: 22px; }
.feature-card:hover .feature-icon { border-color: #828282; background: linear-gradient(145deg, #484848, #262626 78%); }

.dossier-search {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  margin: 12px 13px 0;
  padding: 4px 4px 4px 9px;
  border: 1px solid #414141;
  border-radius: 6px;
  background: #1c1c1c;
  font: .82rem/1.5 var(--mono);
}
.dossier-search[hidden] { display: none; }
.dossier-search button {
  min-width: 90px;
  padding: 5px 7px;
  border: 1px solid #5b5b5b;
  border-radius: 4px;
  background: #303030;
  color: #eee;
  cursor: pointer;
  font: 650 .77rem/1.45 "Segoe UI", system-ui, sans-serif;
}
.dossier-search button:hover { background: #454545; }
.dossier-search button[aria-disabled="true"] { cursor: default; }
.dossier-query { color: #ededed; overflow-wrap: anywhere; }
.hero-dossier:is([data-lookup="typing"], [data-lookup="searching"]) .dossier-result { visibility: hidden; }
.hero-dossier[data-lookup="typing"] .dossier-query::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: #eee; }
@media (prefers-reduced-motion: no-preference) {
  .hero-dossier[data-lookup="ready"] .dossier-result { animation: enter .4s both cubic-bezier(.22,1,.36,1); }
  .hero-dossier[data-lookup="searching"] .dossier-search { animation: dossier-scan .36s ease-out; }
}
@keyframes dossier-scan { 50% { border-color: #a1a1a1; } }

.lookup-terminal {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #464646;
  border-radius: 12px;
  background: #101010;
  box-shadow: 0 20px 40px #0007;
}
.lookup-terminal figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; padding: 12px 16px; border-bottom: 1px solid #363636; background: #202020; font: .81rem/1.45 var(--mono); }
.lookup-terminal figcaption span:last-child { color: #b6b6b6; }
.lookup-terminal pre { min-height: 234px; margin: 0; padding: 15px 17px; white-space: pre-wrap; overflow-wrap: anywhere; }
.lookup-terminal code { font: .84rem/1.6 var(--mono); color: #dfdfdf; }
.coverage { padding-block: clamp(54px, 8vw, 105px); }
.coverage-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 25px 0 0; border: 1px solid #3c3c3c; border-radius: 10px; overflow: hidden; background: #151515e8; }
.coverage-grid > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: clamp(16px, 4vw, 42px); }
.coverage-grid > div + div { border-left: 1px solid #3c3c3c; }
.coverage-grid dt { color: #b8b8b8; font: .85rem/1.4 var(--mono); }
.coverage-grid dd { margin: 0; font-size: clamp(2rem, 6.25vw, 5.7rem); font-weight: 650; line-height: .95; letter-spacing: -.06em; }
.coverage-grid dd span { font-size: .46em; letter-spacing: 0; }
@media (max-width: 430px) {
  .site-header nav a:last-child { display: none; }
  .coverage-grid > div { padding: 12px 9px; }
  .coverage-grid dt { font-size: .73rem; }
}

.header-auth { display: flex; align-items: center; justify-self: end; gap: 7px; white-space: nowrap; }
.auth-link { padding: 7px 10px; color: #ededed; background: transparent; border: 1px solid transparent; border-radius: 5px; font: 600 .85rem/1.4 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.auth-link:hover { border-color: #555; }
.auth-link.auth-primary { border-color: #e5e5e5; background: #e5e5e5; color: #111; }
.auth-link.auth-primary:hover { background: #fff; }
.auth-dialog [hidden], .header-auth [hidden] { display: none; }
.auth-dialog { width: min(410px, calc(100% - 32px)); border: 1px solid #484848; border-radius: 13px; padding: 22px; background: #151515; color: #f4f4f4; }
.auth-dialog::backdrop { background: #000b; backdrop-filter: blur(5px); }
.auth-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.auth-heading h2 { font-size: 1.65rem; line-height: 1.15; }
.auth-close { cursor: pointer; color: #ddd; background: #242424; border: 1px solid #444; border-radius: 5px; width: 33px; height: 33px; font-size: 1.2rem; }
#auth-form { display: grid; gap: 8px; }
#auth-form[hidden] { display: none; }
#auth-form label { color: #d3d3d3; font-size: .9rem; }
#auth-form input { width: 100%; padding: 10px; margin-bottom: 7px; color: #f3f3f3; border: 1px solid #505050; border-radius: 5px; background: #1d1d1d; font: 1rem "Segoe UI", system-ui, sans-serif; }
#auth-submit { justify-content: center; cursor: pointer; }
#auth-submit:disabled, #logout-button:disabled { opacity: .65; cursor: wait; }
.auth-switch { justify-self: center; margin-top: 4px; padding: 5px; border: 0; background: transparent; color: #ddd; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.auth-status:not(:empty) { margin-top: 11px; color: #ddd; font-size: .9rem; }
#account-email { overflow-wrap: anywhere; margin-bottom: 13px; }
#logout-button { cursor: pointer; }
.questions-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer > a:nth-child(2) { color: var(--muted); font-size: .91rem; }
@media (max-width: 630px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 3px 10px; padding-block: 6px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; gap: 16px; padding-block: 4px; }
  .site-header nav a:last-child { display: revert; }
  .auth-link { padding-inline: 7px; }
}


.dashboard-preview {
  width: min(100%, 500px);
  overflow: hidden;
  border: 1px solid #28313c;
  border-radius: 15px;
  background: #0b1016;
  box-shadow: 0 24px 70px #0009;
}

.preview-window {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border-bottom: 1px solid #222c37;
  background: linear-gradient(180deg, #151c24, #10161d);
  color: #b7c8d6;
}

.preview-window-label { font: 650 .79rem 'JetBrains Mono', monospace; letter-spacing: .065em; }
.preview-window-dots { display: flex; gap: 5px; }
.preview-window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #495463; }
.preview-window-dots i:first-child { background: #72b4d2; }
.preview-profile { padding: 14px; }
.profile-search {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px 5px;
  border: 1px solid #31404d;
  border-radius: 8px;
  background: #141c24;
}
.profile-search:has(~ #profile-result[hidden]) { margin-bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .intro-result { display: grid; grid-template-rows: 1fr; animation: profile-expand .56s var(--motion-out); }
  .intro-result > .profile-result-content { min-height: 0; overflow: hidden; }
}
@keyframes profile-expand {
  from { grid-template-rows: 0fr; opacity: 0; }
  to { grid-template-rows: 1fr; opacity: 1; }
}
.profile-search input, .auth-dialog input {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #31404d;
  border-radius: 8px;
  background: #141c24;
  color: #f1f5f9;
  font: inherit;
  color-scheme: dark;
}
.profile-search input {
  flex: 1;
  padding: 5px 7px;
  border: 0;
  background: transparent;
  font: 600 .84rem 'JetBrains Mono', monospace;
}
.profile-search input::placeholder { color: #9bafc0; }
.profile-search button {
  padding: 5px 9px;
  border: 1px solid #3f7c69;
  border-radius: 8px;
  background: #1d3e34;
  color: #b6e8cf;
  font-size: .77rem;
  font-weight: 700;
  cursor: pointer;
}
.profile-search button:hover { background: #295443; }
.profile-search[aria-busy="true"] button { background: #285749; }
.profile-feedback { padding-block: 8px; color: #b9c8d7; font-size: .9rem; }
.preview-profile-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 11px;
}
.preview-avatar {
  position: relative;
  overflow: hidden;
  width: 43px;
  height: 43px;
  flex: none;
  border: 1px solid #43474f;
  border-radius: 50%;
  background: #2e3239;
}
.preview-avatar::before, .preview-avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  background: #a9afb8;
}
.preview-avatar::before { top: 7px; width: 14px; height: 14px; border-radius: 50%; }
.preview-avatar::after { top: 23px; width: 28px; height: 18px; border-radius: 55% 55% 22% 22%; }
.preview-profile-header h3 { font: 700 1.05rem Inter, sans-serif; overflow-wrap: anywhere; }
.preview-profile-header p { margin-top: 4px; color: #a6b7c7; font: 500 .77rem 'JetBrains Mono', monospace; overflow-wrap: anywhere; }
#account-name { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d9dce3; font-size: .9rem; }
.auth-dialog, .checkout-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(410px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 24px;
  border: 1px solid #39424c;
  border-radius: 15px;
  background: #10161d;
  color: #f1f5f9;
}
.auth-dialog::backdrop, .checkout-dialog::backdrop { background: #000b; }
.auth-dialog h2 { margin-bottom: 15px; padding-inline-end: 26px; }
.auth-dialog form, .auth-dialog label { display: grid; gap: 8px; }
.auth-dialog form { gap: 13px; margin-bottom: 14px; }
.auth-dialog label { color: #d8e0e9; font-size: .9rem; }
.auth-dialog input { width: 100%; }
#auth-close { position: absolute; top: 14px; right: 17px; border: 0; background: transparent; color: #fff; font-size: 1.5rem; cursor: pointer; }
#auth-message { color: #ffb4b4; font-size: .9rem; }
.preview-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid #222c37;
}
.preview-tabs button {
  padding: 8px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #a5b8c9;
  font: 600 .72rem 'JetBrains Mono', monospace;
  letter-spacing: .075em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.preview-tabs button:hover { background: #151e29; color: #e7f3fe; }
.preview-tabs button[aria-pressed="true"] { border-bottom-color: #79bad8; color: #a9dcf0; }
.preview-profile-data > div {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 2px;
  border-bottom: 1px solid #1a242e;
}
.preview-profile-data :is(dt, dd) { font: 500 .78rem 'JetBrains Mono', monospace; overflow-wrap: anywhere; }
.preview-profile-data { min-height: 128px; }
.preview-profile-data dt { color: #9eb0c0; }
.preview-profile-data dd { color: #e2ebf2; }
.preview-profile-data .profile-username-row :is(dt, dd) { font-weight: 700; }
.preview-records-label {
  margin: 10px 0 8px;
  color: #9eb0c0;
  font: 650 .72rem 'JetBrains Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.preview-records-list {
  display: grid;
  gap: 7px;
  max-height: 232px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
  scrollbar-color: #39434e transparent;
}
.preview-record { padding: 9px 10px; border: 1px solid #27333d; border-radius: 8px; background: #111922; }
.preview-record h4 { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font: 700 .76rem 'JetBrains Mono', monospace; text-transform: uppercase; }
.preview-record dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 6px; padding: 2px 0; }
.preview-record :is(dt, dd) { font: 500 .75rem 'JetBrains Mono', monospace; overflow-wrap: anywhere; }
.preview-record dt { color: #9eb0c0; }
.preview-record dd { color: #e2ebf2; }
.preview-record .record-mask { color: #dfc889; }
.platform-icon { display: inline-grid; place-items: center; width: 21px; height: 21px; flex: none; border-radius: 5px; color: white; }
.platform-tiktok { background: #050505; }
.platform-instagram { position: relative; background: linear-gradient(145deg, #7752ef, #de397d 53%, #ed963d); }
.platform-instagram::before { content: ""; width: 11px; height: 11px; border: 1px solid white; border-radius: 3px; }
.platform-instagram::after { content: ""; position: absolute; width: 5px; height: 5px; border: 1px solid white; border-radius: 50%; }
.platform-youtube { background: #d62429; }
.platform-youtube::before { content: ""; margin-left: 2px; border-block: 4px solid transparent; border-left: 6px solid white; }
.preview-profile-meter { height: 2px; margin-top: 15px; border-radius: 2px; background: linear-gradient(90deg, #83cbe0, #625ac0 78%, #25303c 78%); }


/* ═══ Database Metrics (replaces Coverage) ═══ */
.database-section { padding-block: clamp(54px, 8vw, 105px); }
.database-header { margin-bottom: 24px; }
.database-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border: 1px solid #353535;
  border-radius: 999px;
  color: #b8b8b8;
  font: 600 .72rem var(--mono);
  letter-spacing: .08em;
}
.database-title { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.04em; }
.database-desc { margin: 0; color: var(--muted); }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 860px) { .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .metrics-grid { grid-template-columns: 1fr; } }
.metric-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  border: 1px solid #2c2c2c;
  border-radius: 12px;
  background: #111111e8;
}
.metric-num {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  color: #f4f4f4;
}
.metric-name { font-weight: 600; font-size: .96rem; color: #e5e5e5; margin-top: 4px; }
.metric-sub { font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* ═══ Pricing Section ═══ */
.pricing-section { padding-block: clamp(54px, 8vw, 105px); }
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.pricing-toggle-btn {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #8b8f98;
  font: 600 .88rem/1 "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.pricing-toggle-btn:hover { color: #e5e7eb; }
.pricing-toggle-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.pricing-grid[hidden] { display: none !important; }
.pricing-grid.credits-mode {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 26px;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  background: #111111e8;
}
.pricing-card.featured {
  border-color: #525252;
  background: linear-gradient(180deg, #18181bf0, #101012f5);
  box-shadow: 0 18px 50px #00000080;
}
.pricing-top { display: flex; flex-direction: column; gap: 10px; }
.pricing-tier-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pricing-tier { font: 600 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #b8b8b8; }
.pricing-badge {
  font: 600 .7rem var(--mono);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #484848;
  color: #e5e5e5;
  background: #1e1e22;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  color: #f4f4f4;
}
.pricing-price span { font-size: .92rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pricing-list { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #262626; display: flex; flex-direction: column; gap: 10px; }
.pricing-list li { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: #e5e5e5; }
.pricing-list li.muted-item { color: #7a7a7a; }
.pricing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 16px;
  border-radius: 9px;
  border: 1px solid #3f3f46;
  background: #1b1b1f;
  color: #f4f4f5;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.pricing-cta:hover { background: #27272d; border-color: #60606b; }
.pricing-card.featured .pricing-cta {
  background: #f4f4f5;
  color: #09090b;
  border-color: #f4f4f5;
}
.pricing-card.featured .pricing-cta:hover { background: #e4e4e7; }

.hero-dossier.dashboard-preview { justify-self: end; margin: 0; }
