/* ============================================================
   FC Helper Landing — v6 "Vivid Light"
   Bright, energetic light theme with bold colored sections
   Gradient blue hero · Green free · Orange premium · White base
   Satoshi (display) + DM Sans (body)
   ============================================================ */

/* --- Skip link (accessibility) ------------------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--blue, #2563eb);
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; }
/* --- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
/* --- Tokens ------------------------------------------------- */
:root {
  /* Backgrounds — clean whites + tinted surfaces */
  --bg:            #ffffff;
  --bg-raised:     #f6f8fb;
  --bg-card:       #ffffff;
  --bg-card-alt:   #f0f4f8;
  --bg-surface:    #f8fafc;
  --bg-blue:       #eef4ff;
  --bg-green:      #ecfdf5;
  --bg-orange:     #fff7ed;
  --bg-hero:       linear-gradient(135deg, #1e3a5f 0%, #0f172a 40%, #1e293b 100%);

  /* Borders */
  --border:        #e2e8f0;
  --border-hover:  #cbd5e1;
  --border-light:  #f1f5f9;

  /* Text */
  --text:          #0f172a;
  --text-mid:      #475569;
  --text-muted:    #94a3b8;
  --text-dim:      #cbd5e1;
  --text-on-dark:  #f8fafc;

  /* Accents — vivid and saturated */
  --blue:    #2563eb;
  --cyan:    #0891b2;
  --indigo:  #4f46e5;
  --orange:  #ea580c;
  --violet:  #7c3aed;
  --green:   #16a34a;
  --emerald: #059669;
  --red:     #dc2626;

  /* Semantic */
  --free:    var(--green);
  --premium: var(--orange);

  /* Typography */
  --font-display: 'Satoshi', 'DM Sans', system-ui, sans-serif;
  --font-body:    'DM Sans', 'Satoshi', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Scale */
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-md:  1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  /* Spacing */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s5: 1.25rem; --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem;
  --s12: 3rem; --s16: 4rem; --s20: 5rem; --s24: 6rem;
  --s32: 8rem; --s40: 10rem;

  /* Radius */
  --r-sm: 6px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 9999px;

  /* Shadows — crisp for light theme */
  --shadow-sm: 0 1px 2px rgba(0 0 0 / .05);
  --shadow-md: 0 4px 12px rgba(0 0 0 / .08);
  --shadow-lg: 0 8px 30px rgba(0 0 0 / .1);
  --shadow-xl: 0 16px 50px rgba(0 0 0 / .12);
  --shadow-card: 0 1px 3px rgba(0 0 0 / .04), 0 4px 16px rgba(0 0 0 / .06);
  --shadow-card-hover: 0 8px 30px rgba(0 0 0 / .1), 0 2px 8px rgba(0 0 0 / .06);

  /* Transitions */
  --ease: cubic-bezier(.25, .46, .45, .94);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Aliases for subpages */
  --gold: var(--orange);
  --amber: var(--orange);
}
/* --- Container ---------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--s6); }
.container--lg { max-width: 1400px; margin: 0 auto; }
.text-center { text-align: center; }
/* --- Typography --------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  width: fit-content;
  margin: 0 auto var(--s6);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--s2) var(--s5);
  border-radius: var(--r-pill);
}
.section-label--free {
  color: var(--green);
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}
.section-label--neutral {
  color: var(--blue);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}
.section-title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: var(--text);
  margin-bottom: var(--s4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.7;
}
.section-subtitle.centered { margin-inline: auto; }
/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--s3) var(--s6);
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37 99 235 / .3);
}
.btn--primary:hover {
  background: #3b82f6;
  box-shadow: 0 4px 16px rgba(37 99 235 / .4);
  transform: translateY(-1px);
}
.btn--secondary {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn--white {
  background: #fff;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0 0 0 / .15);
}
.btn--white:hover {
  box-shadow: 0 4px 16px rgba(0 0 0 / .2);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255 255 255 / .15);
  color: #fff;
  border: 1.5px solid rgba(255 255 255 / .3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255 255 255 / .25);
  border-color: rgba(255 255 255 / .5);
  transform: translateY(-1px);
}
.btn--lg { padding: var(--s4) var(--s8); font-size: var(--text-md); }
/* --- Navigation --------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255 255 255 / .85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0 0 0 / .06);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: var(--s3) var(--s6);
  gap: var(--s8);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--text);
  white-space: nowrap;
}
.nav__logo img { width: 28px; height: 28px; border-radius: var(--r-sm); }
.nav__links {
  display: flex;
  gap: var(--s6);
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: var(--text-sm);
  color: var(--text-mid);
  transition: color .2s;
  font-weight: 500;
  padding: var(--s1) 0;
  border-bottom: 2px solid transparent;
}
.nav__link:hover { color: var(--text); }
.nav__link.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  font-weight: 600;
}
.nav__cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--s2) var(--s5);
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  transition: all .2s var(--ease);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37 99 235 / .25);
}
.nav__cta:hover { background: #3b82f6; box-shadow: 0 4px 12px rgba(37 99 235 / .35); }
.nav__hamburger { display: none; }
/* Mobile nav */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255 255 255 / .97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-mid);
  transition: color .2s;
}
.nav__mobile-menu a:hover { color: var(--blue); }
/* ============================================================
   HERO — Bold dark gradient with white text
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + var(--s16)) 0 var(--s20);
  overflow: hidden;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: var(--text-on-dark);
  perspective: 1200px;
}
/* Gradient mesh overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37 99 235 / .2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(79 70 229 / .15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(6 182 212 / .1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
/* Subtle grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255 255 255 / .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255 255 255 / .03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}
.hero__glow {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(37 99 235 / .15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}
.hero__content { max-width: 560px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  border: 1px solid rgba(255 255 255 / .2);
  color: rgba(255 255 255 / .9);
  background: rgba(255 255 255 / .08);
  margin-bottom: var(--s6);
  animation: fadeSlideUp .6s var(--ease) both;
}
.hero__title {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--s6);
  color: #fff;
  animation: fadeSlideUp .6s .1s var(--ease) both;
}
.hero__title .highlight {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255 255 255 / .7);
  line-height: 1.7;
  margin-bottom: var(--s8);
  max-width: 480px;
  animation: fadeSlideUp .6s .2s var(--ease) both;
}
.hero__ctas {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s10);
  animation: fadeSlideUp .6s .3s var(--ease) both;
}
.hero__stats {
  display: flex;
  gap: var(--s8);
  animation: fadeSlideUp .6s .4s var(--ease) both;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255 255 255 / .5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
/* --- Hero: centered layout for floating screenshots --- */
.hero__inner--centered {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 800px;
}
.hero__content--centered {
  max-width: 100%;
}
.hero__content--centered .hero__subtitle {
  max-width: 560px;
  margin-inline: auto;
}
.hero__content--centered .hero__ctas {
  justify-content: center;
}
.hero__content--centered .hero__stats {
  justify-content: center;
}
/* --- Isometric screenshot grid behind hero text --- */
.hero__iso {
  position: absolute;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(4, 200px);
  grid-template-rows: repeat(2, 150px);
  gap: 16px;
  transform: rotateX(55deg) rotateZ(-30deg) translateZ(0);
  opacity: .45;
  animation: heroIsoIn 1.2s var(--ease) both;
}
.hero__iso-shot {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255 255 255 / .08);
  box-shadow: 0 20px 60px rgba(0 0 0 / .5);
}
.hero__iso-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
}
@keyframes heroIsoIn {
  from {
    opacity: 0;
    transform: rotateX(55deg) rotateZ(-30deg) translateZ(0) translateY(40px);
  }
  to {
    opacity: .45;
    transform: rotateX(55deg) rotateZ(-30deg) translateZ(0) translateY(0);
  }
}
/* ============================================================
   SECTION DIVIDERS — minimal
   ============================================================ */
.divider {
  height: 0;
  border: none;
  margin: 0;
}
.divider--subtle {
  height: 0;
  border: none;
  margin: 0;
}
/* ============================================================
   HIGHLIGHTS BANNER — light blue tinted
   ============================================================ */
.highlights {
  padding: var(--s10) 0;
  background: var(--bg-blue);
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
}
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s6);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
}
.highlights__item {
  text-align: center;
  padding: var(--s4);
}
.highlights__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--s2);
  line-height: 1;
}
.highlights__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
  margin-bottom: var(--s1);
}
.highlights__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
/* ============================================================
   HOW IT WORKS — light green tinted
   ============================================================ */
.how-it-works {
  padding: var(--s12) 0;
  background: var(--bg-green);
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  max-width: 1200px;
  margin: var(--s8) auto 0;
  padding: 0 var(--s6);
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-lg);
  padding: var(--s8);
  position: relative;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.step:hover {
  border-color: var(--green);
  box-shadow: 0 8px 30px rgba(22 163 74 / .1);
  transform: translateY(-2px);
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--green);
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--s4);
}
.step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--s3);
  letter-spacing: -0.02em;
  color: var(--text);
}
.step p {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.7;
}
/* ============================================================
   COMPARISON TABLE — white with clean borders
   ============================================================ */
.compare {
  padding: var(--s16) 0 var(--s12);
  background: var(--bg-raised);
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--s8);
  box-shadow: var(--shadow-card);
}
.compare-table th, .compare-table td {
  padding: var(--s4) var(--s6);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--text-sm);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--s5) var(--s6);
}
.compare-table thead th:first-child {
  color: var(--text);
  background: var(--bg-raised);
}
.compare-table thead th:nth-child(2) {
  color: #fff;
  background: var(--green);
  text-align: center;
}
.compare-table thead th:nth-child(3) {
  color: #fff;
  background: var(--orange);
  text-align: center;
}
.compare-table tbody td { color: var(--text); }
.compare-table tbody td:first-child { font-weight: 500; }
.compare-table tbody td:nth-child(2), .compare-table tbody td:nth-child(3) { text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr { cursor: pointer; }
.compare-table tbody tr:hover { background: var(--bg-raised); }
.check { color: var(--green); font-weight: 700; font-size: var(--text-lg); }
.check--premium { color: var(--orange); }
.check-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}
/* ============================================================
   FEATURES — Wave Fan
   ============================================================ */
.features-fan { padding: var(--s16) 0 var(--s12); }
.fan-container { padding: 0 var(--s6); }
.fan-group { margin-bottom: var(--s8); }
.fan-group__header { margin-bottom: var(--s4); }
.fan-group__header h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.fan-group__header p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 2px; }
.fan-group__header--sbc h3 { color: var(--blue); }
.fan-group__header--pack h3 { color: #a78bfa; }
.fan-group__header--adv h3 { color: #06b6d4; }
.fan-wrap { display: flex; gap: var(--s5); align-items: center; margin-bottom: var(--s4); }
.fan-wrap--flip { flex-direction: row-reverse; }
.fan-info { flex: 0 0 220px; }
.fan-info h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.fan-info p { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }
.fan-tier {
  font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 3px 10px; border-radius: 999px; display: inline-block; margin-bottom: 8px;
}
.fan-tier--f { color: var(--green); background: #ecfdf5; border: 1px solid #bbf7d0; }
.fan-tier--p { color: var(--orange); background: #fff7ed; border: 1px solid #fed7aa; }
.fan {
  flex: 1; display: flex; justify-content: center; align-items: flex-end;
  padding: 30px 10px 10px;
}
.fan-shot {
  width: 240px; flex-shrink: 0; margin: 0 -30px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
  will-change: transform;
  display: block;
}
.fan-divider { border: none; height: 1px; background: var(--border); margin: var(--s8) 0; }
@media (max-width: 900px) {.fan-wrap, .fan-wrap--flip { flex-direction: column; align-items: stretch; }
.fan-info { flex: none; }
.fan { justify-content: center; padding: 20px 0; }
.fan-shot { width: 180px; margin: 0 -20px; }

}
@media (max-width: 600px) {.fan-shot { width: 130px; margin: 0 -15px; }

}
/* ============================================================
   GALLERY — Tutorial Walkthrough
   ============================================================ */
.gallery {
  padding: var(--s16) 0 var(--s12);
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
/* Section divider labels (Free / Premium) */
.gal-section-label {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin-bottom: var(--s8);
  padding-top: var(--s4);
}
.gal-section-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: var(--r-pill);
}
.gal-section-tag--free { color: var(--green); background: #ecfdf5; border: 1px solid #bbf7d0; }
.gal-section-tag--premium { color: var(--orange); background: #fff7ed; border: 1px solid #fed7aa; }
.gal-section-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
/* ── Terminal-style feature blocks (Free features) ── */
.term-feature {
  margin-bottom: var(--s10);
}
.term-feature + .term-feature {
  padding-top: var(--s8);
  border-top: 1px solid var(--border);
}
.term-header {
  display: flex;
  align-items: flex-start;
  gap: var(--s4);
  margin-bottom: var(--s6);
}
.term-header__num {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}
.term-header__text h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.term-header__text p {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 680px;
}
.term-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.term-step {
  display: flex;
  gap: var(--s5);
  align-items: flex-start;
  padding: var(--s5);
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--r-md);
  margin-bottom: var(--s3);
  transition: border-color .3s var(--ease);
  cursor: pointer;
}
.term-step:hover {
  border-color: #334155;
}
.term-step__shot {
  flex: 0 0 360px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #334155;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.term-step__shot img {
  width: 100%;
  display: block;
}
.term-step__meta {
  flex: 1;
  padding: 4px 0;
}
.term-step__prompt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #22c55e;
  margin-bottom: 8px;
}
.term-step__prompt::before {
  content: '$ ';
  color: #4ade80;
}
.term-step__meta h4 {
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.term-step__meta p {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.65;
  font-family: var(--font-mono);
}
.term-step__meta p b {
  color: #e2e8f0;
  font-weight: 600;
}
/* ── Floating Orbital blocks (Premium features) ── */
.orb-feature {
  margin-bottom: var(--s10);
}
.orb-feature + .orb-feature {
  padding-top: var(--s8);
  border-top: 1px solid var(--border);
}
.orb-feature__inner {
  display: flex;
  gap: var(--s8);
  align-items: center;
}
.orb-feature--flip .orb-feature__inner {
  flex-direction: row-reverse;
}
.orb-copy {
  flex: 0 0 300px;
}
.orb-copy__num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--s4);
}
.orb-copy h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--s3);
}
.orb-copy p {
  font-size: var(--text-sm);
  color: var(--text-mid);
  line-height: 1.7;
}
.orb-copy p b {
  color: var(--text);
  font-weight: 600;
}
.orb-visuals {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--s4);
}
.orb-feature--flip .orb-visuals {
  flex-direction: row-reverse;
}
.orb-hero {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(234,88,12,0.08), 0 2px 8px rgba(0,0,0,0.06);
  border: 1.5px solid rgba(234,88,12,0.15);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.orb-hero:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(234,88,12,0.3);
  box-shadow: 0 16px 48px rgba(234,88,12,0.12), 0 4px 12px rgba(0,0,0,0.08);
}
.orb-hero img {
  width: 100%;
  display: block;
}
.orb-sats {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 0 0 200px;
}
.orb-sat {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(234,88,12,0.12);
  box-shadow: var(--shadow-md);
  opacity: 0.85;
  cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s var(--ease), box-shadow .3s var(--ease);
}
.orb-sat:hover {
  transform: scale(1.06);
  opacity: 1;
  box-shadow: var(--shadow-lg);
}
.orb-sat img {
  width: 100%;
  display: block;
}
.orb-sat__label {
  padding: 6px 10px;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-mid);
  border-top: 1px solid var(--border);
}
/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  padding: var(--s12) 0;
  background: var(--bg-raised);
}
.community__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  margin-top: var(--s8);
  max-width: 900px;
  margin-inline: auto;
}
.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  padding: var(--s8);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.community-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.community-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: var(--bg-blue);
  border: 1px solid #bfdbfe;
}
.community-card__icon svg { width: 22px; height: 22px; color: var(--blue); }
.community-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--text);
}
.community-card__handle {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}
/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin-bottom: var(--s3);
  background: rgba(255,255,255,.02);
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(255,255,255,.15); }
.faq-item[open] { border-color: var(--blue); }
.faq-item summary {
  padding: var(--s4) var(--s5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--text);
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
  width: 1.4em;
  text-align: center;
  transition: transform .2s;
}
.faq-item[open] summary::before { content: '\2212'; }
.faq-item p {
  padding: 0 var(--s5) var(--s4) calc(var(--s5) + 1.4em + var(--s3));
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
/* ============================================================
   INSTALL CTA — bold blue gradient
   ============================================================ */
.install-cta {
  padding: var(--s12) 0;
  background: linear-gradient(160deg, #1e40af 0%, #2563eb 40%, #3b82f6 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.install-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255 255 255 / .1) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(255 255 255 / .05) 0%, transparent 50%);
  pointer-events: none;
}
.install-cta h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin-bottom: var(--s4);
  position: relative;
  color: #fff;
}
.install-cta p {
  color: rgba(255 255 255 / .8);
  margin-bottom: var(--s8);
  position: relative;
}
.install-cta__buttons {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
/* ============================================================
   FOOTER — dark for contrast
   ============================================================ */
footer {
  padding: var(--s16) 0 var(--s8);
  background: #0f172a;
  color: #94a3b8;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s12);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255 255 255 / .08);
  margin-bottom: var(--s8);
}
.footer__brand p {
  font-size: var(--text-sm);
  color: #64748b;
  margin-top: var(--s3);
  max-width: 280px;
  line-height: 1.6;
}
.footer__brand .nav__logo {
  margin-bottom: var(--s2);
  color: #e2e8f0;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: var(--s4);
}
.footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: #94a3b8;
  padding: var(--s1) 0;
  transition: color .2s;
}
.footer__col a:hover { color: #e2e8f0; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: var(--text-xs);
  color: #475569;
}
.footer__social {
  display: flex;
  gap: var(--s3);
}
.footer__social a {
  color: #64748b;
  transition: color .2s;
  display: flex;
}
.footer__social a:hover { color: #e2e8f0; }
.footer__social svg { width: 16px; height: 16px; }
/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0 0 0 / .85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
  padding: var(--s8);
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 90vh;
  width: 100%;
}
.lightbox-content img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: 0 20px 60px rgba(0 0 0 / .5);
}
.lightbox-caption {
  text-align: center;
  margin-top: var(--s4);
  font-size: var(--text-sm);
  color: rgba(255 255 255 / .7);
}
.lightbox-close {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255 255 255 / .15);
  border: 1px solid rgba(255 255 255 / .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  cursor: pointer;
  transition: background .2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255 255 255 / .3); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255 255 255 / .12);
  border: 1px solid rgba(255 255 255 / .2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  cursor: pointer;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255 255 255 / .25); }
.lightbox-prev { left: var(--s4); }
.lightbox-next { right: var(--s4); }
/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.stagger-children > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: .07s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: .14s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: .21s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: .28s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: .35s; }
.stagger-children.visible > * {
  opacity: 1;
  transform: none;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--s10);
    text-align: center;
  }
  .hero__content { max-width: 100%; }
  .hero__subtitle { max-width: 100%; margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; }

  /* Shrink isometric grid on tablet */
  .hero__iso {
    grid-template-columns: repeat(4, 150px);
    grid-template-rows: repeat(2, 110px);
    gap: 12px;
  }

  .bento-card--hero { grid-column: span 12; grid-template-columns: 1fr; }
  .bento-card--hero .bento-card__img { margin: 0 calc(var(--s8) * -1) calc(var(--s8) * -1); border-left: none; border-top: 1px solid var(--border); height: auto; box-shadow: none; }
  .bento-card--hero .bento-card__img::after { background: linear-gradient(to bottom, transparent, var(--bg-card)); width: 100%; height: 30%; right: 0; }
  .bento-card--side { grid-column: span 6; }
  .bento-card--half { grid-column: span 6; }
  .bento-card--third { grid-column: span 6; }

  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .term-step__shot { flex: 0 0 280px; }
  .orb-copy { flex: 0 0 260px; }
  .orb-sats { flex: 0 0 170px; }
}
@media (max-width: 768px) {.nav__links { display: none; }
.nav__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    margin-left: auto;
    padding: var(--s2);
  }
.nav__hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all .2s;
  }
.nav__cta { display: none; }
.hero__title { font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl)); }
.hero__stats { flex-wrap: wrap; gap: var(--s4); }
.hero__iso {
    grid-template-columns: repeat(3, 120px);
    grid-template-rows: repeat(2, 90px);
    gap: 10px;
    opacity: .3;
  }
.steps { grid-template-columns: 1fr; }
.highlights__grid { grid-template-columns: repeat(2, 1fr); }
.community__cards { grid-template-columns: 1fr; }
.term-step { flex-direction: column; }
.term-step__shot { flex: none; width: 100%; }
.orb-feature__inner, .orb-feature--flip .orb-feature__inner { flex-direction: column; }
.orb-copy { flex: none; }
.orb-visuals, .orb-feature--flip .orb-visuals { flex-direction: column; }
.orb-sats { flex: none; flex-direction: row; }
.orb-sat { max-width: 180px; }
.footer__top { grid-template-columns: 1fr; }
.footer__bottom { flex-direction: column; gap: var(--s4); }

}
@media (max-width: 480px) {:root {
    --s6: 1rem;
    --s8: 1.5rem;
  }
.hero { padding-top: calc(70px + var(--s10)); }
.hero__ctas { flex-direction: column; align-items: stretch; }
.hero__ctas .btn { justify-content: center; }
.hero__stats { gap: var(--s3); }
.hero__stat-value { font-size: var(--text-xl); }
.highlights__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.install-cta__buttons { flex-direction: column; align-items: center; }

}
/* ============================================================
   SUBPAGE STYLES (tutorials, about, privacy)
   ============================================================ */
/* Subpage hero — dark gradient matching main hero */
.subpage-hero {
  padding: calc(80px + var(--s12)) 0 var(--s10);
  background: var(--bg-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23ffffff' stroke-opacity='.04' stroke-width='.5'/%3E%3C/svg%3E");
  pointer-events: none;
}
.subpage-hero .section-label { border-color: rgba(255 255 255 / .15); color: rgba(255 255 255 / .9); }
.subpage-hero .section-label--free { background: rgba(22 163 74 / .15); color: #4ade80; border-color: rgba(22 163 74 / .2); }
.subpage-hero .section-title { color: #fff; font-size: var(--text-5xl); }
.subpage-hero .section-subtitle { color: rgba(255 255 255 / .7); }
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s12) var(--s6) var(--s24);
}
.prose h2 {
  font-size: var(--text-2xl);
  margin: var(--s12) 0 var(--s4);
  color: var(--text);
}
.prose h3 {
  font-size: var(--text-xl);
  margin: var(--s8) 0 var(--s3);
  color: var(--text);
}
.prose p {
  margin-bottom: var(--s4);
  color: var(--text-mid);
  line-height: 1.8;
}
.prose ul, .prose ol {
  margin: var(--s4) 0 var(--s6);
  padding-left: var(--s6);
  list-style: disc;
  color: var(--text-mid);
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: var(--s2); line-height: 1.7; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #3b82f6; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--blue);
}
.prose img {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin: var(--s6) 0;
  box-shadow: var(--shadow-md);
}
.prose strong { color: var(--text); font-weight: 600; }
/* Tutorials */
/* Tutorial card grid */
.tutorial-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s6);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.tutorial-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.tutorial-card--premium { border-left-color: var(--orange); }
.tutorial-card__number {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .1em;
  margin-bottom: var(--s2);
}
.tutorial-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px var(--s2);
  border-radius: var(--r-sm);
  margin-bottom: var(--s3);
}
.tutorial-card__badge--free {
  color: var(--green);
  background: var(--bg-green);
  border: 1px solid rgba(22 163 74 / .15);
}
.tutorial-card__badge--premium {
  color: var(--orange);
  background: var(--bg-orange);
  border: 1px solid rgba(234 88 12 / .15);
}
.tutorial-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--s2);
  color: var(--text);
}
.tutorial-card__desc { color: var(--text-mid); font-size: var(--text-sm); line-height: 1.6; }
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s6);
}
/* Tutorial grid + detail section spacing */
.tutorials-grid-section {
  padding: var(--s10) 0 var(--s6);
  background: var(--bg-raised);
}
.tutorials-detail-section { padding: 0; }
/* Tutorial detail sections */
.tutorial-section {
  padding: var(--s12) var(--s6);
}
.tutorial-section__inner {
  max-width: 760px;
  margin: 0 auto;
}
/* Alternating backgrounds for visual rhythm */
.tutorial-section:nth-child(odd) { background: var(--bg); }
.tutorial-section:nth-child(even) { background: var(--bg-raised); }
/* Premium tutorials get warm tint */
.tutorial-section--premium:nth-child(odd) { background: #fffbf5; }
.tutorial-section--premium:nth-child(even) { background: var(--bg-orange); }
.tutorial-section__header {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s3);
}
.tutorial-section__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tutorial-section__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 2px var(--s2);
  border-radius: var(--r-sm);
}
.tutorial-section__badge--free {
  color: var(--green);
  background: var(--bg-green);
  border: 1px solid rgba(22 163 74 / .15);
}
.tutorial-section__badge--premium {
  color: var(--orange);
  background: var(--bg-orange);
  border: 1px solid rgba(234 88 12 / .15);
}
.tutorial-section__title {
  font-size: var(--text-2xl);
  color: var(--text);
  margin-bottom: var(--s3);
}
.tutorial-section__desc {
  font-size: var(--text-md);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: var(--s6);
  max-width: 640px;
}
/* Tutorial steps */
.tutorial-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--s3);
  margin-bottom: var(--s5);
  align-items: start;
}
.tutorial-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 700;
  background: var(--bg-blue);
  color: var(--blue);
  border: 1px solid rgba(37 99 235 / .15);
  flex-shrink: 0;
}
.tutorial-step--gold .tutorial-step__num {
  background: var(--bg-orange);
  color: var(--orange);
  border-color: rgba(234 88 12 / .15);
}
.tutorial-step__content h4 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--s1);
  color: var(--text);
}
.tutorial-step__content p {
  color: var(--text-mid);
  line-height: 1.6;
  font-size: var(--text-sm);
  margin-bottom: 0;
}
.tutorial-step__content p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tutorial-step__content p a:hover { color: #3b82f6; }
.tutorial-step__content p a.firefox-link { color: #ff7139; }
.tutorial-step__content p a.firefox-link:hover { color: #ffa07a; }
/* Tutorial screenshots */
.tutorial-screenshot {
  margin: var(--s4) auto var(--s6);
  max-width: 620px;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.tutorial-section--premium .tutorial-screenshot {
  border-color: rgba(234,88,12,0.15);
  box-shadow: 0 4px 16px rgba(234,88,12,0.06), 0 1px 3px rgba(0,0,0,0.04);
}
.tutorial-screenshot:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.tutorial-section--premium .tutorial-screenshot:hover {
  border-color: rgba(234,88,12,0.3);
  box-shadow: 0 8px 28px rgba(234,88,12,0.1), 0 2px 6px rgba(0,0,0,0.05);
}
.tutorial-screenshot img { width: 100%; height: auto; display: block; }
/* Tutorial tip boxes */
.tutorial-tip {
  background: var(--bg-green);
  border: 1px solid rgba(22 163 74 / .15);
  border-left: 3px solid var(--green);
  border-radius: var(--r-md);
  padding: var(--s3) var(--s5);
  margin-top: var(--s5);
  color: var(--text-mid);
  line-height: 1.6;
  font-size: var(--text-sm);
}
.tutorial-tip strong { color: var(--green); }
.tutorial-tip--gold {
  background: var(--bg-orange);
  border-color: rgba(234 88 12 / .15);
  border-left-color: var(--orange);
}
.tutorial-tip--gold strong { color: var(--orange); }
/* Premium divider between free and premium tutorials */
.tutorials-divider {
  text-align: center;
  padding: var(--s8) var(--s6);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-orange) 100%);
}
.tutorials-divider__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.01em;
}
.tutorials-divider__line {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  opacity: .3;
  margin: var(--s2) auto 0;
}
/* Back to grid link */
.tutorial-section__back {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--s6);
  transition: color .2s;
}
.tutorial-section__back:hover { color: var(--blue); }
.tutorial-section__back svg { width: 14px; height: 14px; }
/* Tutorial responsive */
@media (max-width: 1024px) {
  .tutorial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {.tutorial-step {
    grid-template-columns: 30px 1fr;
    gap: var(--s2);
  }
.tutorial-step__num {
    width: 30px;
    height: 30px;
    font-size: var(--text-xs);
  }
.tutorial-grid { grid-template-columns: 1fr; }
.tutorial-section { padding: var(--s8) var(--s4); }
.subpage-hero .section-title { font-size: var(--text-3xl); }

}
/* Section padding helper */
.section { padding: var(--s24) 0; }
/* ===== Blog list ===== */
.blog-list { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.blog-list h1 { font-family: 'Satoshi', sans-serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 40px; }
.blog-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 20px; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.blog-card:hover { border-color: var(--border-hover); background: var(--bg-raised); }
.blog-card h2 { font-family: 'Satoshi', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.blog-card p { color: var(--text-mid); font-size: 14.5px; line-height: 1.6; margin: 0 0 10px; }
.blog-card__date { color: var(--text-muted); font-size: 13px; }
/* ===== Article pages ===== */
.article { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.article h1 { font-family: 'Satoshi', sans-serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }
.article__meta { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.article h2 { font-family: 'Satoshi', sans-serif; font-size: 1.3rem; font-weight: 700; margin: 40px 0 16px; }
.article h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; margin: 28px 0 10px; }
.article p { color: var(--text-mid); font-size: 15.5px; line-height: 1.75; margin-bottom: 18px; }
.article ul, .article ol { color: var(--text-mid); font-size: 15.5px; line-height: 1.75; margin: 0 0 18px 20px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--text); }
.article a { color: var(--blue); text-decoration: underline; }
.article a:hover { color: #1d4ed8; }
.article a.article__cta { display: inline-block; margin-top: 24px; padding: 12px 28px; background: var(--blue, #2563eb); color: #fff; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.article a.article__cta:hover { background: #1d4ed8; color: #fff; }
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 14px; }
.compare-table th, .compare-table td { padding: 10px 12px; border: 1px solid var(--border); text-align: center; }
.compare-table th { background: var(--bg-raised); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table tr:hover { background: var(--bg-raised); }
.compare-table th.col-hl, .compare-table td.col-hl { background: rgba(37, 99, 235, 0.22); border-left: 2px solid var(--blue, #2563eb); border-right: 2px solid var(--blue, #2563eb); font-weight: 700; color: var(--text); }
.compare-table th.col-hl { background: var(--blue, #2563eb); color: #fff; border-top: 2px solid var(--blue, #2563eb); position: relative; }
.compare-table tr:last-child td.col-hl { border-bottom: 2px solid var(--blue, #2563eb); }
.compare-table tr:hover td.col-hl { background: rgba(37, 99, 235, 0.3); }
@media (max-width: 600px) {.compare-table { font-size: 12px; }
.compare-table th, .compare-table td { padding: 8px 6px; }

    }
/* ===== 404 page ===== */
.error-page {
      min-height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 4rem 1.5rem;
    }
.error-page__code {
      font-family: 'JetBrains Mono', monospace;
      font-size: clamp(5rem, 15vw, 10rem);
      font-weight: 700;
      background: linear-gradient(135deg, #2563eb, #7c3aed);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin-bottom: 1rem;
    }
.error-page__title {
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
    }
.error-page__desc {
      color: var(--muted);
      margin-bottom: 2rem;
      max-width: 28rem;
      margin-inline: auto;
    }
.error-page__links {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }
/* ===== Support page ===== */
.support { max-width: 720px; margin: 0 auto; padding: 120px 24px 80px; }
.support h1 { font-family: "Satoshi", sans-serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.support__lead { color: var(--text-mid); font-size: 15.5px; line-height: 1.75; margin-bottom: 32px; }
.support-card { border: 1px solid var(--border); border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.support-card h2 { font-family: "Satoshi", sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.support-card p { color: var(--text-mid); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.support-card a.support-card__link { color: var(--blue); text-decoration: underline; font-weight: 600; }

