/* BeyondAI Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --bg: #faf8f5;
  --bg-dark: #f2efe9;
  --fg: #141210;
  --fg-mid: #4a4540;
  --fg-light: #8a8480;
  --accent: oklch(35% 0.12 240);
  --rule: #e2ddd6;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--fg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

nav { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; }
.nav-logo span { color: oklch(35% 0.12 240); }
.nav-links { display: flex; gap: 36px; list-style: none; font-size: 15px; color: #4a4540; }
.nav-links a:hover { color: #141210; }
.nav-cta { background: var(--accent); color: var(--bg); padding: 10px 22px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: background 0.15s; }
.nav-cta:hover { background: oklch(28% 0.12 240); }

.page-hero { max-width: 1100px; margin: 0 auto; padding: 80px 40px 64px; border-bottom: 1px solid var(--rule); }
.page-label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-light); margin-bottom: 16px; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; text-wrap: pretty; max-width: 800px; }
.page-hero h1 em, h1 em.accent { font-style: italic; color: var(--accent); font-weight: normal; }
.page-hero p { font-size: 18px; color: var(--fg-mid); font-weight: 300; max-width: 580px; line-height: 1.7; }

section { padding: 80px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-light); margin-bottom: 16px; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; text-wrap: pretty; }
.section-sub { font-size: 17px; color: var(--fg-mid); font-weight: 300; line-height: 1.7; max-width: 580px; }

.btn-primary { background: var(--accent); color: var(--bg); padding: 14px 28px; border-radius: 4px; font-size: 15px; font-weight: 500; transition: background 0.15s; display: inline-block; }
.btn-primary:hover { background: oklch(28% 0.12 240); }
.btn-secondary { color: var(--fg-mid); font-size: 15px; border-bottom: 1px solid var(--rule); padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; display: inline-block; }
.btn-secondary:hover { color: var(--fg); border-color: var(--fg); }
.btn-light { background: var(--bg); color: var(--fg); padding: 14px 28px; border-radius: 4px; font-size: 15px; font-weight: 500; display: inline-block; }
.btn-outline { border: 1px solid #3a3530; color: #c0bbb4; padding: 14px 28px; border-radius: 4px; font-size: 15px; display: inline-block; }

.cta-section { background: var(--fg); color: var(--bg); text-align: center; padding: 96px 40px; }
.cta-section .section-title { color: var(--bg); max-width: 680px; margin: 0 auto 18px; }
.cta-section p { font-size: 17px; color: #c0bbb4; font-weight: 300; max-width: 520px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: #6a6460; margin-top: 18px; }

footer { background: var(--bg); border-top: 1px solid var(--rule); padding: 60px 40px 36px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 280px 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--fg-light); line-height: 1.6; margin-top: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mid); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 14px; color: var(--fg-light); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--fg); }
.footer-divider { border: none; border-top: 1px solid var(--rule); margin-bottom: 24px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 13px; color: var(--fg-light); }

.tag { font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-light); background: var(--bg-dark); padding: 4px 10px; border-radius: 2px; }

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section, .page-hero { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}
