/* =============================================
   NextAiToday — Style.css
   Design: Editorial dark + clean light
   Font: Syne (headlines) + DM Sans (body)
============================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #F7F7F9;
  --bg-dark: #0D0D0F;
  --bg-dark2: #141416;
  --text: #0D0D0F;
  --text-inv: #F0F0F5;
  --muted: #6B6B7B;
  --accent: #FF3B30;
  --accent2: #FF6B35;
  --green: #00C896;
  --border: #E8E8EF;
  --border-dark: #2A2A30;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 20px 48px rgba(0,0,0,0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1180px;
  --nav-h: 64px;
}

/* Dark mode */
body.dark {
  --bg: #0D0D0F;
  --bg-soft: #141416;
  --text: #F0F0F5;
  --muted: #8888A0;
  --border: #2A2A30;
  --card-shadow: 0 8px 32px rgba(0,0,0,0.4);
  --card-shadow-hover: 0 20px 48px rgba(0,0,0,0.6);
}

/* Night / Sepia reading mode */
body.sepia {
  --bg: #F5ECD7;
  --bg-soft: #EDE0C8;
  --text: #3B2F1E;
  --muted: #7A6650;
  --border: #D4C4A8;
  filter: brightness(0.9);
}
body.sepia #navbar {
  background: rgba(245,236,215,0.92);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.bg-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,59,48,0.12);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  letter-spacing: -0.03em;
}

.dots { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.06;
  animation: floatDot linear infinite;
}

@keyframes floatDot {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.06; }
  50%  { opacity: 0.12; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Footer logo colors */
.rk { color: white; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-inv); }
.section-soft { background: var(--bg-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

/* ── BADGE ── */
.section-badge {
  display: inline-block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  color: var(--muted);
}
.section-dark .section-badge {
  background: var(--bg-dark2);
  border-color: var(--border-dark);
  color: #888;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,59,48,0.3); }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  border: 1.5px solid var(--border);
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: all var(--transition);
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.section-dark .btn-ghost { border-color: var(--border-dark); color: var(--text-inv); }
.section-dark .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; text-align: center; display: block; }

.btn-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  font-size: 1rem;
  transition: transform var(--transition);
}
.btn-icon:hover { transform: scale(1.1); }

.icon-btn {
  background: none; border: none;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 8px;
  transition: all var(--transition);
  cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
body.dark #navbar {
  background: rgba(13,13,15,0.92);
  border-color: var(--border-dark);
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-next { color: var(--text); }
.logo-ai { color: var(--accent); }
.logo-today { color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}
.nav-links a {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
body.dark .nav-links a:hover { background: var(--bg-dark2); }
.nav-pro {
  background: var(--accent) !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Night mode toggle button */
#night-toggle {
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
#night-toggle:hover { border-color: var(--accent); color: var(--accent); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  animation: drawerDown 0.2s ease-out;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.mobile-nav-drawer.open { display: flex; }
body.dark .mobile-nav-drawer {
  background: var(--bg-dark);
  border-color: var(--border-dark);
}
@keyframes drawerDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.mobile-nav-drawer a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.mobile-nav-drawer a:hover { background: var(--bg-soft); color: var(--accent); }
body.dark .mobile-nav-drawer a { color: var(--text-inv); }
body.dark .mobile-nav-drawer a:hover { background: var(--bg-dark2); }
.mobile-nav-drawer .nav-pro {
  background: var(--accent) !important;
  color: white !important;
  margin-top: 8px;
  text-align: center;
  border-radius: 999px !important;
}

/* ── BREAKING BANNER ── */
.breaking-banner {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 900;
  background: var(--accent);
  color: white;
  padding: 10px 24px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bannerSlide 0.4s ease-out;
}
@keyframes bannerSlide { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.breaking-dot {
  width: 8px; height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.4); }
}
.banner-close {
  margin-left: auto;
  color: white;
  background: none; border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.8;
  flex-shrink: 0;
}
.banner-close:hover { opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 130px 24px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--muted);
}
.hero-title { margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.stat span { font-size: 0.8rem; color: var(--muted); }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

/* ── HERO BENTO ── */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bento-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
body.dark .bento-card {
  background: var(--bg-dark2);
  border-color: var(--border-dark);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.bento-lg { grid-column: 1 / -1; }
.bento-wide { grid-column: 1 / -1; }
.bento-card h3 { font-size: 1rem; margin: 8px 0 6px; }
.bento-card p { font-size: 0.85rem; color: var(--muted); }
.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: rgba(255,59,48,0.08);
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-block;
}
.card-meta { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.leaderboard-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.rank { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); opacity: 0.3; }
.leaderboard-row strong { display: block; font-weight: 600; }
.leaderboard-row small { color: var(--muted); font-size: 0.82rem; }
.votes { margin-left: auto; font-size: 0.82rem; color: var(--green); font-weight: 600; }

/* ── SEARCH / DHUNDHO ── */
.search-box {
  display: flex;
  gap: 10px;
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 8px 8px 8px 20px;
  margin-bottom: 20px;
}
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-inv);
  font-family: var(--font-body);
  min-width: 0;
}
.search-box input::placeholder { color: #555; }

.use-case-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-dark);
  color: #888;
  font-size: 0.87rem;
  font-weight: 500;
  transition: all var(--transition);
  flex-shrink: 0;
}
.pill:hover, .pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,59,48,0.08);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.tool-card {
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.tool-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.tool-rank { font-size: 1.5rem; }
.tool-info h4 { color: var(--text-inv); margin-bottom: 4px; }
.tool-info p { color: #888; font-size: 0.88rem; }
.tool-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

.tag {
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #aaa;
  border: 1px solid var(--border-dark);
}
.tag.green { background: rgba(0,200,150,0.1); color: var(--green); border-color: rgba(0,200,150,0.3); }
.tag.red { background: rgba(255,59,48,0.1); color: #ff6b6b; border-color: rgba(255,59,48,0.3); }

.graveyard-teaser {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-dark2);
  border: 1px dashed var(--border-dark);
  border-radius: var(--radius);
  padding: 18px 24px;
  flex-wrap: wrap;
}
.graveyard-teaser > span:first-child { font-size: 2rem; flex-shrink: 0; }
.graveyard-teaser strong { color: var(--text-inv); display: block; }
.graveyard-teaser p { color: #888; font-size: 0.88rem; margin: 0; }
.graveyard-teaser .btn-ghost { margin-left: auto; color: var(--text-inv); }

/* ── NEWS LIST ── */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  display: flex;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: all var(--transition);
}
body.dark .news-item { background: var(--bg-dark2); border-color: var(--border-dark); }
.news-item:hover { box-shadow: var(--card-shadow); transform: translateX(4px); }
.news-label {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  height: fit-content;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-label.new { background: rgba(255,59,48,0.1); color: var(--accent); }
.news-label.soon { background: rgba(255,107,53,0.1); color: var(--accent2); }
.news-label.update { background: rgba(0,200,150,0.1); color: var(--green); }
.news-body { flex: 1; min-width: 0; }
.news-body h4 { margin-bottom: 4px; }
.news-body p { font-size: 0.88rem; color: var(--muted); }
.news-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 0.8rem; color: var(--muted); gap: 8px; flex-wrap: wrap; }

/* ── CALENDAR CARD ── */
.calendar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
body.dark .calendar-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.cal-sub { color: var(--muted); font-size: 0.88rem; margin: 4px 0 20px; }
.cal-events { display: flex; flex-direction: column; gap: 16px; }
.cal-event { display: flex; align-items: center; gap: 16px; }
.cal-date {
  width: 48px; height: 48px;
  background: var(--bg-soft);
  border-radius: 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
body.dark .cal-date { background: var(--bg-dark); }
.cal-date strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.cal-date span { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }
.cal-detail { flex: 1; min-width: 0; }
.cal-detail strong { display: block; font-size: 0.95rem; }
.cal-detail small { color: var(--muted); font-size: 0.8rem; }
.cal-tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── MONEY CARDS ── */
.money-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
body.dark .money-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.money-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.highlight-card { border-color: var(--accent); background: rgba(255,59,48,0.02); }
.money-icon { font-size: 2rem; margin-bottom: 12px; }
.money-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 8px; }
.money-card h4 { margin-bottom: 8px; }
.money-card p { font-size: 0.9rem; color: var(--muted); }
.money-meta { margin-top: 16px; font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* ── INDIA GRID ── */
.india-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.india-main { grid-row: 1 / 3; }
.india-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.dark .india-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.india-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.india-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,59,48,0.06);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
}
.india-card p { font-size: 0.9rem; color: var(--muted); }
.india-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; flex-wrap: wrap; }
.india-footer span { font-size: 0.8rem; color: var(--muted); }
.india-meta { font-size: 0.8rem; color: var(--muted); margin-top: auto; }

/* ── PAPERS ── */
.papers-list { display: flex; flex-direction: column; gap: 2px; }
.paper-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: var(--bg-dark2);
  transition: all var(--transition);
}
.paper-item:hover { background: #1a1a1f; border-color: var(--accent); }
.paper-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--accent); opacity: 0.25; flex-shrink: 0; width: 40px; }
.paper-body { flex: 1; min-width: 0; }
.paper-body h4 { color: var(--text-inv); margin-bottom: 4px; }
.paper-body p { color: #888; font-size: 0.88rem; margin-bottom: 8px; }
.paper-score { text-align: center; flex-shrink: 0; }
.paper-score strong { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--green); display: block; }
.paper-score small { font-size: 0.72rem; color: #666; }
.papers-cta { text-align: center; margin-top: 32px; }
.papers-cta .btn-ghost { color: var(--text-inv); border-color: var(--border-dark); }

/* ── HOT TAKE ── */
.hot-take-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  position: relative;
}
body.dark .hot-take-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.quote-mark { font-family: Georgia, serif; font-size: 5rem; color: var(--accent); opacity: 0.15; position: absolute; top: 8px; left: 16px; line-height: 1; }
.hot-take-card p { font-size: 1.05rem; font-style: italic; line-height: 1.6; margin-bottom: 20px; position: relative; z-index: 1; }
.author-row { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.author-row strong { display: block; font-size: 0.9rem; }
.author-row small { color: var(--muted); font-size: 0.8rem; }

/* ── EXPLAINER ── */
.explainer-list { display: flex; flex-direction: column; gap: 8px; }
.explainer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
body.dark .explainer-item { background: var(--bg-dark2); border-color: var(--border-dark); }
.explainer-item:hover { border-color: var(--accent); transform: translateX(6px); }
.explainer-icon { font-size: 1.5rem; flex-shrink: 0; }
.explainer-item div { flex: 1; min-width: 0; }
.explainer-item strong { display: block; font-size: 0.95rem; }
.explainer-item small { color: var(--muted); font-size: 0.8rem; }

/* ── TRENDS GRID ── */
.trends-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trend-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
}
body.dark .trend-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.trend-card h3 { margin-bottom: 4px; }
.trend-sub { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }

/* Leaderboard */
.leaderboard { display: flex; flex-direction: column; gap: 14px; }
.lb-row { display: flex; align-items: center; gap: 10px; }
.lb-rank { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; width: 28px; flex-shrink: 0; }
.lb-rank.gold { color: #FFB800; }
.lb-rank.silver { color: #A0A0B0; }
.lb-rank.bronze { color: #CD7F32; }
.lb-name { flex: 1; font-size: 0.9rem; font-weight: 500; min-width: 0; }
.lb-bar { flex: 1; height: 6px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; }
.lb-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; }
.lb-votes { font-size: 0.8rem; color: var(--muted); flex-shrink: 0; }

/* Skills */
.skills-list { display: flex; flex-direction: column; gap: 10px; }
.skill-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; gap: 8px; }
.skill-row:last-child { border-bottom: none; }
.skill-count { color: var(--accent); font-weight: 600; font-size: 0.85rem; flex-shrink: 0; }

/* Poll */
.poll-q { margin-bottom: 12px; font-size: 0.95rem; }
.poll-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.poll-btn {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  background: var(--bg-soft);
  color: var(--text);
  text-align: left;
}
body.dark .poll-btn { background: var(--bg-dark); border-color: var(--border-dark); color: var(--text-inv); }
.poll-btn:hover, .poll-btn.voted {
  border-color: var(--accent);
  background: rgba(255,59,48,0.06);
  color: var(--accent);
}
.trend-card small { color: var(--muted); font-size: 0.78rem; }

/* ── SALARY ── */
.salary-table-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--card-shadow);
  overflow-x: auto;
}
body.dark .salary-table-wrap { background: var(--bg-dark2); border-color: var(--border-dark); }
.salary-table-wrap h3 { margin-bottom: 16px; }
.salary-table { display: flex; flex-direction: column; min-width: 400px; }
.sal-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 10px 16px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
body.dark .sal-header { background: var(--bg-dark); }
.sal-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  align-items: center;
  transition: background var(--transition);
}
body.dark .sal-row { border-color: var(--border-dark); }
.sal-row:hover { background: var(--bg-soft); }
body.dark .sal-row:hover { background: var(--bg-dark); }
.sal-row:last-child { border-bottom: none; }
.sal-row span:not(:first-child) { color: var(--green); font-weight: 600; }

.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.dark .job-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.job-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.job-company { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── AUDIO ── */
.audio-player {
  background: var(--bg-dark2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: center;
  position: relative;
}
.audio-cover {
  font-size: 3rem;
  width: 90px; height: 90px;
  background: rgba(255,59,48,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.audio-info { flex: 1; min-width: 0; }
.audio-info h3 { color: var(--text-inv); margin-bottom: 6px; }
.audio-info p { color: #888; font-size: 0.88rem; margin-bottom: 20px; }
.audio-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.audio-btn {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.audio-btn:hover { background: var(--accent2); transform: scale(1.04); }
.audio-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  min-width: 60px;
}
.audio-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 3px;
  width: 35%;
  transition: width 0.3s linear;
}
.audio-time { color: #666; font-size: 0.82rem; flex-shrink: 0; }
.audio-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #666;
}

/* ── NEWSLETTER ── */
.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  box-shadow: var(--card-shadow);
  align-items: center;
}
body.dark .newsletter-box { background: var(--bg-dark2); border-color: var(--border-dark); }
.nl-features { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.nl-features li { font-size: 0.95rem; color: var(--muted); }
.nl-right { display: flex; flex-direction: column; gap: 14px; }
.nl-right small { color: var(--muted); font-size: 0.82rem; text-align: center; }
.email-input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
body.dark .email-input { background: var(--bg-dark); border-color: var(--border-dark); color: var(--text-inv); }
.email-input:focus { border-color: var(--accent); }

/* ── SUNDAY DATE PICKER (in newsletter) ── */
.sunday-picker-wrap {
  margin-top: 8px;
}
.sunday-picker-wrap label {
  font-size: 0.82rem;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.sunday-picker-row {
  display: flex;
  gap: 8px;
}
.sunday-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--bg-soft);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
body.dark .sunday-input { background: var(--bg-dark); border-color: var(--border-dark); color: var(--text-inv); }
.sunday-input:focus { border-color: var(--accent); }
.sunday-msg {
  font-size: 0.82rem;
  margin-top: 6px;
  min-height: 18px;
  font-weight: 500;
}
.sunday-msg.ok { color: var(--green); }
.sunday-msg.err { color: var(--accent); }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: all var(--transition);
}
body.dark .price-card { background: var(--bg-dark2); border-color: var(--border-dark); }
.price-card:hover { transform: translateY(-6px); }
.price-featured {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255,59,48,0.15);
}
.price-badge-top {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-tier { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.price-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; margin-bottom: 24px; }
.price-amount span { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; font-size: 0.9rem; color: var(--muted); }
.price-features li { display: flex; gap: 8px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg-dark);
  color: #888;
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-dark);
}
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.8; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.footer-socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: #666;
  transition: all var(--transition);
}
.footer-socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { color: #ccc; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.footer-col a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  z-index: 9000;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--nav-h) + 18px) 16px 16px;
}

@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-start;
    padding: calc(var(--nav-h) + 12px) 16px 16px;
  }
  .modal {
    padding: 28px 20px;
    width: min(100%, 460px);
    border-radius: 16px;
  }
}

.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg);
  border-radius: 24px;
  padding: 40px;
  width: 420px;
  max-width: 100%;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1);
}
body.dark .modal { background: var(--bg-dark2); }
@keyframes modalIn { from { transform: translateY(20px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { font-size: 1.6rem; }
.modal p { color: var(--muted); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all var(--transition);
}
.modal-close:hover { background: var(--border); }
.btn-oauth {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  background: var(--bg);
  width: 100%;
}
body.dark .btn-oauth { background: var(--bg-dark); border-color: var(--border-dark); color: var(--text-inv); }
.btn-oauth:hover { border-color: var(--accent); background: var(--bg-soft); }
.btn-oauth span {
  width: 28px; height: 28px;
  background: var(--bg-soft);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
body.dark .btn-oauth span { background: var(--bg-dark2); }
.modal-divider { text-align: center; position: relative; color: var(--muted); font-size: 0.85rem; }
.modal-divider::before, .modal-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
body.dark .modal-divider::before, body.dark .modal-divider::after { background: var(--border-dark); }
.modal-divider::before { left: 0; }
.modal-divider::after { right: 0; }
.modal small { color: var(--muted); font-size: 0.82rem; text-align: center; }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark);
  color: white;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 8000;
  white-space: nowrap;
  max-width: 90vw;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── CHATBOT FAB ── */
.chatbot-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(255,59,48,0.4);
  z-index: 8000;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.chatbot-fab:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(255,59,48,0.5); }

/* ── NIGHT MODE READING CONTROLS ── */
.reading-controls {
  position: fixed;
  right: 28px;
  bottom: 98px;
  z-index: 7500;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.reading-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: all var(--transition);
}
body.dark .reading-btn { background: var(--bg-dark2); border-color: var(--border-dark); color: var(--text-inv); }
.reading-btn:hover { transform: scale(1.1); border-color: var(--accent); }
.reading-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

/* ── REVEAL ANIMATION ── */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.reveal-card.visible { opacity: 1; transform: translateY(0); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════ */

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    gap: 40px;
  }
  .hero-bento { order: -1; }
  .hero-content { text-align: center; }
  .hero-content .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  #night-toggle { display: none; }

  .trends-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .price-featured { transform: none; }

  .two-col, .two-col-equal { grid-template-columns: 1fr; }
  .calendar-card { position: static; }

  .india-grid { grid-template-columns: 1fr 1fr; }
  .india-main { grid-row: auto; grid-column: 1 / -1; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .newsletter-box { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }

  .three-col { grid-template-columns: 1fr 1fr; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  :root { --nav-h: 58px; }

  .container { padding: 0 16px; }
  .section { padding: 56px 0; }

  .hero {
    min-height: auto;
    padding: 80px 16px 40px;
  }

  .nav-inner {
    gap: 12px;
    padding: 0 12px;
  }

  #open-login {
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  #night-toggle {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .btn-primary, .btn-ghost {
    min-height: 44px;
    padding: 10px 20px;
  }

  .btn-sm {
    min-height: 40px;
    padding: 8px 14px;
  }
  .section-header { margin-bottom: 32px; }
  .section-header p { font-size: 0.95rem; }

  section { scroll-margin-top: calc(var(--nav-h) + 14px); }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }

  /* Hero */
  .hero { padding: 100px 16px 60px; gap: 32px; }
  .hero-bento { grid-template-columns: 1fr; }
  .bento-lg, .bento-wide { grid-column: 1; }
  .bento-sm { grid-column: 1; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }

  /* Nav */
  .nav-inner { padding: 0 16px; gap: 12px; }
  .nav-logo { font-size: 1.05rem; }
  #open-login { font-size: 0.82rem; padding: 8px 14px; }

  /* Breaking banner */
  .breaking-banner { font-size: 0.78rem; padding: 8px 16px; }

  /* Search */
  .search-box { padding: 6px 6px 6px 14px; }
  .search-box input { font-size: 0.9rem; }
  .use-case-pills { gap: 6px; }
  .pill { padding: 6px 12px; font-size: 0.8rem; }
  .tools-grid { grid-template-columns: 1fr; }

  /* News */
  .news-item { flex-direction: column; gap: 10px; }
  .news-label { align-self: flex-start; }

  /* Graveyard */
  .graveyard-teaser { flex-wrap: wrap; }
  .graveyard-teaser .btn-ghost { margin-left: 0; }

  /* 3 col → 1 col */
  .three-col { grid-template-columns: 1fr; }
  .trends-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }

  /* India */
  .india-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .price-featured { transform: none; }
  .price-card { padding: 24px 20px; }

  /* Audio */
  .audio-player { flex-direction: column; text-align: center; padding: 24px 20px; }
  .audio-badge { position: static; margin-top: 16px; align-self: center; }
  .audio-controls { justify-content: center; }

  /* Salary table */
  .salary-table-wrap { padding: 20px 16px; }
  .sal-header, .sal-row { grid-template-columns: 1.6fr 1fr 1fr 1fr; font-size: 0.78rem; padding: 10px 10px; }

  /* Newsletter */
  .newsletter-box { padding: 28px 20px; gap: 24px; }
  .sunday-picker-row { flex-direction: column; }

  /* Papers */
  .paper-item { flex-wrap: wrap; gap: 12px; }
  .paper-num { font-size: 1.4rem; width: auto; }

  /* Footer */
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer { padding: 48px 0 24px; }

  /* Modal */
  .modal { padding: 28px 24px; }

  /* Reading controls + chatbot */
  .reading-controls { bottom: 100px; right: 16px; }
  .chatbot-fab { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 1.4rem; }

  /* Hot takes */
  .two-col-equal { grid-template-columns: 1fr; }
}

/* ── SMALL MOBILE (≤480px) ── */
@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }

  .container { padding: 0 12px; }

  .hero { padding: 70px 16px 32px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; text-align: center; }

  .btn-lg { padding: 14px 24px; font-size: 1rem; }

  .footer-links { grid-template-columns: 1fr; }

  .newsletter-box { padding: 24px 16px; }

  .sal-header, .sal-row { font-size: 0.72rem; padding: 8px; }
  .sal-header span:nth-child(3), .sal-row span:nth-child(3) { display: none; }

  .paper-score { display: none; }
}