/* =============================================================
   smobyday.com — Design System
   Display: Bricolage Grotesque · Body: DM Sans · Accent: DM Mono
   Brand: #1E2D5A (navy) · Hero: #5e17eb (red) · Body: #FAFBFF · Text: #111111
   ============================================================= */

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --red:        #5e17eb;
  --red-dark:   #4a10c4;
  --red-light:  rgba(94, 23, 235, 0.1);
  --accent:     #E0E8FF;
  --secondary:  #7B90C4;
  --hero-bg:    #5e17eb;
  --bg:         #FAF8F5;
  --white:      #FFFFFF;
  --black:      #111111;
  --gray-50:    #F2F4FA;
  --gray-100:   #E8EBF5;
  --gray-200:   #D4D9EC;
  --gray-400:   #8F96B0;
  --gray-600:   #5A6180;
  --border:     #DDE1F0;
  --border-dark:#BEC5DC;
  --font:         'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Bricolage Grotesque', 'DM Sans', sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow:     0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:  0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.08);
  --transition: 0.18s ease;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}

/* Mono accent — small labels, tips, meta, prompts */
.section-label,
.callout-label,
.card-meta,
.card-tag,
.dropdown-label,
.hero-byline,
.step-label,
.prompt-box-header span,
.prompt-text,
.filter-bar-hint,
.tiktok-block-label,
.sidebar-label,
.article-newsletter-cta p,
.back-btn {
  font-family: var(--font-mono);
}

.text-red { color: var(--red); }

/* ==========================================
   Layout
   ========================================== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 48px 0; }

/* ==========================================
   Navigation
   ========================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--hero-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(94,23,235,0.3);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Logo */
.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-right: 40px;
  flex-shrink: 0;
}

.nav-logo span { color: #fff; }

/* Links nav button (distinct style) */
.nav-links-btn {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  background: var(--black) !important;
  color: var(--white) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  transition: background var(--transition) !important;
  margin-left: 4px;
}

.nav-links-btn:hover {
  background: #4a10c4 !important;
  color: var(--white) !important;
}

/* Nav list */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  flex: 1;
  gap: 0;
}

/* Nav item (with dropdown) */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > a.active {
  color: #ffffff;
  background: rgba(0,0,0,0.1);
}

.nav-item > a.active {
  color: #ffffff;
  background: rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .nav-item > a:hover,
  .nav-item > a.active {
    background: #5e17eb;
    color: #ffffff;
  }
}

/* Dropdown chevron */
.nav-item > a .chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--transition);
  display: inline-block;
  margin-top: 1px;
}

.nav-item:hover > a .chevron,
.nav-item:focus-within > a .chevron {
  transform: rotate(225deg) translateY(-1px);
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: rgba(94, 23, 235, 0.1);
  border: 1px solid rgba(94, 23, 235, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 210px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section {
  padding: 4px 0;
}

.dropdown-section + .dropdown-section {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 8px;
}

.dropdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 4px 12px 6px;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  color: #111111;
  transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
  background: rgba(94, 23, 235, 0.15);
  color: #111111;
}

.dropdown a .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray-200);
  flex-shrink: 0;
  transition: background var(--transition);
}

.dropdown a:hover .dot { background: var(--red); }

/* Nav right */
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a { width: 100%; color: #5e17eb; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(94, 23, 235, 0.1);
    border-radius: var(--radius);
    margin: 4px 0 4px 12px;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-dark); box-shadow: 0 4px 16px rgba(94,23,235,0.3); }

/* Subscribe button in nav — cream with black text */
.nav-right .btn-red {
  background: #FFF8F0;
  color: #111111;
}
.nav-right .btn-red:hover { background: #f0e8d8; box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border-dark);
}
.btn-outline:hover { border-color: var(--black); background: var(--gray-50); }

.btn-ghost {
  background: transparent;
  color: var(--black);
  padding: 10px 18px;
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ==========================================
   Hero
   ========================================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  padding: 80px 0 72px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--red);
}

.hero-headline {
  display: block;
  margin-bottom: 0;
  text-align: center;
}

.hero-headline h1 {
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 800;
  color: #5e17eb;
  letter-spacing: -0.04em;
  line-height: 0.95;
  display: block;
}

.hero-headline h1 .hero-rotating {
  color: #7B2FBE;
  display: block;
  font-size: clamp(5rem, 14vw, 11rem);
}

.hero-rotating-wrap {
  display: block;
  margin-top: 8px;
  text-align: center;
}

.hero-rotating {
  font-size: inherit;
  font-weight: inherit;
  color: #5e17eb;
  letter-spacing: inherit;
  line-height: inherit;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-rotating.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.hero-byline {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #111111;
  text-transform: uppercase;
}


.hero-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

/* ---- About split ---- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.about-split-text {
  background: var(--red);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}

.about-body {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.about-split-img {
  background: #000;
  overflow: hidden;
  position: relative;
  border-radius: 0;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: absolute;
  inset: 0;
}

/* Mobile: image on top, text below */
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    grid-template-rows: 360px auto;
  }
  .about-split-text { padding: 40px 24px; }
}

/* ---- Intro banner ---- */
.intro-banner {
  background: #000;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  overflow: hidden;
}

.intro-banner-text {
  padding: clamp(32px, 6vw, 80px) clamp(24px, 5vw, 64px);
  display: flex;
  align-items: center;
}

.intro-banner-text p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

.intro-banner-img {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.intro-banner-img img {
  width: clamp(200px, 40vw, 480px);
  height: auto;
  display: block;
  mix-blend-mode: screen;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(17,17,17,0.25);
  color: #111111;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hero-social-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

.hero-social-btn svg {
  width: 16px; height: 16px;
  fill: currentColor;
}

@media (max-width: 900px) {
  /* Keep nav-right flush to the right on mobile */
  .nav-right { margin-left: auto; gap: 8px; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 56px; min-height: 0; }
  .hero-content { padding: 0 24px; }
}


/* ==========================================
   Section Labels
   ========================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1.5px;
  background: var(--red);
}

.section-header { margin-bottom: 52px; }

.section-header h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #5e17eb;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 500px;
  line-height: 1.65;
}

/* ==========================================
   Page Header (inner pages)
   ========================================== */
.page-header {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 520px;
}

/* Dark variant for finance page header */
.page-header-dark {
  background: var(--black);
  border-bottom: 3px solid var(--red);
}

.page-header-dark .section-label {
  color: rgba(255,255,255,0.4);
}

.page-header-dark h1 {
  color: #fff;
}

.page-header-dark p {
  color: rgba(255,255,255,0.55);
}

/* Article inline newsletter CTA */
.article-newsletter-cta {
  background: #5e17eb;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  margin: 64px 0 80px;
  text-align: center;
}

.article-newsletter-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.article-newsletter-cta p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.article-newsletter-cta .btn-red {
  background: #fff;
  color: #111111;
}
.article-newsletter-cta .btn-red:hover { background: #f0ece8; box-shadow: none; }

.article-newsletter-cta .newsletter-form {
  max-width: 420px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .article-newsletter-cta { padding: 48px 28px; margin-bottom: 60px; }
  .article-newsletter-cta h3 { font-size: 1.25rem; }
}

/* ==========================================
   Cards
   ========================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gray-100);
}

.card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: var(--gray-50);
  border-bottom: 1px solid var(--border);
}

.card-body { padding: 24px 26px 26px; }

/* Cards without images get a top accent line */
.card:not(:has(.card-thumb)) {
  border-top: 2px solid var(--red);
}

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.tag-red    { background: #5e17eb; color: #fff; }
.tag-black  { background: #5e17eb; color: #fff; }
.tag-gray   { background: #5e17eb; color: #fff; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.card-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.77rem;
  color: var(--gray-400);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray-400);
}

/* Card — horizontal layout */
.card-h {
  display: flex;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.card-h .card-thumb-placeholder {
  width: 120px;
  min-width: 120px;
  aspect-ratio: unset;
  border-bottom: none;
  border-right: 1px solid var(--border);
  font-size: 1.8rem;
}

.card-h .card-body {
  padding: 18px 20px;
  flex: 1;
}

/* Card — real image */
.card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--gray-100);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.card:hover .card-thumb img {
  transform: scale(1.04);
}

/* Featured card */
.card-featured {
  background: var(--black);
  border-color: var(--black);
}

.card-featured .card-thumb-placeholder {
  background: #1a1a1a;
  border-bottom-color: #2a2a2a;
}

.card-featured .card-title { color: var(--white); }
.card-featured .card-desc  { color: rgba(255,255,255,0.5); }
.card-featured .card-meta  { border-top-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.35); }
.card-featured .card-meta-dot { background: rgba(255,255,255,0.35); }

/* ==========================================
   Grid Layouts
   ========================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Featured layout — uniform 3-col grid */
.grid-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-featured .card:first-child {
  grid-column: auto;
  grid-row: auto;
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-featured { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================
   Filter + Search
   ========================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: 100px;
  border: 1px solid #5e17eb;
  background: #5e17eb;
  color: #fff;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover { background: #4a10c4; border-color: #4a10c4; color: #fff; }

.filter-btn.active {
  background: #4a10c4;
  border-color: #4a10c4;
  color: #fff;
}

.search-wrap {
  position: relative;
  max-width: 380px;
  margin-bottom: 32px;
}

.search-wrap input {
  width: 100%;
  padding: 11px 16px 11px 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
}

.search-wrap input::placeholder { color: var(--gray-400); }
.search-wrap input:focus { border-color: var(--black); }

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.9rem;
  pointer-events: none;
}

/* ==========================================
   Newsletter
   ========================================== */
.newsletter-band {
  background: var(--black);
  padding: 80px 0;
}

.newsletter-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.newsletter-band p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 440px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.4); }

.newsletter-band .btn-red {
  background: #5e17eb;
  color: #fff;
}
.newsletter-band .btn-red:hover { background: #4a10c4; }

/* ==========================================
   Stats / Metrics bar
   ========================================== */
.metrics-bar {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric {
  flex: 1;
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid var(--border);
}

.metric:last-child { border-right: none; }

.metric-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--black);
  display: block;
}

.metric-num span { color: var(--red); }

.metric-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .metrics-bar { flex-wrap: wrap; }
  .metric { flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .metric:nth-child(even) { border-right: none; }
}

/* ==========================================
   Topic Pills
   ========================================== */
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid #5e17eb;
  background: #5e17eb;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  transition: all var(--transition);
  cursor: pointer;
}

.topic-pill:hover {
  border-color: #4a10c4;
  background: #4a10c4;
  color: #fff;
}

/* ==========================================
   Horizontal Rule / Dividers
   ========================================== */
.divider { height: 1px; background: var(--border); }

/* ==========================================
   Inline feature row
   ========================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-text  { order: 1; }

.feature-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 0.975rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-visual {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-row.reverse .feature-text  { order: 0; }
}

/* ==========================================
   Newsletter issue card
   ========================================== */
.issue-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity var(--transition);
}

.issue-card:hover { opacity: 0.7; }
.issue-card:first-child { border-top: 1px solid var(--border); }

.issue-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  min-width: 40px;
  padding-top: 3px;
}

.issue-content {}
.issue-meta { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 5px; }
.issue-title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--black); margin-bottom: 6px; }
.issue-preview { font-size: 0.875rem; color: var(--gray-600); line-height: 1.5; }

/* ==========================================
   Footer
   ========================================== */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.9);
  padding: 72px 0 32px;
}

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

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

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

.social-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}

.social-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

/* ==========================================
   Utilities
   ========================================== */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.show-more {
  text-align: center;
  margin-top: 44px;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 600px) {
  section { padding: 36px 0; }
  .container { padding: 0 20px; }
  .newsletter-band { padding: 56px 0; }
}

/* ==========================================
   Back Button
   ========================================== */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 0 0;
  margin-right: 8px;
  border-right: 1px solid rgba(255,255,255,0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: none;
  border-top: none;
  border-bottom: none;
  border-left: none;
  font-family: var(--font);
  transition: color var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.back-btn:hover { color: rgba(255,255,255,0.7); }

.back-btn::before {
  content: '←';
  font-size: 0.9rem;
}

/* ==========================================
   Logo color override (always white in red nav)
   ========================================== */
.nav-logo {
  color: #fff !important;
}

/* ==========================================
   Card hover — black outline
   ========================================== */
.card:hover {
  box-shadow: none !important;
  transform: translateY(0) !important;
  border-color: var(--black) !important;
  border-width: 1.5px !important;
}

/* ==========================================
   Horizontal scroll section (Free Finance Prompts)
   ========================================== */
.scroll-section { overflow: hidden; }

.scroll-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  padding-right: 32px;
  cursor: grab;
}

.scroll-track:active { cursor: grabbing; }

.scroll-track::-webkit-scrollbar { height: 3px; }
.scroll-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.scroll-track .card {
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.scroll-track-end {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 160px;
}

.scroll-see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1.5px solid var(--black);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.scroll-see-all:hover {
  background: var(--black);
  color: var(--white);
}

/* Mobile: grid instead of scroll + See More button */
.scroll-mobile-grid {
  display: none;
}

.scroll-see-more-btn {
  display: none; /* hidden on desktop; shown inside mobile media query */
}

@media (max-width: 700px) {
  .scroll-track { display: none; }
  .scroll-track-end { display: none; }
  .scroll-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .scroll-mobile-grid .card { min-width: 0; }
  .scroll-see-more-btn {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    padding: 14px;
    border: 1.5px solid var(--black);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
    background: none;
    cursor: pointer;
    font-family: var(--font);
  }
}

/* ==========================================
   Hero — inline rotating text (smaller, same row as "Girl Math")
   ========================================== */
.hero-rotating-wrap {
  display: inline-flex;
  align-items: baseline;
  min-width: 260px; /* prevents "Girl Math" from shifting when words change length */
}

.hero-rotating {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  font-weight: 700;
  color: #C4005E;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-rotating.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* ==========================================
   About Split Section (homepage)
   ========================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
}

.about-split-text {
  padding: 56px 52px;
  background: var(--black);
}

.about-split-text .section-label {
  color: rgba(255,255,255,0.3);
}
.about-split-text .section-label::before {
  background: var(--red);
}

.about-split-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  margin-top: 12px;
}

.about-split-text p {
  font-size: 0.925rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.about-feature::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.about-split-image {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.about-split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-split-image .placeholder-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-top: 12px;
  display: block;
  text-align: center;
}

@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split-text { padding: 40px 32px; }
  .about-split-image { min-height: 260px; }
}

/* ==========================================
   Article Page
   ========================================== */
.article-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  max-width: 760px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 16px;
  flex-wrap: wrap;
}

.article-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gray-400);
}

.article-body {
  max-width: 760px;
  padding: 48px 0 80px;
}

.article-body p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body p strong {
  color: var(--black);
  font-weight: 600;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 28px 0 10px;
}

.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-body li {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* Step label (like reference site) */
.step-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5e17eb;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 12px;
  margin-top: 36px;
}

/* Callout box (Honest Take / Tip style) */
.callout-box {
  border-left: 3px solid #111111;
  background: rgba(94, 23, 235, 0.1);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.callout-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111111;
  margin-bottom: 8px;
}

.callout-box p {
  font-size: 0.9rem !important;
  color: var(--black) !important;
  margin-bottom: 0 !important;
}

/* ==========================================
   Prompt Box
   ========================================== */
.prompt-box {
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  margin: 32px 0;
  overflow: hidden;
}

.prompt-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--black);
}

.prompt-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

.prompt-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #5e17eb;
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition);
}

.prompt-copy-btn:hover { background: #4a10c4; }

.prompt-copy-btn.copied {
  background: #15803d;
}

.prompt-box-scroll {
  max-height: 220px;
  overflow-y: auto;
  padding: 20px 22px;
  background: var(--gray-50);
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}

.prompt-box-scroll::-webkit-scrollbar {
  width: 4px;
}

.prompt-box-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

.prompt-text {
  font-family: 'Courier New', 'Menlo', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--black);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ==========================================
   Multi-select filter bar
   ========================================== */
.filter-bar-wrap {
  margin-bottom: 32px;
}

.filter-bar-hint {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-bar-hint::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M3 6h18M7 12h10M11 18h2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.filter-clear {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font);
  display: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.filter-clear.visible { display: inline; }

.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}



/* Topic pills in page header — same multi-select behavior */
.topic-pill.active {
  background: #4a10c4;
  color: var(--white);
  border-color: #4a10c4;
}



/* ==========================================
   Prompts Tab / Filter
   ========================================== */
.filter-btn.prompts-btn {
  background: var(--red-light);
  border-color: rgba(74,16,196,0.2);
  color: var(--red);
}

.filter-btn.prompts-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* Prompt card (in grid) */
.prompt-card .card-thumb-placeholder {
  background: var(--black);
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  font-family: 'Courier New', monospace;
}

/* Feature section pills (homepage tab switcher) */
.feature-pill {
  cursor: pointer;
  border: none;
  font-family: var(--font);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}

.feature-pill:hover {
  border-color: var(--black);
  color: var(--black);
}

.feature-pill.active {
  background: #5e17eb;
  border-color: #5e17eb;
  color: var(--white);
}

/* Feature row article card */
.feature-visual .feature-article-card {
  display: block;
  text-decoration: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  background: var(--white);
}

.feature-visual .feature-article-card:hover {
  border-color: var(--black);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Article layout wrapper */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 88px;
  padding-top: 48px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.sidebar-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  line-height: 1.4;
  cursor: pointer;
  transition: color var(--transition);
}

.sidebar-link:hover { color: var(--black); }
.sidebar-link::before {
  content: '→';
  color: var(--red);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; padding-top: 0; }
}

/* Mobile article overflow fix */
@media (max-width: 700px) {
  .article-hero { padding: 24px 0 32px; }
  .article-hero .container { padding: 0 20px; }
  .page-header { padding: 28px 0 32px; }
  .page-header + section { padding-top: 32px; }
  .article-body { padding: 32px 0 60px; overflow-x: hidden; }
  .article-layout { overflow-x: hidden; }
  .article-layout > div { min-width: 0; }
  .prompt-box { margin-left: 0; margin-right: 0; }
  .prompt-box-scroll { overflow-x: auto; }
  .container { padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
}

/* TikTok callout block */
.tiktok-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.tiktok-block-text { flex: 1; min-width: 200px; }

.tiktok-block-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.tiktok-block-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.tiktok-block .btn {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.8rem;
  padding: 10px 18px;
}

/* ---- Hero scroll overflow ---- */
.hero { overflow: hidden; }

/* ---- Mobile hero centering ---- */
@media (max-width: 700px) {
  .hero-title { text-align: center; }
  .hero-rotating { display: block; text-align: center; }
  .hero-byline { justify-content: center; }
  .hero-social { justify-content: center; }
  .hero-tags { justify-content: center; }
  .hero-cats { justify-content: center; }
}

/* ---- Feature section layout (for homepage feature sections) ---- */
.feature-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .feature-section-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---- Article newsletter CTA ---- */
.article-newsletter-cta {
  background: #5e17eb;
  padding: 64px 0;
  margin-top: 0;
}

/* ---- Sidebar styles ---- */
.sidebar-section { margin-bottom: 32px; }
.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 14px;
}
.sidebar-card {
  display: block;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--black);
  transition: border-color 0.15s;
}
.sidebar-card:hover { border-color: var(--red); }

/* ---- Topic pill / feature pill ---- */
.topic-pill.feature-pill {
  cursor: pointer;
  border: 1px solid #111111;
  background: #111111;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  transition: all 0.15s;
}
.topic-pill.feature-pill:hover {
  background: #333333;
  color: #fff;
  border-color: #333333;
}
.topic-pill.feature-pill.active {
  background: #5e17eb;
  color: #fff;
  border-color: #5e17eb;
}

/* ---- Responsive feature sections on homepage ---- */
@media (max-width: 900px) {
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
