/* ════════════════════════════════════════
   STICKY — WARM INK MARKETING SITE
   Brand/type/color tokens live in tokens.css.
   Only landing-page-specific styles live here.
   ════════════════════════════════════════ */

:root {
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-std: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radii */
  --radius-card: 24px;
  --radius-badge: 12px;

  /* Shadows (warm chocolate) */
  --shadow-level2: 0 4px 8px rgba(42, 31, 20, 0.12);
  --shadow-level3: 0 8px 12px rgba(42, 31, 20, 0.16);
  --shadow-phone: 0 20px 60px rgba(42, 31, 20, 0.25), 0 4px 16px rgba(42, 31, 20, 0.1);

  /* Transitions */
  --transition-bouncy: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2);
}

/* Reset and html smoothing live in tokens.css (shared with legal pages). */
body {
  font-family: var(--font-sans);
  background: var(--color-parchment);
  color: var(--color-chocolate);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }

/* ──── Utility ──── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gray-500);
  margin-bottom: var(--space-std);
}

/* Shared <h2> for every section heading. Per-section color overrides
   (e.g. dark-showcase) live with the section styles. */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  color: var(--color-chocolate);
  margin-top: var(--space-sm);
}

/* Shared stroke-icon utility used by every <svg><use href="#..."/></svg>
   in the symbol library (see index.html). Per-context width/height sizing
   lives on the parent selector (.feature-icon svg, .btn-primary svg, etc).
   .step-number overrides stroke-width for a lighter weight. */
.icon-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* .blob-shape and .icon-blob are defined in tokens.css (shared with legal
   pages). `.icon-blob` sizes and clips an <img>; `.blob-shape` is applied
   directly in markup to any element that wants the warm-ink silhouette. */

/* ──── Scroll Animations ──── */
/* .reveal  — triggered by IntersectionObserver when scrolled into view.
   .hero-enter — staggered entrance that runs on page load (no observer).
   Both are gated on `html.js` so the page degrades gracefully when JS
   fails to load (otherwise .reveal's opacity: 0 would hide the site).
   Motion is also fully disabled when the user prefers reduced motion. */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.js .hero-enter {
  opacity: 0;
  animation: heroEntrance 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.hero-enter-delay-1 { animation-delay: 0.15s; }
.hero-enter-delay-2 { animation-delay: 0.3s; }
.hero-enter-delay-3 { animation-delay: 0.45s; }
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Honor user motion preferences: skip the entrance animations entirely
   (keeping content visible), disable smooth scrolling, and neutralize
   hover/transition effects across the site. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.visible,
  .js .hero-enter {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-std) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-snappy), box-shadow var(--transition-snappy);
}

.site-nav.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(42, 31, 20, 0.06);
}

/* .nav-brand, .nav-icon, .nav-wordmark live in tokens.css. */

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-500);
  transition: color var(--transition-snappy);
}

.nav-links a:hover {
  color: var(--color-chocolate);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--color-chocolate);
  color: var(--color-parchment) !important;
  border-radius: var(--radius-button);
  font-size: 14px;
  font-weight: 600;
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-level2);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ══════════════════════════════════════════
   SECTION 1 — HERO
   ══════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* Ambient ink blobs */
.hero::before {
  content: '';
  position: absolute;
  top: 80px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 60% 40% 50% 50%;
  background: radial-gradient(ellipse at 40% 40%, rgba(232, 130, 92, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50% 45% 55% 40%;
  background: radial-gradient(ellipse at 50% 50%, rgba(42, 31, 20, 0.06) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-icon {
  --blob-size: 80px;
  transform: rotate(-5deg);
  box-shadow: var(--shadow-level3);
  margin-bottom: var(--space-xl);
  transition: transform var(--transition-bouncy);
}

.hero-icon:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--color-chocolate);
  margin-bottom: var(--space-lg);
}

.hero-tagline .accent {
  color: var(--color-sienna);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-gray-500);
  max-width: 440px;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 16px 32px;
  background: var(--color-chocolate);
  color: var(--color-parchment);
  border-radius: var(--radius-button);
  font-size: 16px;
  font-weight: 600;
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(42, 31, 20, 0.3);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gray-500);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-snappy);
}

.btn-secondary:hover {
  color: var(--color-sienna);
}

.btn-secondary .arrow {
  transition: transform var(--transition-snappy);
}

.btn-secondary:hover .arrow {
  transform: translateY(2px);
}

/* Phone mockup */
.hero-phone {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 280px;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--color-chocolate);
  box-shadow: var(--shadow-phone);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Decorative dot grid behind phone */
.hero-phone::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -30px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(232, 130, 92, 0.25) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  z-index: -1;
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-phone { margin-top: var(--space-2xl); }
  .phone-frame { width: 240px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .phone-frame { width: 200px; }
}

/* ══════════════════════════════════════════
   SECTION 2 — FEATURES
   ══════════════════════════════════════════ */

.features {
  padding: var(--space-4xl) 0;
  position: relative;
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--color-card-surface);
  border-radius: var(--radius-card);
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-level2);
}

/* Shape (border-radius + rotation) comes from .blob-shape in the HTML. */
.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--color-chocolate);
  color: var(--color-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-std);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: var(--space-sm);
}

.feature-desc {
  font-size: 15px;
  color: var(--color-gray-500);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

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

/* ══════════════════════════════════════════
   SECTION 3 — SCREENSHOTS CAROUSEL
   ══════════════════════════════════════════ */

.screenshots {
  padding: var(--space-4xl) 0;
  background: var(--color-card-surface);
}

.screenshots-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.carousel-wrap {
  position: relative;
}

.carousel {
  display: flex;
  gap: var(--space-xl);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-lg) var(--space-lg) var(--space-2xl);
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-item {
  flex-shrink: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.carousel-phone {
  width: 220px;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  background: var(--color-chocolate);
  box-shadow: var(--shadow-phone);
  transition: transform var(--transition-snappy);
}

.carousel-phone:hover {
  transform: scale(1.03);
}

.carousel-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.carousel-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-500);
  letter-spacing: 0.5px;
}

/* Carousel navigation arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-parchment);
  color: var(--color-chocolate);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-level2);
  z-index: 10;
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

.carousel-nav:hover {
  transform: translateY(-60%) scale(1.08);
  box-shadow: var(--shadow-level3);
}

.carousel-prev { left: var(--space-std); }
.carousel-next { right: var(--space-std); }

.carousel-nav svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .carousel-nav { display: none; }
  .carousel-phone { width: 180px; border-radius: 30px; }
}

/* ══════════════════════════════════════════
   SECTION 4 — HOW IT WORKS
   ══════════════════════════════════════════ */

.how-it-works {
  padding: var(--space-4xl) 0;
}

.how-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.67% + 48px);
  right: calc(16.67% + 48px);
  height: 2px;
  background: var(--color-gray-300);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Shape (border-radius + rotation) comes from .blob-shape in the HTML. */
.step-number {
  width: 88px;
  height: 88px;
  background: var(--color-chocolate);
  color: var(--color-parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  box-shadow: var(--shadow-level2);
}

.step-number svg {
  width: 36px;
  height: 36px;
}

/* Step icons use a lighter stroke than feature icons. */
.step-number .icon-outline { stroke-width: 1.5; }

.step-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-chocolate);
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: 15px;
  color: var(--color-gray-500);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

.step-counter {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-sienna);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: var(--space-2xl);
  }
  .steps::before {
    top: 0;
    bottom: 0;
    left: 44px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .step { text-align: left; display: flex; gap: var(--space-lg); align-items: flex-start; }
  .step-number { margin: 0; flex-shrink: 0; width: 72px; height: 72px; }
}

/* ══════════════════════════════════════════
   SECTION 5 — DARK MODE SHOWCASE
   ══════════════════════════════════════════ */

.dark-showcase {
  padding: var(--space-4xl) 0;
  background: var(--color-chocolate);
  color: var(--color-parchment);
  position: relative;
  overflow: hidden;
}

/* Ambient sienna glow */
.dark-showcase::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232, 130, 92, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dark-showcase-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.dark-showcase .section-label {
  color: var(--color-gray-300);
}

.dark-showcase .section-title {
  color: var(--color-parchment);
}

.dark-showcase-subtitle {
  font-size: 18px;
  color: var(--color-gray-300);
  margin-top: var(--space-md);
}

.showcase-phones {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  position: relative;
  z-index: 1;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-std);
}

.showcase-phone {
  width: 240px;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(240, 235, 227, 0.06);
}

.showcase-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.showcase-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-300);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.showcase-dot.light { background: var(--color-parchment); }
.showcase-dot.dark { background: var(--color-sienna); }

@media (max-width: 600px) {
  .showcase-phones { gap: var(--space-std); }
  .showcase-phone { width: 160px; border-radius: 28px; }
}

/* ══════════════════════════════════════════
   SECTION 6 — PRICING
   ══════════════════════════════════════════ */

.pricing {
  padding: var(--space-4xl) 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.pricing-subtitle {
  font-size: 17px;
  color: var(--color-gray-500);
  margin-top: var(--space-md);
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-std);
  margin-bottom: var(--space-2xl);
}

.billing-option {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-300);
  transition: color var(--transition-snappy);
  cursor: pointer;
}

.billing-option.active {
  color: var(--color-chocolate);
  font-weight: 700;
}

.toggle-track {
  width: 52px;
  height: 30px;
  border-radius: 15px;
  background: var(--color-sienna);
  position: relative;
  cursor: pointer;
  transition: background var(--transition-snappy);
}

.toggle-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition-bouncy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.toggle-track.yearly .toggle-thumb {
  transform: translateX(22px);
}

.save-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--color-sienna);
  color: white;
  border-radius: var(--radius-badge);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Pricing cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.pricing-card {
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-card);
  position: relative;
  transition: transform var(--transition-snappy);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.free {
  background: var(--color-card-surface);
  --check-tint: rgba(42, 31, 20, 0.08);
  --check-icon: var(--check-chocolate);
}

.pricing-card.premium {
  background: var(--color-chocolate);
  color: var(--color-parchment);
  box-shadow: 0 12px 40px rgba(42, 31, 20, 0.3);
  --check-tint: rgba(232, 130, 92, 0.2);
  --check-icon: var(--check-sienna);
}

/* .pricing-card-label only adds a larger bottom gap; the base label
   typography (size, weight, tracking, color) comes from .section-label,
   which each pricing card's <p> also carries. */
.pricing-card-label { margin-bottom: var(--space-lg); }
.pricing-card.premium .pricing-card-label { color: var(--color-sienna); }

.pricing-card-price {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.pricing-card-period {
  font-size: 14px;
  color: var(--color-gray-500);
  margin-bottom: var(--space-lg);
}

.pricing-card.premium .pricing-card-period {
  color: var(--color-gray-300);
}

.pricing-card-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.pricing-card-features li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  font-size: 15px;
}

/* Checkmark circles. The two SVG data URIs (chocolate + sienna fill) are
   defined once as custom properties so the per-card rules only need to
   pick a tint color and which check variant to show. */
:root {
  --check-chocolate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%232A1F14'%3E%3Cpath d='M8.5 13.3 5.7 10.5l1-1L8.5 11.3l4.8-4.8 1 1z'/%3E%3C/svg%3E");
  --check-sienna: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23E8825C'%3E%3Cpath d='M8.5 13.3 5.7 10.5l1-1L8.5 11.3l4.8-4.8 1 1z'/%3E%3C/svg%3E");
}

.pricing-card-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--check-tint);
  background-image: var(--check-icon);
}

.pricing-card.premium .pricing-card-features li {
  color: var(--color-gray-100);
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-button);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

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

.pricing-card.free .pricing-btn {
  background: rgba(42, 31, 20, 0.08);
  color: var(--color-chocolate);
}

.pricing-card.free .pricing-btn:hover {
  box-shadow: var(--shadow-level1);
}

.pricing-card.premium .pricing-btn {
  background: var(--color-sienna);
  color: white;
}

.pricing-card.premium .pricing-btn:hover {
  box-shadow: 0 4px 16px rgba(232, 130, 92, 0.4);
}

.premium-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--color-sienna);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-badge);
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ══════════════════════════════════════════
   SECTION 7 — FOOTER
   ══════════════════════════════════════════ */

.site-footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(42, 31, 20, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-std);
}

.footer-icon { --blob-size: 32px; }

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 900;
  color: var(--color-chocolate);
}

.footer-tagline {
  font-size: 14px;
  color: var(--color-gray-500);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--space-2xl);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gray-500);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--color-gray-700);
  padding: var(--space-xs) 0;
  transition: color var(--transition-snappy);
}

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

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(42, 31, 20, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-gray-500);
}

.footer-app-store {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 20px;
  background: var(--color-chocolate);
  color: var(--color-parchment);
  border-radius: var(--radius-button);
  font-size: 13px;
  font-weight: 600;
  transition: transform var(--transition-snappy);
}

.footer-app-store:hover {
  transform: translateY(-1px);
}

.footer-app-store svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; }
  .footer-links { gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-std); text-align: center; }
}

/* ──── Hidden SVG symbol library (referenced via <use>) ──── */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ══════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
  body {
    background: var(--color-espresso);
    color: var(--color-gray-100);
  }

  .site-nav.scrolled {
    background: rgba(28, 23, 18, 0.92);
    box-shadow: 0 1px 0 rgba(240, 235, 227, 0.06);
  }

  /* .nav-wordmark dark-mode color lives in tokens.css (shared with legal pages). */
  .hero-tagline,
  .section-title,
  .footer-wordmark {
    color: var(--color-gray-100);
  }

  /* Dark-showcase sits on the dark background in both color schemes,
     so its title already uses parchment — keep it that way. */
  .dark-showcase .section-title { color: var(--color-parchment); }

  .nav-links a { color: var(--color-gray-300); }
  .nav-links a:hover { color: var(--color-gray-100); }
  .nav-cta { background: var(--color-sienna); }

  .feature-card {
    background: var(--color-card-dark);
  }

  .feature-name,
  .step-name {
    color: var(--color-gray-100);
  }

  .feature-icon {
    background: var(--color-sienna);
  }

  .screenshots {
    background: var(--color-card-dark);
  }

  .step-number {
    background: var(--color-sienna);
  }

  /* The connector line is horizontal on desktop and vertical on mobile
     (see .steps::before override in the 768px breakpoint). A 2px-wide
     vertical line collapses any horizontal gradient, so use a solid color
     that works in both orientations. */
  .steps::before {
    background: var(--color-sienna);
  }

  .carousel-nav {
    background: var(--color-card-dark);
    color: var(--color-gray-100);
  }

  .pricing-card.free {
    background: var(--color-card-dark);
    color: var(--color-gray-100);
  }

  .pricing-card.free .pricing-btn {
    background: rgba(240, 235, 227, 0.08);
    color: var(--color-gray-100);
  }

  .pricing-card.free {
    --check-tint: rgba(232, 130, 92, 0.15);
    --check-icon: var(--check-sienna);
  }

  .billing-option.active { color: var(--color-gray-100); }

  .btn-primary {
    background: var(--color-sienna);
    color: white;
  }

  .site-footer {
    border-top-color: rgba(240, 235, 227, 0.06);
  }

  .footer-col a { color: var(--color-gray-300); }
  .footer-bottom { border-top-color: rgba(240, 235, 227, 0.06); }

  .footer-app-store {
    background: var(--color-sienna);
  }

  .showcase-phone {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(240, 235, 227, 0.06);
  }
}
