/* ============================================================
   Fichumi — design system tokens + base
   ============================================================ */
:root {
  /* Color */
  --ink:        #0F1B2D;
  --ink-2:      #1A2940;
  --ink-3:      #2C3A56;
  --cream:      #F5EFE2;
  --paper:      #FAF6EC;
  --coral:      #FF6B4A;
  --coral-deep: #E54B2A;
  --sun:        #FFD166;
  --mint:       #06D6A0;
  --mint-deep:  #04B589;
  --lilac:      #B8B5FF;
  --amber:      #F59E0B;
  --gray:       #94A3B8;

  --line:       rgba(15, 27, 45, 0.10);
  --line-soft:  rgba(15, 27, 45, 0.06);
  --ink-60:     rgba(15, 27, 45, 0.60);
  --ink-70:     rgba(15, 27, 45, 0.72);

  /* Type */
  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body:    'Manrope', system-ui, sans-serif;
  --f-serif:   'Instrument Serif', Georgia, serif;
  --f-brand:   'Boldonse', 'Bricolage Grotesque', sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Container */
  --max: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: pretty;
}

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 226, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-icon { width: 38px; height: 38px; }
.brand-word {
  font-family: var(--f-brand);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.btn-coral, a.btn-coral {
  background: var(--coral);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}
.btn-coral:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.btn-ink, a.btn-ink {
  background: var(--ink);
  color: var(--cream);
}
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost, a.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 999px; }

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
}
.btn-coral .arrow { background: var(--ink); color: var(--coral); }
.btn-ink .arrow { background: var(--cream); color: var(--ink); }

/* ============================================================
   Generic sections
   ============================================================ */
section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--sun);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 4px; background: var(--mint);
}
.eyebrow.light {
  background: rgba(15,27,45,0.08);
  color: var(--ink);
}
.section-title {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.035em;
}
.section-lede {
  font-size: 18px;
  color: var(--ink-70);
  max-width: 620px;
  margin-top: 16px;
  line-height: 1.5;
}
.serif-accent {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.highlight {
  position: relative;
  display: inline-block;
}
.highlight::before {
  content: "";
  position: absolute;
  left: -3px; right: -3px; bottom: 6%;
  height: 32%;
  background: var(--sun);
  z-index: -1;
  border-radius: 4px;
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand .brand-word { color: var(--cream); }
.footer-tagline {
  margin-top: 18px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  color: var(--sun);
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(245,239,226,0.55);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.82;
}
.footer-col a:hover { opacity: 1; color: var(--sun); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,226,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(245,239,226,0.55);
  flex-wrap: wrap;
  gap: 14px;
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 880px) {
  .nav-links .hide-mobile { display: none; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
