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

:root {
  --primary: #5A0E1D;
  --primary-light: #7a2e3d;
  --secondary: #B39984;
  --secondary-light: #c9b5a4;
  --gradient: linear-gradient(135deg, #5A0E1D, #B39984);
  --gradient-horizontal: linear-gradient(90deg, #5A0E1D, #B39984);
  --dark: #1a1a1a;
  --text: #2a2a2a;
  --text-medium: #4a4a4a;
  --text-light: #717171;
  --bg: #fafaf8;
  --bg-white: #ffffff;
  --border: #e8e4e0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1140px;
  --nav-height: 72px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* ===== Utilities ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient-horizontal);
  border-radius: 2px;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--dark);
  color: #e0e0e0;
}

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.section--alt {
  background: var(--bg-white);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.nav--scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__logo svg {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-medium);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-horizontal);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--gradient);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__hamburger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../graphics/Gemini_Generated_Image_svs88gsvs88gsvs8.png') center center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.82), rgba(26,26,26,0.6));
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 0;
}

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: #c8c8c8;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}

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

.btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.7);
  color: #ffffff;
}

.btn--dark-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--dark-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* ===== Section Headers ===== */
.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .accent-line {
  margin: 0 auto 20px;
}

.section-header__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

.section-header__subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 620px;
  line-height: 1.7;
}

.section-header--center .section-header__subtitle {
  margin: 0 auto;
}

/* ===== Product Cards (Solutions) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.product-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card__name {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.product-card__tag {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 28px;
  flex-grow: 1;
}

.product-card__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.product-card__link:hover {
  gap: 10px;
}

.product-card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ===== Featured Playbook ===== */
.featured-playbook {
  background: var(--dark);
  color: #e0e0e0;
}

.featured-playbook__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: center;
}

.featured-playbook__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.featured-playbook__title {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.featured-playbook__desc {
  color: #b0b0b0;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.featured-playbook__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.featured-playbook__highlights {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-playbook__stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px 24px;
  text-align: center;
}

.featured-playbook__stat-number {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.featured-playbook__stat-label {
  font-size: 0.8rem;
  color: #999;
}

@media (max-width: 768px) {
  .featured-playbook__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-playbook__highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .featured-playbook__stat {
    flex: 1;
    min-width: 140px;
  }
}

/* ===== Advisory ===== */
.advisory-intro {
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 700px;
  margin-bottom: 56px;
  line-height: 1.8;
}

.advisory-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 72px;
}

.advisory-col {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.advisory-col__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.advisory-col__item {
  margin-bottom: 20px;
}

.advisory-col__item-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.advisory-col__item-desc {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.65;
}

.advisory-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advisory-detail {
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.advisory-detail__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.advisory-detail__list {
  list-style: none;
}

.advisory-detail__list li {
  font-size: 0.92rem;
  color: var(--text-medium);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.advisory-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

/* ===== Advisory Background ===== */
.advisory-background {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(90,14,29,0.04), rgba(179,153,132,0.08));
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

.advisory-background__text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

.advisory-background__creds {
  font-weight: 600;
  color: var(--primary);
}

/* ===== About ===== */
.about-hero {
  padding: 120px 0 80px;
  margin-top: var(--nav-height);
}

.about-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: calc(var(--nav-height) + 32px);
  text-align: center;
}

.about-photo__img {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  display: block;
  margin: 0 auto;
}

.about-photo__name {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  margin-top: 20px;
  text-align: center;
}

.about-photo__creds {
  font-size: 0.85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 32px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-creds-row {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.about-cred {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(90,14,29,0.05), rgba(179,153,132,0.08));
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
}

.about-cred svg {
  width: 18px;
  height: 18px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 48px 0 56px;
  margin-top: var(--nav-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #a0a0a0;
  padding: 56px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo svg {
  height: 37px;
  width: auto;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #888;
}

.footer__nav {
  display: flex;
  gap: 56px;
}

.footer__nav-group h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__nav-group ul {
  list-style: none;
}

.footer__nav-group li {
  margin-bottom: 10px;
}

.footer__nav-group a {
  font-size: 0.9rem;
  color: #888;
  transition: color 0.2s ease;
}

.footer__nav-group a:hover {
  color: var(--secondary);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
}

.footer__contact-link {
  color: var(--secondary) !important;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }

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

  .advisory-details {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-photo {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-text {
    text-align: left;
  }

  .about-creds-row {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav__links--open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__content {
    padding: 48px 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .footer__inner {
    flex-direction: column;
  }

  .footer__nav {
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-photo__img {
    width: 180px;
    height: 180px;
  }

  .advisory-col {
    padding: 28px 24px;
  }
}

/* ===== Research Grid ===== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.research-card {
  display: block;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.research-card__date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.research-card__title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin: 8px 0 10px;
}

.research-card__desc {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.65;
  margin-bottom: 16px;
}

.research-card__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.research-card:hover .research-card__link {
  gap: 10px;
}

/* ===== Links Grid ===== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.link-card {
  display: block;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.link-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.link-card__title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}

.link-card__desc {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.65;
  margin-bottom: 16px;
}

.link-card__url {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}

@media (max-width: 768px) {
  .research-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Playbook Explainer ===== */
.playbook-explainer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.playbook-explainer__image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.playbook-explainer__text p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.playbook-explainer__text p:last-child {
  margin-bottom: 0;
}

/* ===== Playbook Features ===== */
.playbook-features__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  max-width: 800px;
}

.playbook-features__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: var(--text);
  padding: 8px 0;
}

.playbook-features__list li svg {
  flex-shrink: 0;
}

/* ===== Edition Cards ===== */
.playbook-editions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.edition-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 36px 32px 28px;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.edition-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
}

.edition-card__quarter {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.edition-card__title {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 12px;
}

.edition-card__desc {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.edition-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.edition-card__price {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.edition-card__price small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.edition-card__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.edition-card:hover .edition-card__link {
  gap: 8px;
}

/* ===== Product Layout (single product) ===== */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}

.product-info p {
  font-size: 1.02rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 16px;
}

.product-checklist {
  list-style: none;
  margin-bottom: 20px;
}

.product-checklist li {
  font-size: 0.95rem;
  color: var(--text);
  padding: 6px 0 6px 28px;
  position: relative;
  line-height: 1.6;
}

.product-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(90,14,29,0.1), rgba(179,153,132,0.15));
  border: 2px solid var(--primary);
}

.product-checklist li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 17px;
  width: 5px;
  height: 3px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* ===== Purchase Card ===== */
.purchase-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.purchase-card__header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.purchase-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.purchase-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.purchase-card__amount {
  font-family: 'Quicksand', sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark);
}

.purchase-card__note {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 500;
}

.purchase-card__body {
  padding: 24px 28px 28px;
}

.purchase-card__includes {
  font-size: 0.9rem;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.purchase-card__methods h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ===== Payment Methods ===== */
.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.payment-method:last-child {
  border-bottom: none;
}

.payment-method__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(90,14,29,0.06), rgba(179,153,132,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.payment-method__info {
  flex: 1;
  min-width: 0;
}

.payment-method__name {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--dark);
}

.payment-method__detail {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
}

.payment-method__btn {
  padding: 8px 16px !important;
  font-size: 0.82rem !important;
  white-space: nowrap;
}

.purchase-card__fallback {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-light);
  text-align: center;
}

.purchase-card__fallback a {
  font-weight: 500;
}

/* ===== Footer Contact Links ===== */
.footer__contact-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__separator {
  color: #444;
}

@media (max-width: 968px) {
  .playbook-explainer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .playbook-features__list {
    grid-template-columns: 1fr;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .purchase-card-wrapper {
    position: static;
  }
}

@media (max-width: 768px) {
  .playbook-editions {
    grid-template-columns: 1fr;
  }

  .footer__contact-links {
    flex-direction: column;
    gap: 4px;
  }

  .footer__separator {
    display: none;
  }
}

/* ===== Currency Selector ===== */
.purchase-card__currency {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.purchase-card__currency label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
}

.currency-select {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.88rem;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23717171' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance: none;
  cursor: pointer;
  color: var(--text);
}

.currency-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ===== Promo Banner (Edition Page) ===== */
.promo-banner-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #fef9ee, #fdf3dc);
  border: 1px solid #e6c872;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.promo-banner-card__badge {
  display: inline-block;
  background: #c8962e;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.promo-banner-card__text {
  font-size: 0.85rem;
  color: #4a3c1f;
}

.promo-banner-card__text strong {
  font-family: monospace;
  background: rgba(200, 150, 46, 0.15);
  padding: 1px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

/* ===== Purchase Card Wrapper (holds promo banner + card) ===== */
.purchase-card-wrapper {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}

/* ===== Customer Info Fields ===== */
.customer-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.customer-fields input,
.customer-fields select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s;
}

.customer-fields select {
  appearance: auto;
  cursor: pointer;
}

.customer-fields input:focus,
.customer-fields select:focus {
  outline: none;
  border-color: var(--primary);
}

.customer-fields input.field-error,
.customer-fields select.field-error {
  border-color: #d32f2f;
}

/* ===== Payment Buttons (Credit Card / Google Pay) ===== */
.payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.payment-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
}

.payment-btn:hover {
  transform: translateY(-1px);
}

.payment-btn--gpay {
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
}

.payment-btn--gpay:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-btn--card {
  background: var(--dark);
  color: #fff;
}

.payment-btn--card:hover {
  background: #2a2a2a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.payment-btn--card.payment-btn--active {
  background: #2a2a2a;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.payment-btn--charge {
  background: var(--primary);
  color: #fff;
  margin-top: 8px;
}

.payment-btn--charge:hover {
  opacity: 0.9;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.payment-btn--charge:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ===== Hosted Fields (inline card entry) ===== */
.card-fields-section {
  margin-bottom: 8px;
}

.card-fields-form {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 16px;
  background: var(--bg-alt);
}

.card-field-group {
  margin-bottom: 12px;
}

.card-field-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 4px;
}

.card-field-row {
  display: flex;
  gap: 12px;
}

.card-field-group--half {
  flex: 1;
}

.hosted-field-container {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.hosted-field-container:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26, 26, 46, 0.1);
}

.hosted-field-container.hosted-fields-valid {
  border-color: #2e7d32;
}

.hosted-field-container.hosted-fields-invalid {
  border-color: #c62828;
}

.hf-field-error {
  font-size: 0.75rem;
  color: #c62828;
  min-height: 1em;
  margin-top: 2px;
}

.hosted-field-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Payment Trust Indicator ===== */
.payment-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 4px;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
.payment-trust svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ===== Payment Divider ("or pay with") ===== */
.payment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.payment-divider::before,
.payment-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.payment-divider span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* ===== Inline PayPal Buttons ===== */
#paypal-button-container {
  margin-bottom: 8px;
}

/* ===== Legacy Payment Sections (kept for backward compat) ===== */
.payment-section {
  margin-bottom: 20px;
}

.payment-section__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.payment-section__header small {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.78rem;
}

.payment-section__content {
  min-height: 60px;
}

/* Legacy Tranzila iframe (archived, kept for reference) */

/* Payment placeholder (when credentials not yet set) */
.payment-placeholder {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 16px;
  background: linear-gradient(135deg, rgba(90,14,29,0.03), rgba(179,153,132,0.06));
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.6;
}

.payment-placeholder a {
  font-weight: 500;
}

/* Payment error message */
.payment-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

/* Payment success message */
.payment-success {
  text-align: center;
  padding: 32px 16px;
}

.payment-success svg {
  margin: 0 auto 16px;
  display: block;
}

.payment-success h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #2e7d32;
}

.payment-success p {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ===== Promo Code Input ===== */
.purchase-card__promo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

#promo-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  text-transform: uppercase;
}

#promo-input::placeholder {
  text-transform: none;
}

#promo-apply {
  padding: 8px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

#promo-apply:hover {
  background: var(--primary);
  color: #fff;
}

#promo-message {
  font-size: 0.82rem;
  white-space: nowrap;
}

#promo-message.promo-success {
  color: #2e7d32;
}

#promo-message.promo-error {
  color: #991b1b;
}

.purchase-card__original-price {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 8px;
}

/* ===== Download Button (post-purchase) ===== */
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 16px;
  transition: opacity 0.2s;
}

.download-link:hover {
  opacity: 0.9;
}

/* ===== Nav gap adjustment for more items ===== */
@media (min-width: 769px) {
  .nav__links {
    gap: 24px;
  }
}
