@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #f8f7f4;
  --bg2: #f0efe9;
  --text: #0f0f0e;
  --text2: #5a5a56;
  --text3: #9a9a94;
  --border: rgba(15,15,14,0.1);
  --border2: rgba(15,15,14,0.18);
  --accent: #1a1a18;
  --tag-bg: rgba(15,15,14,0.06);
  --mono: 'IBM Plex Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}

[data-theme="dark"] {
  --bg: #0e0e0c;
  --bg2: #161614;
  --text: #f0efe9;
  --text2: #a0a09a;
  --text3: #5a5a56;
  --border: rgba(240,239,233,0.1);
  --border2: rgba(240,239,233,0.18);
  --accent: #f0efe9;
  --tag-bg: rgba(240,239,233,0.07);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background 0.2s, color 0.2s;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   NAVIGATION
========================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;

  background: var(--bg);
  border-bottom: 0.5px solid var(--border);

  padding: 0 2rem;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  transition: background 0.2s;
}

.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text2);
  transition: color 0.15s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-btn {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 0.5px solid var(--border2);
  border-radius: 10px;

  font-family: var(--mono);
  font-size: 13px;
  color: var(--text2);

  cursor: pointer;
  transition: all 0.15s;
}

.theme-btn:hover {
  color: var(--text);
  border-color: var(--border2);
  background: var(--tag-bg);
}

/* =========================
   LAYOUT
========================= */

.page {
  padding-top: 72px;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================
   LABELS
========================= */

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text3);
  display: inline-block;
}

/* =========================
   TAGS
========================= */

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text2);
  background: var(--tag-bg);
  border: 0.5px solid var(--border);
  border-radius: 3px;
  padding: 3px 8px;
}

/* =========================
   DIVIDER
========================= */

.divider {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 3rem 0;
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 0.5px solid var(--border);
  padding: 2rem;
  margin-top: 6rem;
}

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

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-inner p {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text3);
}

.footer-inner a {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text3);
  transition: color 0.15s;
}

.footer-inner a:hover {
  color: var(--text2);
}

/* =========================
   HAMBURGER
========================= */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;

  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: all 0.2s;
}

/* =========================
   MOBILE NAV
========================= */

.mobile-nav {
  display: none;

  position: fixed;
  top: 72px;
  left: 0;
  right: 0;

  background: var(--bg);
  border-bottom: 0.5px solid var(--border);

  padding: 1rem 2rem;

  z-index: 99;

  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text2);
}

/* =========================
   BUTTONS
========================= */

.btn-primary,
.btn-secondary,
.primary-btn,
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;

  border: 0.5px solid var(--border2);
  border-radius: 6px;

  text-decoration: none;

  transition: all .15s ease;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: .9;
}

.btn-secondary {
  background: transparent;
  color: var(--text2);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text);
}

.primary-btn:hover,
.linkedin-btn:hover {
  opacity: .85;
}

/* =========================
   CONTENT UTILITIES
========================= */

.pricing-section,
.contact-intro {
  margin-top: 4rem;
}

.pricing-section ul,
.contact-intro ul,
.pricing-copy ul {
  margin: 1rem 0 1.5rem 1.25rem;
  line-height: 1.9;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

  nav {
    height: 64px;
    padding: 0 1.25rem;
  }

  .page {
    padding-top: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .container {
    padding: 0 1.25rem;
  }

  .mobile-nav {
    top: 64px;
    padding: 1rem 1.25rem;
  }

}
