/* ──────────────────────────────────────────────────────
   Fenna landing — tokens lifted verbatim from
   packages/core/src/theme.ts and design-handoff/
   fenna/project/Fenna/Fenna Brand.html. Keep in sync.
   ────────────────────────────────────────────────────── */

:root {
  /* Earth palette */
  --espresso:     #2E211A;
  --clay-900:     #3A2A20;
  --clay-800:     #46342A;
  --brick:        #7A3B2E;
  --terracotta:   #B5654A;
  --clay-light:   #C77D5E;
  --sand:         #D9A679;
  --sand-light:   #E8D2B8;
  --oat:          #EFE2CF;
  --cream:        #F6EEE2;
  --paper:        #FBF6EC;

  /* Accent + dark */
  --moss:         #6E6B4C;
  --moss-soft:    #8C8A66;
  --ochre:        #C98A3C;
  --roast:        #241813;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Borders */
  --rule: rgba(122, 59, 46, 0.12);
  --rule-strong: rgba(122, 59, 46, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover { color: var(--terracotta); }

/* ──────────────────────────────────────────────────────
   Shared section bits
   ────────────────────────────────────────────────────── */

.section-label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--clay-800);
  max-width: 18ch;
}

/* ──────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 96px 24px 100px;
  background:
    radial-gradient(120% 90% at 50% 0%,
      var(--paper) 0%,
      var(--cream) 55%,
      var(--oat) 100%);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  text-align: center;
}

@media (min-width: 720px) {
  .hero { padding: 140px 40px 120px; }
}

.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brick);
  font-weight: 700;
  margin-bottom: 28px;
}

.hero-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: block;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 14vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--clay-800);
}

.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 3.2vw, 26px);
  color: var(--brick);
  margin-top: 18px;
}

.hero-desc {
  max-width: 540px;
  margin: 26px auto 0;
  color: var(--clay-800);
  opacity: 0.82;
  font-size: 17px;
  line-height: 1.55;
}

/* CTA */

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 16px 28px;
  background: linear-gradient(155deg, var(--clay-light), var(--brick));
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(122, 59, 46, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(122, 59, 46, 0.38);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.15s ease;
}

.cta:hover .cta-arrow { transform: translateX(3px); }

.cta-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--clay-800);
  opacity: 0.6;
}

/* ──────────────────────────────────────────────────────
   Pillars
   ────────────────────────────────────────────────────── */

.pillars {
  padding: 88px 24px;
  max-width: 1080px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .pillars { padding: 110px 40px; }
}

.pillars .section-title { margin-bottom: 52px; }

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 860px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.pillar {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: 32px;
}

.pillar-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--clay-800);
  margin-bottom: 14px;
}

.pillar-body {
  color: var(--clay-800);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.82;
}

/* ──────────────────────────────────────────────────────
   Privacy
   ────────────────────────────────────────────────────── */

.privacy {
  background: var(--roast);
  color: var(--sand-light);
  padding: 96px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

@media (min-width: 720px) {
  .privacy { padding: 120px 40px; }
}

.privacy-inner {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-label {
  color: var(--clay-light);
  margin-bottom: 18px;
}

.privacy-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 14ch;
}

.privacy-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sand-light);
  opacity: 0.92;
  max-width: 60ch;
}

.privacy-link {
  color: var(--sand);
  font-weight: 600;
}

.privacy-link:hover { color: var(--clay-light); }

/* ──────────────────────────────────────────────────────
   Why
   ────────────────────────────────────────────────────── */

.why {
  padding: 96px 24px;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .why { padding: 120px 40px; }
}

.why .section-title { margin-bottom: 36px; }

.why-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--clay-800);
  margin-bottom: 22px;
}

.why-body:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────── */

.footer {
  padding: 64px 24px 80px;
  text-align: center;
  background: var(--paper);
}

.footer-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: block;
}

.footer-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--clay-800);
  margin-bottom: 10px;
}

.footer-line {
  color: var(--clay-800);
  opacity: 0.7;
  font-size: 14px;
  line-height: 1.6;
}

.footer-meta {
  margin-top: 16px;
  opacity: 0.5;
  font-size: 13px;
}

.footer-meta a {
  color: var(--clay-800);
  text-decoration: underline;
}

/* ──────────────────────────────────────────────────────
   Accessibility / motion
   ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Focus rings — keep them visible, brand them */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 4px;
}
