/* ================================================
   Derek Packer — Shared Styles
   ================================================ */

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

:root {
  --bg-primary:   #1A1A1A;
  --bg-secondary: #242424;
  --orange:       #E84B1A;
  --teal:         #2ABFBF;
  --text:         #F7F6F2;
  --gold:         #F5A623;
  --navy:         #1B2A4A;
  --border:       rgba(247, 246, 242, 0.08);
  --muted:        rgba(247, 246, 242, 0.50);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.18s;
}

a:hover { color: var(--orange); }

p { color: rgba(247, 246, 242, 0.78); }

ul { list-style: none; }

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

/* ------------------------------------------------
   Layout
   ------------------------------------------------ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section     { padding: 88px 0; background: var(--bg-primary); }
.section-alt { padding: 88px 0; background: var(--bg-secondary); }

/* ------------------------------------------------
   Nav
   ------------------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo img {
  height: 44px;
  width: auto;
}

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

.nav-center a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(247, 246, 242, 0.82);
  letter-spacing: 0.01em;
}

.nav-center a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s, color 0.18s, border-color 0.18s;
  letter-spacing: 0.01em;
  line-height: 1.4;
  white-space: nowrap;
  border: none;
}

.btn-orange {
  background: var(--orange);
  color: #fff !important;
}

.btn-orange:hover {
  opacity: 0.88;
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: rgba(247, 246, 242, 0.52) !important;
  border: 1px solid rgba(247, 246, 242, 0.18);
  padding: 11px 22px;
}

.btn-ghost:hover {
  color: var(--text) !important;
  border-color: rgba(247, 246, 242, 0.42);
}

.muted-link {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(247, 246, 242, 0.45) !important;
}

.muted-link:hover { color: var(--text) !important; }

.cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ------------------------------------------------
   Labels / Pills / Tags
   ------------------------------------------------ */

.label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pill {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(42, 191, 191, 0.1);
  color: var(--teal);
  border: 1px solid rgba(42, 191, 191, 0.22);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.tag-gold {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
  padding: 5px 12px;
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 4px;
}

.tag-teal {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal);
  padding: 5px 12px;
  border: 1px solid rgba(42, 191, 191, 0.28);
  border-radius: 4px;
}

.who-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.who-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(245, 166, 35, 0.09);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.22);
}

/* ------------------------------------------------
   Cards
   ------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(247, 246, 242, 0.07);
  border-radius: 8px;
  padding: 28px 26px;
}

.section-alt .card {
  background: var(--bg-primary);
  border-color: rgba(247, 246, 242, 0.06);
}

.card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(247, 246, 242, 0.7);
}

/* ------------------------------------------------
   Check list
   ------------------------------------------------ */

.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.check-list li {
  font-size: 15px;
  color: rgba(247, 246, 242, 0.78);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.check-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.not-list li::before {
  color: rgba(247, 246, 242, 0.28);
}

/* ------------------------------------------------
   Process list
   ------------------------------------------------ */

.process-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.process-item {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.process-item:first-child { border-top: 1px solid var(--border); }

.process-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  min-width: 26px;
  padding-top: 2px;
}

.process-text {
  font-size: 15px;
  color: rgba(247, 246, 242, 0.78);
  line-height: 1.65;
}

/* ------------------------------------------------
   FAQ
   ------------------------------------------------ */

.faq-list {
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

details summary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  font-size: 22px;
  color: var(--teal);
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
}

details[open] summary::after { content: '−'; }

.faq-answer {
  padding: 0 0 22px;
  font-size: 15px;
  color: rgba(247, 246, 242, 0.72);
  line-height: 1.72;
  max-width: 680px;
}

/* ------------------------------------------------
   Two-column layout
   ------------------------------------------------ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.col-block h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.col-block p {
  font-size: 15px;
  color: rgba(247, 246, 242, 0.72);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ------------------------------------------------
   Placeholder blocks
   ------------------------------------------------ */

.placeholder {
  border: 2px dashed rgba(247, 246, 242, 0.1);
  border-radius: 8px;
  padding: 60px 32px;
  text-align: center;
  margin-top: 40px;
}

.placeholder-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.22);
  margin-bottom: 8px;
}

.placeholder p {
  font-size: 14px;
  color: rgba(247, 246, 242, 0.22);
}

/* ------------------------------------------------
   Principle block (About page)
   ------------------------------------------------ */

.principle-block {
  border-left: 3px solid var(--teal);
  padding: 6px 0 6px 24px;
  margin-bottom: 28px;
}

.principle-block p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ------------------------------------------------
   Callout box
   ------------------------------------------------ */

.callout-box {
  background: rgba(42, 191, 191, 0.06);
  border: 1px solid rgba(42, 191, 191, 0.18);
  border-radius: 8px;
  padding: 28px 30px;
  margin-top: 32px;
}

.callout-box p {
  font-size: 15px;
  color: rgba(247, 246, 242, 0.8);
  margin-bottom: 0;
}

.callout-box p + p { margin-top: 10px; }

.warning-box {
  background: rgba(232, 75, 26, 0.07);
  border: 1px solid rgba(232, 75, 26, 0.22);
  border-radius: 8px;
  padding: 28px 30px;
  margin-top: 32px;
}

.warning-box .warning-icon {
  font-size: 20px;
  margin-bottom: 10px;
  display: block;
}

.warning-box p {
  font-size: 15px;
  color: rgba(247, 246, 242, 0.8);
  margin-bottom: 0;
}

.warning-box p + p { margin-top: 8px; }

/* ------------------------------------------------
   Section headings
   ------------------------------------------------ */

.section-heading {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: rgba(247, 246, 242, 0.72);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */

.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}

.footer-logo-wrap {
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  height: 52px;
  width: auto;
  margin: 0 auto;
}

.footer-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-email {
  font-size: 14px;
  color: var(--teal);
  display: block;
  margin-bottom: 24px;
}

.footer-email:hover { color: var(--orange); }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247, 246, 242, 0.42);
}

.footer-nav a:hover { color: rgba(247, 246, 242, 0.85); }

.footer-copy {
  font-size: 12px;
  color: rgba(247, 246, 242, 0.26);
}

/* ------------------------------------------------
   Responsive — 860px breakpoint
   ------------------------------------------------ */

@media (max-width: 860px) {
  .nav-center {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border);
    z-index: 199;
  }

  .nav-center.is-open { display: flex; }

  .nav-center a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-center a:last-child { border-bottom: none; }

  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .section, .section-alt { padding: 60px 0; }

  .two-col { grid-template-columns: 1fr; gap: 32px; }

  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section, .section-alt { padding: 48px 0; }
  .btn { font-size: 14px; padding: 11px 18px; }
  .cta-group { flex-direction: column; align-items: flex-start; }
}
