/* ==========================================================================
   Truly — Short News App (Inshorts-Inspired Premium Editorial Design System)
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-page: #f7f8fa;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f3f6;
  --bg-dark: #111317;
  --bg-dark-elevated: #1b1e25;

  /* Signature Inshorts-inspired Crimson Accent */
  --brand: #f44336;
  --brand-deep: #d92d20;
  --brand-soft: rgba(244, 67, 54, 0.08);
  --brand-border: rgba(244, 67, 54, 0.22);
  --brand-glow: rgba(244, 67, 54, 0.28);

  /* Ink & Typography */
  --ink-primary: #111317;
  --ink-secondary: #374151;
  --ink-body: #4b5563;
  --ink-muted: #6b7280;
  --ink-faint: #9ca3af;
  --ink-on-dark: #f9fafb;

  /* Borders & Dividers */
  --border-light: rgba(17, 19, 23, 0.08);
  --border-medium: rgba(17, 19, 23, 0.14);

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(17, 19, 23, 0.04);
  --shadow-sm: 0 4px 14px rgba(17, 19, 23, 0.05);
  --shadow-card: 0 2px 10px rgba(17, 19, 23, 0.06), 0 12px 28px rgba(17, 19, 23, 0.04);
  --shadow-card-hover: 0 10px 30px rgba(17, 19, 23, 0.09), 0 2px 8px rgba(17, 19, 23, 0.04);
  --shadow-phone: 0 32px 72px -12px rgba(17, 19, 23, 0.28), 0 12px 28px -8px rgba(17, 19, 23, 0.14);

  /* Radii & Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --container-max: 1180px;
  --feed-max: 900px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-primary);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.feed-container {
  width: 100%;
  max-width: var(--feed-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header / Navbar (Inshorts Crisp White Elevation)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(17, 19, 23, 0.06);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 6px 16px var(--brand-glow);
  flex-shrink: 0;
}

.brand-wordmark span {
  color: var(--brand);
}

.brand-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-left: 1px solid var(--border-medium);
  padding-left: 10px;
  margin-left: 2px;
  display: none;
}

@media (min-width: 900px) {
  .brand-tag {
    display: inline-block;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 860px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.18s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language Switcher (EN / HI like Inshorts) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.lang-btn {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease-out);
}

.lang-btn.is-active {
  background: var(--bg-surface);
  color: var(--ink-primary);
  box-shadow: var(--shadow-xs);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s ease, color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px var(--brand-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -4px rgba(244, 67, 54, 0.38);
}

.btn-dark {
  background: var(--ink-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(17, 19, 23, 0.28);
}

.btn-dark:hover {
  background: #232730;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--ink-primary);
  background: var(--bg-subtle);
}

.header-cta {
  display: none;
}

@media (min-width: 560px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--ink-primary);
}

@media (min-width: 860px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-drawer-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-secondary);
  padding: 6px 0;
}

/* ==========================================================================
   Hero Section (Classic Inshorts Split Elevated)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-surface);
  padding: 54px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 67, 54, 0.08) 0%, rgba(244, 67, 54, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
}

@media (min-width: 960px) {
  .hero {
    padding: 64px 0 84px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.55);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(244, 67, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 67, 54, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  margin: 0 0 20px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brand);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink-body);
  max-width: 520px;
  margin: 0 0 32px;
}

/* Official Store Badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 14px;
  min-width: 174px;
  box-shadow: 0 12px 24px -8px rgba(17, 19, 23, 0.3);
  transition: transform 0.2s var(--ease-out), background 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #1f242d;
  box-shadow: 0 16px 30px -8px rgba(17, 19, 23, 0.36);
}

.store-badge--light {
  background: #ffffff;
  color: var(--ink-primary);
  box-shadow: 0 12px 26px -6px rgba(17, 19, 23, 0.2);
}

.store-badge--light:hover {
  background: #f9fafb;
}

.store-badge--light .store-sub {
  color: var(--ink-muted);
}

.store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.store-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
}

.read-web-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.2s ease;
}

.read-web-link:hover {
  gap: 12px;
}

.qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--border-medium);
  transition: all 0.2s ease;
}

.qr-trigger:hover {
  color: var(--ink-primary);
  border-color: var(--ink-primary);
  background: var(--bg-subtle);
}

.hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.pillar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.pillar-item svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Hero Phone Mockup (Truly Mobile Card Preview)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-stage {
  position: relative;
  width: 316px;
}

.phone-backdrop-card {
  position: absolute;
  inset: 28px -22px -16px 22px;
  border-radius: 42px;
  background: linear-gradient(145deg, #fff5f4 0%, #f3f4f6 100%);
  border: 1px solid var(--border-light);
  z-index: 0;
}

.phone-device {
  position: relative;
  z-index: 2;
  width: 316px;
  height: 628px;
  background: #14161b;
  border-radius: 46px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-statusbar {
  height: 40px;
  padding: 10px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-primary);
  position: relative;
  flex-shrink: 0;
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
  width: 84px;
  height: 22px;
  background: #111317;
  border-radius: 14px;
}

.phone-app-topbar {
  padding: 8px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.phone-tab-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
}

.phone-tab {
  color: var(--ink-muted);
  position: relative;
}

.phone-tab.is-active {
  color: var(--ink-primary);
}

.phone-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2.5px;
  background: var(--brand);
  border-radius: 2px;
}

.phone-counter {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

/* Phone News Card Body */
.phone-card-viewport {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.22s ease, transform 0.28s var(--ease-out);
}

.phone-card-viewport.is-transitioning {
  opacity: 0;
  transform: translateY(10px);
}

.phone-card-media {
  height: 205px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card-cat {
  position: absolute;
  left: 14px;
  bottom: 12px;
  background: rgba(17, 19, 23, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.phone-card-content {
  flex: 1;
  padding: 16px 18px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-card-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
  margin: 0 0 8px;
}

.phone-card-body {
  font-size: 12.5px;
  line-height: 1.56;
  color: var(--ink-body);
  margin: 0;
}

.phone-card-meta {
  font-size: 10.5px;
  color: var(--ink-muted);
  margin-top: 10px;
}

.phone-card-footer {
  padding: 10px 18px 14px;
  background: #fafafa;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.phone-source-tap {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.phone-source-tap strong {
  color: var(--brand);
}

.phone-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  display: grid;
  place-items: center;
  color: var(--ink-primary);
  transition: all 0.16s ease;
}

.phone-nav-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

/* Floating Micro Badges around Phone */
.floating-chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 14px 32px rgba(17, 19, 23, 0.11);
  display: none;
  align-items: center;
  gap: 10px;
}

@media (min-width: 520px) {
  .floating-chip {
    display: flex;
  }
}

.floating-chip--top {
  top: 72px;
  left: -58px;
}

.floating-chip--bottom {
  bottom: 84px;
  right: -52px;
}

.chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chip-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.2;
}

.chip-sub {
  font-size: 11px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Signature Inshorts Crimson Download Ribbon
   ========================================================================== */
.download-ribbon {
  background: linear-gradient(120deg, #e53935 0%, #f44336 48%, #d32f2f 100%);
  color: #ffffff;
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.download-ribbon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.14), transparent 55%);
  pointer-events: none;
}

.ribbon-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: center;
}

@media (min-width: 820px) {
  .ribbon-inner {
    flex-direction: row;
    text-align: left;
  }
}

.ribbon-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ribbon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: none;
  place-items: center;
  flex-shrink: 0;
}

@media (min-width: 560px) {
  .ribbon-badge {
    display: grid;
  }
}

.ribbon-text h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ribbon-text p {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
}

.ribbon-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.store-badge--compact {
  padding: 8px 15px;
  min-width: 148px;
  border-radius: 11px;
}

.store-badge--compact .store-icon {
  width: 20px;
  height: 20px;
}

.store-badge--compact .store-name {
  font-size: 14px;
}

/* ==========================================================================
   Shared Section Headings
   ========================================================================== */

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 720px) {
  .section-header--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.16;
  color: var(--ink-primary);
  margin: 0;
}

.section-subtitle {
  font-size: 15.5px;
  color: var(--ink-muted);
  margin: 6px 0 0;
}

/* ==========================================================================
   Feature Showcase ("Why Truly" — Bento & Editorial Architecture)
   ========================================================================== */
.features-section {
  background: var(--bg-surface);
  padding: 88px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 40px;
}

@media (min-width: 760px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
  border-color: var(--border-medium);
}

.feature-card--wide {
  background: linear-gradient(145deg, #14161c 0%, #1f232c 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card--wide:hover {
  background: linear-gradient(145deg, #171a22 0%, #232833 100%);
}

@media (min-width: 1024px) {
  .feature-card--wide {
    grid-column: span 2;
  }
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}

.feature-card--wide .feature-icon {
  background: rgba(244, 67, 54, 0.18);
  color: #ff6b60;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--ink-body);
}

.feature-card--wide p {
  color: #cbd5e1;
}

/* Transformation Widget inside Wide Feature Card */
.compression-demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
}

@media (min-width: 600px) {
  .compression-demo {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
}

.comp-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
}

.comp-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.comp-label--truly {
  color: #ff6b60;
}

.comp-lines span {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 6px;
}

.comp-lines span:last-child {
  width: 60%;
  margin-bottom: 0;
}

.comp-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.comp-stat {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

/* ==========================================================================
   Editorial Sources Strip & App CTA Banner
   ========================================================================== */
.sources-section {
  padding: 58px 0;
  background: var(--bg-page);
}

.sources-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 26px;
}

.sources-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 36px;
}

.source-wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: #6b7280;
  opacity: 0.78;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.source-wordmark:hover {
  opacity: 1;
  color: var(--ink-primary);
}

.cta-banner {
  padding: 20px 0 88px;
}

.cta-card {
  background: linear-gradient(135deg, #111317 0%, #1c2029 100%);
  border-radius: 28px;
  padding: 44px 30px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(17, 19, 23, 0.28);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 67, 54, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 860px) {
  .cta-card {
    padding: 56px 56px;
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.cta-card p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 0 28px;
}

.cta-qr-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  justify-self: center;
  width: 100%;
  max-width: 240px;
  position: relative;
  z-index: 1;
}

.qr-svg-wrap {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px;
  display: inline-block;
  margin-bottom: 12px;
}

.cta-qr-box span {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.cta-qr-box small {
  font-size: 11.5px;
  color: #9ca3af;
}

/* ==========================================================================
   Dark Editorial Footer (Matching Inshorts Structure)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #d1d5db;
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  color: #9ca3af;
  max-width: 300px;
  margin: 14px 0 20px;
}

.footer-brand .brand-logo {
  color: #ffffff;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0 0 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 14px;
  color: #9ca3af;
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
}

@media (min-width: 680px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.social-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #e5e7eb;
  display: grid;
  place-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.social-pill:hover {
  background: var(--brand);
  color: #ffffff;
}

/* ==========================================================================
   Subpages (About, Contact, Legal, Delete Account)
   ========================================================================== */
.subpage-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 54px 0 46px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
}

.subpage-lead {
  font-size: 17px;
  color: var(--ink-body);
  max-width: 660px;
  margin: 0;
}

.subpage-main {
  padding: 54px 0 84px;
}

.prose-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
}

@media (min-width: 720px) {
  .prose-card {
    padding: 46px 52px;
  }
}

.prose-card h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 30px 0 10px;
  color: var(--ink-primary);
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 24px 0 8px;
  color: var(--ink-primary);
}

.prose-card h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  margin: 18px 0 6px;
  color: var(--ink-primary);
}

.prose-card p,
.prose-card li {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink-body);
}

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

.prose-card a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.prose-card a:hover {
  text-decoration: underline;
}

.prose-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-page);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

/* Contact & Delete Forms */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 860px) {
  .two-col-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink-primary);
  background: var(--bg-page);
  border: 1px solid var(--border-medium);
  border-radius: 11px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-xs);
}

.info-tile h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}

.info-tile p {
  font-size: 14px;
  color: var(--ink-body);
  margin: 0;
}

/* Modal & Toast */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 19, 23, 0.62);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: grid;
}

.modal-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 28px 70px rgba(17, 19, 23, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: grid;
  place-items: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 34px rgba(17, 19, 23, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
