/* Lock-In website. Same tokens as the app (seeker-app/components/lockin/theme.ts): Dark Athletic. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("assets/fonts/barlow-condensed-800-italic.woff2") format("woff2"); }

:root {
  --bg: #111310;
  --card: #1b1e18;
  --raised: #22261f;
  --border: #30352b;
  --border-strong: #4a5143;
  --text: #f5f6f0;
  --text-2: #a3aa99;
  --text-3: #8a9182;
  --lime: #d4f66a;
  --on-lime: #111310;
  --amber: #e6be76;
  --red: #efa89c;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", "Inter", sans-serif;

  --radius-card: 16px;
  --radius-btn: 12px;
  --wrap: 1180px;
  --gutter: 20px;
  --touch: 48px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lime); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: 0.4em; }
strong { color: var(--text); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(720px + 2 * var(--gutter)); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--lime); color: var(--on-lime); padding: 10px 16px; border-radius: var(--radius-btn);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ type */

h1, h2, h3 { margin: 0; color: var(--text); }
h1, .display {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
}
h2 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1;
  letter-spacing: 0.005em;
}
h3 { font: 600 20px/1.3 var(--sans); }
.eyebrow {
  display: block;
  font: 600 13px/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.lead { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.5; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 15px; }
.num { font-family: var(--display); font-weight: 700; color: var(--lime); line-height: 1; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(17, 19, 16, 0.94);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--touch);
  color: var(--text); text-decoration: none;
  font-family: var(--display); font-weight: 800; font-style: italic; font-size: 28px; letter-spacing: -0.01em;
}
.brand svg { width: 22px; height: 26px; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: var(--touch); padding: 0 14px;
  color: var(--text-2); text-decoration: none; font: 500 15px/1 var(--sans); border-radius: var(--radius-btn);
}
.nav a:hover { color: var(--text); background: var(--card); }
.nav a[aria-current="page"] { color: var(--text); }

/* Phones: the links fold into a disclosure (works without JavaScript). */
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--touch); padding: 0 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-btn);
  font: 600 15px/1 var(--sans); color: var(--text);
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 18px; height: 18px; }
.menu[open] summary { border-color: var(--lime); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 8px;
}
.menu-panel a {
  display: flex; align-items: center; min-height: var(--touch); padding: 0 14px;
  color: var(--text); text-decoration: none; font-weight: 500; border-radius: 10px;
}
.menu-panel a:hover { background: var(--raised); }
@media (max-width: 639px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ------------------------------------------------------------ buttons and tags */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--radius-btn);
  font: 600 16px/1 var(--sans); text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--lime); color: var(--on-lime); }
.btn-primary:hover { background: #e2fb8c; text-decoration: none; }
.btn-ghost { color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-2); text-decoration: none; }
.btn:hover { transform: translateY(-1px); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--border);
  font: 600 13px/1.3 var(--sans); color: var(--text);
}
.tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }

.todo {
  background: rgba(230, 190, 118, 0.14);
  color: var(--amber);
  border: 1px dashed rgba(230, 190, 118, 0.6);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 500;
}

/* ------------------------------------------------------------ hero */

.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(72px, 15vw, 168px); margin: 18px 0 22px; }
.hero h1 .accent { color: var(--lime); }
.hero .lead { max-width: 30ch; margin-bottom: 10px; color: var(--text); }
.hero .warning { color: var(--text-2); margin-bottom: 28px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.cta .link { display: inline-flex; align-items: center; min-height: var(--touch); font-weight: 600; }
.status-line { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; color: var(--text-2); font-size: 15px; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; }
}

/* A plain Android frame around a real screenshot. */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  position: relative;
  width: min(340px, 86vw);
  padding: 10px;
  border-radius: 46px;
  background: #0a0b09;
  border: 1px solid var(--border-strong);
  outline: 6px solid #181a16;
}
.phone img { border-radius: 36px; width: 100%; aspect-ratio: 720 / 1600; }
.phone::after {
  content: ""; position: absolute; top: 24px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #050605;
}
.caption { font-size: 14px; color: var(--text-3); text-align: center; max-width: 34ch; }

/* ------------------------------------------------------------ sections */

.section { padding: 64px 0; border-top: 1px solid var(--border); }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section-head { display: grid; gap: 16px; margin-bottom: 40px; max-width: 760px; }
.section-head .lead { margin: 0; }

.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { margin: 0; }
.step {
  height: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px 24px;
}
.step .num { display: block; font-size: 56px; margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.example {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px;
}
.example .num { font-size: 56px; }
.example p { margin: 0; color: var(--text-2); max-width: 46ch; }
.example .shot { flex: 1 1 320px; max-width: 480px; }

.modes { display: grid; gap: 16px; }
@media (min-width: 900px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px 24px;
}
.mode .icon { width: 28px; height: 28px; color: var(--lime); }
.mode p { color: var(--text-2); margin: 0; }
.mode .shot { margin-top: auto; padding-top: 8px; }

.shot img { border-radius: 14px; border: 1px solid var(--border); }
.shot figcaption { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.shots { display: grid; gap: 10px; }
.shots figcaption { margin-top: 0; }
figure { margin: 0; }

.outcomes { display: grid; gap: 16px; }
@media (min-width: 900px) { .outcomes { grid-template-columns: 1fr 1fr; } }
.outcome {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.outcome h3 { display: flex; align-items: center; gap: 12px; }
.outcome .mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.outcome .mark svg { width: 16px; height: 16px; }
.mark-ok { background: var(--lime); color: var(--on-lime); }
.mark-miss { border: 2px solid var(--amber); color: var(--amber); }
.outcome p { color: var(--text-2); margin: 0; }
.outcome .shot { margin-top: auto; }

.facts {
  margin-top: 16px; display: grid; gap: 0;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
}
.facts li { list-style: none; margin: 0; padding: 18px 24px; border-top: 1px solid var(--border); color: var(--text-2); }
.facts li:first-child { border-top: 0; }
.facts strong { display: block; color: var(--text); margin-bottom: 2px; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { border-top: 0; border-left: 1px solid var(--border); }
  .facts li:first-child { border-left: 0; }
}

/* ------------------------------------------------------------ FAQ */

.faq { display: grid; gap: 10px; max-width: 840px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 22px;
  font: 600 17px/1.4 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details[open] { border-color: var(--border-strong); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ notices */

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--lime);
  border-radius: var(--radius-card); padding: 18px 22px; margin: 0 0 28px;
  color: var(--text-2);
}
.notice.warn { border-left-color: var(--amber); }
.notice strong { color: var(--text); }
.notice p { margin: 0; }

/* ------------------------------------------------------------ long pages */

.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 48px; }
.page-head h1 { font-size: clamp(56px, 10vw, 112px); margin-bottom: 18px; }
.page-head .lead { max-width: 40ch; margin: 0; }
.updated { margin-top: 16px; font-size: 14px; color: var(--text-3); }

.prose { padding-bottom: 96px; }
.prose h2 { font-size: clamp(30px, 4.5vw, 40px); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose .shot { margin: 24px 0; max-width: 520px; }

.toc {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 20px 24px; margin-bottom: 48px;
}
.toc ol { margin: 8px 0 0; columns: 2 220px; column-gap: 32px; }
.toc li { break-inside: avoid; }
.toc a { display: inline-block; padding: 4px 0; color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--lime); }

.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--border); border-radius: var(--radius-card); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 14px 18px; border-top: 1px solid var(--border); }
tr:first-child th { border-top: 0; }
th { color: var(--text); font-weight: 600; background: var(--raised); }
td { color: var(--text-2); }
td:first-child { color: var(--text); font-weight: 500; }
/* Narrow screens: each row is a block, the cell labels come from data-label. */
@media (max-width: 599px) {
  .table-scroll { overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr:first-child { display: none; }
  tr + tr td:first-child { border-top: 0; }
  tr:not(:first-child) + tr { border-top: 1px solid var(--border); }
  td { border-top: 0; padding: 0 18px 14px; }
  td:first-child { padding-top: 16px; }
  td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font: 600 12px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3);
  }
}

.split { display: grid; gap: 16px; margin: 0 0 1.2em; }
@media (min-width: 720px) { .split { grid-template-columns: repeat(3, 1fr); } }
.split > div { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; }
.split h3 { margin: 0 0 10px; font-size: 17px; }
.split ul { margin: 0; padding-left: 1.1em; font-size: 15px; }

/* ------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 56px; color: var(--text-2); }
.site-footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-left: -14px; }
.footer-nav a {
  display: inline-flex; align-items: center; min-height: var(--touch); padding: 0 14px;
  color: var(--text); text-decoration: none; font-weight: 500; border-radius: var(--radius-btn);
}
.footer-nav a:hover { background: var(--card); }
.footer-note { font-size: 14px; color: var(--text-3); max-width: 70ch; margin: 0; }

/* ------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
