:root {
  --bg: #f1f8f4;
  --ink: #0d2017;
  --text: #33473c;
  --muted: #5e7067;
  --green: #18743e;
  --green-dark: #042316;
  --teal: #145d69;
  --gold: #cd9f40;
  --line: #d7e7dc;
  --card: #ffffff;
  --soft: #eaf6ef;
  --cream: #fbf7eb;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.68;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
}

.site-header {
  min-height: 90px;
  padding: 0 4%;
  background: #030503;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
}
.nav {
  display: flex;
  gap: 38px;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.nav a {
  color: #f7fff9;
  text-decoration: none;
}

.hero {
  padding: 58px 4% 42px;
  background: linear-gradient(180deg, #f9fcf9 0%, var(--bg) 100%);
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
  gap: 42px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 780px;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
}
.dek {
  margin: 22px 0 0;
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
}
.meta {
  margin-top: 24px;
  color: #6d7e73;
  font-size: 14px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
}
.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #e9f3eb;
  box-shadow: 0 18px 50px rgba(13, 54, 28, 0.14);
  position: relative;
}
.hero-media img {
  width: 100%;
  min-height: 356px;
  object-fit: cover;
  display: block;
}
.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(16, 35, 25, 0.14);
}
.hero-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto 72px;
  padding: 0 4%;
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 56px;
  align-items: start;
}
article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px;
  box-shadow: 0 14px 42px rgba(13, 54, 28, 0.08);
}
article p {
  color: var(--text);
  font-size: 17px;
}
article h2 {
  margin: 42px 0 14px;
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}
article h3 {
  margin: 28px 0 10px;
  color: var(--teal);
  font-size: 21px;
  line-height: 1.28;
}
article ul,
article ol {
  padding-left: 22px;
  color: var(--text);
}
article li {
  margin: 8px 0;
}
article a {
  color: var(--green);
  font-weight: 700;
}
.lead {
  margin-top: 0;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
}
.callout {
  margin: 30px 0;
  padding: 22px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--cream);
}
.callout p {
  margin: 0;
  color: #463817;
}
.toc {
  margin: 28px 0 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 124, 57, 0.12);
}
.figure {
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.figure img {
  width: 100%;
  display: block;
}
.figure figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
  background: #fbfdfb;
}
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.mini-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}
.mini-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
}
.mini-card p {
  margin: 0;
  font-size: 15px;
}
.flow-list {
  list-style: none;
  padding-left: 0;
}
.flow-list li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 34px;
  border-left: 2px solid var(--line);
}
.flow-list li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.sidebar {
  position: sticky;
  top: 24px;
}
.side-card {
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13, 54, 28, 0.08);
}
.side-card h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.25;
}
.side-card p,
.side-card li {
  color: var(--muted);
  font-size: 15px;
}
.side-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.source-list a {
  overflow-wrap: anywhere;
}
.faq-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.faq-item h3 {
  margin-top: 0;
}
.footer-note {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 4% 52px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero-inner,
  .wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .nav {
    gap: 18px;
    letter-spacing: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-direction: column;
  }
  .nav {
    justify-content: flex-start;
    font-size: 12px;
  }
  h1 {
    font-size: 34px;
  }
  .hero {
    padding-top: 38px;
  }
  article {
    padding: 28px 22px;
  }
  article h2 {
    font-size: 26px;
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .hero-note {
    position: static;
    border-radius: 0;
  }
  .hero-media img {
    min-height: 260px;
  }
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Article / funnel images */
.figure img,
.hero-media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* Hero image */
.hero-media {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.hero-media img {
  width: 100%;
}

/* Article images */
.figure {
  width: 100%;
  max-width: 100%;
  margin: 2rem auto;
  overflow: hidden;
}

.figure img {
  width: 100%;
}

/* Prevent very wide images from breaking the page */
article img {
  max-width: 100%;
  height: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-media {
    max-width: 100%;
  }

  .figure {
    margin: 1.5rem auto;
  }

  .figure img,
  .hero-media img {
    width: 100%;
    height: auto;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .figure img,
  .hero-media img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
}

/* --- CSS VARIABLES & RESET --- */
.navbar-container {
  --color-bg: #050505;
  --color-text: #ffffff;
  --color-text-muted: #a3a3a3;
  --color-gold: #d4af37;
  --color-gold-bright: #ffd700;
  --color-gold-dim: rgba(212, 175, 55, 0.5);
  --font-main: "Rajdhani", sans-serif;
  --nav-height: 96px;
  --ease-tech: cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-container {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- NAVBAR CONTAINER --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: #000000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.05);
  z-index: 1000;
}

.navbar-content {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
  /* Above mobile menu */
  background-color: #000000;
  /* Cover mobile menu sliding out */
}

/* --- LOGO --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

/* Updated to support both SVG and IMG logos */
.logo svg,
.logo img {
  height: 5.3rem;
  /* Fix height to fit navbar */
  width: auto;
  /* Maintain aspect ratio */
  transition: transform 0.5s var(--ease-tech);
}

.logo:hover svg,
.logo:hover img {
  transform: scale(1.02);
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
}

.logo-subtitle {
  color: #737373;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  transition: color 0.3s;
}

.logo:hover .logo-subtitle {
  color: var(--color-gold);
}

/* --- DESKTOP NAVIGATION --- */
.desktop-nav {
  display: none;
  /* Hidden on mobile */
  gap: 4rem;
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  transition: all 0.3s ease-out;
  padding: 0.5rem 0;
}

.nav-link span {
  display: inline-block;
  transition: transform 0.3s;
}

/* Hover Interactions */
.nav-link:hover {
  color: #70af69;
}

.nav-link:hover span {
  transform: translateY(-2px);
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.8);
}

/* Focus Interaction */
.nav-link:focus-visible {
  outline: 1px solid var(--color-gold-dim);
  outline-offset: 4px;
}

/* Special "Purchase" Item */
.nav-link.special {
  color: white;
  font-weight: 500;
}

.nav-link.special:hover span {
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-link.special::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
  opacity: 0;
  transition: opacity 0.5s;
}

.nav-link.special:hover::after {
  opacity: 1;
}

/* --- MOBILE MENU TOGGLE (Checkbox Hack) --- */
#menu-toggle {
  display: none;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 30;
}

.menu-btn span {
  display: block;
  height: 1px;
  background-color: white;
  transition: all 0.3s var(--ease-tech);
}

.menu-btn span:nth-child(1) {
  width: 32px;
}

.menu-btn span:nth-child(2) {
  width: 20px;
}

.menu-btn span:nth-child(3) {
  width: 12px;
}

.menu-btn:hover span:nth-child(3) {
  width: 32px;
}

/* Animation when Checked */
#menu-toggle:checked + .menu-btn span:nth-child(1) {
  width: 24px;
  transform: translateY(7px) rotate(-45deg);
  background-color: var(--color-gold);
}

#menu-toggle:checked + .menu-btn span:nth-child(2) {
  opacity: 0;
  width: 0;
}

#menu-toggle:checked + .menu-btn span:nth-child(3) {
  width: 24px;
  transform: translateY(-7px) rotate(45deg);
  background-color: var(--color-gold);
}

/* --- MOBILE NAVIGATION DROPDOWN --- */
.mobile-nav {
  position: absolute;
  top: 100%;
  /* Directly below header */
  left: 0;
  width: 100%;
  background-color: #000000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;

  /* Hidden State */
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;

  transition: all 0.5s var(--ease-tech);
  z-index: 10;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 1.125rem;
  font-weight: 300;
  padding: 1rem 0;
  width: 100%;
  text-align: center;
  transition: color 0.3s;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    color 0.3s;
}

.mobile-nav a:hover {
  color: var(--color-gold);
  letter-spacing: 0.3em;
}

/* Open State */
#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  /* Allow enough height for content */
  opacity: 1;
  visibility: visible;
  padding: 1.5rem 0;
}

/* Staggered Animation for links */
#menu-toggle:checked ~ .mobile-nav a {
  opacity: 1;
  transform: translateY(0);
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(1) {
  transition-delay: 0.05s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(2) {
  transition-delay: 0.1s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(3) {
  transition-delay: 0.15s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(4) {
  transition-delay: 0.2s;
}

#menu-toggle:checked ~ .mobile-nav a:nth-child(5) {
  transition-delay: 0.25s;
}

/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-nav {
    display: none;
  }
}

.tc-brand__img {
  height: 5.3rem;
  width: auto;
  transition: transform 0.5s var(--ease-tech);
}
