/* --- Peppermint Design Tokens --- */
:root {
  --mint: #B8E3E9;
  --mint-soft: #D9F0F3;
  --mint-deep: #7FC9D2;
  --ink: #0A1628;
  --ink-soft: #1B2B42;
  --paper: #FAFCFC;
  --paper-warm: #F4F8F8;
  --line: #0A162810;
  --accent: #E8F5F7;
}

/* --- Resets & Global Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography Tokens --- */
.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: 'ss01';
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 252, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.logo-mark {
  width: 28px;
  height: 28px;
  position: relative;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-mark-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
  transition: transform 0.2s, background 0.2s;
}

.nav-links a.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 1;
}

/* --- Footer --- */
footer {
  padding: 60px 40px 40px;
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(250, 252, 252, 0.1);
}

.footer-grid .logo {
  color: var(--paper);
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.5;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: 1280px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.5;
}

/* --- Responsive Navigation & Footer --- */
@media (max-width: 900px) {
  nav {
    padding: 16px 20px;
  }
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}
