:root {
  --bg-dark: #0F141E;
  --surface: #F8FAFC;
  --surface-card: #FFFFFF;
  --ink: #0F172A;
  --ink-muted: #475569;
  --ink-light: #F8FAFC;
  --border: #E2E8F0;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.12);
  --accent: #E8540A;
  --accent-hover: #C2410C;
  --accent-soft: #FFF7ED;
  --accent-border: #FDBA74;
  --accent-on: #FFFFFF;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html[data-theme="kupfer"] {
  --accent: #B8734B;
  --accent-hover: #965531;
  --accent-soft: #FDF6F0;
  --accent-border: #E5B99B;
}

html[data-theme="rot"] {
  --accent: #DC2626;
  --accent-hover: #B91C1C;
  --accent-soft: #FEF2F2;
  --accent-border: #FCA5A5;
}

html[data-theme="kobalt"] {
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-soft: #EFF6FF;
  --accent-border: #93C5FD;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-card);
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-on);
  padding: 12px 18px;
  z-index: 100;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1140px;
  padding-inline: 16px;
  margin-inline: auto;
}

.container > *,
.snippet-layout > *,
.social-layout > *,
.apply-layout > *,
.diag-grid > *,
.benchmark-bar > * {
  min-width: 0;
}

/* Preview Strip */
.preview-strip {
  background: var(--bg-dark);
  color: #CBD5E1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0;
  font-size: 0.85rem;
}

.preview-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.preview-badge {
  width: 66px;
  height: auto;
  background: #FFFFFF;
  padding: 3px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}

.preview-note {
  overflow-wrap: anywhere;
}

.preview-note strong {
  color: #FFFFFF;
}

.theme-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.theme-label {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-right: 2px;
}

.theme-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  min-block-size: 32px;
}

.theme-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.shop-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.shop-monogram {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-on);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.shop-name {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.shop-sub {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent);
}

@media (max-width: 780px) {
  .nav-link {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  min-block-size: 48px;
  padding: 10px 20px;
  text-align: center;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  min-block-size: 42px;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  min-block-size: 52px;
  padding: 13px 24px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-on);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Hero */
.hero {
  position: relative;
  display: block;
  padding: 68px 0 76px;
  background: var(--bg-dark);
  color: var(--ink-light);
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero {
    padding: 44px 0 54px;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-shader-1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(15, 20, 30, 0.9) 0%, rgba(15, 20, 30, 0.7) 58%, rgba(15, 20, 30, 0.45) 100%);
}

.hero-shader-2 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 20, 30, 0.25) 0%, rgba(15, 20, 30, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  background: rgba(15, 20, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 4vw, 2.95rem);
  line-height: 1.12;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-lead {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  color: #E2E8F0;
  max-width: 650px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.fact-pill {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section {
  padding: 58px 0;
}

.section-light {
  background: var(--surface-card);
}

.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kicker-light {
  color: #FDBA74;
}

.section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.18;
  font-weight: 850;
}

.section-desc {
  margin: 0;
  color: var(--ink-muted);
}

/* Mini-Diagnose */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 820px) {
  .diag-grid {
    grid-template-columns: 1fr;
  }
}

.diag-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px;
}

.diag-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 800;
}

.diag-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.benchmark-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

@media (max-width: 720px) {
  .benchmark-bar {
    grid-template-columns: 1fr;
  }
}

.benchmark-bar strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 900;
}

.benchmark-bar span {
  font-size: 0.88rem;
  color: var(--ink);
}

/* Universal Snippet Layout */
.snippet-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: start;
}

@media (max-width: 860px) {
  .snippet-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.action-card {
  margin-top: 22px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}

.copy-feedback {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #15803D;
  min-height: 1.2em;
}

.snippet-box {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.snippet-box-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-dark);
  color: #F8FAFC;
  font-size: 0.84rem;
  font-weight: 700;
}

.snippet-tag {
  background: var(--accent);
  color: var(--accent-on);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.76rem;
}

.snippet-pre {
  margin: 0;
  padding: 20px;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink);
}

/* 1:1 Social Card Preview */
.social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

@media (max-width: 860px) {
  .social-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.social-card {
  width: 100%;
  max-width: 470px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 90% 10%, #1E293B 0%, #0F172A 68%);
  color: #F8FAFC;
  border-top: 8px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 480px) {
  .social-card {
    aspect-ratio: auto;
    padding: 20px;
  }
}

.sc-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #334155;
  padding-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.sc-firm {
  color: var(--accent-border);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sc-loc {
  color: #CBD5E1;
  flex-shrink: 0;
}

.sc-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-on);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.sc-main h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  line-height: 1.08;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sc-sub {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #CBD5E1;
}

.sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sc-chip {
  background: #1E293B;
  border: 1px solid #475569;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 700;
}

.sc-cta {
  background: #1E293B;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sc-cta-title {
  font-weight: 800;
  font-size: 0.86rem;
}

.sc-cta-owner {
  font-size: 0.75rem;
  color: #CBD5E1;
}

.sc-cta-tel {
  background: var(--accent);
  color: var(--accent-on);
  padding: 7px 12px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.82rem;
}

.social-actions {
  margin: 22px 0 12px;
}

.hint-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* 30s Express Apply Layout */
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 880px) {
  .apply-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.check-bullets {
  padding-left: 18px;
  margin: 18px 0 22px;
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.apply-photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.apply-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Wizard Card (Single-column Mobile-Safe Progress Header) */
.wizard-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.wizard-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.wizard-top h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 850;
}

.wizard-intro {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.progress-wrap {
  margin-bottom: 20px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.progress-track {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 33.33%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.wizard-step {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.step-legend {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  padding: 0;
}

.choice-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.choice-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-block-size: 52px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.choice-item:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice-item input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.pill-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

@media (max-width: 420px) {
  .pill-row {
    grid-template-columns: 1fr;
  }
}

.pill-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-block-size: 48px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.pill-choice:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.pill-choice input[type="radio"] {
  accent-color: var(--accent);
}

.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.field-hint {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.text-input {
  width: 100%;
  min-block-size: 48px;
  padding: 11px 14px;
  font: inherit;
  font-size: max(1rem, 1em);
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #FFFFFF;
  color: var(--ink);
}

.text-input:focus {
  outline: none;
  border-color: var(--accent);
}

.text-input:is(:user-invalid, .user-invalid-fallback) {
  border-color: #DC2626;
  background: #FEF2F2;
}

.field-error {
  display: block;
  margin-top: 5px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #B91C1C;
  min-height: 1.1em;
}

.step-actions {
  margin-top: 18px;
}

.step-actions-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10px;
}

@media (max-width: 420px) {
  .step-actions-split {
    grid-template-columns: 1fr;
  }
}

.wizard-success {
  text-align: center;
  padding: 12px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #15803D;
  font-size: 1.7rem;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.success-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0 14px;
}

.success-caption {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Agency Banner & Footer */
.agency-banner {
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: 52px 0;
}

.agency-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.agency-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.agency-banner p {
  margin: 0;
  color: #CBD5E1;
  max-width: 600px;
}

.agency-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  background: #090D14;
  color: #94A3B8;
  padding: 26px 0;
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-shop strong {
  color: #FFFFFF;
}

.footer-legal a {
  color: #CBD5E1;
}
