/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #09090b;
  --foreground: #fafafa;
  --card: #111113;
  --card-border: #27272a;
  --border: #27272a;
  --muted-foreground: #a1a1aa;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-10: rgba(59, 130, 246, 0.1);
  --radius: 6px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}

.logo {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted-foreground);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
}

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

.mobile-nav-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: var(--background);
  border-left: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-panel a {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.mobile-nav-panel a:hover {
  color: var(--foreground);
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-close svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

/* === Hero === */
.hero {
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-compass {
  margin-bottom: 1.5rem;
}

.hero-tag {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
}

.hero h1 {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero .subtitle {
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 1.5rem;
  }
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero .subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 1.5rem;
  }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* === Divider === */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 1.5rem;
}

@media (min-width: 768px) {
  .divider {
    margin: 0 3rem;
  }
}

/* === Sections === */
.section {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-tag {
  margin-bottom: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
}

.section p.body {
  max-width: 42rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.section p.body strong {
  color: var(--foreground);
}

.section p.body a {
  color: var(--primary);
}

.section p.body a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 3rem;
  }
}

/* === Start Here grey box === */
.start-here-box {
  background: #1a1a1e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-top: 1rem;
}

/* === Resource description === */
.resource-card {
  max-width: 56rem;
  margin: 0 auto 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem 2rem;
  text-align: left;
}

.resource-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.resource-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* === Callout blocks === */
.callouts {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.callout {
  border-left: 3px solid var(--primary);
  border-radius: 0 0.5rem 0.5rem 0;
  background: var(--card);
  padding: 1.5rem 2rem;
}

.callout p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.callout strong {
  color: var(--foreground);
}

/* === Two-column grid === */
.two-col {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.two-col h3 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.two-col li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.bullet {
  margin-top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* === Cards === */
.card-grid {
  max-width: 40rem;
  margin: 0 auto 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--primary);
}

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--primary);
  border-radius: 9999px;
  color: var(--primary);
}

/* === Products / Free Tools / Resources centered === */
.section-centered {
  padding: 3rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-centered {
    padding: 4rem 1.5rem;
  }
}

.section-centered .section-tag {
  margin-bottom: 2rem;
}

/* === Free Tools card === */
.free-tool-card {
  max-width: 56rem;
  margin: 0 auto;
  text-align: left;
}

.free-tool-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === Contact === */
.contact {
  padding: 3rem 1.5rem;
  text-align: center;
}

.contact h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact .role {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.contact a {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--primary);
  transition: color 0.2s;
}

.contact a:hover {
  color: var(--primary-hover);
}

@media (min-width: 768px) {
  .contact {
    padding: 4rem 1.5rem;
  }
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}

.site-footer p {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.site-footer .copyright {
  margin-top: 1rem;
}
