/*
Theme Name: D'Stempfel
Theme URI: https://dstempfel.com
Author: D'Stempfel
Description: Theme WordPress sur mesure base sur la maquette D'Stempfel.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: dstempfel
*/

/* D'Stempfel - Cozy Bistro Brasserie Aesthetic */

@font-face {
  font-family: 'Petit Cochon';
  src: url('assets/fonts/PetitCochon.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fff9f3;
  --cream-2: #fdf2e6;
  --cream-3: #f7e9d6;
  --ink: #1a1410;
  --ink-2: #2a221c;
  --orange: #ff914d;
  --orange-deep: #e87331;
  --terracotta: #b94a26;
  --terracotta-deep: #8a3416;
  --paper: #fdf6ec;
  --rule: rgba(26, 20, 16, 0.12);
  --rule-strong: rgba(26, 20, 16, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.display, h1, h2, h3, h4 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* — Subtle faïence pattern — */
.faience-bg {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 145, 77, 0.05) 0, rgba(255, 145, 77, 0.05) 1.4px, transparent 1.6px),
    radial-gradient(circle at 0 0, rgba(255, 145, 77, 0.04) 0, rgba(255, 145, 77, 0.04) 1.4px, transparent 1.6px);
  background-size: 32px 32px, 32px 32px;
  background-position: 0 0, 16px 16px;
}

.cream-2-bg { background: var(--cream-2); }
.cream-3-bg { background: var(--cream-3); }

/* — Buttons — */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 4px 0 0 rgba(26,20,16,0.85), 0 8px 24px -4px rgba(26,20,16,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--ink-2);
  box-shadow: 0 5px 0 0 rgba(26,20,16,0.85), 0 10px 28px -4px rgba(26,20,16,0.3);
}
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 0 rgba(26,20,16,0.85); }

.btn-accent {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 4px 0 0 var(--orange-deep), 0 8px 24px -4px rgba(232, 115, 49, 0.4);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 5px 0 0 var(--orange-deep), 0 10px 28px -4px rgba(232, 115, 49, 0.5); }
.btn-accent:active { transform: translateY(2px); box-shadow: 0 2px 0 0 var(--orange-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule-strong);
}
.btn-ghost:hover { background: var(--cream-2); border-color: var(--ink); }

/* — Nav — */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.nav-brand {
  display: flex;
  justify-content: flex-start;
}

.nav-center {
  display: flex;
  justify-content: center;
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }
@media (max-width: 720px) { .nav-links { display: none; } }

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
}

/* — Hero — */
.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: var(--cream-2);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}
.eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}

h1.hero-title {
  font-size: 76px;
  margin: 24px 0 20px;
  letter-spacing: 0;
}
h1.hero-title .accent {
  background: linear-gradient(180deg, transparent 65%, rgba(255, 145, 77, 0.45) 65%);
  padding: 0 4px;
}
.hero-sub {
  font-size: 18px;
  max-width: 540px;
  color: var(--ink-2);
  opacity: 0.85;
  margin-bottom: 32px;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-meta {
  margin-top: 28px;
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-2);
  opacity: 0.7;
  flex-wrap: wrap;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }

/* — D'-stamp recurring mark — */
.dstamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0;
  position: relative;
  box-shadow: inset 0 0 0 2px var(--ink), 0 4px 0 0 var(--orange-deep);
}
.dstamp::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed var(--ink);
  opacity: 0.35;
}
.dstamp.tilt { transform: rotate(-8deg); }

/* — Section divider with stamp — */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 700px;
  padding: 60px 0 20px;
}
.section-divider .rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* — Phone mockup — */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 0.49;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px -20px rgba(26, 20, 16, 0.4),
    0 12px 24px -8px rgba(26, 20, 16, 0.25),
    inset 0 0 0 2px rgba(255, 249, 243, 0.08);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f1e3ce 0%, #f7eedc 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 5;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-family: -apple-system, system-ui, sans-serif;
}
.phone-status-icons { display: flex; gap: 4px; align-items: center; }

/* loyalty card on the phone */
.loyalty-card {
  margin: 60px 16px 16px;
  background: linear-gradient(155deg, var(--orange) 0%, #ff7d33 60%, var(--terracotta) 100%);
  border-radius: 22px;
  padding: 22px 22px 18px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px -8px rgba(232, 115, 49, 0.45);
}
.loyalty-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.12) 0, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.08) 0, transparent 40%);
  pointer-events: none;
}
.loyalty-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.loyalty-head .merchant {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0;
}
.loyalty-head .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}
.loyalty-name {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  letter-spacing: 0;
}
.loyalty-reward {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.stamp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.stamp-cell {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 249, 243, 0.18);
  border: 1.5px dashed rgba(255, 249, 243, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--cream);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stamp-cell.filled {
  background: var(--cream);
  color: var(--terracotta);
  border: 2px solid var(--cream);
  border-style: solid;
  transform: rotate(-12deg) scale(1.05);
  box-shadow: inset 0 0 0 2px var(--terracotta), 0 0 0 0 rgba(255,255,255,0.4);
}
.stamp-cell.filled.just-popped {
  animation: stampPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes stampPop {
  0% { transform: rotate(0) scale(0); opacity: 0; }
  60% { transform: rotate(-15deg) scale(1.25); opacity: 1; }
  100% { transform: rotate(-12deg) scale(1.05); }
}
.loyalty-progress {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-align: center;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.tap-hint {
  margin-top: 14px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  opacity: 0.55;
  padding: 0 16px;
}

/* Decorative floating stamps near hero */
.float-stamp {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  pointer-events: none;
  opacity: 0.9;
}
.float-stamp.s1 {
  top: 8%;
  right: 8%;
  width: 96px; height: 96px;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 40px;
  transform: rotate(14deg);
  box-shadow: 0 10px 30px -10px rgba(185, 74, 38, 0.5);
  border: 2px solid var(--cream);
  z-index: 2;
}
.float-stamp.s2 {
  bottom: 6%;
  left: 6%;
  width: 76px; height: 76px;
  background: var(--cream);
  color: var(--ink);
  font-size: 30px;
  transform: rotate(-18deg);
  border: 2px solid var(--ink);
  box-shadow: 0 8px 24px -8px rgba(26, 20, 16, 0.3);
}

/* — Social proof — */
.social-proof {
  padding: 56px 0;
  background: var(--cream-2);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.social-proof-text {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  opacity: 0.65;
  margin-bottom: 32px;
}
.social-proof-text:last-child { margin-bottom: 0; }
.social-proof-text strong { color: var(--terracotta); opacity: 1; font-weight: 700; }
.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px 48px;
  flex-wrap: wrap;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 64px;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-1px);
}
.partner-logo img {
  display: block;
  max-width: 170px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 720px) {
  .partners { gap: 24px 30px; }
  .partner-logo {
    min-width: 96px;
    height: 52px;
  }
  .partner-logo img {
    max-width: 130px;
    max-height: 46px;
  }
}

/* — Section base — */
section { position: relative; }
.section-pad { padding: 96px 0; }
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: 50px;
  margin: 16px 0 14px;
  letter-spacing: 0;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-2);
  opacity: 0.75;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* — How it works — */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 24px;
  padding: 36px 30px 32px;
  position: relative;
  transition: all 0.4s ease;
}
.step.active {
  background: var(--cream-3);
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -16px rgba(232, 115, 49, 0.3);
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 16px;
  font-weight: 600;
}
.step-illus {
  width: 84px;
  height: 84px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 {
  font-size: 26px;
  margin-bottom: 10px;
}
.step p {
  color: var(--ink-2);
  opacity: 0.78;
  font-size: 15px;
}

/* — Features split — */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 920px) {
  .features-split { grid-template-columns: 1fr; gap: 48px; }
}
.feature-list { list-style: none; }
.feature-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: padding 0.2s ease;
}
.feature-item:hover { padding-left: 8px; }
.feature-item:last-child { border-bottom: none; }
.feature-bullet {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-3);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 18px;
}
.feature-item.is-active .feature-bullet {
  background: var(--orange);
  color: var(--ink);
}
.feature-item h4 {
  font-size: 19px;
  margin-bottom: 4px;
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  letter-spacing: 0;
}
.feature-item p {
  font-size: 14.5px;
  color: var(--ink-2);
  opacity: 0.72;
}

.dashboard-mock {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 50px -20px rgba(26, 20, 16, 0.18);
  position: relative;
}
.dashboard-mock::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 6px;
  background: var(--rule-strong);
  border-radius: 999px;
  opacity: 0.4;
}
.dash-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  margin-top: 18px;
}
.dash-title {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 18px;
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.stat {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 14px 12px;
}
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  opacity: 0.65;
  margin-bottom: 6px;
}
.stat-value {
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0;
}
.stat-delta { font-size: 11px; color: #2e7d3a; font-weight: 600; }

.chart {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px;
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--orange) 0%, var(--terracotta) 100%);
  border-radius: 6px 6px 2px 2px;
  min-height: 8px;
  transition: height 0.3s ease;
}

/* — Testimonial — */
.testimonial {
  background: var(--terracotta);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.about-band {
  background: linear-gradient(180deg, rgba(242, 222, 205, 0.36) 0%, rgba(255, 249, 244, 0.95) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.about-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(32, 24, 20, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(73, 47, 31, 0.08);
}

.about-card-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}

.about-card h3 {
  margin-bottom: 12px;
}

.about-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.about-address {
  margin-top: 12px;
}

@media (max-width: 1024px) {
  .about-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .about-grid,
  .about-grid--3 {
    grid-template-columns: 1fr;
  }
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 249, 243, 0.06) 0, rgba(255, 249, 243, 0.06) 1.5px, transparent 1.7px);
  background-size: 28px 28px;
  pointer-events: none;
}
.testimonial-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .testimonial-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
}
.quote-mark {
  font-family: 'Zilla Slab', serif;
  font-size: 200px;
  line-height: 0.7;
  color: var(--orange);
  margin-bottom: -20px;
  display: block;
}
.testimonial-quote {
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  justify-content: flex-start;
}
@media (max-width: 880px) { .testimonial-author { justify-content: center; } }
.author-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 26px;
}
.author-name { font-weight: 600; font-size: 16px; }
.author-role { font-size: 14px; opacity: 0.75; }

.testi-photo {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(45deg, rgba(255,249,243,0.06) 0 8px, transparent 8px 16px),
    var(--terracotta-deep);
  border-radius: 22px;
  border: 1.5px solid rgba(255,249,243,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 249, 243, 0.5);
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.testi-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testi-photo .photo-stamp {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 70px; height: 70px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 28px;
  transform: rotate(-12deg);
  border: 2px solid var(--cream);
}

/* — Pricing — */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 24px;
  padding: 36px 30px;
  position: relative;
  transition: all 0.2s ease;
}
.plan:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -14px rgba(26,20,16,0.15); }
.plan.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: scale(1.02);
}
.plan.featured:hover { transform: scale(1.02) translateY(-2px); }
.plan-tag {
  position: absolute;
  top: -12px; left: 30px;
  background: var(--orange);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan-name {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 6px;
  letter-spacing: 0;
}
.plan-desc {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 24px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.plan-price .num {
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: 0;
  line-height: 1;
}
.plan-price .per {
  font-size: 14px;
  opacity: 0.7;
}
.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 14.5px;
}
.plan-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
}
.plan.featured .plan-features li::before { background: var(--orange); color: var(--ink); }
.plan-cta {
  width: 100%;
  justify-content: center;
}

/* — Réalisations — */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.realisations-grid[data-count="1"] {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.realisations-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .realisations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .realisations-grid,
  .realisations-grid[data-count="2"] {
    grid-template-columns: 1fr;
  }

  .realisations-grid[data-count="1"] {
    grid-template-columns: 1fr;
  }
}

.realisation-card {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.realisation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -16px rgba(26, 20, 16, 0.2);
}

.realisation-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.realisation-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 145, 77, 0.07) 0 6px,
      transparent 6px 14px
    ),
    var(--cream-3);
  overflow: hidden;
}

.realisation-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.realisation-card:hover .realisation-card-img {
  transform: scale(1.03);
}

.realisation-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.realisation-stamp {
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 48px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--ink);
  box-shadow: 0 6px 0 0 var(--orange-deep);
  transform: rotate(-8deg);
}

.realisation-sector-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  background: var(--ink);
  color: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.realisation-card-body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.realisation-client {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
}

.realisation-city {
  color: var(--ink-2);
  opacity: 0.6;
}

.realisation-title {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 2px;
}

.realisation-excerpt {
  font-size: 14.5px;
  color: var(--ink-2);
  opacity: 0.75;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.realisation-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--cream-3);
  border-radius: 14px;
  border: 1px solid var(--rule);
  margin-top: 4px;
}

.realisation-stat-value {
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--terracotta);
  white-space: nowrap;
  line-height: 1;
}

.realisation-stat-label {
  font-size: 13px;
  color: var(--ink-2);
  opacity: 0.78;
  line-height: 1.3;
}

.realisation-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--terracotta);
  margin-top: 6px;
  transition: gap 0.2s ease;
}

.realisation-card:hover .realisation-cta {
  gap: 10px;
}

/* — Réalisation single — */
.realisation-hero {
  padding: 64px 0 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.realisation-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.65;
  text-decoration: none;
  margin-bottom: 28px;
  transition: opacity 0.15s;
}

.realisation-hero-back:hover { opacity: 1; }

.realisation-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.realisation-hero-sector {
  background: var(--ink);
  color: var(--cream);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.realisation-hero-client {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.realisation-hero h1 {
  font-size: 56px;
  letter-spacing: 0;
  max-width: 800px;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .realisation-hero h1 {
    font-size: 38px;
  }
}

.realisation-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  margin: 48px 0 0;
  border: 1.5px solid var(--rule);
}

.realisation-body {
  padding: 64px 0 96px;
}

.realisation-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

@media (max-width: 960px) {
  .realisation-content-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.realisation-content {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}

.realisation-content > * + * { margin-top: 20px; }

.realisation-content h2 {
  font-size: 32px;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 14px;
}

.realisation-content h3 {
  font-size: 24px;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 10px;
}

.realisation-content p { color: var(--ink-2); opacity: 0.85; }

.realisation-content ul,
.realisation-content ol {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.realisation-sidebar {
  position: sticky;
  top: 88px;
}

.realisation-sidebar-card {
  background: var(--cream-2);
  border: 1.5px solid var(--rule);
  border-radius: 20px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.realisation-sidebar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  opacity: 0.55;
  margin-bottom: 2px;
}

.realisation-sidebar-value {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.realisation-sidebar-stat {
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.realisation-sidebar-stat-value {
  font-family: 'Zilla Slab', serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  display: block;
}

.realisation-sidebar-stat-label {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 6px;
  display: block;
}

.realisation-sidebar-divider {
  height: 1px;
  background: var(--rule);
}

/* — FAQ — */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0;
}
.faq-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-3);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: var(--ink); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 4px;
}
.faq-item.open .faq-a {
  max-height: 240px;
  padding: 0 4px 24px;
}
.faq-a p {
  color: var(--ink-2);
  opacity: 0.78;
  font-size: 16px;
  max-width: 620px;
}

/* — Final CTA — */
.final-cta {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 0;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 145, 77, 0.08) 0, rgba(255, 145, 77, 0.08) 1.6px, transparent 1.8px);
  background-size: 32px 32px;
}
.final-cta h2 {
  font-size: 68px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.final-cta h2 .accent {
  color: var(--orange);
  font-style: italic;
}
.final-cta p {
  font-size: 18px;
  opacity: 0.75;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.final-cta-stamps {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.final-cta-stamps .float-stamp {
  position: absolute;
  pointer-events: none;
}
.final-cta-stamps .s1 { top: 16%; left: 8%; width: 80px; height: 80px; background: var(--terracotta); color: var(--cream); font-size: 28px; transform: rotate(-18deg); border: 2px solid var(--cream); opacity: 0.4; }
.final-cta-stamps .s2 { bottom: 12%; right: 10%; width: 100px; height: 100px; background: var(--orange); color: var(--ink); font-size: 32px; transform: rotate(20deg); border: 2px solid var(--cream); opacity: 0.5; }

/* — Footer — */
.footer {
  background: var(--cream-2);
  padding: 64px 0 40px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  color: var(--ink-2);
  opacity: 0.65;
  font-weight: 600;
}
.footer ul { list-style: none; }
.footer li { padding: 6px 0; }
.footer-menu-column {
  justify-self: end;
  width: 100%;
  max-width: 320px;
}
.footer a {
  color: var(--ink);
  opacity: 0.75;
  text-decoration: none;
  font-size: 14.5px;
  transition: opacity 0.15s;
}
.footer a:hover { opacity: 1; }
.footer-tag {
  font-size: 14px;
  opacity: 0.7;
  max-width: 260px;
  margin-top: 12px;
}
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.65;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* — Demo modal — */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 24px);
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--cream);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 40px);
  max-width: min(720px, 100%);
  width: 100%;
  position: relative;
  overflow: visible;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1.5px solid var(--rule);
  box-shadow: 0 30px 80px -20px rgba(26,20,16,0.4);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-2);
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.modal-close:hover { background: var(--cream-3); }
.modal h3 {
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: 0;
}
.modal p { font-size: 15px; opacity: 0.75; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.field input, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--orange);
}
.modal-success {
  text-align: center;
  padding: 20px 0;
}
.modal-success .big-stamp {
  width: 100px; height: 100px;
  margin: 0 auto 20px;
  background: var(--orange);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-weight: 400;
  font-size: 50px;
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 3px var(--ink);
  animation: stampPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* — Logo image fitting — */
.nav .logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  display: block;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* small monospace label */
.mono { font-family: 'JetBrains Mono', monospace; }

.checkmark {
  font-weight: 800;
  color: var(--terracotta);
}

.nav-demo {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
  box-shadow: 0 2px 0 0 rgba(26,20,16,0.85), 0 8px 20px -10px rgba(26,20,16,0.22);
}

.nav-demo:hover {
  box-shadow: 0 3px 0 0 rgba(26,20,16,0.85), 0 10px 24px -10px rgba(26,20,16,0.26);
}

.nav-call {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.nav-call-desktop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-call-icon {
  flex: 0 0 auto;
}

.nav-call-number {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-call-mobile,
.nav-call-panel {
  display: none;
}

.mobile-toggle,
.mobile-panel {
  display: none;
}

.mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--cream-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.mobile-panel {
  border-top: 1px solid var(--rule);
  background: var(--cream);
  padding: 16px 20px 20px;
}

.mobile-panel ul {
  list-style: none;
}

.mobile-panel-links a {
  color: var(--ink);
  display: block;
  font-weight: 600;
  padding: 12px 0;
  text-decoration: none;
}

.mobile-panel .btn {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  padding: 16px 24px;
  text-align: center;
}

.signal-bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
}

.signal-bars i {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
  display: block;
}

.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 7px; }
.signal-bars i:nth-child(3) { height: 10px; }
.battery {
  font-size: 11px;
  font-weight: 700;
}

.phone-dots {
  padding: 14px 22px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.phone-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.4;
}

.phone-dots span:nth-child(2) {
  width: 18px;
  border-radius: 999px;
  opacity: 0.7;
}

.dst-illus {
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--cream-3);
  color: var(--ink);
  font-family: 'Petit Cochon', 'Zilla Slab', serif;
  font-size: 24px;
  font-weight: 400;
}

.step.active .dst-illus {
  background: var(--orange);
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.dash-top span:not(.mono) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dash-top span:nth-child(1) { background: #e85a4f; }
.dash-top span:nth-child(2) { background: #f5b941; }
.dash-top span:nth-child(3) { background: #5fb878; }
.dash-top .mono,
.dash-row .mono {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.55;
}

.chart-days {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  opacity: 0.5;
  margin-top: 8px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .btn-ghost {
  color: var(--cream);
  border-color: rgba(255, 249, 243, 0.3);
}

.demo-modal {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.demo-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.modal-is-open {
  overflow: hidden;
}

.wpcf7 form p {
  margin: 0;
}

.wpcf7 form,
.dst-fallback-form {
  display: grid;
  gap: 14px;
}

.dst-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dst-form-grid label,
.dst-fallback-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.dst-form-grid label:last-child,
.dst-fallback-form .field:last-of-type {
  grid-column: 1 / -1;
}

.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea,
.dst-fallback-form input,
.dst-fallback-form select,
.dst-fallback-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

.wpcf7 textarea {
  min-height: 76px;
  resize: vertical;
  max-width: 100%;
}

.wpcf7 .btn,
.dst-fallback-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.wpcf7 .wpcf7-spinner,
.wpcf7 .wpcf7-response-output,
.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 form p:last-of-type {
  grid-column: 1 / -1;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"],
.wpcf7 .btn-accent,
.dst-fallback-form button[type="submit"] {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 4px 0 0 var(--orange-deep), 0 8px 24px -4px rgba(232, 115, 49, 0.4);
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover,
.wpcf7 .btn-accent:hover,
.dst-fallback-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 0 0 var(--orange-deep), 0 10px 28px -4px rgba(232, 115, 49, 0.5);
}

.wpcf7 input[type="submit"]:active,
.wpcf7 button[type="submit"]:active,
.wpcf7 .btn-accent:active,
.dst-fallback-form button[type="submit"]:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 0 var(--orange-deep);
}

.wpcf7-not-valid-tip,
.wpcf7-response-output {
  font-size: 13px;
}

.page-shell {
  padding: 88px 0;
  background: var(--cream);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

.page-content > * + * {
  margin-top: 18px;
}

@media (max-width: 920px) {
  .nav-demo,
  .nav-call-desktop,
  .nav-center,
  .nav-actions {
    display: none;
  }

  .nav-inner {
    display: flex;
    gap: 10px;
    justify-content: space-between;
  }

  .logo-mark {
    margin-left: 6px;
  }

  .nav-call-mobile {
    display: inline-flex;
    margin-left: auto;
    padding: 10px 14px;
    font-size: 13px;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-right: 6px;
  }

  .nav.mobile-open .mobile-panel {
    display: block;
  }

  .nav-call-panel {
    display: inline-flex;
  }

  .hero {
    padding: 44px 0 64px;
  }
}

@media (max-width: 720px) {
  .nav .logo-img {
    height: 32px;
  }

  .logo-mark {
    margin-left: 8px;
  }

  .mobile-toggle {
    margin-right: 8px;
  }

  .nav-call-mobile {
    padding: 9px 12px;
    font-size: 12px;
  }

  h1.hero-title {
    font-size: 46px;
  }

  .section-head h2,
  .final-cta h2 {
    font-size: 38px;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }

  .modal {
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-menu-column {
    justify-self: start;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .modal-backdrop {
    align-items: flex-start;
  }

  .modal {
    margin: auto 0;
  }

  .modal h3 {
    font-size: 24px;
    padding-right: 40px;
  }

  .modal p {
    margin-bottom: 20px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .dst-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 700px) {
  .modal-backdrop {
    align-items: flex-start;
  }

  .modal {
    margin: auto 0;
  }
}
