/* ============================================
   Cosmetic Shades — Website Styles
   A consumer-facing landing page for the iOS app
   ============================================ */

/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* === Variables === */
:root {
  --bg: #FFF8F5;
  --bg-alt: #FAF0EB;
  --surface: #FFFFFF;
  --text: #3D2B1F;
  --text-secondary: #7A6352;
  --text-muted: #B5A08A;
  --accent: #B76E79;
  --accent-hover: #A25D68;
  --accent-light: rgba(183, 110, 121, 0.1);
  --champagne: #C4A882;
  --dark: #1A1A1A;
  --dark-surface: #242424;
  --dark-text: #F5E6D8;
  --border: rgba(183, 110, 121, 0.12);

  --font-heading: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --section-y: clamp(4rem, 8vw, 7rem);
  --container: min(1140px, 90%);
  --container-narrow: min(680px, 90%);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 500; }

/* === Layout === */
.container { width: var(--container); margin: 0 auto; }
.container-narrow { width: var(--container-narrow); margin: 0 auto; }
section { padding: var(--section-y) 0; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  line-height: 1.4;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.25);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.apple-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 248, 245, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo-icon {
  height: 1em;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a:not(.btn) {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 1px;
}
.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}
.nav-toggle.active span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* === Hero === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}
.hero-content {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-left: 0.75rem;
}
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Floating color dots */
.hero-dots {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.dot {
  position: absolute;
  width: var(--size);
  height: var(--size);
  background: var(--color);
  border-radius: 50%;
  left: var(--x);
  top: var(--y);
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
  opacity: 0.5;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}
.dot:nth-child(1) { --color: #D4A574; --x: 8%;  --y: 18%; --delay: 0s;   --size: 40px; }
.dot:nth-child(2) { --color: #B76E79; --x: 88%; --y: 12%; --delay: 0.6s; --size: 28px; }
.dot:nth-child(3) { --color: #C4A882; --x: 78%; --y: 82%; --delay: 1.2s; --size: 34px; }
.dot:nth-child(4) { --color: #8D5524; --x: 4%;  --y: 76%; --delay: 1.8s; --size: 22px; }
.dot:nth-child(5) { --color: #C48B9F; --x: 92%; --y: 48%; --delay: 2.4s; --size: 30px; }

/* === Marquee === */
.marquee {
  background: var(--accent);
  padding: 0.875rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 1rem;
}
.marquee-sep {
  color: rgba(255, 255, 255, 0.4);
  padding: 0 0.25rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === Story === */
.story {
  padding: var(--section-y) 0;
  text-align: center;
}
.story-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-weight: 400;
}
.story-text:last-child { margin-bottom: 0; }
.story-text em {
  color: var(--accent);
  font-style: italic;
}
.story-text strong { font-weight: 600; }

/* === Section Title === */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* === How It Works === */
.how-it-works {
  background: var(--surface);
  padding: var(--section-y) 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.step { text-align: center; }
.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 1.5rem;
  line-height: 1;
}
.step h3 { margin: 1.5rem 0 0.75rem; }
.step p { color: var(--text-secondary); font-size: 0.9375rem; }
.step-phone { display: flex; justify-content: center; }

/* === Feature Sections === */
.feature-section {
  padding: var(--section-y) 0;
}
.feature-section-dark {
  background: var(--dark);
}
.feature-section-dark h2,
.feature-section-dark p,
.feature-section-dark li {
  color: var(--dark-text);
}
.feature-section-dark .feature-tag {
  color: var(--accent);
}
.feature-section-alt {
  background: var(--bg-alt);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-block.feature-reverse .feature-text { order: 2; }
.feature-block.feature-reverse .feature-visual { order: 1; }

.feature-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.feature-text h2 { margin-bottom: 1.25rem; }

.feature-list {
  margin-top: 1.25rem;
  padding-left: 0;
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.feature-section-dark .feature-list li {
  color: rgba(245, 230, 216, 0.75);
}
.feature-section-dark .feature-list li::before {
  background: var(--accent);
}
.feature-visual {
  display: flex;
  justify-content: center;
}

/* === Extras Grid === */
.extras {
  padding: var(--section-y) 0;
  background: var(--surface);
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.extra-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(183, 110, 121, 0.08);
}
.extra-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.extra-card h3 { margin-bottom: 0.5rem; }
.extra-card p { font-size: 0.9375rem; }

/* === Shade Strip === */
.shade-strip {
  padding: 2.5rem 0;
  overflow: hidden;
}
.shade-strip-inner {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.shade-strip-inner span {
  width: clamp(24px, 3.5vw, 42px);
  height: clamp(24px, 3.5vw, 42px);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.shade-strip-inner span:hover {
  transform: scale(1.35);
}
.shade-strip-inner span:nth-child(1)  { background: #FFF5EE; }
.shade-strip-inner span:nth-child(2)  { background: #F5E6D8; }
.shade-strip-inner span:nth-child(3)  { background: #F5D7C3; }
.shade-strip-inner span:nth-child(4)  { background: #F0D0B4; }
.shade-strip-inner span:nth-child(5)  { background: #E8C4A8; }
.shade-strip-inner span:nth-child(6)  { background: #E0B494; }
.shade-strip-inner span:nth-child(7)  { background: #D4A574; }
.shade-strip-inner span:nth-child(8)  { background: #C8965E; }
.shade-strip-inner span:nth-child(9)  { background: #C68642; }
.shade-strip-inner span:nth-child(10) { background: #B5763B; }
.shade-strip-inner span:nth-child(11) { background: #A67B5B; }
.shade-strip-inner span:nth-child(12) { background: #8D5524; }
.shade-strip-inner span:nth-child(13) { background: #7C5B3A; }
.shade-strip-inner span:nth-child(14) { background: #6B4226; }
.shade-strip-inner span:nth-child(15) { background: #C48B9F; }
.shade-strip-inner span:nth-child(16) { background: #B76E79; }
.shade-strip-inner span:nth-child(17) { background: #A0616A; }
.shade-strip-inner span:nth-child(18) { background: #8B4557; }
.shade-strip-inner span:nth-child(19) { background: #C4A882; }
.shade-strip-inner span:nth-child(20) { background: #A89F6E; }

/* === FAQ === */
.faq {
  padding: var(--section-y) 0;
}
.faq-list { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  transition: color 0.2s;
  padding: 1.25rem 0;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  color: var(--accent);
}
.faq-item .faq-answer {
  padding-bottom: 1.25rem;
}
.faq-item .faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 600px;
}
.faq-link {
  color: var(--accent);
  text-decoration: underline;
}

/* === CTA === */
.cta {
  padding: var(--section-y) 0;
  background: var(--bg-alt);
  text-align: center;
}
.cta-content h2 {
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-content > p {
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}
.cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* === Footer === */
.footer {
  background: var(--dark);
  color: var(--dark-text);
  padding: 4rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: rgba(245, 230, 216, 0.65);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: rgba(245, 230, 216, 0.35);
}

/* === Phone Frames === */
.phone-frame {
  width: 280px;
  height: 570px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.phone-sm {
  width: 180px;
  height: 370px;
  border-radius: 32px;
  padding: 8px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.phone-sm .phone-screen { border-radius: 26px; }

/* Dark section phone */
.feature-section-dark .phone-frame {
  background: #333;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.feature-section-dark .phone-screen {
  background: var(--dark-surface);
}

/* Phone placeholders */
.phone-placeholder {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.5rem;
}
.phone-placeholder-sm {
  padding: 1rem;
  gap: 1rem;
}
.placeholder-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-body);
}
.placeholder-icon {
  color: var(--accent);
}

/* Hero phone placeholder */
.placeholder-shades {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.placeholder-shades span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.placeholder-shades span:nth-child(1) { background: #F5D7C3; }
.placeholder-shades span:nth-child(2) { background: #D4A574; }
.placeholder-shades span:nth-child(3) { background: #C68642; }
.placeholder-shades span:nth-child(4) { background: #C48B9F; }
.placeholder-shades span:nth-child(5) { background: #B76E79; }
.placeholder-shades span:nth-child(6) { background: #A0616A; }
.placeholder-shades span:nth-child(7) { background: #E8B4A2; }
.placeholder-shades span:nth-child(8) { background: #8D5524; }
.placeholder-shades span:nth-child(9) { background: #7C5B3A; }

/* Skin analysis phone */
.placeholder-dark {
  background: var(--dark-surface);
}
.placeholder-dark .placeholder-label {
  color: rgba(245, 230, 216, 0.4);
}
.analysis-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.analysis-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: #C4A882;
}
.analysis-label {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--dark-text);
}
.analysis-confidence {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  font-family: var(--font-body);
}

/* Collection phone */
.collection-preview {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%;
  padding: 0 0.25rem;
}
.collection-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--surface);
  padding: 0.625rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
}
.collection-item:nth-child(1) .swatch { background: #D4A574; }
.collection-item:nth-child(2) .swatch { background: #C48B9F; }
.collection-item:nth-child(3) .swatch { background: #8D5524; }
.collection-item:nth-child(4) .swatch { background: #A0616A; }
.badge-owned, .badge-wishlist {
  font-size: 0.5625rem;
  font-weight: 500;
  padding: 0.15rem 0.4rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}
.badge-owned { background: var(--accent); color: #fff; }
.badge-wishlist { border: 1px solid var(--champagne); color: var(--champagne); }

/* Compare phone */
.compare-preview {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.compare-swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.compare-swatch:nth-child(1) { background: #C68642; }
.compare-swatch:nth-child(2) { background: #B76E79; }
.compare-swatch:nth-child(3) { background: #A67B5B; }

/* === Reveal Animations === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.steps .step.reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .step.reveal:nth-child(3) { transition-delay: 0.2s; }
.extras-grid .extra-card.reveal:nth-child(2) { transition-delay: 0.05s; }
.extras-grid .extra-card.reveal:nth-child(3) { transition-delay: 0.1s; }
.extras-grid .extra-card.reveal:nth-child(4) { transition-delay: 0.15s; }
.extras-grid .extra-card.reveal:nth-child(5) { transition-delay: 0.2s; }
.extras-grid .extra-card.reveal:nth-child(6) { transition-delay: 0.25s; }

/* === Motion & Parallax === */

/* Directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Hero mouse parallax smoothing */
.hero-phone {
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
}
.hero-dots {
  transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

/* Scroll parallax elements */
[data-speed] {
  will-change: transform;
  transition: transform 0.15s linear;
}

/* 3D card tilt (pointer devices only) */
@media (hover: hover) {
  .extras-grid {
    perspective: 800px;
  }
  .extra-card {
    transform-style: preserve-3d;
  }
}

/* Step phone hover float */
.step-phone .phone-frame {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
@media (hover: hover) {
  .step-phone .phone-frame:hover {
    transform: translateY(-8px);
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.12),
      0 12px 24px rgba(0, 0, 0, 0.08);
  }
}

/* Shade strip scroll smoothing */
.shade-strip-inner {
  transition: transform 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-inner { animation: none; }
  .dot { animation: none; }
  [data-speed] { will-change: auto; transition: none; }
  .hero-phone,
  .hero-dots,
  .shade-strip-inner,
  .step-phone .phone-frame { transition: none; }
}

/* === Content / Legal Pages === */
.page-header {
  padding: calc(var(--section-y) + 5rem) 0 2rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  margin-bottom: 0.5rem;
}
.page-header .page-sub {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.legal-content {
  padding: 3rem 0 var(--section-y);
}
.legal-content h2 {
  font-size: 1.375rem;
  margin: 2.5rem 0 0.75rem;
}
.legal-content h2:first-child {
  margin-top: 0;
}
.legal-content h3 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
}
.legal-content p {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 680px;
}
.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  max-width: 680px;
}
.legal-content li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.7;
  list-style: disc;
}
.legal-content ol li {
  list-style: decimal;
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: var(--accent-hover);
}
.legal-content strong {
  font-weight: 600;
}

/* Article page */
.article-content {
  padding: 3rem 0 var(--section-y);
}
.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.article-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.article-content p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
}
.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover {
  color: var(--accent-hover);
}

/* === Blog Section (Homepage) === */
.blog-section {
  padding: var(--section-y) 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.blog-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(183, 110, 121, 0.08);
}
.blog-card-thumb {
  height: 180px;
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.625rem;
  font-family: var(--font-body);
}
.blog-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.625rem;
  color: var(--text);
}
.blog-card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}
.blog-card-footer {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.blog-card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  transition: color 0.2s;
}
.blog-card-link:hover {
  color: var(--accent-hover);
}
.blog-section .section-cta {
  text-align: center;
}

/* === Blog Listing Page === */
.blog-listing {
  padding: 2rem 0 var(--section-y);
}
.blog-listing .blog-grid {
  margin-bottom: 0;
}

/* === Blog Post Page === */
.blog-hero {
  padding: calc(var(--section-y) + 5rem) 0 2rem;
  text-align: center;
}
.blog-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.blog-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 720px;
  margin: 0 auto 1rem;
  line-height: 1.2;
}
.blog-hero-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.blog-body {
  padding: 2.5rem 0 var(--section-y);
}
.blog-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}
.blog-body h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.blog-body p {
  font-size: 1rem;
  line-height: 1.85;
  max-width: 700px;
  margin-bottom: 1.25rem;
}
.blog-body p:last-child {
  margin-bottom: 0;
}
.blog-body ul,
.blog-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.blog-body li {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.8;
  list-style: disc;
}
.blog-body ol li {
  list-style: decimal;
}
.blog-body a:not(.btn) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-body a:not(.btn):hover {
  color: var(--accent-hover);
}
.blog-body strong {
  color: var(--text);
  font-weight: 600;
}
.blog-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: 16px;
  max-width: 700px;
}
.blog-cta h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.blog-cta p {
  margin-bottom: 1.25rem;
}
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
  transition: color 0.2s;
}
.blog-back:hover {
  color: var(--accent-hover);
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-thumb { height: 200px; }
}

/* 404 Page */
.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.error-page .error-code {
  font-family: var(--font-heading);
  font-size: clamp(7rem, 18vw, 14rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  margin-bottom: 1rem;
}
.error-page h2 {
  margin-bottom: 0.75rem;
}
.error-page p {
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature-block .feature-visual { order: -1; }
  .feature-block.feature-reverse .feature-text { order: initial; }
  .feature-block.feature-reverse .feature-visual { order: -1; }
  .feature-text { text-align: center; }
  .feature-list { display: inline-block; text-align: left; }
  .reveal-left, .reveal-right { transform: translateY(24px); }
  .reveal-left.visible, .reveal-right.visible { transform: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .extras-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .steps .step.reveal:nth-child(2),
  .steps .step.reveal:nth-child(3) { transition-delay: 0s; }
}

@media (max-width: 480px) {
  .extras-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .phone-frame {
    width: 240px;
    height: 490px;
    border-radius: 38px;
  }
  .phone-screen { border-radius: 30px; }
  .phone-sm {
    width: 160px;
    height: 330px;
    border-radius: 28px;
  }
  .phone-sm .phone-screen { border-radius: 22px; }
  .placeholder-shades span {
    width: 32px;
    height: 32px;
  }
}
