/* Fysis — site styles
   Editorial. Cream + green-forest + terra. Generous whitespace. */

:root {
  --bg: #F5F2EC;
  --fg: #2A3329;
  --muted: #6B6F66;
  --soft: #9CA098;
  --green: #3E5641;
  --green-light: #5A6E58;
  --terra: #D4884D;
  --border: rgba(42, 51, 41, 0.12);
  --card: rgba(255, 255, 255, 0.5);
  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 960px; }

/* Header */
header.site {
  padding: 28px 0 0;
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg);
}
header.site .brand img {
  width: 36px; height: 36px;
}
header.site .brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}
header.site nav {
  display: flex; gap: 22px;
}
header.site nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
header.site nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 18px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--fg);
  font-weight: 400;
}
.hero .lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.5;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--terra);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 136, 77, 0.25);
}
.cta-ghost {
  display: inline-block;
  margin-left: 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.cta-ghost:hover { color: var(--fg); }

/* Sections */
section.block {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
section.block h2 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  font-weight: 400;
}
section.block p { color: var(--muted); margin: 0 0 14px; }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.feature h3 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 0 0 8px;
  font-weight: 500;
}
.feature p { font-size: 14px; line-height: 1.55; }

/* Footer */
footer.site {
  padding: 48px 0 64px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
  font-size: 13px;
  color: var(--soft);
}
footer.site .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--fg); }

/* Legal docs */
.legal {
  padding: 60px 0;
}
.legal .eyebrow { text-align: left; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); text-align: left; margin-bottom: 10px; }
.legal .meta {
  color: var(--soft); font-size: 13px; margin-bottom: 40px;
}
.legal h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 44px 0 14px;
  line-height: 1.25;
}
.legal h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--fg);
}
.legal p, .legal li {
  color: var(--fg);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal strong { font-weight: 600; }
.legal a { color: var(--green); }
.legal hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}
.legal .lang-switch {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}
.legal .lang-switch a {
  color: var(--green);
  text-decoration: none;
  margin-left: 6px;
}
