/* ==========================================================================
   KaryaCraft — Premium Design System & Stylesheet
   Palette: Deep Teal (#0E7C66 / #14947A), Warm Saffron (#E8A33D / #F5C26B), Cream
   Typography: Fraunces (Display), Inter (UI & Body)
   ========================================================================== */

:root {
  /* Fonts */
  --font-display: 'Fraunces', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Color Palette — Dark Mode (Default) */
  --bg-primary: #0a0f0e;
  --bg-secondary: #0f1614;
  --bg-surface: #141c1a;
  --bg-surface-hover: #1a2522;
  --bg-glass: rgba(20, 28, 26, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(95, 216, 185, 0.3);
  --border-saffron: rgba(232, 163, 61, 0.35);

  --text-primary: #f2f7f5;
  --text-secondary: #9db2ac;
  --text-muted: #647a74;
  --text-inverse: #0a0f0e;

  --accent-teal: #14947a;
  --accent-teal-light: #5fd8b9;
  --accent-teal-subtle: rgba(20, 148, 122, 0.15);
  --accent-saffron: #e8a33d;
  --accent-saffron-light: #f5c26b;
  --accent-saffron-subtle: rgba(232, 163, 61, 0.15);

  --gradient-teal: linear-gradient(135deg, #14947a 0%, #0a5a4b 100%);
  --gradient-saffron: linear-gradient(135deg, #f5c26b 0%, #d98e26 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.5);
  --glow-teal: 0 0 40px rgba(20, 148, 122, 0.25);
  --glow-saffron: 0 0 40px rgba(232, 163, 61, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f6f9f8;
  --bg-secondary: #edf3f0;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f3f8f6;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(14, 124, 102, 0.35);
  --border-saffron: rgba(217, 142, 38, 0.35);

  --text-primary: #121917;
  --text-secondary: #4a635c;
  --text-muted: #79908a;
  --text-inverse: #ffffff;

  --accent-teal: #0e7c66;
  --accent-teal-light: #14947a;
  --accent-teal-subtle: rgba(14, 124, 102, 0.1);
  --accent-saffron: #d98e26;
  --accent-saffron-light: #e8a33d;
  --accent-saffron-subtle: rgba(217, 142, 38, 0.12);

  --gradient-teal: linear-gradient(135deg, #0e7c66 0%, #084c3e 100%);
  --gradient-saffron: linear-gradient(135deg, #e8a33d 0%, #c47c1a 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);

  --shadow-sm: 0 2px 8px rgba(18, 25, 23, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 25, 23, 0.08);
  --shadow-lg: 0 20px 48px rgba(18, 25, 23, 0.12);
  --glow-teal: 0 0 35px rgba(14, 124, 102, 0.15);
  --glow-saffron: 0 0 35px rgba(217, 142, 38, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-saffron);
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}

/* Typography */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }

p {
  color: var(--text-secondary);
}

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

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

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-saffron);
  font-weight: 600;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-teal-light);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.93rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-teal);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(20, 148, 122, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(20, 148, 122, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.btn-saffron {
  background: var(--gradient-saffron);
  color: #1a1202;
  box-shadow: 0 4px 18px rgba(232, 163, 61, 0.35);
}
.btn-saffron:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 163, 61, 0.45);
}

.theme-toggle {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  border-color: var(--accent-saffron);
  color: var(--accent-saffron);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
  padding-top: 170px;
  padding-bottom: 96px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-glow-teal {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-65%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 148, 122, 0.18) 0%, rgba(20, 148, 122, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-saffron {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(20%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.15) 0%, rgba(232, 163, 61, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-saffron-light);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.hero-title {
  max-width: 920px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.hero-desc {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

/* Interactive AI Task Assistant Demo */
.parser-demo-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  position: relative;
  z-index: 1;
}

.parser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
}
.window-dots span:nth-child(1) { background: #ff5f56; }
.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.parser-label {
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text-secondary);
}

.parser-body {
  padding: 24px;
}

.parser-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  transition: border-color var(--transition-fast);
}
.parser-input-box:focus-within {
  border-color: var(--accent-teal-light);
  box-shadow: 0 0 0 2px var(--accent-teal-subtle);
}

.parser-sparkle {
  color: var(--accent-saffron);
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.parser-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
}

.parser-sample-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

.sample-pill {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}
.sample-pill:hover {
  border-color: var(--accent-teal-light);
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  transform: translateY(-1px);
}
.sample-pill:active {
  transform: translateY(0);
}

/* Parsed Result Draft Preview */
.draft-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-saffron);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
}

.draft-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.draft-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-saffron);
  background: var(--accent-saffron-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.draft-meta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.draft-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-badge {
  background: var(--accent-teal-subtle);
  color: var(--accent-teal-light);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   PILLARS & PHILOSOPHY
   ═══════════════════════════════════════════════════════════════ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-normal);
  background-image: var(--gradient-card);
}
.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-teal-subtle);
  color: var(--accent-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background: var(--accent-saffron-subtle);
  color: var(--accent-saffron);
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE SHOWCASE / APP HIGHLIGHTS
   ═══════════════════════════════════════════════════════════════ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 96px;
}

.feature-row.reverse {
  direction: rtl;
}
.feature-row.reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
    direction: ltr;
  }
}

.feature-pill {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal-light);
  margin-bottom: 14px;
  display: inline-block;
}

.feature-heading {
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-checklist .check-icon {
  color: var(--accent-teal-light);
  font-weight: bold;
}

.feature-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ═══════════════════════════════════════════════════════════════ */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
}

.comparison-table th.highlight,
.comparison-table td.highlight {
  background: var(--accent-teal-subtle);
  color: var(--accent-teal-light);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.faq-item.active {
  border-color: var(--accent-teal-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-teal-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   PROSE / CONTENT PAGES (Privacy, Terms, Contact)
   ═══════════════════════════════════════════════════════════════ */
.page-hero {
  padding-top: 150px;
  padding-bottom: 56px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a:hover {
  color: var(--accent-teal-light);
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.prose h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.prose p, .prose ul, .prose ol {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.prose ul, .prose ol {
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose code {
  font-family: var(--font-mono);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-teal-light);
}

.prose a {
  color: var(--accent-teal-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
}
.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-teal-subtle);
  color: var(--accent-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin: 16px 0 24px;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.footer-col a:hover {
  color: var(--accent-teal-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.f-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   IN-APP WEBVIEW EMBED STYLING (?inapp=true or WebView)
   ═══════════════════════════════════════════════════════════════ */
html.in-app,
html.in-app body {
  background: var(--bg-primary) !important;
  padding-top: 0 !important;
}

html.in-app .navbar,
html.in-app .footer,
html.in-app .breadcrumb {
  display: none !important;
}

html.in-app .page-hero {
  padding: 24px 0 16px !important;
  background: transparent !important;
  border-bottom: 1px solid var(--border-color);
}

html.in-app .page-hero h1 {
  font-size: 1.65rem !important;
  margin-bottom: 6px !important;
}

html.in-app .page-hero p {
  font-size: 0.88rem !important;
}

html.in-app .section {
  padding: 20px 0 48px !important;
}

html.in-app .container {
  max-width: 760px;
  padding: 0 20px;
}
