/* ==========================================================================
   Freelok — public information site
   Black & white, minimalist
   ========================================================================== */

:root {
  --ink: #000000;
  --ink-soft: #333333;
  --muted: #777777;
  --line: #000000;
  --line-soft: #e2e2e2;
  --bg: #ffffff;
  --radius: 14px;
  --container: 720px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, 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(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

/* Header ------------------------------------------------------------- */

.site-header {
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  width: fit-content;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Hero ----------------------------------------------------------------- */

.hero {
  padding: 88px 0 80px;
  text-align: center;
}

.hero-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 36px;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero h1 {
  font-size: clamp(38px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
}

/* Content card (privacy / terms / support) ------------------------------ */

.page-header {
  padding: 48px 0 8px;
}

.page-header h1 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.page-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 24px;
}

.back-link:hover {
  color: var(--ink);
}

.content-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px clamp(24px, 5vw, 52px);
  margin: 16px 0 72px;
}

.content-card h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 34px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.content-card h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-card p {
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.content-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.content-card li {
  margin: 0 0 8px;
}

.content-card li:last-child {
  margin-bottom: 0;
}

.content-card strong {
  color: var(--ink);
}

.content-card a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

.content-card a:hover {
  opacity: 0.65;
}

/* Support contact block -------------------------------------------------- */

.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 20px 0 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}

.contact-info .label {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 2px;
}

.contact-info .value {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  text-decoration: underline;
}

/* Footer ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-card {
    padding: 28px 20px;
  }

  .hero {
    padding: 64px 0 56px;
  }
}
