/* Custom CSS Reset & Variable Definitions */
:root {
  --bg-dark: #0b1020;
  --bg-card: #111a2f;
  --bg-card-alt: #17233b;
  --text-main: #f8fafc;
  --text-muted: #b7c0d1;
  --accent-coral: #ff6b61;
  --accent-amber: #fbbf24;
  --accent-lime: #84cc16;
  --border-color: #2a3854;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 107, 97, 0.10), transparent 28rem),
    var(--bg-dark);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; color: var(--text-muted); }

.lead {
  max-width: 760px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link {
  color: var(--accent-coral);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* Layout & Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt {
  background-color: rgba(17, 26, 47, 0.82);
  border-block: 1px solid rgba(42, 56, 84, 0.6);
}

.page-hero { padding: 6rem 0 4.5rem; }
.narrow { max-width: 900px; }

.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-coral);
  color: #ffffff;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #e04b48;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover, .btn-outline:focus {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.card:hover { border-color: var(--accent-coral); transform: translateY(-2px); }

.accent-card { border-top: 3px solid var(--accent-coral); }
.card-grid { margin-top: 2rem; }
.card-grid .card { height: 100%; }

.check-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent-coral);
  content: "✓";
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.next-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.next-step > div:first-child { max-width: 720px; }

.process-list { display: grid; gap: 1rem; }
.process-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-dark);
}

.process-step > span {
  color: var(--accent-coral);
  font-size: 1.5rem;
  font-weight: 800;
}

.process-step h2 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.process-step p { margin-bottom: 0; }

/* Navigation */
.site-header {
  background-color: rgba(11, 16, 32, 0.94);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
  line-height: 1;
  white-space: nowrap;
}

.brand-logo span { color: var(--accent-coral); }
.brand-logo small { display: none; }
.brand-logo::after {
  display: block;
  margin-top: 0.38rem;
  color: var(--text-muted);
  content: "Independent marketing agency";
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 1.1rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--accent-coral); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-toggle:hover { color: var(--accent-coral); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  background: #ffffff;
  color: #0b1020;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

/* Footer & Disclosures */
.site-footer {
  background-color: #070b16;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-coral); }

.footer-heading {
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.disclosure-box {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.copyright {
  margin-bottom: 0;
  text-align: center;
  font-size: 0.8rem;
}

/* Accessibility & Preferences */
:focus-visible {
  outline: 2px solid var(--accent-coral);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Styles */
@media (max-width: 1080px) {
  .mobile-toggle { display: block; }
  .nav-container > .btn { display: none; }
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background-color: #111a2f;
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: none;
  }
  .nav-menu.is-active { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 3.75rem 0; }
  .page-hero { padding: 4.5rem 0 3.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .next-step { align-items: flex-start; flex-direction: column; }
  .process-step { grid-template-columns: 1fr; gap: 0.75rem; padding: 1.5rem; }
}
