/* ============================================
   SOKOBUNI — Vibrant Earth Design System
   ============================================ */

@font-face {
  font-family: "Satoshi";
  src: url("Satoshi-Variable.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
}

/* --- Tokens --- */
:root {
  --terracotta: #E66C40;
  --terracotta-50: #fef3ee;
  --terracotta-100: #fce4d8;
  --terracotta-200: #f8c5af;
  --terracotta-300: #f3a07d;
  --terracotta-400: #ed7349;
  --terracotta-500: #E66C40;
  --terracotta-600: #d7522a;
  --terracotta-700: #b33f24;
  --sage: #D6E6D0;
  --sage-50: #f4f9f2;
  --sage-100: #e6f0e2;
  --sage-200: #d6e6d0;
  --sage-300: #b5d1ab;
  --sage-400: #8db67f;
  --sage-500: #6c9b5c;
  --sage-600: #557e47;
  --ochre: #E6AA33;
  --ochre-50: #fdf8eb;
  --ochre-100: #f9ecc8;
  --ochre-200: #f3d88d;
  --ochre-300: #edc253;
  --ochre-400: #E6AA33;
  --ochre-500: #d9921a;
  --ochre-600: #bb7114;
  --sand: #F7F6F2;
  --sand-50: #fefdfb;
  --sand-100: #fbfaf6;
  --sand-200: #f7f6f2;
  --sand-300: #eeece5;
  --sand-400: #dedad0;
  --sand-500: #c9c4b8;
  --ink: #1F1F1F;
  --ink-light: #4a4a4a;
  --ink-lighter: #7a7a7a;
  --white: #ffffff;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --transition: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --max-w: 1280px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: "Satoshi", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--sand-200);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }
::selection { background: var(--terracotta-100); color: var(--ink); }

/* --- Typography --- */
.heading-xl { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.heading-lg { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.heading-md { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.heading-sm { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.text-lg { font-size: 1.125rem; line-height: 1.7; }
.text-md { font-size: 1rem; line-height: 1.7; }
.text-sm { font-size: 0.875rem; line-height: 1.6; }
.text-xs { font-size: 0.75rem; line-height: 1.5; }
.label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; }
.text-muted { color: var(--ink-lighter); }
.text-terracotta { color: var(--terracotta); }
.text-ochre { color: var(--ochre); }
.text-white { color: var(--white); }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-center { text-align: center; }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 600;
  transition: all var(--transition);
}
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-600); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
.btn-ochre { background: var(--ochre); color: var(--white); }
.btn-ochre:hover { background: var(--ochre-500); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--sand); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--sand-300); }
.btn-outline:hover { border-color: var(--terracotta-200); box-shadow: var(--shadow-md); }
.btn svg, .btn .arrow { width: 1rem; height: 1rem; transition: transform var(--transition); }
.btn:hover svg, .btn:hover .arrow { transform: translateX(3px); }

/* --- Cards --- */
.card {
  background: var(--white); border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--sand-400); }
.card.terracotta-glow:hover { box-shadow: 0 20px 25px -5px rgba(230,108,64,0.12), 0 8px 10px -6px rgba(230,108,64,0.08); border-color: var(--terracotta-200); }
.card.ochre-glow:hover { box-shadow: 0 20px 25px -5px rgba(230,170,51,0.12), 0 8px 10px -6px rgba(230,170,51,0.08); border-color: var(--ochre-200); }
.card.sage-glow:hover { box-shadow: 0 20px 25px -5px rgba(108,155,92,0.12), 0 8px 10px -6px rgba(108,155,92,0.08); border-color: var(--sage-200); }
.card-accent-top { position: relative; overflow: hidden; }
.card-accent-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.card-accent-top.terracotta::before { background: var(--terracotta); }
.card-accent-top.ochre::before { background: var(--ochre); }

/* Icon box */
.icon-box {
  width: 3rem; height: 3rem; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.icon-box svg { width: 1.5rem; height: 1.5rem; }
.icon-box.terracotta { background: var(--terracotta-50); color: var(--terracotta); }
.icon-box.ochre { background: var(--ochre-50); color: var(--ochre); }
.icon-box.sage { background: var(--sage-50); color: var(--sage-500); }

/* Feature check list */
.check-list { display: flex; flex-direction: column; gap: 0.625rem; }
.check-list li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; }
.check-list .check { flex-shrink: 0; width: 1rem; height: 1rem; }
.check-list .check.terracotta { color: var(--terracotta); }
.check-list .check.ochre { color: var(--ochre); }

/* --- Backgrounds --- */
.bg-sand { background: var(--sand-200); }
.bg-sand-light { background: var(--sand-100); }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage-50); }
.bg-ink { background: var(--ink); }
.bg-terracotta { background: var(--terracotta); }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-300);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .nav-inner { padding: 0.75rem 2rem; } }
.nav-logo { height: 2rem; }
.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--ink-light); transition: color var(--transition); }
.nav-links a:hover { color: var(--terracotta); }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--transition); }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-mobile {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99; padding: 5rem 1.5rem 2rem;
  flex-direction: column; gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block; padding: 1rem 0; font-size: 1.125rem; font-weight: 500;
  border-bottom: 1px solid var(--sand-300); color: var(--ink);
}
.nav-mobile .btn { margin-top: 1.5rem; justify-content: center; }

/* --- Hero --- */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 100vh; overflow: hidden;
}
.hero.short { min-height: 70vh; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 25s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(31,31,31,0.88) 0%, rgba(31,31,31,0.35) 50%, rgba(31,31,31,0.15) 100%);
}
.hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(31,31,31,0.45) 0%, transparent 60%);
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.1; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 0 1.5rem 3.5rem;
}
@media (min-width: 768px) { .hero-content { padding: 0 2rem 5rem; } }
@media (min-width: 1024px) { .hero-content { padding: 0 3rem 5rem; } }
.hero-badge {
  display: inline-block; padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--white); margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); max-width: 700px; }
.hero p { color: var(--sand-300); max-width: 520px; margin-top: 1.25rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 2rem; height: 2rem; }
@keyframes scrollBounce {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* --- Sections --- */
.proof-bar {
  background: var(--sand-200); padding: 1.5rem 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-lighter);
}
.proof-bar .sep { width: 1px; height: 1rem; background: var(--sand-400); }
@media (max-width: 640px) { .proof-bar .sep { display: none; } }

.divider-earth {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta-200) 20%, var(--ochre-200) 50%, var(--sage-200) 80%, transparent);
}

/* Marquee */
.marquee { overflow: hidden; background: var(--terracotta); padding: 0.875rem 0; }
.marquee-track { display: flex; white-space: nowrap; animation: marqueeScroll 35s linear infinite; }
.marquee-track span {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.25em; color: rgba(255,255,255,0.75);
}
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Split feature */
.split {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: center; padding: 3rem 0;
}
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split.reverse .split-image { order: 1; }
@media (min-width: 768px) { .split.reverse .split-image { order: 2; } }
@media (min-width: 768px) { .split.reverse .split-text { order: 1; } }
.split-image {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; position: relative;
}
.split-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.split:hover .split-image img { transform: scale(1.04); }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 2rem; padding-left: 2.5rem; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 0.875rem; top: 0; bottom: 0; width: 2px;
}
.steps.terracotta::before { background: var(--terracotta-200); }
.steps.ochre::before { background: var(--ochre-200); }
.step { position: relative; }
.step-dot {
  position: absolute; left: -2.5rem; top: 0;
  width: 1.875rem; height: 1.875rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 700; color: var(--white);
}
.step-dot.terracotta { background: var(--terracotta); }
.step-dot.ochre { background: var(--ochre); }
.step-num { font-size: 0.6875rem; font-weight: 700; margin-bottom: 0.25rem; }

/* Architecture diagram */
.arch-card {
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all var(--transition);
}
.arch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.arch-card.terracotta { background: var(--terracotta-50); border: 1px solid var(--terracotta-200); }
.arch-card.ochre { background: var(--ochre-50); border: 1px solid var(--ochre-200); }
.arch-card.sage { background: var(--sage-50); border: 1px solid var(--sage-200); }
.arch-card .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* Pricing */
.pricing-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--sand-300);
}
.pricing-card .top-bar { height: 4px; }
.pricing-card .body { padding: 2.5rem; }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; }
.pricing-card .price-sub { font-size: 0.875rem; color: var(--ink-lighter); margin-left: 0.5rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--sand-300); }
.faq-question {
  width: 100%; background: none; padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1rem; font-weight: 500; text-align: left; color: var(--ink);
}
.faq-question svg { width: 1.25rem; height: 1.25rem; color: var(--ink-lighter); flex-shrink: 0; transition: transform var(--transition); }
.faq-question.open svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 200px; padding-bottom: 1.25rem; }
.faq-answer p { font-size: 0.875rem; color: var(--ink-lighter); line-height: 1.7; }

/* CTA Banner */
.cta-banner {
  position: relative; padding: 5rem 0; overflow: hidden; text-align: center;
}
.cta-banner .grain { position: absolute; inset: 0; opacity: 0.1; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-banner.terracotta { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-600) 50%, var(--terracotta-700) 100%); }
.cta-banner.ochre { background: linear-gradient(135deg, var(--ochre-400) 0%, var(--ochre-500) 50%, var(--ochre-600) 100%); }
.cta-banner .inner { position: relative; z-index: 1; }

/* --- Footer --- */
.footer { background: var(--ink); color: var(--sand-400); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--terracotta-300); margin-bottom: 1rem; }
.footer a { font-size: 0.875rem; display: block; padding: 0.25rem 0; color: var(--sand-400); transition: color var(--transition); }
.footer a:hover { color: var(--terracotta-200); }
.footer-bottom { text-align: center; font-size: 0.75rem; color: var(--sand-500); margin-top: 3rem; padding-top: 1.5rem; }
.footer-logo { height: 1.75rem; filter: brightness(0) invert(1); margin-bottom: 1rem; }

/* --- Onboarding --- */
.onboarding {
  min-height: 100vh; background: var(--sand-200);
  padding: 6rem 1.5rem 3rem; display: flex; align-items: flex-start; justify-content: center;
}
.onboarding-card {
  width: 100%; max-width: 580px;
  background: var(--white); border: 1px solid var(--sand-300);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
@media (min-width: 768px) { .onboarding-card { padding: 3rem; } }
.onboarding-logo { height: 2rem; margin: 0 auto 1.5rem; display: block; }
.progress-bar { display: flex; align-items: center; gap: 0; margin-bottom: 2.5rem; justify-content: center; }
.progress-step {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6875rem; font-weight: 700; flex-shrink: 0;
  transition: all var(--transition);
}
.progress-step.active { background: var(--terracotta); color: var(--white); }
.progress-step.done { background: var(--terracotta); color: var(--white); }
.progress-step.pending { background: var(--sand-300); color: var(--ink-lighter); }
.progress-step.ochre.active, .progress-step.ochre.done { background: var(--ochre); }
.progress-line { width: 2rem; height: 2px; flex-shrink: 0; }
.progress-line.active { background: var(--terracotta-300); }
.progress-line.ochre.active { background: var(--ochre-300); }
.progress-line.pending { background: var(--sand-300); }
.step-label { font-size: 0.8125rem; font-weight: 500; color: var(--ink-lighter); margin-bottom: 1.5rem; text-align: center; }

/* Form elements */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.375rem; }
.form-label .optional { font-weight: 400; color: var(--ink-lighter); font-size: 0.75rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.625rem 0.875rem;
  border: 1px solid var(--sand-300); border-radius: 0.5rem;
  font-size: 0.875rem; font-family: inherit; color: var(--ink);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--terracotta-300);
  box-shadow: 0 0 0 3px rgba(230, 108, 64, 0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--sand-500); }
.form-textarea { resize: vertical; min-height: 5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: 0.75rem; color: var(--ink-lighter); margin-top: 0.25rem; }
.form-error { font-size: 0.75rem; color: #dc2626; margin-top: 0.25rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 2rem; }
.phone-prefix {
  display: flex; align-items: center;
  padding: 0 0.75rem; background: var(--sand-100);
  border: 1px solid var(--sand-300); border-right: none;
  border-radius: 0.5rem 0 0 0.5rem;
  font-size: 0.875rem; color: var(--ink-lighter);
}
.phone-prefix + .form-input { border-radius: 0 0.5rem 0.5rem 0; }
.checkbox-row { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 1.25rem; }
.checkbox-row input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--terracotta); }
.checkbox-row label { font-size: 0.8125rem; color: var(--ink-lighter); }
.checkbox-row a { color: var(--terracotta); text-decoration: underline; }

/* Commission cards */
.commission-option {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; border: 1px solid var(--sand-300); border-radius: 0.5rem;
  cursor: pointer; margin-bottom: 0.75rem; transition: all var(--transition);
}
.commission-option.selected { border-color: var(--ochre); background: var(--ochre-50); }
.commission-option input { margin-top: 0.25rem; accent-color: var(--ochre); }

/* Success state */
.success-icon {
  width: 4rem; height: 4rem; border-radius: 50%; margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.success-icon.terracotta { background: var(--terracotta-50); color: var(--terracotta); }
.success-icon.ochre { background: var(--ochre-50); color: var(--ochre); }
.success-icon svg { width: 2rem; height: 2rem; }
.success-list { text-align: left; background: var(--sage-50); border: 1px solid var(--sage-200); border-radius: var(--radius); padding: 1.5rem; margin-top: 2rem; }
.success-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-light); padding: 0.25rem 0; }
.success-list li svg { width: 1rem; height: 1rem; color: var(--sage-500); flex-shrink: 0; margin-top: 0.25rem; }

/* Review summary */
.review-card { background: var(--white); border: 1px solid var(--sand-300); border-radius: var(--radius); padding: 1.75rem; }
.review-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; }
.review-row dt { color: var(--ink-lighter); }
.review-row dd { font-weight: 600; }
.color-swatch { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid var(--sand-300); display: inline-block; vertical-align: middle; margin-right: 0.375rem; }

/* Upload zone */
.upload-zone {
  height: 7rem; border: 2px dashed var(--sand-400); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--sand-50);
}
.upload-zone p { font-size: 0.8125rem; color: var(--ink-lighter); }
.upload-zone .sub { font-size: 0.6875rem; margin-top: 0.25rem; }

/* Color picker row */
.color-picker-row { display: flex; align-items: center; gap: 0.75rem; }
.color-picker-row input[type="color"] { width: 3rem; height: 2.5rem; border: 1px solid var(--sand-300); border-radius: 0.5rem; cursor: pointer; padding: 2px; }

/* --- Animations --- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.fade-up {
  opacity: 0; transform: translateY(28px);
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- Utility --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.w-full { width: 100%; }
.hidden { display: none; }
.block { display: block; }
@media (max-width: 767px) { .md-hide { display: none; } }

/* --- Mobile nav active state --- */
.nav-mobile a.active { color: var(--terracotta); font-weight: 600; border-bottom-color: var(--terracotta-200); }

/* --- Staggered grid animation --- */
.grid.stagger > * { opacity: 0; transform: translateY(20px); animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.grid.stagger.visible > *:nth-child(1) { animation-delay: 0s; }
.grid.stagger.visible > *:nth-child(2) { animation-delay: 0.08s; }
.grid.stagger.visible > *:nth-child(3) { animation-delay: 0.16s; }
.grid.stagger.visible > *:nth-child(4) { animation-delay: 0.24s; }
.grid.stagger.visible > *:nth-child(5) { animation-delay: 0.32s; }
.grid.stagger.visible > *:nth-child(6) { animation-delay: 0.4s; }
.grid.stagger.visible > *:nth-child(7) { animation-delay: 0.48s; }
.grid.stagger.visible > *:nth-child(8) { animation-delay: 0.56s; }
.grid.stagger.visible > *:nth-child(9) { animation-delay: 0.64s; }

/* --- Screenshot showcase --- */
.showcase {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 1px solid var(--sand-300);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.showcase:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }
.showcase img { width: 100%; height: auto; display: block; }
.showcase-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(31,31,31,0.9) 0%, transparent 100%);
  padding: 2rem 1.5rem 1rem; color: var(--white);
}
.showcase-label h3 { font-size: 1rem; font-weight: 600; }
.showcase-label p { font-size: 0.75rem; color: var(--sand-400); margin-top: 0.25rem; }

/* --- Device frame mockup --- */
.device-frame {
  background: var(--ink); border-radius: 1.5rem; padding: 0.5rem;
  box-shadow: var(--shadow-xl); max-width: 280px; margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.device-frame:hover { transform: translateY(-4px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2); }
.device-frame .device-screen { border-radius: 1rem; overflow: hidden; }
.device-frame .device-screen img { width: 100%; display: block; }
.device-frame .device-notch {
  width: 5rem; height: 0.375rem; background: var(--ink);
  border-radius: 0 0 0.5rem 0.5rem; margin: 0 auto;
  position: relative; top: -0.5rem;
}

/* --- Disclaimer notice --- */
.notice {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--ochre-50); border: 1px solid var(--ochre-200); border-radius: var(--radius);
  padding: 1rem 1.25rem; font-size: 0.8125rem; color: var(--ink-light);
}
.notice svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: var(--ochre-500); margin-top: 0.125rem; }

/* --- Login page --- */
.login-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  max-width: 56rem; margin: 0 auto; width: 100%;
}
@media (min-width: 768px) { .login-grid { grid-template-columns: 5fr 4fr; gap: 3rem; align-items: start; } }
.login-aside {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-600) 50%, var(--terracotta-700) 100%);
  border-radius: var(--radius-lg); padding: 2.5rem; color: var(--white); position: relative; overflow: hidden;
}
.login-aside .grain { position: absolute; inset: 0; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.login-aside > * { position: relative; z-index: 1; }
.login-aside h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.login-aside p { font-size: 0.875rem; color: rgba(255,255,255,0.8); margin-top: 0.75rem; line-height: 1.6; }
.login-aside .stat-row { display: flex; gap: 2rem; margin-top: 2rem; }
.login-aside .stat { text-align: center; }
.login-aside .stat-num { font-size: 1.5rem; font-weight: 700; }
.login-aside .stat-label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; }

/* --- Quick link styled --- */
.quick-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1rem; border: 1px solid var(--sand-300); border-radius: 0.5rem;
  font-size: 0.875rem; transition: all var(--transition); color: var(--ink);
}
.quick-link:hover { border-color: var(--terracotta-200); background: var(--sand-50); transform: translateX(2px); }
.quick-link svg { color: var(--ink-lighter); flex-shrink: 0; }
