/* ==========================================================================
   Swatch & Learn by Color With Piper — Cozy Coloring-Table Stylesheet
   ========================================================================== */

:root {
  /* Core Palette Tokens */
  --ink: #3E2723;
  --ink-soft: #5D433E;
  --ink-muted: #765B55;
  --bg-cool: #F0F4F8;
  --bg-warm: #FFFDF9;
  --bg-paper: #FAF6F0;
  --bg-table: #EFE7DC;

  /* Action & Accent Tokens */
  --cta-bg: #FFF9C4;
  --cta-bg-hover: #FFF29E;
  --cta-bg-active: #FBE982;
  --cta-border: #D9C86C;
  --accent: #375E7A;
  --accent-dark: #28475E;
  --accent-mid: #76A6C8;
  --accent-light: #B7D4F6;
  --accent-tint: #E4EDF4;

  /* Borders & Tactile Shadows */
  --border-warm: rgba(62, 39, 35, 0.12);
  --border-strong: rgba(62, 39, 35, 0.22);
  --shadow-card: 0 10px 28px rgba(62, 39, 35, 0.08), 0 2px 6px rgba(62, 39, 35, 0.05);
  --shadow-paper: 0 14px 36px rgba(62, 39, 35, 0.11), 0 3px 10px rgba(62, 39, 35, 0.06);
  --shadow-cta: 0 4px 0 #D8C76B, 0 8px 18px rgba(62, 39, 35, 0.12);
  --shadow-cta-hover: 0 5px 0 #CBB853, 0 10px 22px rgba(62, 39, 35, 0.15);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii & Spacing */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --container-max: 1080px;

  /* Interactive Demo Default (Warm Palette) */
  --demo-light: #F2B63D;     /* Marigold */
  --demo-mid1: #EA7A68;      /* Coral */
  --demo-mid2: #C65A33;      /* Terracotta */
  --demo-dark: #6B1D31;      /* Burgundy */
  --demo-paper: #FFFDF8;
}

/* Cool Palette Overrides for Interactive Demo */
.demo-artwork-frame[data-palette="cool"] {
  --demo-light: #99D7C5;     /* Seafoam */
  --demo-mid1: #8EA1E0;      /* Periwinkle */
  --demo-mid2: #1F7B82;      /* Teal */
  --demo-dark: #2B356B;      /* Indigo */
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px generous readable base */
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--bg-warm);
  /* Subtle cozy linen paper grain feeling via soft radial warmth */
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 249, 196, 0.35), transparent 36%),
    radial-gradient(circle at 88% 4%, rgba(240, 244, 248, 0.7), transparent 40%);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--bg-warm);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

/* Universal High-Contrast Keyboard Focus */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 20px;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  min-height: 54px;
  background-color: var(--cta-bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary:hover {
  background-color: var(--cta-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--ink);
}

.btn-primary:active {
  background-color: var(--cta-bg-active);
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--ink);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.btn-primary .btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  color: var(--accent);
  font-size: 1.03125rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  border-radius: 6px;
  transition: color 0.16s ease;
}

.link-secondary:hover {
  color: var(--accent-dark);
}

.link-secondary svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.link-secondary:hover svg {
  transform: translateY(2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 28px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: var(--bg-cool);
  color: var(--accent);
  border: 1.5px solid rgba(55, 94, 122, 0.22);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (min-width: 420px) {
  .hero-eyebrow {
    padding: 6px 14px;
    font-size: 0.9375rem;
  }
}

.eyebrow-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.eyebrow-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.hero-descriptor {
  font-size: 0.96875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.005em;
  margin-top: -6px;
}

.hero-headline {
  font-size: clamp(2.15rem, 6.2vw, 3.35rem);
  line-height: 1.08;
  max-width: 16ch;
}

.hero-copy {
  font-size: clamp(1.0625rem, 2.2vw, 1.15625rem);
  color: var(--ink-soft);
  max-width: 48ch;
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  width: 100%;
}

.cta-subnote {
  font-size: 0.9125rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Hero Visual Card */
.hero-visual {
  width: 100%;
}

.hero-art-card {
  background-color: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-paper);
}

.hero-svg-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(62, 39, 35, 0.1);
  background-color: var(--bg-table);
}

.hero-svg-wrap svg {
  width: 100%;
  height: auto;
}

/* Hero Matching Swatch Strip */
.hero-swatch-bar {
  margin-top: 12px;
  padding: 12px 14px;
  background-color: var(--bg-paper);
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-swatch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-muted);
}

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

.hero-swatch-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-swatch-chip {
  height: 36px;
  border-radius: 9px;
  border: 1.5px solid rgba(62, 39, 35, 0.18);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

.hero-swatch-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ==========================================================================
   INTERACTIVE DEMONSTRATION ("One page. Two different moods.")
   ========================================================================== */
.demo-section {
  background-color: var(--bg-cool);
  border-top: 1px solid rgba(55, 94, 122, 0.12);
  border-bottom: 1px solid rgba(55, 94, 122, 0.12);
  padding: 52px 0 60px;
  scroll-margin-top: 16px;
}

.demo-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background-color: var(--bg-warm);
  color: var(--accent);
  border: 1.5px solid rgba(55, 94, 122, 0.24);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-heading {
  font-size: clamp(1.95rem, 5vw, 2.8rem);
  line-height: 1.1;
}

.demo-subcopy {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

/* Demo Stage (Cozy Coloring Table Surface) */
.demo-stage {
  max-width: 780px;
  margin: 0 auto;
  background-color: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-paper);
}

/* Palette Toggle Controls */
.palette-controls-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.palette-toggle-group {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  background-color: var(--bg-cool);
  border: 1.5px solid rgba(55, 94, 122, 0.22);
  border-radius: var(--radius-pill);
  width: 100%;
  max-width: 470px;
}

.palette-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 11px 10px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 480px) {
  .palette-toggle-group {
    gap: 10px;
    padding: 6px;
  }

  .palette-btn {
    gap: 9px;
    padding: 12px 18px;
    min-height: 50px;
    font-size: 1rem;
  }
}

.palette-btn:hover:not([aria-pressed="true"]) {
  background-color: rgba(255, 253, 249, 0.85);
  border-color: rgba(55, 94, 122, 0.25);
}

/* Unmistakable Selected State for Sighted & Keyboard Users */
.palette-btn[aria-pressed="true"] {
  background-color: var(--accent);
  color: var(--bg-warm);
  border-color: var(--accent-dark);
  box-shadow: 0 4px 12px rgba(55, 94, 122, 0.28);
}

.palette-btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.palette-btn-dots {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

.palette-btn-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--bg-warm);
  margin-left: -3px;
}

@media (min-width: 480px) {
  .palette-btn-dots {
    display: inline-flex;
  }
}

.palette-btn-dots span:first-child {
  margin-left: 0;
}

.palette-btn-check {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
  display: none;
}

.palette-btn[aria-pressed="true"] .palette-btn-check {
  display: inline-block;
  opacity: 1;
  transform: scale(1);
}

.demo-active-status {
  font-size: 0.9125rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* Interactive Coloring Page Frame */
.demo-artwork-frame {
  background-color: var(--bg-table);
  border: 1px solid var(--border-warm);
  border-radius: 18px;
  padding: 16px;
}

.demo-paper-sheet {
  background-color: var(--demo-paper);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(62, 39, 35, 0.12);
  border: 1px solid rgba(62, 39, 35, 0.1);
  overflow: hidden;
  max-width: 620px;
  margin: 0 auto;
}

.demo-svg {
  width: 100%;
  height: auto;
}

/* SVG Geometric Fill Slots with Silky Smooth Transitions */
.demo-svg .fill-light {
  fill: var(--demo-light);
  transition: fill 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-svg .fill-mid1 {
  fill: var(--demo-mid1);
  transition: fill 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-svg .fill-mid2 {
  fill: var(--demo-mid2);
  transition: fill 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-svg .fill-dark {
  fill: var(--demo-dark);
  transition: fill 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-svg .fill-paper {
  fill: var(--demo-paper);
}

.demo-svg .ink {
  stroke: #3A2420;
  stroke-width: 2.3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.demo-svg .ink-outer {
  stroke: #3A2420;
  stroke-width: 3;
  stroke-linejoin: round;
}

/* Dynamic Swatch Strip Beneath Demo Artwork */
.demo-swatch-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.demo-swatch-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background-color: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
}

.demo-swatch-color {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1.5px solid rgba(62, 39, 35, 0.2);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.24);
  transition: background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-swatch-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-swatch-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.demo-swatch-value {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.demo-footnote {
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   TWO WAYS TO START SECTION
   ========================================================================== */
.ways-section {
  padding: 60px 0 64px;
  background-color: var(--bg-warm);
}

.ways-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ways-subcopy {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.ways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.way-card {
  background-color: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.way-visual-frame {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 820px) {
  .way-visual-frame {
    min-height: 282px;
  }
}

.way-title {
  font-size: clamp(1.5rem, 3.2vw, 1.75rem);
  color: var(--ink);
}

.way-copy {
  font-size: 1.03125rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Visual 1: Choose Your Starting Color */
.start-color-diagram {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.start-color-flow {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 10px;
}

.starting-chip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background-color: var(--bg-warm);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid rgba(55, 94, 122, 0.25);
  box-shadow: 0 4px 12px rgba(62, 39, 35, 0.07);
}

.starting-chip-swatch {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  background-color: #C85368; /* Vibrant Berry Rose starting marker */
  border: 2px solid rgba(62, 39, 35, 0.22);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.28);
  position: relative;
}

.starting-chip-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--accent-tint);
  color: var(--accent);
  flex-shrink: 0;
  transform: rotate(90deg);
}

.harmony-card {
  width: 100%;
  background-color: var(--bg-warm);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--border-warm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.harmony-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

.harmony-swatch {
  height: 50px;
  border-radius: 9px;
  border: 1.5px solid rgba(62, 39, 35, 0.18);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.harmony-names {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
}

@media (min-width: 440px) {
  .start-color-flow {
    grid-template-columns: auto auto minmax(0, 1fr);
    justify-items: stretch;
    gap: 10px;
  }

  .flow-arrow {
    transform: none;
  }
}

/* Visual 2: Your Photo, Your Palette */
.photo-palette-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-preview-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(62, 39, 35, 0.14);
  box-shadow: 0 4px 12px rgba(62, 39, 35, 0.08);
  background-color: #F4ECDF;
}

.photo-preview-box svg {
  width: 100%;
  height: auto;
}

.photo-swatch-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.photo-swatch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.photo-swatch-dot {
  width: 100%;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid rgba(62, 39, 35, 0.2);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22);
}

.photo-swatch-caption {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.15;
}

/* Shared Purchase CTA under Two Ways to Start */
.ways-cta-wrap {
  margin-top: 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ways-cta-note {
  font-size: 0.96875rem;
  color: var(--ink-soft);
}

/* Transition line beneath Section 2 Interactive Demo */
.demo-transition {
  max-width: 600px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 1.09375rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.5;
}

/* ==========================================================================
   SHARED EDITORIAL SECTION UTILITIES (SECTIONS 4 - 11)
   ========================================================================== */
.section-cool {
  background-color: var(--bg-cool);
  border-top: 1px solid rgba(55, 94, 122, 0.12);
  border-bottom: 1px solid rgba(55, 94, 122, 0.12);
}

.section-warm {
  background-color: var(--bg-warm);
}

.studio-section,
.learn-section,
.library-section,
.features-section,
.lifestyle-section,
.pricing-section,
.faq-section {
  padding: 58px 0 64px;
  scroll-margin-top: 16px;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.62;
}

.lead-copy {
  font-size: 1.15625rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.body-copy {
  font-size: 1.03125rem;
  color: var(--ink-soft);
  line-height: 1.64;
}

.check-icon {
  width: 19px;
  height: 19px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Split Editorial Showcase (Sections 4 & 6) */
.split-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.split-media {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Real App Screenshot Frames */
.app-shot-frame {
  margin: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-shot-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(55, 94, 122, 0.18);
  background-color: #F0F3F8;
}

.app-shot-tall {
  max-width: 340px;
  margin-inline: auto;
}

.app-shot-photo {
  max-width: 356px;
  margin-inline: auto;
}

.app-shot-history {
  max-width: 380px;
  margin-inline: auto;
}

.app-shot-caption {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-muted);
  padding-inline: 4px;
}

.app-shot-caption strong {
  color: var(--ink);
}

/* Honest Planning Note */
.honest-note {
  font-size: 0.9125rem;
  line-height: 1.55;
  color: var(--ink-muted);
  background-color: rgba(255, 253, 249, 0.85);
  border-left: 3px solid var(--accent-mid);
  padding: 11px 14px;
  border-radius: 0 10px 10px 0;
}

.honest-note strong {
  color: var(--ink);
}

/* ==========================================================================
   SECTION 4: TRY BEFORE YOU COLOR
   ========================================================================== */
.workflow-steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.workflow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.workflow-steps strong {
  color: var(--ink);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--bg-warm);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.workspace-tools-box {
  width: 100%;
  background-color: var(--bg-warm);
  border: 1.5px solid rgba(55, 94, 122, 0.18);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.workspace-tools-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}

.inline-check-list,
.feature-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.inline-check-list li,
.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96875rem;
  color: var(--ink-soft);
}

.feature-check-list strong {
  color: var(--ink);
}

/* ==========================================================================
   SECTION 5: LEARN AS YOU CREATE
   ========================================================================== */
.harmony-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.harmony-mini {
  background-color: var(--bg-paper);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.harmony-mini-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-bottom: 2px;
}

.harmony-mini-bar span {
  height: 22px;
  border-radius: 6px;
  border: 1px solid rgba(62, 39, 35, 0.14);
}

.harmony-mini h3 {
  font-size: 1.0625rem;
  color: var(--ink);
}

.harmony-mini p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.learn-shots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  justify-items: center;
  align-items: start;
}

.learn-shots-grid .app-shot-frame {
  max-width: 480px;
}

/* ==========================================================================
   SECTION 6: PALETTE LIBRARY
   ========================================================================== */
.library-media-stack {
  gap: 14px;
}

.asset-placeholder-note {
  width: 100%;
  max-width: 440px;
  padding: 13px 16px;
  background-color: rgba(255, 253, 249, 0.72);
  border: 1.5px dashed var(--accent-mid);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.placeholder-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.asset-placeholder-note p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SECTION 7: THOUGHTFULLY DESIGNED FOR COLORISTS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 42px;
}

.pillar-item {
  background-color: var(--bg-cool);
  border: 1.5px solid rgba(55, 94, 122, 0.18);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--cta-bg);
  border: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.pillar-item h3 {
  font-size: 1.25rem;
  color: var(--ink);
}

.pillar-item p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.58;
}

.depth-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.depth-subheading {
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.depth-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 24px;
}

.depth-feature-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-light);
}

.depth-feature-list strong {
  font-size: 1rem;
  color: var(--ink);
}

.depth-feature-list span {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.depth-media {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   SECTION 8: MADE FOR YOUR COLORING TIME
   ========================================================================== */
.lifestyle-panel {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.lifestyle-accent-bar {
  display: inline-flex;
  gap: 8px;
  padding: 7px 14px;
  background-color: var(--bg-warm);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-warm);
}

.lifestyle-accent-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.lifestyle-copy {
  font-size: 1.09375rem;
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.66;
}

.brand-tagline {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  letter-spacing: -0.015em;
}

/* ==========================================================================
   SECTION 9: PRICING AND PURCHASE
   ========================================================================== */
.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-warm);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-warm);
}

.pricing-product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pricing-product-sub {
  font-size: 0.96875rem;
  color: var(--ink-soft);
}

.price-display {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background-color: var(--bg-cool);
  color: var(--accent);
  border: 1.5px solid var(--accent-light);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.price-current {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.price-currency {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.price-compare {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin: 0;
}

.price-cadence {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.pricing-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.pricing-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--ink);
}

.pricing-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.btn-primary-lg {
  width: 100%;
  max-width: 340px;
  font-size: 1.125rem;
  padding: 16px 30px;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--ink-muted);
  text-align: center;
}

/* ==========================================================================
   SECTION 10: FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-warm);
  border: 1.5px solid var(--border-warm);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  border-color: var(--accent-mid);
}

.faq-question-heading {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.03125rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
}

.faq-trigger:hover {
  background-color: rgba(240, 244, 248, 0.55);
}

.faq-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
  border-radius: 14px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.64;
  border-top: 1px solid rgba(62, 39, 35, 0.08);
  padding-top: 14px;
}

.faq-panel[hidden] {
  display: none;
}

/* ==========================================================================
   SECTION 11: CLOSING SECTION & FOOTER
   ========================================================================== */
.closing-section {
  padding: 60px 0 68px;
}

.closing-card {
  max-width: 740px;
  margin: 0 auto;
  background-color: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.closing-swatch-accent {
  display: inline-flex;
  gap: 8px;
  padding: 7px 14px;
  background-color: var(--bg-warm);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-warm);
}

.closing-swatch-accent span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(62, 39, 35, 0.18);
}

.closing-headline {
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  max-width: 18ch;
}

.closing-copy {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

.site-footer {
  background-color: var(--bg-cool);
  border-top: 1px solid rgba(55, 94, 122, 0.14);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.footer-tagline {
  font-size: 0.9125rem;
  color: var(--ink-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer-nav a {
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  padding: 3px 4px;
}

.footer-nav a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Desktop)
   ========================================================================== */
@media (min-width: 640px) {
  .container {
    padding-inline: 28px;
  }

  .demo-stage {
    padding: 28px;
  }

  .demo-swatch-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .demo-swatch-card {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
  }

  .demo-swatch-color {
    width: 100%;
    height: 46px;
  }

  .demo-swatch-meta {
    text-align: center;
  }

  .harmony-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .harmony-mini:last-child {
    grid-column: 1 / -1;
  }

  .depth-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card {
    padding: 38px 36px;
  }
}

@media (min-width: 820px) {
  .hero {
    padding: 40px 0 54px;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 1fr;
    gap: 40px;
  }

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

  .way-card {
    padding: 28px;
  }

  .split-showcase {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 44px;
  }

  .split-showcase-reverse {
    grid-template-columns: 1fr 1fr;
  }

  .learn-shots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .depth-layout {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 38px;
  }

  .closing-card {
    padding: 48px 44px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 46px 0 58px;
  }

  .hero-grid {
    gap: 52px;
  }

  .demo-section,
  .studio-section,
  .learn-section,
  .library-section,
  .features-section,
  .lifestyle-section,
  .pricing-section,
  .faq-section {
    padding: 70px 0 78px;
  }

  .ways-section {
    padding: 72px 0 76px;
  }

  .harmony-visual-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .harmony-mini:last-child {
    grid-column: auto;
  }
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
