/* ============================================================
   Found by GVX: the gvxdigital.com design system.
   Same fonts, tokens and patterns as gvx-digital-v2 (src/styles/global.css
   and the /found page), so "by GVX" reads as one family. Dark only, like
   gvxdigital.com. Found's identity is the FOUND by GVX lockup.
   ============================================================ */

/* Self-hosted, the same files gvxdigital.com serves (variable fonts, latin subset). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-normal-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  /* surfaces */
  --bg: #0b0c0e;
  --surface: #121418;
  --raised: #191c21;
  --border: #262a31;
  --border-subtle: #1d2026;

  /* text */
  --text: #ecedef;
  --text-2: #9ba1ab;
  --text-3: #7d8590;

  /* signature accent */
  --orange: #ff5e1f;
  --orange-hover: #ff7a42;
  --orange-glow: rgba(255, 94, 31, 0.14);

  /* results (as on gvxdigital.com/found) */
  --named: #34d399;
  --named-soft: rgba(52, 211, 153, 0.12);
  --miss: #ff8a5c;
  --miss-soft: rgba(255, 138, 92, 0.12);

  /* type */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  --max: 1120px;
  --radius: 10px;
  --radius-lg: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--orange); color: #0b0c0e; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--orange); }
img { max-width: 100%; display: block; }
p, ul, ol, table, details { margin-bottom: 1em; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow > * { max-width: 720px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- lockup ---------- */
.lockup { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--text); line-height: 0; }
.lockup-found { height: 22px; width: auto; }
.lockup-by { display: inline-flex; align-items: baseline; gap: 4px; font-size: 13px; line-height: 1; font-weight: 500; color: var(--orange); }
.lockup-by img { height: 10px; width: auto; }
.lockup-hero { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; margin-bottom: clamp(20px, 2.5vw, 32px); line-height: 0.9; }
.lockup-hero .lockup-found { height: clamp(40px, 6vw, 80px); }
.lockup-hero .lockup-by { font-size: clamp(15px, 1.5vw, 19px); gap: 0.25em; }
.lockup-hero .lockup-by img { height: 0.85em; }
.lockup-hero sup { font-size: 0.55em; line-height: 0; margin-left: -0.1em; align-self: flex-start; }

/* ---------- header (gvxdigital.com .nav) ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 12, 14, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; transition: color 0.15s ease; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a[aria-current="page"]:not(.btn) { color: var(--orange); }
.nav .btn { padding: 8px 16px; font-size: 14px; }

/* ---------- footer (gvxdigital.com .footer) ---------- */
.site-foot { border-top: 1px solid var(--border-subtle); background: var(--surface); padding: 40px 0; margin-top: 96px; }
.site-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.site-foot p { margin: 0; }
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--text); }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; margin-bottom: 0.5em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; max-width: 22ch; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; }
h3 { font-size: 18px; letter-spacing: -0.015em; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.6; max-width: 58ch; margin-bottom: 1.2em; }
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.eyebrow::before { content: '~/'; color: var(--orange); }
.small { font-size: 14px; color: var(--text-2); }

/* ---------- sections ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); }
.hero .lede { margin: 20px 0 32px; }
.section { padding: clamp(64px, 8vw, 96px) 0; border-top: 1px solid var(--border-subtle); }
.section > .wrap > h2 { margin-bottom: 0.6em; }
.section > .wrap > p:not(.lede), .section li { color: var(--text-2); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }
.step-num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange) !important; margin-bottom: 10px; }
.price { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--text) !important; margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--text-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.2;
  text-decoration: none; padding: 11px 20px;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--orange); color: #0b0c0e; font-weight: 600; }
.btn-primary:hover { background: var(--orange-hover); color: #0b0c0e; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-3); background: var(--raised); color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.cta-row .btn, .check-box > .btn { padding: 13px 22px; font-size: 16px; }

/* ---------- check form ---------- */
.check-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; max-width: 640px; margin-bottom: 0; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field .hint { color: var(--text-3); font-weight: 400; }
.field input {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color 0.15s ease;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.status { margin: 14px 0 0; font-size: 15px; color: var(--text-2); }
.status.is-error { color: var(--miss); }
.check-box .small { margin: 16px 0 0; font-size: 13.5px; }
.cf-turnstile { margin: 4px 0 8px; }

/* ---------- results ---------- */
.results { margin-top: 40px; max-width: 760px; }
.results:focus { outline: none; }
.headline-score { font-size: clamp(28px, 4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.engines { display: grid; gap: 16px; margin-top: 24px; }
.engine { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.engine-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.engine-head h3 { margin: 0; }
.pill { font-family: var(--mono); font-size: 12px; font-weight: 500; border-radius: 999px; padding: 4px 10px; background: var(--named-soft); color: var(--named); white-space: nowrap; }
.pill.is-zero { background: var(--miss-soft); color: var(--miss); }
.prompts { list-style: none; margin: 0; padding: 0; }
.prompts li { border-top: 1px solid var(--border-subtle); padding: 12px 0; margin: 0; color: var(--text); }
.prompts .q { margin: 0; }
.prompts .v { font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.prompts .is-named .v { color: var(--named); }
.prompts .is-missed .v { color: var(--miss); }
.prompts .others { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.sample-flag { font-family: var(--mono); font-size: 12.5px; color: var(--miss); background: var(--miss-soft); border-radius: var(--radius); padding: 10px 14px; }
.next-step { margin-top: 32px; }
.next-step h2 { font-size: clamp(24px, 3vw, 32px); }
.next-step .cta-row + .small { margin-top: 16px; }

/* ---------- tables and lists ---------- */
.table-scroll { overflow-x: auto; margin-bottom: 1em; }
table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--border-subtle); vertical-align: top; color: var(--text-2); }
td:first-child, tbody th { color: var(--text); }
thead th { border-top: 0; background: var(--raised); font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.list-yes, .list-no { padding-left: 22px; }
.list-yes li::marker { color: var(--named); }
.list-no li::marker { color: var(--miss); }
.faq details { border-top: 1px solid var(--border-subtle); padding: 18px 0; margin: 0; }
.faq details:last-child { border-bottom: 1px solid var(--border-subtle); }
.faq summary { font-weight: 600; cursor: pointer; color: var(--text); list-style-position: outside; }
.faq summary::marker { color: var(--orange); }
.faq p { margin: 10px 0 0; color: var(--text-2); }

/* ---------- accessibility ---------- */
a:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .grid-3, .row-2 { grid-template-columns: 1fr; }
  .site-head .wrap { flex-wrap: wrap; gap: 4px 16px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .nav { gap: 18px; width: 100%; justify-content: space-between; }
  .nav .btn { padding: 7px 12px; font-size: 13.5px; }
  .nav a:not(.btn) { font-size: 13.5px; }
  .check-box, .card { padding: 22px; }
  .site-foot { margin-top: 64px; }
}
@media (max-width: 600px) {
  .stack thead { display: none; }
  .stack tr, .stack td { display: block; }
  .stack tr { border-top: 1px solid var(--border-subtle); padding: 10px 0; }
  .stack tr:first-child { border-top: 0; }
  .stack td { border-top: 0; padding: 4px 16px; }
}
@media (max-width: 380px) {
  .nav { gap: 12px; }
  .nav a:not(.btn) { font-size: 13px; }
}
