/*
Theme Name: Logos Legacy
Theme URI: https://logoslegacy.com
Author: Logos Legacy
Description: A clean, minimal custom theme for Logos Legacy.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: logos-legacy
*/

:root {
  --fg: #111;
  --fg-muted: #5b5b5b;
  --bg: #ffffff;
  --line: #e8e8e8;
  --accent: #1a1a1a;
  --accent-hover: #000;
  --radius: 4px;
  --maxw: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: none; }

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

/* ---------- Header ---------- */
header.site {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 64px;
}
header.site .brand {
  font-weight: 600;
  letter-spacing: -0.01em;
}
header.site nav a {
  color: var(--fg-muted);
  font-size: 15px;
}
header.site nav a:hover { color: var(--fg); }

/* ---------- Homepage ---------- */
.ll-home {
  padding: 24px 0 96px;
}

.ll-home h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 20px;
}

.lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 0 40px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: background .15s ease;
}
.cta:hover { background: var(--accent-hover); color: #fff; }

.section { margin-top: 80px; }

.section-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.ventures {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.ventures li {
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.ventures a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
}
.ventures a:hover .v-name { text-decoration: underline; text-underline-offset: 4px; }
.v-name { font-weight: 500; }
.v-desc { color: var(--fg-muted); font-size: 15px; }
.v-arrow { color: var(--fg-muted); transition: transform .15s ease; }
.ventures a:hover .v-arrow { transform: translateX(3px); color: var(--fg); }

/* ---------- Generic pages (Privacy, Terms, etc.) ---------- */
.page-content {
  padding: 24px 0 96px;
}
.page-content h1 {
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 32px;
}
.page-content h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 600;
}
.page-content p,
.page-content li {
  font-size: 17px;
  color: var(--fg);
}
.page-content p { margin: 0 0 16px; }
.page-content a {
  border-bottom: 1px solid var(--line);
  transition: border-color .15s ease;
}
.page-content a:hover { border-bottom-color: var(--fg); }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  margin-top: 96px;
  padding: 32px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--fg-muted);
}
footer.site a { color: var(--fg-muted); }
footer.site a:hover { color: var(--fg); }
footer.site .links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 480px) {
  header.site { padding-bottom: 40px; }
  .ll-home { padding-bottom: 56px; }
  .section { margin-top: 56px; }
  footer.site { margin-top: 64px; flex-direction: column; align-items: flex-start; }
}
