/* HarkLo — shared styles for the landing page and the legal pages. */

:root {
  color-scheme: dark;

  --bg: #08080a;
  --bg-2: #0e0e12;
  --surface: #131319;
  --line: #24242e;
  --line-soft: #1a1a22;

  --ink: #f2f2f5;
  --muted: #a0a0ad;
  --dim: #73737f;

  --accent: #ffff22;
  --accent-ink: #12120a;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1040px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }

@media (max-width: 560px) {
  .site-nav .hide-sm { display: none; }
}

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

.hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(255, 255, 34, 0.09), transparent 62%),
    radial-gradient(700px 400px at 95% 0%, rgba(43, 111, 255, 0.10), transparent 60%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  font-size: clamp(34px, 5.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 20px 0 0;
  font-weight: 800;
}

.hero p.lede {
  color: var(--muted);
  font-size: 19px;
  margin: 18px 0 0;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--dim); }

.hero-note { margin-top: 14px; font-size: 14px; color: var(--dim); }

/* ---------- phone frame ---------- */

.phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 8px;
  background: linear-gradient(180deg, #1a1a22, #0b0b0f);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
}

.phone img {
  border-radius: 26px;
  width: 100%;
}

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

section { padding: 76px 0; border-bottom: 1px solid var(--line-soft); }

.section-label {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 750;
}

.section-lede { color: var(--muted); margin: 0 0 44px; max-width: 46em; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step img {
  border-radius: 18px;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.step img.crop-bottom { object-position: center bottom; }

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 750;
  margin-bottom: 12px;
}

.step h3 { margin: 16px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Flex rather than grid so a final short row (5 cards, 3 + 2) centers
   instead of hanging off to the left. */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.card {
  flex: 1 1 280px;
  max-width: 328px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

@media (max-width: 860px) {
  .hero { padding-top: 52px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .steps, .cards { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 56px 0; }
}

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

.site-footer { padding: 40px 0 56px; color: var(--dim); font-size: 15px; }

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- legal / support documents ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.doc h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--dim);
  font-size: 15px;
  margin: 0 0 36px;
}

.doc h2 {
  font-size: 22px;
  margin: 44px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.doc h3 { font-size: 17.5px; margin: 28px 0 6px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #d7d7de; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
