/* PTLancer public website.
   Identity tokens are taken from the deployed application shell so the public
   site and the app read as one product: onyx-950 #0a0a0a background,
   gold #eab308 accent, brand theme colour #c9992b, Inter. */

:root {
  --onyx-950: #0a0a0a;
  --onyx-900: #141414;
  --onyx-800: #1e1e1e;
  --onyx-700: #2c2c2c;
  --onyx-400: #8a8a8a;
  --onyx-300: #b0b0b0;
  --onyx-100: #e7e7e7;
  --gold-500: #eab308;
  --gold-600: #ca8a04;
  --brand: #c9992b;
  --max: 1120px;
  --radius: 18px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--onyx-950);
  color: var(--onyx-100);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-500); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold-500); color: #000; padding: 10px 16px;
  font-weight: 700; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--onyx-800);
  background: rgba(10, 10, 10, 0.92);
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--onyx-100); font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span b { color: var(--gold-500); }

.site-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--onyx-300); font-size: 0.93rem; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-500); }

.btn {
  display: inline-block; border-radius: 999px; padding: 11px 22px;
  font-weight: 700; font-size: 0.93rem; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--gold-500); color: #0a0a0a; }
.btn-primary:hover { background: var(--gold-600); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { border-color: var(--onyx-700); color: var(--onyx-100); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-500); text-decoration: none; }

/* ---------- sections ---------- */
main { display: block; }
section { padding: 64px 0; border-bottom: 1px solid var(--onyx-800); }
section:last-of-type { border-bottom: 0; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.68rem; font-weight: 800; color: var(--brand);
}

h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 900; margin: 14px 0 18px; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 14px; color: var(--onyx-300); }
p.lead { font-size: 1.1rem; color: var(--onyx-100); max-width: 62ch; }

.hero { padding: 84px 0 72px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.grid { display: grid; gap: 20px; margin-top: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--onyx-900); border: 1px solid var(--onyx-800);
  border-radius: var(--radius); padding: 24px;
}
.card p:last-child { margin-bottom: 0; }

ol.steps { counter-reset: s; list-style: none; display: grid; gap: 16px; margin-top: 26px; }
ol.steps li { position: relative; padding-left: 46px; color: var(--onyx-300); }
ol.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--onyx-800); color: var(--gold-500);
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}
ol.steps li b { color: var(--onyx-100); display: block; }

/* ---------- offer ---------- */
.offer {
  background: var(--onyx-900); border: 1px solid var(--gold-600);
  border-radius: 22px; padding: 30px; max-width: 460px;
}
.offer .price { font-size: 3rem; font-weight: 900; color: var(--gold-500); letter-spacing: -0.03em; line-height: 1; }
.offer .price small { font-size: 0.95rem; font-weight: 600; color: var(--onyx-400); letter-spacing: 0; }
.offer ul { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.offer ul li { padding-left: 26px; position: relative; color: var(--onyx-100); }
.offer ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-500); font-weight: 900; }
.offer .note { font-size: 0.83rem; color: var(--onyx-400); margin-top: 18px; }

/* ---------- legal ---------- */
.legal { padding: 52px 0 72px; }
.legal .doc { max-width: 76ch; }
.legal h2 { margin-top: 38px; font-size: 1.28rem; }
.legal h3 { margin-top: 22px; color: var(--gold-500); font-size: 1rem; }
.legal ul, .legal ol { margin: 0 0 14px 22px; color: var(--onyx-300); }
.legal li { margin-bottom: 8px; }
.legal .updated { color: var(--onyx-400); font-size: 0.87rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.93rem; }
.legal th, .legal td { border: 1px solid var(--onyx-800); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--onyx-300); }
.legal th { color: var(--onyx-100); background: var(--onyx-900); font-weight: 700; }

.callout {
  border-left: 3px solid var(--gold-500); background: var(--onyx-900);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 18px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--onyx-800); padding: 44px 0 56px; background: var(--onyx-950); }
.site-footer .cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--onyx-400); margin-bottom: 12px; font-weight: 800; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--onyx-300); font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-500); }
.site-footer .legal-line { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--onyx-800); color: var(--onyx-400); font-size: 0.85rem; }
.site-footer .legal-line p { color: var(--onyx-400); font-size: 0.85rem; }

/* ---------- 404 ---------- */
.notfound { padding: 110px 0; text-align: center; }
.notfound .code { font-size: 4.5rem; font-weight: 900; color: var(--gold-500); line-height: 1; }

@media (max-width: 640px) {
  section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .site-header .wrap { min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  .site-nav { gap: 14px; width: 100%; }
  .offer { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
