/* =================================================================
   MyGenie — AI Ambition site
   Brand tokens identical to the deck system
   ================================================================= */

/* Editorial display serif — paired with Calibri body
   Newsreader carries advisory-firm gravitas without "AI slop" connotations */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500;1,6..72,600&display=swap");

:root {
  --brand: #130FFF;
  --brand-deep: #0B089E;
  --brand-soft: #E8E7FF;
  --brand-wash: #F5F3FF;
  --ink: #1F2937;
  --ink-soft: #374151;
  --muted: #6B7280;
  --hair: #E5E7EB;
  --hair-soft: #F1F2F4;
  --bg: #FFFFFF;
  --bg-alt: #FAFAFB;
  --bg-warm: #FBFAF7; /* very faint warm cream for editorial sections */
  --shadow-sm: 0 1px 2px rgba(19, 15, 255, 0.04);
  --shadow-md: 0 8px 24px rgba(19, 15, 255, 0.08);
  --shadow-lg: 0 28px 56px rgba(19, 15, 255, 0.12);
  --shadow-photo: 0 32px 64px -16px rgba(15, 23, 42, 0.22), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  --font-display: "Newsreader", "Iowan Old Style", "Charter", "Georgia", serif;
  --font-body: "Calibri", "Helvetica Neue", -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Reveal-on-scroll utility — applied via IntersectionObserver in script.js.
   Gated on prefers-reduced-motion. Single-shot, no infinite loops. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =================================================================
   Navigation
   ================================================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 26px;
  height: 26px;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.nav-tabs {
  display: flex;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: -0.005em;
}

.nav-tab:hover {
  color: var(--ink);
  background: var(--bg-alt);
}

.nav-tab.active {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-wash);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.18s ease;
  letter-spacing: -0.005em;
}

.nav-cta:hover {
  background: var(--brand-wash);
}

/* =================================================================
   Layout
   ================================================================= */

main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.tab-panel {
  display: none;
  padding: 80px 0 120px;
  animation: fadeIn 0.4s ease both;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================================================================
   Common type
   ================================================================= */

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

/* Section eyebrows that lead with a number (e.g. "01 · Why me") get the
   number rendered in italic-serif — a small editorial tell that reads as
   "advisory firm", not "tech startup". Handled via a leading <em> in markup
   or via the eyebrow-num utility class. */
.eyebrow .eyebrow-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  color: var(--brand);
  text-transform: none;
  line-height: 1;
  margin-right: 2px;
}

.eyebrow .eyebrow-rule {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 28px;
  text-wrap: balance;
}

.accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.panel-head {
  margin-bottom: 64px;
  max-width: 780px;
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}

.panel-lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}

.panel-callout {
  margin-top: 32px;
  padding: 20px 24px 20px 28px;
  background: var(--brand-wash);
  border-left: 2px solid var(--brand);
  border-radius: 0 2px 2px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 760px;
  text-wrap: pretty;
}

.panel-callout strong {
  color: var(--brand);
  font-weight: 700;
}

/* =================================================================
   HOME / Hero
   ================================================================= */

.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 80px;
  align-items: center;
  min-height: 78vh;
  padding-top: 8px;
}

/* Cinematic leader-portrait composition:
   - A brand-blue art block sits offset behind the photo (Economist / WSJ
     "leader portrait" treatment).
   - The photo overlays it, with a soft bottom mask so the subject emerges
     from the colour rather than ending at a hard rectangle edge.
   - A serif-italic credit anchors the composition. */
.hero-image {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding-bottom: 56px;
}

.hero-image-block {
  position: absolute;
  inset: 48px -28px 72px 32px;
  background:
    linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: 2px;
  z-index: 0;
  /* Faint inner highlight to give the block depth without a hard edge */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 30px 60px -20px rgba(11, 8, 158, 0.35);
}

/* A single thin vertical brand rule running down the left of the photo
   echoes the previous design's brand-blue edge but in a more confident,
   editorial way — like a printed magazine column rule. */
.hero-image-rule {
  position: absolute;
  top: 24px;
  bottom: 32px;
  left: -18px;
  width: 2px;
  background: var(--brand);
  z-index: 2;
}

.hero-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: var(--shadow-photo);
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
}

.hero-image-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero-image-credit::before {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: var(--brand);
  align-self: center;
}

.hero-image-credit strong {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.hero-image-credit span {
  color: var(--muted);
}

.hero-content {
  padding: 8px 0;
}

.creds-line {
  font-size: 14px;
  color: var(--muted);
  margin-top: 28px;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  line-height: 1.5;
}

.creds-line strong {
  color: var(--ink);
  font-weight: 700;
}

.creds-line .dot {
  color: var(--hair);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.stat-num {
  font-family: var(--font-body);
  font-size: 52px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 200px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  background: var(--brand-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--bg-alt);
}

/* =================================================================
   WHY ME / Cards & columns
   ================================================================= */

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 88px;
}

.card {
  padding: 36px 32px 32px;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
}

.card:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-rule {
  width: 32px;
  height: 2px;
  background: var(--brand);
  margin-bottom: 24px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.012em;
  line-height: 1.18;
}

.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 48px;
  border-top: 1px solid var(--hair);
}

.col {
  padding: 4px 0;
}

.col-rule {
  width: 100%;
  height: 1px;
  background: var(--brand);
  margin-bottom: 18px;
}

.col-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}

.col-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin-bottom: 16px;
  text-wrap: balance;
}

.col p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

/* =================================================================
   TRACK RECORD
   ================================================================= */

.big-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 88px;
}

.big-stat {
  position: relative;
  padding: 32px 0 0;
}

.big-stat-rule {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--brand);
}

.big-stat-num {
  font-family: var(--font-body);
  font-size: 84px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

.big-stat-num .plus {
  font-size: 56px;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin-left: 2px;
}

.big-stat-label {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 280px;
  text-wrap: pretty;
}

.proof-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proof {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hair);
}

.proof:last-child {
  border-bottom: none;
}

.proof-tick {
  /* Hairline check mark — Lucide-style, not chunky emoji-tick */
  width: 24px;
  height: 24px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.proof-tick svg {
  width: 100%;
  height: 100%;
}

.proof-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.proof-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 720px;
}

/* =================================================================
   SUCCESS
   ================================================================= */

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.success-card {
  padding: 36px 32px 32px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
}

.success-card:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.success-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--brand);
  letter-spacing: 0;
  margin-bottom: 16px;
  line-height: 1;
}

.success-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.012em;
  line-height: 1.22;
  text-wrap: balance;
}

.success-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.success-note {
  padding: 28px 32px;
  background: var(--brand-wash);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
}

.success-note p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

.success-note strong {
  color: var(--brand);
}

/* =================================================================
   TIMELINE
   ================================================================= */

.timeline {
  position: relative;
  padding: 24px 0 24px 56px;
  margin-bottom: 56px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 20px;
  width: 1px;
  background: var(--hair);
}

.timeline-step {
  position: relative;
  padding: 0 0 44px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -42px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--hair);
  z-index: 2;
}

.timeline-step.done::before {
  background: var(--brand);
  border-color: var(--brand);
}

.timeline-step.current::before {
  background: white;
  border: 2.5px solid var(--brand);
  width: 16px;
  height: 16px;
  left: -44px;
  box-shadow: 0 0 0 5px rgba(19, 15, 255, 0.12);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(19, 15, 255, 0.12); }
  50% { box-shadow: 0 0 0 10px rgba(19, 15, 255, 0.04); }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-step.current::before { animation: none; }
}

.timeline.has-current::before {
  background: linear-gradient(
    to bottom,
    var(--brand) 0%,
    var(--brand) var(--progress, 0%),
    var(--hair) var(--progress, 0%),
    var(--hair) 100%
  );
}

.timeline-step-content {
  padding: 4px 0 0 0;
}

.timeline-step-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.timeline-step-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 2px;
}

.timeline-step.done .timeline-step-status {
  background: var(--brand-soft);
  color: var(--brand);
}

.timeline-step.current .timeline-step-status {
  background: var(--brand);
  color: white;
}

.timeline-step.upcoming .timeline-step-status {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--hair);
  padding: 3px 10px;
}

.timeline-step-date {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}

.timeline-step h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.timeline-step.current h3 {
  color: var(--brand);
}

.timeline-step.upcoming h3 {
  color: var(--ink-soft);
}

.timeline-step p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 680px;
  text-wrap: pretty;
}

.timeline-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.timeline-values-label {
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.timeline-value {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--brand-soft);
  color: var(--brand);
  border-radius: 20px;
  letter-spacing: -0.005em;
}

.timeline-note {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-radius: 4px;
  border: 1px solid var(--hair);
}

.timeline-note p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-note code {
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-size: 12.5px;
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--hair);
  border-radius: 4px;
  color: var(--brand);
}

.timeline-loading {
  font-size: 14px;
  color: var(--muted);
  padding: 20px 0;
}

/* =================================================================
   Footer
   ================================================================= */

.site-footer {
  border-top: 1px solid var(--hair);
  padding: 36px 0;
  margin-top: 80px;
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.footer-brand img {
  width: 18px;
  height: 18px;
}

.footer-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-link a {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.footer-link a:hover {
  text-decoration: underline;
}

.footer-credit {
  max-width: 1280px;
  margin: 16px auto 0;
  padding: 16px 40px 0;
  border-top: 1px solid var(--hair);
  text-align: center;
}

.footer-credit p {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.01em;
}

.footer-credit strong {
  color: var(--brand);
  font-weight: 700;
  font-style: normal;
}

/* =================================================================
   Our Values section (Home tab, below hero)
   ================================================================= */

.values-section {
  margin-top: 120px;
  padding-top: 80px;
  border-top: 1px solid var(--hair);
  text-align: center;
}

.values-head {
  max-width: 720px;
  margin: 0 auto 56px;
}

.values-head .eyebrow {
  margin-bottom: 16px;
}

.values-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}

.values-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.values-stage {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.values-stage.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.values-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Overlay tiles do a left-to-right wipe reveal as the section enters view */
.values-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}

.value-tile {
  background: var(--bg);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform 0.65s cubic-bezier(0.7, 0, 0.2, 1);
  transition-delay: var(--d, 0s);
}

.values-stage.in-view .value-tile {
  transform: scaleX(0);
}

.values-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.value-tag {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  background: white;
  border: 1px solid var(--brand-soft);
  color: var(--brand);
  border-radius: 24px;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease;
  transition-delay: var(--d, 0s);
  cursor: default;
}

.value-tag:hover {
  box-shadow: 0 4px 12px rgba(19, 15, 255, 0.15);
  transform: translateY(-2px);
}

.values-section.in-view .value-tag {
  opacity: 1;
  transform: translateY(0);
}

.values-section.in-view .value-tag:hover {
  transform: translateY(-2px);
}

/* =================================================================
   Responsive
   ================================================================= */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 24px;
    min-height: 0;
  }
  .hero-image {
    max-width: 420px;
    padding-bottom: 64px;
  }
  .hero-image-block {
    inset: 40px -16px 68px 24px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .three-col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .big-stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .success-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    padding: 14px 20px;
    gap: 16px;
  }
  .nav-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .nav-tab {
    white-space: nowrap;
    font-size: 13px;
    padding: 8px 12px;
  }
  .nav-cta {
    display: none;
  }
  main {
    padding: 0 20px;
  }
  .tab-panel {
    padding: 40px 0 80px;
  }
  .hero {
    gap: 40px;
  }
  .hero-image {
    max-width: 100%;
    padding-bottom: 56px;
  }
  .hero-image-block {
    inset: 32px -8px 60px 16px;
  }
  .hero-image-rule {
    left: -10px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .success-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    padding: 0 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .values-section {
    margin-top: 80px;
    padding-top: 56px;
  }
}
