/* style.css — mmmyep V1 Design Tokens + Components */

/* === DESIGN TOKENS === */
:root {
  --font-display: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* === LIGHT MODE === */
:root, [data-theme="light"] {
  --color-bg:             #f7f6f2;
  --color-surface:        #f9f8f5;
  --color-surface-2:      #fbfbf9;
  --color-surface-offset: #f3f0ec;
  --color-surface-offset-2: #edeae5;
  --color-surface-dynamic: #e6e4df;
  --color-divider:        #dcd9d5;
  --color-border:         #d4d1ca;
  --color-text:           #28251d;
  --color-text-muted:     #7a7974;
  --color-text-faint:     #bab9b4;
  --color-text-inverse:   #f9f8f4;
  --color-primary:        #01696f;
  --color-primary-hover:  #0c4e54;
  --color-primary-active: #0f3638;
  --color-primary-highlight: #cedcd8;
  --color-warning:        #964219;
  --color-warning-hover:  #713417;
  --color-warning-highlight: #ddcfc6;
  --color-error:          #a13544;
  --color-error-hover:    #782b33;
  --color-error-highlight: #dececb;
  --color-success:        #437a22;
  --color-success-hover:  #2e5c10;
  --color-success-highlight: #d4dfcc;
  --color-gold:           #d19900;
  --color-gold-highlight: #e9e0c6;
  --color-blue:           #006494;
  --color-blue-highlight: #c6d8e4;
  --shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.12);
}

/* === DARK MODE === */
[data-theme="dark"] {
  --color-bg:             #171614;
  --color-surface:        #1c1b19;
  --color-surface-2:      #201f1d;
  --color-surface-offset: #1d1c1a;
  --color-surface-offset-2: #22211f;
  --color-surface-dynamic: #2d2c2a;
  --color-divider:        #262523;
  --color-border:         #393836;
  --color-text:           #cdccca;
  --color-text-muted:     #797876;
  --color-text-faint:     #5a5957;
  --color-text-inverse:   #2b2a28;
  --color-primary:        #4f98a3;
  --color-primary-hover:  #227f8b;
  --color-primary-active: #1a626b;
  --color-primary-highlight: #313b3b;
  --color-warning:        #bb653b;
  --color-warning-highlight: #564942;
  --color-error:          #dd6974;
  --color-error-highlight: #574848;
  --color-success:        #6daa45;
  --color-success-highlight: #3a4435;
  --color-gold:           #e8af34;
  --color-gold-highlight: #4d4332;
  --color-blue:           #5591c7;
  --color-blue-highlight: #3a4550;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #171614; --color-surface: #1c1b19; --color-surface-2: #201f1d;
    --color-surface-offset: #1d1c1a; --color-surface-offset-2: #22211f;
    --color-surface-dynamic: #2d2c2a; --color-divider: #262523; --color-border: #393836;
    --color-text: #cdccca; --color-text-muted: #797876; --color-text-faint: #5a5957;
    --color-text-inverse: #2b2a28;
    --color-primary: #4f98a3; --color-primary-hover: #227f8b; --color-primary-active: #1a626b;
    --color-primary-highlight: #313b3b;
    --color-warning: #bb653b; --color-warning-highlight: #564942;
    --color-error: #dd6974; --color-error-highlight: #574848;
    --color-success: #6daa45; --color-success-highlight: #3a4435;
    --color-gold: #e8af34; --color-gold-highlight: #4d4332;
    --color-blue: #5591c7; --color-blue-highlight: #3a4550;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* === GLOBAL LAYOUT === */
.container { max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-4); }
.container-narrow { max-width: var(--content-narrow); margin-inline: auto; padding-inline: var(--space-4); }
.container-default { max-width: var(--content-default); margin-inline: auto; padding-inline: var(--space-4); }

/* === HEADER / NAV === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-3) 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-4);
}
.logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-lg); letter-spacing: -0.02em;
  text-decoration: none; display: flex; align-items: center; gap: var(--space-1);
  cursor: pointer;
}
.logo .mmm { color: var(--color-primary); }
.logo .yep { color: var(--color-text); }
.logo .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: var(--radius-full);
  background: var(--color-primary); color: var(--color-text-inverse);
  font-size: 12px; margin-left: var(--space-1);
}
.nav-links {
  display: flex; align-items: center; gap: var(--space-1); list-style: none;
}
.nav-links a, .nav-links button {
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 450;
  color: var(--color-text-muted); text-decoration: none;
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
  cursor: pointer; white-space: nowrap;
}
.nav-links a:hover, .nav-links button:hover { color: var(--color-text); background: var(--color-surface-dynamic); }
.nav-links a.active { color: var(--color-primary); font-weight: 500; }
.nav-cta {
  display: flex; gap: var(--space-2); align-items: center;
}
.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted); transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-dynamic); }

/* Mobile nav */
.nav-hamburger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--color-text); border-radius: var(--radius-md);
}
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 60px; z-index: 40;
  background: var(--color-bg); padding: var(--space-6) var(--space-4);
  flex-direction: column; gap: var(--space-2);
  border-top: 1px solid var(--color-divider);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  font-family: var(--font-body); font-size: var(--text-lg); font-weight: 500;
  color: var(--color-text); text-decoration: none;
  padding: var(--space-4) var(--space-4); border-radius: var(--radius-md);
  transition: background var(--transition-interactive);
  display: block; text-align: left;
}
.mobile-menu a:hover, .mobile-menu button:hover { background: var(--color-surface-offset); }

@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500;
  cursor: pointer; border: none; text-decoration: none; white-space: nowrap;
  transition: background var(--transition-interactive), color var(--transition-interactive),
              box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-primary); color: var(--color-text-inverse); }
.btn-primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--color-surface-dynamic); color: var(--color-text); border: 1px solid var(--color-border); }
.btn-secondary:hover { background: var(--color-surface-offset-2); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary-highlight); }
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
.btn-success { background: var(--color-success); color: #fff; }
.btn-success:hover { background: var(--color-success-hover); }
.btn-error { background: var(--color-error); color: #fff; }
.btn-error:hover { background: var(--color-error-hover); }
.btn-outline { background: transparent; border: 1px solid var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary-highlight); }
.btn-icon { padding: var(--space-2); width: 44px; height: 44px; border-radius: var(--radius-md); }

/* === CARDS === */
.card {
  background: var(--color-surface); border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-sm);
}
.card-interactive {
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
  cursor: pointer;
}
.card-interactive:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--color-primary-highlight); }
.card-interactive:active { transform: translateY(0); }

/* === FORMS === */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label {
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text);
}
.form-sublabel { font-size: var(--text-xs); color: var(--color-text-muted); }
.form-input, .form-select, .form-textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); font-family: var(--font-body); font-size: var(--text-base);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--color-text-faint); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237a7974' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right var(--space-3) center; padding-right: var(--space-10); }
.form-checkbox-group {
  display: flex; align-items: center; gap: var(--space-3); cursor: pointer;
  padding: var(--space-2) 0;
}
.form-checkbox-group input[type="checkbox"], .form-checkbox-group input[type="radio"] {
  width: 20px; height: 20px; accent-color: var(--color-primary); cursor: pointer; flex-shrink: 0;
}
.form-error { font-size: var(--text-xs); color: var(--color-error); }
.form-hint { font-size: var(--text-xs); color: var(--color-text-muted); }
.input-icon-wrapper { position: relative; }
.input-icon-wrapper .icon-left { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); color: var(--color-text-faint); pointer-events: none; }
.input-icon-wrapper .form-input { padding-left: var(--space-10); }
.lock-field {
  position: relative; background: var(--color-surface-offset); border-radius: var(--radius-lg); padding: var(--space-4);
  border: 1px dashed var(--color-primary);
}
.lock-field .lock-icon { color: var(--color-primary); display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: 500; margin-bottom: var(--space-2); }

/* === BADGE === */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 500;
}
.badge-primary { background: var(--color-primary-highlight); color: var(--color-primary); }
.badge-success { background: var(--color-success-highlight); color: var(--color-success); }
.badge-warning { background: var(--color-warning-highlight); color: var(--color-warning); }
.badge-error { background: var(--color-error-highlight); color: var(--color-error); }
.badge-gold { background: var(--color-gold-highlight); color: var(--color-gold); }

/* === PROGRESS / STEPS === */
.steps-bar {
  display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-8);
  overflow-x: auto; padding-bottom: var(--space-2);
}
.step-dot {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: 600;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.step-dot.active { background: var(--color-primary); color: var(--color-text-inverse); }
.step-dot.completed { background: var(--color-success); color: #fff; }
.step-dot.upcoming { background: var(--color-surface-dynamic); color: var(--color-text-faint); }
.step-line { flex: 1; height: 2px; background: var(--color-divider); min-width: 20px; }
.step-line.completed { background: var(--color-success); }

/* === SECTIONS === */
.section {
  padding: clamp(var(--space-8), 6vw, var(--space-24)) 0;
}
.section-label {
  font-family: var(--font-body); font-size: var(--text-xs);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--color-primary); font-weight: 500;
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-lg); color: var(--color-text-muted); max-width: 60ch;
}

/* === HERO === */
.hero {
  padding: clamp(var(--space-12), 8vw, var(--space-32)) 0 clamp(var(--space-8), 6vw, var(--space-20));
  text-align: center;
}
.hero-title {
  font-family: var(--font-display); font-size: var(--text-3xl);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.hero-subtitle {
  font-size: var(--text-lg); color: var(--color-text-muted);
  max-width: 56ch; margin-inline: auto; margin-bottom: var(--space-8);
}
.hero-ctas {
  display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap;
}

/* === GRID LAYOUTS === */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px,100%), 1fr)); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px,100%), 1fr)); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px,100%), 1fr)); gap: var(--space-4); }

/* === HOW IT WORKS STEPS === */
.how-step {
  text-align: center; padding: var(--space-6);
}
.how-step-num {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--color-primary); color: var(--color-text-inverse);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg);
  margin: 0 auto var(--space-4);
}
.how-step h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  margin-bottom: var(--space-2);
}
.how-step p { color: var(--color-text-muted); font-size: var(--text-sm); margin-inline: auto; }

/* === BENEFIT CARDS === */
.benefit-card {
  padding: var(--space-6); background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-xl);
}
.benefit-card .icon-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  background: var(--color-primary-highlight); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.benefit-card h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-2); }
.benefit-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* === VEHICLE CARDS (Dashboard) === */
.vehicle-card {
  background: var(--color-surface); border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.vehicle-card:hover { box-shadow: var(--shadow-md); }
.vehicle-card-img {
  width: 100%; height: 200px; background: var(--color-surface-offset);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-faint); font-size: var(--text-sm); position: relative;
  overflow: hidden;
}
.vehicle-card-img svg { width: 48px; height: 48px; opacity: 0.4; }
.vehicle-card-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.vehicle-card-title {
  font-family: var(--font-display); font-size: var(--text-base); font-weight: 600;
  margin-bottom: var(--space-2);
}
.vehicle-card-specs {
  display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-xs);
  color: var(--color-text-muted); margin-bottom: var(--space-3);
}
.vehicle-card-specs span { display: inline-flex; align-items: center; gap: var(--space-1); }
.vehicle-card-meter { margin-bottom: var(--space-4); }
.vehicle-card-actions {
  display: flex; gap: var(--space-2);
}
.vehicle-card-actions .btn { flex: 1; }

/* expanded detail */
.vehicle-detail {
  display: none; padding: 0 var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-divider);
}
.vehicle-detail.open { display: block; padding-top: var(--space-4); }
.vehicle-detail-row { display: flex; justify-content: space-between; padding: var(--space-2) 0; font-size: var(--text-sm); }
.vehicle-detail-row .label { color: var(--color-text-muted); }
.variance-note {
  font-size: var(--text-xs); color: var(--color-gold);
  background: var(--color-gold-highlight); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md); margin-top: var(--space-3);
}

/* === MMMYEP METER (SVG-based) === */
.meter-wrap { display: flex; flex-direction: column; align-items: center; }
.meter-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-sm); margin-top: var(--space-1);
}
.meter-sublabel { font-size: 10px; color: var(--color-text-faint); text-transform: uppercase; letter-spacing: 0.08em; }

/* Timer meter on dashboard */
.timer-meter {
  background: var(--color-surface-offset); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}
.timer-bar { height: 8px; border-radius: var(--radius-full); background: var(--color-surface-dynamic); overflow: hidden; }
.timer-bar-fill { height: 100%; border-radius: var(--radius-full); transition: width 0.5s cubic-bezier(0.16,1,0.3,1); }

/* === STAR RATING === */
.star-rating { display: inline-flex; gap: 2px; }
.star-rating .star { cursor: pointer; color: var(--color-surface-dynamic); transition: color var(--transition-interactive); }
.star-rating .star.filled { color: var(--color-gold); }
.star-rating .star:hover { color: var(--color-gold); }

/* === TABS === */
.tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--color-divider); margin-bottom: var(--space-6); overflow-x: auto; }
.tab-btn {
  padding: var(--space-3) var(--space-4); font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text-muted); border-bottom: 2px solid transparent;
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
  white-space: nowrap; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
}
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* === DASHBOARD === */
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-6); flex-wrap: wrap; gap: var(--space-4);
}
.dash-header h1 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; }
.dash-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px,100%), 1fr)); gap: var(--space-4); margin-bottom: var(--space-8); }
.kpi-card {
  background: var(--color-surface); border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5);
}
.kpi-card .kpi-label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-1); }
.kpi-card .kpi-value { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; }

/* === STATUS TRACKER === */
.status-track {
  display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-xs);
  color: var(--color-text-muted); flex-wrap: wrap;
}
.status-dot {
  width: 10px; height: 10px; border-radius: var(--radius-full); flex-shrink: 0;
}
.status-dot.green { background: var(--color-success); }
.status-dot.gold { background: var(--color-gold); }
.status-dot.red { background: var(--color-error); }
.status-dot.blue { background: var(--color-blue); }

/* === ENGAGEMENT CARD === */
.engagement-card {
  background: var(--color-surface); border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg); padding: var(--space-5);
  display: flex; gap: var(--space-4); align-items: flex-start; flex-wrap: wrap;
}
.engagement-card .eng-info { flex: 1; min-width: 200px; }
.engagement-card .eng-actions { display: flex; gap: var(--space-2); }

/* === PHOTO GUIDE GRID === */
.photo-guide {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px,100%), 1fr)); gap: var(--space-3);
}
.photo-slot {
  aspect-ratio: 4/3; background: var(--color-surface-offset); border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: var(--space-2); cursor: pointer; color: var(--color-text-muted);
  font-size: var(--text-xs); text-align: center; padding: var(--space-2);
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.photo-slot:hover { border-color: var(--color-primary); background: var(--color-primary-highlight); }
.photo-slot svg { width: 24px; height: 24px; color: var(--color-text-faint); }

/* === FOOTER === */
.site-footer {
  background: var(--color-surface-offset); border-top: 1px solid var(--color-divider);
  padding: var(--space-12) 0 var(--space-8);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px,100%), 1fr));
  gap: var(--space-8); margin-bottom: var(--space-8);
}
.footer-col h4 {
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600;
  margin-bottom: var(--space-3);
}
.footer-col a {
  display: block; font-size: var(--text-sm); color: var(--color-text-muted);
  text-decoration: none; padding: var(--space-1) 0;
  transition: color var(--transition-interactive);
}
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: var(--space-4); padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider); font-size: var(--text-xs); color: var(--color-text-faint);
}

/* === SCROLL ANIMATIONS === */
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-fade { to { opacity: 1; } }
.fade-in { opacity: 1; }

/* === DIVIDER === */
.divider { border: none; border-top: 1px solid var(--color-divider); margin: var(--space-6) 0; }

/* === PAGE VISIBILITY === */
.page { display: none; }
.page.active { display: block; }

/* === INFO BOX === */
.info-box {
  background: var(--color-primary-highlight); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); font-size: var(--text-sm);
  display: flex; align-items: flex-start; gap: var(--space-3);
  color: var(--color-text);
}
.info-box svg { flex-shrink: 0; color: var(--color-primary); }
.warning-box {
  background: var(--color-warning-highlight); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); font-size: var(--text-sm);
  display: flex; align-items: flex-start; gap: var(--space-3);
}
.warning-box svg { flex-shrink: 0; color: var(--color-warning); }

/* === PROCESS FLOW (visual) === */
.process-visual {
  display: flex; align-items: stretch; gap: 0;
  margin: var(--space-8) 0;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  overflow: hidden;
}
.process-step {
  flex: 1; padding: var(--space-6) var(--space-4); text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: var(--color-divider);
}
.process-step .step-icon {
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: var(--color-primary-highlight); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-3);
}
.process-step h4 { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-1); }
.process-step p { font-size: var(--text-xs); color: var(--color-text-muted); }

@media (max-width: 640px) {
  .process-visual { flex-direction: column; }
  .process-step:not(:last-child)::after { right: 20%; top: auto; bottom: 0; width: 60%; height: 1px; }
}

/* === SOCIAL SHARE === */
.share-card {
  background: var(--color-surface-offset); border-radius: var(--radius-lg);
  padding: var(--space-5); font-size: var(--text-sm);
}
.share-card textarea {
  width: 100%; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: var(--space-3); background: var(--color-surface); font-family: var(--font-body);
  font-size: var(--text-sm); resize: vertical; min-height: 80px; margin-bottom: var(--space-3);
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 768px) {
  .hero-title { font-size: var(--text-2xl); }
  .section-title { font-size: var(--text-xl); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dash-kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .dash-kpi-row { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
}
