/* MFG Apps — shared stylesheet */

:root {
  --bg: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-faint: #d2d2d7;
  --line: #f0eee8;
  --surface: #fbfaf6;
  --tan: #C4AA80;
  --tan-soft: #e8dcc4;
  --tan-faint: #f5efe2;
  --tan-deep: #a08960;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  font-weight: 400;
  line-height: 1.47;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  height: 52px;
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 22px; height: 22px;
  background: var(--tan);
  border-radius: 5px;
  display: inline-block;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active {
  color: var(--tan-deep);
  opacity: 1;
  font-weight: 500;
}

/* TYPE */
.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--tan-deep);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.07; }

/* LINK CTA — Apple-era inline link with arrow */
.link-cta {
  color: var(--tan-deep);
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.link-cta:hover { opacity: 0.65; }
.link-cta::after {
  content: '›';
  font-size: 22px;
  line-height: 1;
  margin-left: 2px;
  transition: transform 0.2s;
}
.link-cta:hover::after { transform: translateX(3px); }

/* PAGE TITLE BLOCK (used on inner pages) */
.page-title {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 1024px;
  margin: 0 auto;
}
.page-title h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  line-height: 1.05;
}
.page-title p {
  font-size: clamp(19px, 2vw, 24px);
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.4;
  letter-spacing: -0.012em;
}

/* SECTION */
section {
  padding: 100px 24px;
  text-align: center;
}
.section-inner { max-width: 1024px; margin: 0 auto; }
.section-headline {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

/* SURFACES */
.tan-band {
  background: var(--tan);
  color: var(--ink);
  padding: 80px 24px;
  text-align: center;
}
.tan-band .quote {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 880px;
  margin: 0 auto;
}
.surface-band {
  background: var(--surface);
  padding: 100px 24px;
  text-align: center;
}

/* FOOTER CTA */
.footer-cta {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-cta h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.footer-cta p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

/* FOOTER */
footer {
  background: var(--surface);
  padding: 36px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}
footer .foot-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--ink); }

/* MOBILE */
@media (max-width: 768px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; }
  .page-title { padding: 110px 24px 60px; }
  section { padding: 70px 24px; }
  .surface-band, .tan-band, .footer-cta { padding: 70px 24px; }
}
