/* ==========================================================================
   MAPLE RELAY · EDITORIAL MAGAZINE THEME
   Inspired by Monocle & Kinfolk Aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Noto+Serif+SC:wght@300;400;500;600;700;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-paper: #F9F8F6;
  --bg-paper-alt: #F2EFE9;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FAF9F6;
  --bg-dark-paper: #181716;

  --text-main: #1F1F1F;
  --text-secondary: #4A4641;
  --text-muted: #7A756D;
  --text-inverse: #F9F8F6;

  --accent-burgundy: #6E1E24;
  --accent-burgundy-hover: #8A242C;
  --accent-burgundy-subtle: rgba(110, 30, 36, 0.08);
  
  --accent-forest: #1B3B2B;
  --accent-forest-subtle: rgba(27, 59, 43, 0.08);

  --border-hairline: rgba(31, 31, 31, 0.12);
  --border-medium: rgba(31, 31, 31, 0.22);
  --border-strong: #1F1F1F;
  --border-burgundy: rgba(110, 30, 36, 0.3);

  --font-serif-title: "Playfair Display", "Noto Serif SC", "Songti SC", serif;
  --font-serif-body: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  --container-max: 1320px;
  --container-narrow: 880px;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-paper);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-paper);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Canvas & Ambient Layer */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.paper-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  opacity: 0.6;
}

.site-wrap {
  position: relative;
  z-index: 2;
}

/* Link Styles */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a.editorial-link {
  color: var(--accent-burgundy);
  border-bottom: 1px solid var(--border-burgundy);
  padding-bottom: 1px;
}

a.editorial-link:hover {
  color: var(--accent-burgundy-hover);
  border-bottom-color: var(--accent-burgundy-hover);
}

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hairline Dividers */
.hairline-divider {
  width: 100%;
  height: 1px;
  background: var(--border-hairline);
  margin: 0;
  border: none;
}

.hairline-divider-strong {
  width: 100%;
  height: 1.5px;
  background: var(--text-main);
  margin: 0;
  border: none;
}

/* ==========================================================================
   TOP ISSUE BAR (MAGAZINE ADVERTISING / ISSUE HEADLINE)
   ========================================================================== */
.top-issue-bar {
  background: var(--bg-dark-paper);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
}

.top-issue-bar .issue-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
}

.top-issue-bar .issue-tag {
  background: var(--accent-burgundy);
  color: #FFF;
  font-size: 0.6875rem;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-issue-bar .issue-cta {
  color: #F9F8F6;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.top-issue-bar .issue-cta:hover {
  color: #E2B6B9;
  border-bottom-color: #E2B6B9;
}

/* ==========================================================================
   MASTHEAD & EDITORIAL HEADER
   ========================================================================== */
.editorial-masthead {
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(249, 248, 246, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 99;
}

.masthead-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.masthead-main-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.brand-editorial {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo-text {
  font-family: var(--font-serif-title);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo-text span {
  color: var(--accent-burgundy);
}

.brand-descriptor {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-left: 1px solid var(--border-hairline);
  padding-left: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

/* Nav Links - Guaranteed single line horizontal layout */
.editorial-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.3vw, 1.6rem);
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.nav-link {
  font-size: clamp(0.78rem, 0.85vw, 0.86rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-burgundy);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--accent-burgundy);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-special {
  color: var(--accent-forest);
  font-weight: 600;
  background: var(--accent-forest-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  border: 1px solid rgba(27, 59, 43, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: clamp(0.75rem, 0.82vw, 0.82rem);
  display: inline-block;
}

.nav-link-special:hover {
  background: var(--accent-forest);
  color: #FFF;
}

.nav-link-special::after {
  display: none;
}

/* Primary CTA Button */
.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-burgundy);
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--accent-burgundy);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-editorial-primary:hover {
  background: var(--accent-burgundy-hover);
  border-color: var(--accent-burgundy-hover);
  color: #FFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(110, 30, 36, 0.18);
}

.btn-editorial-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-editorial-outline:hover {
  background: var(--text-main);
  color: var(--bg-paper);
}

/* ==========================================================================
   SECTION 1: HERO EDITORIAL (KINFOLK / MONOCLE COVER FEATURE)
   ========================================================================== */
.hero-editorial-section {
  padding: 3.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.hero-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-burgundy);
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-forest);
}

.hero-kicker::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--accent-forest);
}

.hero-title {
  font-family: var(--font-serif-title);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.hero-lead-text {
  font-family: var(--font-serif-body);
  font-size: 1.42rem;
  line-height: 1.55;
  color: var(--text-secondary);
  font-style: italic;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-burgundy);
}

.hero-body-text {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-hairline);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Hero Visual / Photography Frame */
.hero-visual-col {
  position: relative;
}

.editorial-photo-frame {
  position: relative;
  border: 1px solid var(--border-hairline);
  background: #FFF;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.editorial-photo-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  filter: contrast(102%) saturate(98%);
}

.photo-caption {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  line-height: 1.5;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: space-between;
}

.photo-caption-tag {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-burgundy);
}

/* ==========================================================================
   SECTION HEADER (UNIVERSAL EDITORIAL COMPONENT)
   ========================================================================== */
.editorial-section-header {
  margin-bottom: 2.75rem;
  position: relative;
}

.section-label-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 1.5rem;
}

.section-index {
  font-family: var(--font-mono);
  color: var(--accent-burgundy);
  font-weight: 600;
}

.section-heading-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: baseline;
}

.section-main-title {
  font-family: var(--font-serif-title);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

.section-subtitle-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   SECTION 3: NODE LATENCY & TELEMETRY BOARD
   ========================================================================== */
.telemetry-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-paper-alt);
}

.telemetry-board {
  border: 1px solid var(--border-hairline);
  background: #FFF;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden;
}

.telemetry-toolbar {
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #FAF9F6;
}

.region-tabs {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.tab-btn.active, .tab-btn:hover {
  background: #FFF;
  border-color: var(--border-hairline);
  color: var(--accent-burgundy);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.telemetry-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1B7A42;
  box-shadow: 0 0 0 0 rgba(27, 122, 66, 0.5);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(27, 122, 66, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(27, 122, 66, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(27, 122, 66, 0); }
}

/* Node Table */
.node-table-wrap {
  overflow-x: auto;
}

.node-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.node-table th {
  padding: 0.85rem 1.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: #FCFBF9;
  border-bottom: 1px solid var(--border-hairline);
}

.node-table td {
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

.node-table tr:last-child td {
  border-bottom: none;
}

.node-table tr:hover td {
  background: #FDFCF9;
}

.node-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.node-flag {
  font-size: 1.15rem;
}

.node-title-group {
  display: flex;
  flex-direction: column;
}

.node-title {
  font-weight: 600;
  color: var(--text-main);
}

.node-route {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  background: var(--bg-paper-alt);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
}

.badge-tag.tag-ip {
  background: var(--accent-forest-subtle);
  color: var(--accent-forest);
  border-color: rgba(27, 59, 43, 0.18);
  font-weight: 600;
}

.latency-value {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #1B7A42;
  font-size: 0.92rem;
}

.status-badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1B7A42;
}

.ping-trigger-btn {
  background: transparent;
  border: 1px solid var(--border-hairline);
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: 2px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.ping-trigger-btn:hover {
  border-color: var(--accent-burgundy);
  color: var(--accent-burgundy);
  background: var(--accent-burgundy-subtle);
}

/* ==========================================================================
   SECTION 4: CORE ADVANTAGES (KINFOLK EDITORIAL STYLE)
   ========================================================================== */
.advantages-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.advantages-magazine-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: flex-start;
}

.advantages-visual-sticky {
  position: sticky;
  top: 90px;
}

.editorial-quote-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #FFF;
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--accent-burgundy);
}

.editorial-quote-card p {
  font-family: var(--font-serif-body);
  font-size: 1.25rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--text-main);
}

.quote-author {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.advantage-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
}

.advantage-item:first-child {
  padding-top: 0;
}

.adv-num {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--accent-burgundy);
  line-height: 1;
}

.adv-content h3 {
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.adv-content p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.adv-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.adv-pill {
  font-size: 0.7rem;
  font-weight: 500;
  background: #FFF;
  border: 1px solid var(--border-hairline);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 5: SUBSCRIPTION EDITIONS / PRICING
   ========================================================================== */
.pricing-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-paper);
}

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

.pricing-card {
  background: #FFF;
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: var(--border-medium);
}

.pricing-card.featured {
  border: 1.5px solid var(--accent-burgundy);
  background: #FFFDFD;
  box-shadow: 0 12px 32px rgba(110, 30, 36, 0.08);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-burgundy);
  color: #FFF;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 2px;
}

.plan-header {
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
}

.plan-edition-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

.plan-title {
  font-family: var(--font-serif-title);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0.4rem 0 0.6rem;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.plan-price-wrap {
  margin: 1.25rem 0 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.currency-symbol {
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-burgundy);
}

.price-amount {
  font-family: var(--font-serif-title);
  font-size: 2.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.price-billing-cycle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.plan-features-list {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.feature-check {
  color: var(--accent-forest);
  font-weight: 700;
  font-size: 0.95rem;
}

.plan-action-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ==========================================================================
   SECTION 6: FREQUENTLY ASKED QUESTIONS (EDITORIAL INQUIRIES)
   ========================================================================== */
.faq-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-paper-alt);
}

.faq-container {
  max-width: 920px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #FFF;
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--accent-burgundy);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.75rem;
  font-family: var(--font-serif-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--accent-burgundy);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
  background: #FCFBF9;
}

.faq-item.active .faq-answer-panel {
  max-height: 600px;
  padding-bottom: 1.35rem;
  border-top: 1px dashed var(--border-hairline);
}

.faq-answer-panel p {
  padding-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 7: USER TESTIMONIALS (LETTERS TO THE EDITOR)
   ========================================================================== */
.testimonials-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.letters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.letter-card {
  background: #FFF;
  border: 1px solid var(--border-hairline);
  padding: 2.25rem;
  border-radius: 2px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}

.letter-stamp {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-burgundy);
  border: 1px dashed var(--accent-burgundy);
  padding: 0.2rem 0.5rem;
}

.letter-body {
  font-family: var(--font-serif-body);
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-main);
  margin: 1.5rem 0 2rem;
  font-style: italic;
}

.letter-footer {
  border-top: 1px solid var(--border-hairline);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sender-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
}

.sender-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sender-location {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-forest);
}

/* ==========================================================================
   KNOWLEDGE ARCHIVE PROMO (INTERNAL CROSS-LINK BANNER ON HOMEPAGE)
   ========================================================================== */
.knowledge-banner-section {
  padding: 4.5rem 0;
  background: #181716;
  color: #FFF;
}

.knowledge-banner-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.knowledge-banner-content h2 {
  font-family: var(--font-serif-title);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: #F9F8F6;
  margin: 0.6rem 0 1rem;
}

.knowledge-banner-content p {
  font-size: 0.95rem;
  color: #A9A59E;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.banner-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.banner-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2DFD9;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
}

/* ==========================================================================
   FOOTER (MONOCLE EDITORIAL COLOPHON)
   ========================================================================== */
.editorial-footer {
  background: var(--bg-paper);
  border-top: 1.5px solid var(--text-main);
  padding: 4.5rem 0 3rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

.footer-brand h4 {
  font-family: var(--font-serif-title);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 380px;
}

.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a:hover {
  color: var(--accent-burgundy);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-hairline);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   KNOWLEDGE ARCHIVE PAGE (KNOWLEDGE.HTML) STYLES
   ========================================================================== */
.archive-hero {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--border-hairline);
}

.archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.archive-breadcrumb a {
  color: var(--accent-burgundy);
}

.archive-header-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.archive-title {
  font-family: var(--font-serif-title);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

.archive-subhead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-top: 1rem;
}

.archive-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 2rem;
  padding: 0.85rem 1.25rem;
  background: #FFF;
  border: 1px solid var(--border-hairline);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--bg-paper-alt);
  border-color: var(--border-hairline);
  color: var(--accent-burgundy);
  font-weight: 600;
}

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

.article-card {
  background: #FFF;
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-burgundy);
  box-shadow: 0 14px 32px rgba(110, 30, 36, 0.07);
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.article-card-category {
  color: var(--accent-burgundy);
  font-weight: 600;
}

.article-card-title {
  font-family: var(--font-serif-title);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.article-card-title a:hover {
  color: var(--accent-burgundy);
}

.article-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.article-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.article-tag {
  font-size: 0.7rem;
  background: var(--bg-paper-alt);
  color: var(--text-secondary);
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  border: 1px solid var(--border-hairline);
}

.article-card-footer {
  border-top: 1px solid var(--border-hairline);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.reading-stats {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.read-btn {
  font-weight: 600;
  color: var(--accent-burgundy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-btn:hover {
  color: var(--accent-burgundy-hover);
  transform: translateX(3px);
}

/* ==========================================================================
   INDIVIDUAL ARTICLE STANDALONE STYLES (ARTICLE-*.HTML)
   ========================================================================== */
.article-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.article-meta-lead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-burgundy);
  font-weight: 600;
  margin-bottom: 1rem;
}

.article-main-title {
  font-family: var(--font-serif-title);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.015em;
  margin-bottom: 1.5rem;
}

.article-subtitle {
  font-family: var(--font-serif-body);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent-burgundy);
}

.article-author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar-initials {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-burgundy-subtle);
  color: var(--accent-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(110, 30, 36, 0.2);
}

.article-body-content {
  padding: 3.5rem 0 5rem;
  font-size: 1.05rem;
  line-height: 1.95;
  color: #2D2A26;
}

.article-body-content p {
  margin-bottom: 1.75rem;
}

.article-body-content h2 {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 3.25rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-hairline);
}

.article-body-content h3 {
  font-family: var(--font-serif-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2.25rem 0 0.85rem;
}

.drop-cap::first-letter {
  font-family: var(--font-serif-title);
  float: left;
  font-size: 4.5rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 12px;
  padding-bottom: 4px;
  color: var(--accent-burgundy);
  font-weight: 700;
}

.article-pullquote {
  margin: 2.5rem 0;
  padding: 1.75rem 2.25rem;
  background: #FFF;
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--accent-burgundy);
  font-family: var(--font-serif-body);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-main);
}

.article-infobox {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-paper-alt);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
}

.article-infobox h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-forest);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.article-table-wrap {
  margin: 2.5rem 0;
  overflow-x: auto;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.article-table th {
  background: #FFF;
  border: 1px solid var(--border-hairline);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
}

.article-table td {
  border: 1px solid var(--border-hairline);
  padding: 0.85rem 1.25rem;
  color: var(--text-secondary);
}

.article-table tr:nth-child(even) td {
  background: #FAF9F6;
}

.article-code-block {
  margin: 2rem 0;
  background: #1E1D1B;
  color: #E6E4DF;
  padding: 1.35rem 1.75rem;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
}

.article-end-cta {
  margin: 4.5rem 0 2rem;
  padding: 3rem 2.5rem;
  background: #FFF;
  border: 1.5px solid var(--accent-burgundy);
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(110, 30, 36, 0.05);
}

.article-end-cta h3 {
  font-family: var(--font-serif-title);
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.article-end-cta p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1260px) {
  .editorial-nav {
    gap: 0.85rem;
  }
  .brand-descriptor {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding-left: 0.5rem;
  }
}

@media (max-width: 1120px) {
  .brand-descriptor {
    display: none; /* Hide subtitle descriptor on intermediate widths so all 6 navigation links stay cleanly on one row */
  }
  .editorial-nav {
    gap: 0.75rem;
  }
  .btn-editorial-primary {
    padding: 0.55rem 0.95rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .advantages-magazine-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .advantages-visual-sticky {
    position: static;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-heading-wrap {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .letters-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-banner-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .masthead-main-row {
    flex-wrap: wrap;
    gap: 0.85rem;
  }
  .editorial-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1.15rem;
  }
  .editorial-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .masthead-meta-row {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }
  .top-issue-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

