/* ═══════════════════════════════════════════════
   MONSITEDEMAIN — Design System v3.0
   Premium web agency — livraison dès 24h
   ═══════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --duration-reveal: 700ms;
}

/* ── Global Typography ── */
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #525252;
}

h1, h2, h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: #171717;
  text-wrap: balance;
}

p, li { max-width: 65ch; }

/* ── Header ── */
#site-header {
  background: transparent;
  transition: all 300ms var(--ease-out-expo);
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Nav links color change on scroll */
#site-header.scrolled .nav-link {
  color: #404040;
}
#site-header.scrolled .nav-link:hover {
  color: #171717;
}
#site-header.scrolled .header-logo-text {
  color: #171717;
}
#site-header.scrolled .header-logo-text + svg,
#site-header.scrolled svg.text-brand-400 {
  color: #f97316;
}
#site-header.scrolled #mobile-menu-btn {
  color: #404040;
}
#site-header.scrolled #mobile-menu-btn:hover {
  color: #171717;
}
#site-header.scrolled #user-menu-btn {
  color: #ea580c;
}
#site-header.scrolled #user-menu-btn:hover {
  color: #c2410c;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-reveal) var(--ease-out-expo),
              transform var(--duration-reveal) var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: 100ms; }
.reveal-d2 { transition-delay: 200ms; }
.reveal-d3 { transition-delay: 300ms; }
.reveal-d4 { transition-delay: 400ms; }

/* ── Hero Title Gradient (ONLY place for gradient text) ── */
.hero-title {
  background: linear-gradient(180deg, #ffffff 0%, #e5e5e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #f97316;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}
.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #ea580c;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
}
.btn-secondary:hover {
  background: #c2410c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.25);
}
.btn-secondary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #ea580c;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #fed7aa;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
}
.btn-outline:hover {
  background: #fff7ed;
  border-color: #f97316;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
}
.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Badges ── */
.badge,
.badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
}

.badge {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.badge-dark {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

/* ── Cards ── */
.card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 2rem;
  transition: all 300ms var(--ease-out-expo);
}
.card:hover {
  border-color: #fed7aa;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Inputs ── */
.input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #ffffff;
  color: #262626;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  outline: none;
  transition: all 200ms var(--ease-out-expo);
}
.input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}
.input::placeholder {
  color: #a3a3a3;
}
.input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* ── Process Timeline ── */
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  padding-left: 0;
}
.process-step::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 88px;
  bottom: -24px;
  width: 2px;
  background: #e5e5e5;
}
.process-step:last-child::before { display: none; }

.process-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  background: #fff7ed;
  color: #ea580c;
  border: 2px solid #fed7aa;
  z-index: 1;
}

/* ── Pricing ── */
.pricing-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 300ms var(--ease-out-expo);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card-popular {
  background: #171717;
  color: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 48px rgba(23, 23, 23, 0.3);
  transition: all 300ms var(--ease-out-expo);
}
.pricing-card-popular:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(23, 23, 23, 0.35);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f97316;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.375rem 1.25rem;
  border-radius: 9999px;
}

.price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
}
.feature-list li svg {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── FAQ ── */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }
details[open] .faq-chevron { transform: rotate(180deg); }
.faq-chevron {
  transition: transform 300ms var(--ease-out-expo);
}

/* ── Form Wizard ── */
.wizard-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
@media (max-width: 639px) {
  .wizard-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
}

.wizard-progress {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto 3rem;
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 400ms var(--ease-out-expo);
}
.step-dot.inactive {
  background: #f5f5f5;
  color: #a3a3a3;
}
.step-dot.active {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  transform: scale(1.1);
}
.step-dot.completed {
  background: #10b981;
  color: #ffffff;
}

.step-line {
  flex: 1;
  height: 3px;
  background: #e5e5e5;
  margin: 0 0.5rem;
  border-radius: 2px;
  transition: background 400ms;
}
.step-line.completed {
  background: #10b981;
}

.step-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #a3a3a3;
  margin-top: 0.5rem;
  text-align: center;
}
.step-dot.active ~ .step-label,
.step-wrapper.active .step-label { color: #ea580c; }
.step-dot.completed ~ .step-label,
.step-wrapper.completed .step-label { color: #10b981; }
@media (max-width: 639px) {
  .step-label { display: none; }
}

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }

/* Step transitions */
.step-exit {
  animation: stepOut 250ms ease forwards;
}
@keyframes stepOut {
  to { opacity: 0; transform: translateX(-20px); }
}
.step-enter {
  animation: stepIn 350ms var(--ease-out-expo) forwards;
}
@keyframes stepIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Radio cards */
.radio-card {
  position: relative;
  cursor: pointer;
}
.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.radio-card .card-body {
  padding: 1rem 1.25rem;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  transition: all 200ms;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.radio-card input:checked + .card-body {
  border-color: #f97316;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}
.radio-card .card-body:hover {
  border-color: #fdba74;
}

/* Checkbox premium */
.checkbox-premium {
  padding: 0.625rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  transition: all 200ms;
  cursor: pointer;
}
.checkbox-premium:hover {
  border-color: #fdba74;
}
.checkbox-premium:has(input:checked) {
  border-color: #fed7aa;
  background: rgba(249, 115, 22, 0.04);
}
.checkbox-premium input:checked + span {
  color: #ea580c;
  font-weight: 600;
}

/* Field error message */
.field-error {
  color: #ef4444;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── PRD Content ── */
#prd-content {
  font-family: 'Outfit', sans-serif;
  color: #525252;
  line-height: 1.8;
}
#prd-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #171717;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e5e5;
}
#prd-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #262626;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}
#prd-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #404040;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
#prd-content p {
  margin-bottom: 1rem;
  max-width: 65ch;
}
#prd-content ul, #prd-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}
#prd-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
#prd-content strong {
  color: #171717;
  font-weight: 600;
}
#prd-content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #ea580c;
}
#prd-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.875rem;
}
#prd-content th {
  background: #fafafa;
  font-weight: 600;
  color: #404040;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #e5e5e5;
}
#prd-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f5f5f5;
  color: #525252;
}
#prd-content tr:last-child td {
  border-bottom: none;
}

/* ── Spinner ── */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e5e5;
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Shimmer loading ── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer {
  background: linear-gradient(90deg, #f5f5f5 25%, #e5e5e5 50%, #f5f5f5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* ── Images ── */
.img-responsive {
  width: 100%;
  height: auto;
  display: block;
}

.img-float {
  animation: imgFloat 6s ease-in-out infinite;
}
@keyframes imgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.img-process {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.portfolio-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 400ms var(--ease-out-expo);
  background-color: #838281;
  padding: 5px;
}
.portfolio-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
}
.portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* ── Focus visible ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.4);
  border-radius: 8px;
}

/* ── Print ── */
@media print {
  header, footer, .no-print { display: none !important; }
  body { background: white !important; color: #262626 !important; font-size: 12pt; line-height: 1.6; }
  main { padding-top: 0 !important; }
  section { padding: 0 !important; background: white !important; }
  .card, .wizard-card, .pricing-card, .pricing-card-popular {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #prd-content {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    max-width: none !important;
  }
  #prd-content h1 { font-size: 18pt; margin-top: 24pt; page-break-after: avoid; }
  #prd-content h2 { font-size: 14pt; margin-top: 18pt; page-break-after: avoid; }
  #prd-content h3 { font-size: 12pt; margin-top: 14pt; page-break-after: avoid; }
  #prd-content p { max-width: none; }
  #prd-content table { page-break-inside: avoid; }
  #prd-content pre, #prd-content code { font-size: 10pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Dashboard ── */
.dashboard-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  transition: all 200ms var(--ease-out-expo);
}
.dashboard-card:hover {
  border-color: #fed7aa;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

/* Status badges */
.status-badge-validated {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.status-badge-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.status-badge-pending {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Temp password banner */
.password-banner {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.password-display {
  background: #171717;
  color: #f97316;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Auth card */
.auth-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Prose for PRD content in dashboard */
.prose h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #171717;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e5e5;
}
.prose h1:first-child { margin-top: 0; }
.prose h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: #262626;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #404040;
  margin-top: 1.25rem;
  margin-bottom: 0.375rem;
}
.prose p {
  margin-bottom: 0.75rem;
  color: #525252;
  line-height: 1.75;
}
.prose ul, .prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.prose li {
  margin-bottom: 0.375rem;
  line-height: 1.7;
  color: #525252;
}
.prose strong { color: #171717; }
.prose code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #ea580c;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}
.prose th {
  background: #fafafa;
  font-weight: 600;
  color: #404040;
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 2px solid #e5e5e5;
}
.prose td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid #f5f5f5;
  color: #525252;
}

/* ═══ Delivery Timeline ═══ */
.delivery-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: auto;
  padding: 0.5rem 0 0.25rem;
  gap: 0;
}
.delivery-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  flex-shrink: 0;
}
.delivery-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 300ms;
  position: relative;
  z-index: 1;
}
.delivery-circle.future {
  background: #f5f5f5;
  color: #a3a3a3;
  border: 2px solid #e5e5e5;
}
.delivery-circle.active {
  background: #fff7ed;
  color: #f97316;
  border: 2px solid #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
  animation: pulse-delivery 2s infinite;
}
.delivery-circle.completed {
  background: #10b981;
  color: #ffffff;
  border: 2px solid #10b981;
}
@keyframes pulse-delivery {
  0%, 100% { box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0.08); }
}
.delivery-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #a3a3a3;
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}
.delivery-label.active {
  color: #f97316;
  font-weight: 600;
}
.delivery-label.completed {
  color: #10b981;
}
.delivery-line {
  flex: 1;
  height: 3px;
  background: #e5e5e5;
  margin-top: 18.5px; /* (40px circle / 2) - (3px line / 2) */
  min-width: 20px;
  border-radius: 2px;
  transition: background 300ms;
}
.delivery-line.completed {
  background: #10b981;
}

/* ── Countdown ── */
.countdown-grid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.countdown-value {
  font-family: 'Outfit', ui-monospace, SFMono-Regular, monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #171717;
  letter-spacing: -0.025em;
}
.countdown-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #a3a3a3;
  margin-top: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.countdown-sep {
  font-family: 'Outfit', ui-monospace, SFMono-Regular, monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: #d4d4d4;
  line-height: 1;
  padding: 0 2px;
  align-self: flex-start;
  margin-top: 2px;
}
.countdown-expired .countdown-value {
  color: #ef4444;
}
.countdown-warning .countdown-value {
  color: #f59e0b;
}

@media (max-width: 639px) {
  .delivery-stage { min-width: 56px; }
  .delivery-circle { width: 32px; height: 32px; font-size: 0.6875rem; }
  .delivery-circle svg { width: 14px; height: 14px; }
  .delivery-label { font-size: 0.5625rem; max-width: 64px; }
  .delivery-line { margin-top: 14.5px; min-width: 12px; }
  .countdown-unit { min-width: 48px; }
  .countdown-value { font-size: 1.5rem; }
  .countdown-label { font-size: 0.5625rem; }
  .countdown-sep { font-size: 1.25rem; }
}

/* ── Cookie Banner ── */
@keyframes cookieSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cookieSlideOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

/* ── Color Picker ── */
.color-square-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.color-square {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  border: 3px solid #e5e5e5;
  pointer-events: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.color-square-wrap:hover .color-square {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
  transform: scale(1.06);
}
.color-input-native {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.hex-input {
  width: 5.5rem;
  margin-top: 6px;
  padding: 3px 6px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  color: #525252;
  background: #fafafa;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.hex-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,.1);
  background: #fff;
}
.hex-input::placeholder {
  color: #a3a3a3;
}

/* ── Blog ── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog article content */
.blog-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #404040;
}
.blog-content h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #171717;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e5e5;
}
.blog-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #171717;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.blog-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #262626;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.blog-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #404040;
  margin-top: 1.5rem;
  margin-bottom: 0.375rem;
}
.blog-content p {
  margin-bottom: 1.25rem;
  max-width: none;
}
.blog-content a {
  color: #ea580c;
  text-decoration: underline;
  text-decoration-color: rgba(234, 88, 12, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 200ms;
}
.blog-content a:hover {
  text-decoration-color: #ea580c;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}
.blog-content ul, .blog-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.blog-content ul { list-style-type: disc; }
.blog-content ol { list-style-type: decimal; }
.blog-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  max-width: none;
}
.blog-content blockquote {
  border-left: 4px solid #f97316;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #fff7ed;
  border-radius: 0 12px 12px 0;
  color: #525252;
  font-style: italic;
}
.blog-content pre {
  background: #171717;
  color: #e5e5e5;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.blog-content code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #ea580c;
}
.blog-content pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.blog-content strong {
  color: #171717;
  font-weight: 600;
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  border-radius: 12px;
  overflow: hidden;
}
.blog-content th {
  background: #fafafa;
  font-weight: 600;
  color: #404040;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #e5e5e5;
}
.blog-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f5f5f5;
}
.blog-content figure {
  margin: 1.5rem 0;
}
.blog-content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: #737373;
  margin-top: 0.5rem;
}
.blog-content hr {
  border: none;
  border-top: 2px solid #e5e5e5;
  margin: 2rem 0;
}

/* ── FAQ Accordion ── */
.blog-content .faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.blog-content .faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 1.05em;
  background: #fafafa;
  list-style: none;
}
.blog-content .faq-item summary::-webkit-details-marker { display: none; }
.blog-content .faq-item summary::before {
  content: "＋";
  margin-right: 10px;
  font-weight: bold;
  color: #6366f1;
}
.blog-content .faq-item[open] summary::before { content: "－"; }
.blog-content .faq-item[open] summary { border-bottom: 1px solid #e5e5e5; }
.blog-content .faq-item p {
  padding: 16px 20px;
  margin: 0;
  line-height: 1.7;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
