/*
 * Sinmisola B.V. — studio site stylesheet.
 * Used for the company-level pages at the repo root: index, about,
 * contact, privacy. The Tife app's legal pages keep their own
 * warmer palette under /tife/style.css so each product can carry
 * its own visual identity.
 *
 * No fonts, no JS, no analytics — just typography, color, and rhythm.
 */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #141414;
  --text-muted: #555050;
  --border: #e2dfd7;
  --accent: #1a1a1a;
  --accent-strong: #000000;
  --radius: 10px;
  --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #17171a;
    --text: #f1eee7;
    --text-muted: #a8a39a;
    --border: #2a2a2e;
    --accent: #f1eee7;
    --accent-strong: #ffffff;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 96px;
}

nav.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

nav.site-nav .brand {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

nav.site-nav .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9375rem;
}

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

nav.site-nav .links a:hover,
nav.site-nav .links a:focus,
nav.site-nav .links a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

header.page-header {
  margin-bottom: 32px;
}

header.page-header .eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

header.page-header h1 {
  margin: 0;
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

header.page-header .lede {
  margin: 16px 0 0;
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 56ch;
}

h2 {
  margin: 48px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.0625rem;
  font-weight: 600;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

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

a:hover,
a:focus {
  color: var(--accent-strong);
}

blockquote {
  margin: 16px 0;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
}

blockquote p {
  margin: 0;
}

.apps {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.app-card {
  display: block;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}

.app-card:hover,
.app-card:focus {
  border-color: var(--accent);
}

.app-card h3 {
  margin: 0 0 4px;
  font-size: 1.0625rem;
}

.app-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

footer.page-footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

footer.page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

footer.page-footer .entity {
  line-height: 1.5;
}

@media (max-width: 540px) {
  main {
    padding: 24px 16px 64px;
  }

  header.page-header h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.125rem;
  }
}
