:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --text: #151514;
  --text-2: #6b6a64;
  --text-3: #a3a19a;
  --line: #e4e0d7;
  --accent: #1f8a64;
  --amber: #c98a2b;
  --amber-light: #f2cf8e;
  --track: #e9e5dc;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0e0e;
    --surface: #161817;
    --text: #f2f1ec;
    --text-2: #9a9a93;
    --text-3: #64655f;
    --line: #262927;
    --accent: #4fd1a1;
    --amber: #e7b25c;
    --amber-light: #f7dca8;
    --track: #222624;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.nav, main, .foot {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 72%, var(--track) 72% 100%);
  -webkit-mask: radial-gradient(circle, transparent 6px, #000 7px);
  mask: radial-gradient(circle, transparent 6px, #000 7px);
}

.lang { display: flex; gap: 4px; }
.lang a {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}
.lang a.is-active { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 72px;
}

.sun {
  position: relative;
  width: min(360px, 80vw);
  aspect-ratio: 3 / 2;
  margin-bottom: 20px;
}

.sun__glow {
  position: absolute;
  inset: -20% -10% 0;
  background: radial-gradient(circle at 50% 70%, rgba(201, 138, 43, 0.4), transparent 60%);
  animation: glow 7s ease-in-out infinite;
}

.sun__disc {
  position: absolute;
  left: 50%;
  bottom: 30%;
  width: 46%;
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--amber-light), var(--amber));
  animation: rise 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sun__lines {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  height: 24%;
  display: grid;
  align-content: start;
  gap: 10px;
  border-top: 1.5px solid var(--text);
}

.sun__lines i {
  display: block;
  height: 1.5px;
  background: var(--text);
  opacity: 0.35;
  margin: 0 calc(var(--i, 1) * 10px);
}
.sun__lines i:nth-child(1) { --i: 1; opacity: 0.4; margin-top: 10px; }
.sun__lines i:nth-child(2) { --i: 2; opacity: 0.3; }
.sun__lines i:nth-child(3) { --i: 3; opacity: 0.2; }
.sun__lines i:nth-child(4) { display: none; }

@keyframes rise { from { transform: translate(-50%, 60%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 560px;
  margin: 20px 0 32px;
  font-size: 18px;
  color: var(--text-2);
}

.cta {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}
.cta:hover { transform: translateY(-1px); }

.fine { margin-top: 14px; font-size: 13px; color: var(--text-3); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.grid article {
  padding: 26px 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.num { font-family: 'Literata', Georgia, serif; font-style: italic; color: var(--amber); }
.grid h3 { margin: 18px 0 8px; font-size: 19px; letter-spacing: -0.02em; }
.grid p { margin: 0; color: var(--text-2); font-size: 15px; }

.quote {
  padding: 96px 0;
  text-align: center;
}

.quote blockquote {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}

.foot a:hover { color: var(--text); }

.doc { max-width: 720px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 6vw, 44px); margin-top: 24px; }
.doc .meta { color: var(--text-3); font-size: 14px; }
.doc h2 { margin: 36px 0 10px; font-size: 21px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .sun__disc, .sun__glow { animation: none; }
}
