/* ==========================================================================
   THEME PALETTE (Modify these variables to change your whole site theme)
   ========================================================================== */
:root {
  /* Font Families */
  --font-display: "Fraunces", serif;
  --font-body: "Inter", sans-serif;

  /* Brand Colors */
  --color-primary: #013539;       /* Dark teal background / header */
  --color-primary-light: #0a3d46; /* Shaded teal background */
  --color-accent: #99bd25;        /* Lime green highlight accent */
  --color-accent-soft: #d8e57b;   /* Soft pale chartreuse tint */
  --color-slate: #1e4856;         /* Secondary deep content contrast */

  /* Text Colors */
  --text-dark: #0f2f37;
  --text-muted: #36525a;
  --text-muted-light: #4b6870;
  --text-white: #ffffff;

  /* Layout / Surfaces */
  --bg-page: #edf4ef;
  --bg-page-light: #f5f8f5;
  --bg-card: #ffffff;
  --bg-card-tint: #eff5f1;
  --border-color: rgba(30, 72, 86, 0.14);
  
  /* Shadows */
  --shadow-soft: 0 24px 60px rgba(1, 53, 57, 0.08);
  --shadow-timeline: 0 16px 40px rgba(1, 53, 57, 0.06);
}

/* ==========================================================================
   BASE & TYPOGRAPHY RESETS
   ========================================================================== */
html {
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-page-light);
}

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

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.card-soft { box-shadow: var(--shadow-soft); }

h1 { font-size: 3.5rem; font-weight: 700; line-height: 1.1; color: var(--text-white); }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.25; color: var(--color-primary); }
h3 { font-size: 1.5rem; font-weight: 600; color: var(--color-primary); }
p { margin: 0; font-size: 1rem; line-height: 1.6; }

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

/* ==========================================================================
   LAYOUT STRUCTURES
   ========================================================================== */
.page-background {
  min-height: 100vh;
  background-image: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 22%, var(--bg-page) 22%, var(--bg-page-light) 100%);
}

.hero-section {
  width: 100%;
}

.hero-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding: 2.5rem 2rem 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-eyebrow {
  border-radius: 9999px;
  border: 1px solid rgba(216, 229, 123, 0.4);
  background-color: var(--color-accent);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
}

.hero-title span {
  color: var(--color-accent-soft);
}

.hero-intro {
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.main-content {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  max-width: 80rem;
  flex-direction: column;
  gap: 3rem;
  padding: 2rem;
}

/* ==========================================================================
   STORY COMPONENTS
   ========================================================================== */
.story-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.content-card {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 2rem;
}

.section-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-accent {
  height: 2.5rem;
  width: 0.25rem;
  border-radius: 9999px;
  background-color: var(--color-accent);
}

.section-heading-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1a5c71;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--text-muted);
}

.text-highlight {
  font-weight: 600;
  color: var(--color-primary);
}

/* Callout Box */
.highlight-callout {
  margin-top: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(216, 229, 123, 0.4);
  background-image: linear-gradient(135deg, #f4f8dc 0%, #fbfdf2 100%);
  padding: 1.5rem;
}

.highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-badge {
  display: flex;
  height: 3rem;
  width: 3rem;
  min-width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-primary);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-accent-soft);
}

.highlight-title {
  font-size: 1.125rem;
  color: var(--text-dark);
  font-weight: 700;
}

.highlight-text {
  color: var(--text-dark);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

/* Sidebar Graphics */
.story-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-card {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

.image-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(30, 72, 86, 0.1);
  padding: 1rem 1.5rem;
}

.header-icon {
  height: 1.75rem;
  width: 1.75rem;
}

.header-tag {
  border-radius: 9999px;
  background-color: var(--bg-page);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1a5c71;
}

.section-image {
  height: 320px;
  width: 100%;
  object-fit: cover;
}

.image-caption {
  padding: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

.support-card {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-color: rgba(239, 245, 241, 1);
  padding: 1.5rem;
}

.support-header {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.support-title {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-bullet {
  margin-top: 0.35rem;
  height: 0.625rem;
  width: 0.625rem;
  min-width: 0.625rem;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* ==========================================================================
   TIMELINE PLATFORM (Center Line Layout)
   ========================================================================== */
.timeline-section {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 2rem;
}

.timeline-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.timeline-heading-group {
  display: flex;
  max-width: 48rem;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-note {
  border-radius: 1rem;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: var(--bg-page-light);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.timeline-shell {
  position: relative;
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

/* Central vertical split rule */
.timeline-shell::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(30, 72, 86, 0.08) 0%, rgba(30, 72, 86, 0.22) 10%, rgba(153, 189, 37, 0.35) 50%, rgba(30, 72, 86, 0.22) 90%, rgba(30, 72, 86, 0.08) 100%);
}

.timeline-row {
  position: relative;
  width: 50%;
  padding: 0 2rem 1.25rem 2rem;
}

/* Timeline nodes */
.timeline-row::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-accent);
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 4px rgba(30, 72, 86, 0.12);
  z-index: 2;
}

.timeline-left { left: 0; text-align: right; }
.timeline-left::after { right: -7px; }
.timeline-right { left: 50%; }
.timeline-right::after { left: -7px; }

.timeline-panel {
  border-radius: 24px;
  border: 1px solid rgba(30, 72, 86, 0.12);
  background: linear-gradient(180deg, var(--bg-card) 0%, #f9fcf9 100%);
  padding: 1.25rem 1.25rem 1.1rem;
  box-shadow: var(--shadow-timeline);
}

.timeline-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: var(--bg-page-light);
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-slate);
}

.timeline-dotline {
  display: inline-block;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.timeline-panel-title {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-primary);
}

.timeline-panel-text {
  color: var(--text-muted-light);
  font-size: 0.95rem;
}

/* Future/Upcoming State Modifier */
.timeline-future {
  border-color: rgba(153, 189, 37, 0.45);
  background: linear-gradient(135deg, #f4f8dc 0%, var(--bg-card) 100%);
}

.timeline-future .timeline-kicker {
  background-color: rgba(216, 229, 123, 0.22);
  border-color: rgba(153, 189, 37, 0.24);
  color: var(--color-primary);
}

.timeline-summary {
  margin-top: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: #f7faf7;
  padding: 1rem 1.25rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PLATFORM GRID VIEWS
   ========================================================================== */
.platform-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.platform-card {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-image: linear-gradient(180deg, var(--bg-card-tint) 0%, var(--bg-card) 100%);
  padding: 2rem;
}

.mini-summary-card {
  margin-top: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: #f7faf7;
  padding: 1.25rem;
}

.mini-summary-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mini-summary-badge {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  min-width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-soft);
}

.mini-summary-text {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

.comparison-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comparison-card {
  border-radius: 1rem;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: var(--bg-card);
  padding: 1rem;
}

.comparison-label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1a5c71;
}

.comparison-text {
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

/* ==========================================================================
   CREATOR & MASCOT FOOTER STYLES
   ========================================================================== */
.creator-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.creator-spotlight {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-image: linear-gradient(160deg, var(--color-primary) 0%, var(--color-slate) 100%);
  padding: 2rem;
}

.creator-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spotlight-eyebrow {
  width: max-content;
  border-radius: 9999px;
  border: 1px solid rgba(216, 229, 123, 0.4);
  background-color: var(--color-accent-soft);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
}

.spotlight-title {
  font-size: 2.25rem;
  line-height: 1.25;
  color: var(--text-white);
}

.spotlight-text {
  color: rgba(255, 255, 255, 0.8);
}

.creator-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.creator-stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

.creator-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent-soft);
}

.creator-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.reality-blocks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reality-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.reality-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.reality-tag {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(216, 229, 123, 0.9);
  font-weight: 700;
}

/* Mascot Section */
.mascot-section {
  border-radius: 32px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 2rem;
}

.mascot-badge {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: var(--color-accent);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary);
}

.mascot-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem;
}

.mascot-visual-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: var(--bg-card-tint);
}

.mascot-image {
  height: 100%;
  min-height: 340px;
  width: 100%;
  object-fit: cover;
}

.mascot-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pronunciation-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(30, 72, 86, 0.1);
  background-color: #f7faf7;
  padding: 1.25rem;
}

.pronunciation-label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #1a5c71;
}

.pronunciation-text {
  font-size: 1.875rem;
  color: var(--color-primary);
}

.pronunciation-note {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted-light);
}

.ownership-notice {
  border-radius: 1.5rem;
  border: 1px solid rgba(216, 229, 123, 0.45);
  background-image: linear-gradient(135deg, #f4f8dc 0%, var(--bg-card) 100%);
  padding: 1.25rem;
}

.ownership-label {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #1a5c71;
}

.ownership-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE QUERIES (TABLETS & LAPTOPS)
   ========================================================================== */
@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 1.75rem; }

  .hero-container, .main-content { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero-grid, .story-section, .platform-section, .creator-section, .mascot-grid {
    grid-template-columns: 1fr;
  }
  
  .content-card, .timeline-section, .platform-card, .creator-spotlight, .mascot-section {
    padding: 1.5rem;
  }
  
  .highlight-row { flex-direction: column; }
  .section-image { height: 260px; }
  .timeline-header { flex-direction: column; align-items: flex-start; }

  /* Collapse timeline central rule to a single left margin thread */
  .timeline-shell::after { left: 1rem; margin-left: 0; }
  .timeline-row { width: 100%; left: 0; padding: 0 0 1rem 2.75rem; text-align: left; }
  .timeline-row::after, .timeline-left::after, .timeline-right::after { left: 0.56rem; right: auto; }
  .timeline-panel { padding: 1.1rem 1rem; }
}

/* ==========================================================================
   RESPONSIVE QUERIES (MOBILE DEVICES)
   ========================================================================== */
@media (max-width: 480px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.5rem; }

  .hero-container, .main-content { padding-left: 1rem; padding-right: 1rem; }
  .content-card, .timeline-section, .platform-card, .creator-spotlight, .mascot-section {
    padding: 1.25rem;
  }
  
  .comparison-grid, .creator-stats { grid-template-columns: 1fr; }
  .timeline-shell::after { left: 0.9rem; }
  .timeline-row { padding-left: 2.4rem; }
  .timeline-row::after, .timeline-left::after, .timeline-right::after { left: 0.46rem; }
}