:root {
  --snot-ink: #1a0a2e;
  --snot-muted: #5c5470;
  --snot-line: rgba(26, 10, 46, 0.1);
  --snot-gold: #f5c842;
  --snot-orange: #e8751a;
  --snot-green: #22c55e;
  --snot-green-deep: #15803d;
  --snot-champagne: #d4af37;
  --snot-surface: #ffffff;
  --snot-bg: #faf8f5;
  --snot-radius: 20px;
  --snot-shadow: 0 24px 60px rgba(26, 10, 46, 0.1);
  --snot-shadow-hover: 0 32px 72px rgba(26, 10, 46, 0.14);
}

body.snot-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(245, 200, 66, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 15%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #fffcf7 0%, var(--snot-bg) 35%, #f3f0fa 100%);
  color: var(--snot-ink);
  min-height: 100vh;
}

.snot-main {
  padding: calc(var(--chrome, 88px) + 2.25rem) 0 4.5rem;
}

.snot-wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.snot-test-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(232, 117, 26, 0.08), rgba(245, 200, 66, 0.1));
  border: 1px solid rgba(212, 175, 55, 0.28);
  font-size: 0.88rem;
  color: var(--snot-ink);
}

.snot-test-banner strong {
  color: var(--snot-orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.snot-test-banner code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(26, 10, 46, 0.06);
  font-size: 0.82rem;
}

.snot-test-banner[hidden] {
  display: none !important;
}

.snot-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.snot-hero__eyebrow {
  margin: 0 0 1.25rem;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--snot-orange);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 18px rgba(26, 10, 46, 0.06);
}

.snot-hero__frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--snot-shadow);
  border: 1px solid rgba(212, 175, 55, 0.22);
  line-height: 0;
}

.snot-hero__frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--snot-champagne), var(--snot-orange), var(--snot-green), var(--snot-champagne));
  z-index: 1;
}

.snot-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.snot-hero__lead {
  max-width: 640px;
  margin: 1.5rem auto 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--snot-muted);
}

.snot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 720px;
  margin: 1.75rem auto 0;
}

.snot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border-radius: 100px;
  border: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-position 0.45s ease,
    border-color 0.3s ease;
}

.snot-btn:hover {
  transform: translateY(-2px);
}

.snot-btn--primary {
  color: var(--snot-ink);
  background: linear-gradient(135deg, #e8751a 0%, #f5c842 50%, #e8751a 100%);
  background-size: 200% 200%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 28px rgba(232, 117, 26, 0.32);
}

.snot-btn--primary:hover {
  background-position: 100% 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 34px rgba(232, 117, 26, 0.4);
}

.snot-btn--brochure {
  color: var(--snot-green-deep);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 24px rgba(34, 197, 94, 0.12);
}

.snot-btn--brochure::after {
  content: "↓";
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.75;
}

.snot-btn--brochure:hover {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(34, 197, 94, 0.2);
}

.snot-btn--submit {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, var(--snot-orange), var(--snot-gold));
  color: var(--snot-ink);
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 14px 34px rgba(232, 117, 26, 0.35);
}

.snot-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.snot-form-shell {
  display: none;
  margin-top: 2.5rem;
}

.snot-form-shell.is-visible {
  display: block;
  animation: snotFormReveal 0.45s ease;
}

@keyframes snotFormReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.snot-form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.snot-form-card {
  position: relative;
  background: var(--snot-surface);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--snot-radius);
  box-shadow: var(--snot-shadow);
  overflow: hidden;
}

.snot-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--snot-champagne), var(--snot-orange), var(--snot-champagne));
}

.snot-form-card__head {
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid var(--snot-line);
  background: linear-gradient(135deg, rgba(26, 10, 46, 0.02), rgba(245, 200, 66, 0.1));
}

.snot-form-card__head h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--snot-ink);
}

.snot-form-card__head p {
  margin: 0;
  color: var(--snot-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.snot-form-card__body {
  padding: 1.5rem;
}

.snot-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.snot-date-pill strong {
  color: var(--snot-green-deep);
}

.snot-field--date {
  margin-bottom: 1.25rem;
}

.snot-field--date label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--snot-muted);
}

.snot-field--date strong {
  font-size: 1rem;
  color: var(--snot-ink);
}

.snot-summary__words {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.snot-summary__words span:first-child {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.snot-section-note,
.snot-pricing-guide {
  display: none;
}

.snot-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(26, 10, 46, 0.06);
}

.snot-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.snot-section h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--snot-muted);
  font-weight: 700;
}

.snot-section h3::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--snot-orange), var(--snot-gold));
  flex-shrink: 0;
}

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

.snot-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.snot-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--snot-muted);
}

.snot-field input,
.snot-field select,
.snot-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 10, 46, 0.12);
  background: linear-gradient(180deg, #fff, #faf9fc);
  font: inherit;
  color: var(--snot-ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.snot-field input:focus,
.snot-field select:focus,
.snot-field textarea:focus {
  outline: none;
  border-color: rgba(232, 117, 26, 0.45);
  box-shadow: 0 0 0 4px rgba(245, 200, 66, 0.18);
  background: #fff;
}

.snot-field textarea {
  resize: vertical;
  min-height: 96px;
}

.snot-note {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(245, 200, 66, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.22);
  color: var(--snot-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.snot-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.snot-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--snot-line);
  background: linear-gradient(180deg, #fff, #faf9fc);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.snot-option:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

.snot-option input {
  margin-top: 0.2rem;
  accent-color: var(--snot-orange);
}

.snot-option:has(input:checked) {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06), rgba(255, 255, 255, 0.95));
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.1);
}

.snot-option__text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.snot-option__text small {
  color: var(--snot-muted);
  font-size: 0.8rem;
}

.snot-summary {
  position: sticky;
  top: calc(var(--chrome, 88px) + 1rem);
  background: linear-gradient(165deg, #1a0a2e 0%, #2a1654 55%, #1f1040 100%);
  color: #fff;
  border-radius: var(--snot-radius);
  padding: 1.5rem;
  box-shadow: var(--snot-shadow);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.snot-summary::before {
  content: "";
  display: block;
  height: 3px;
  margin: -1.5rem -1.5rem 1.25rem;
  border-radius: var(--snot-radius) var(--snot-radius) 0 0;
  background: linear-gradient(90deg, var(--snot-champagne), var(--snot-orange), var(--snot-green));
}

.snot-summary h3 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.snot-summary__amount {
  font-family: var(--serif, 'Cormorant Garamond', serif);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.snot-summary__words {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: rgba(245, 200, 66, 0.95);
}

.snot-summary__hint {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.22);
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.snot-summary__hint[hidden] {
  display: none !important;
}

.snot-summary__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  opacity: 0.9;
}

.snot-summary__list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.snot-summary__fee-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.snot-summary__fee-row--principal {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
}

.snot-summary__principal-note,
.snot-summary__rates-note {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(245, 200, 66, 0.9);
}

.snot-summary__fee-row--gateway {
  font-size: 0.84rem;
  opacity: 0.92;
  color: rgba(255, 255, 255, 0.88);
}

.snot-summary__fee-row--total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(245, 200, 66, 0.25);
  border-bottom: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--snot-gold);
}

.snot-summary__secure {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.92;
}

.snot-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(245, 200, 66, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.snot-consent input {
  margin-top: 0.2rem;
  accent-color: var(--snot-green);
}

.snot-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Toast */
.snot-toast-stack {
  position: fixed;
  top: calc(var(--chrome, 88px) + 1rem);
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.snot-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--snot-line);
  box-shadow: 0 16px 40px rgba(26, 10, 46, 0.18);
  pointer-events: auto;
  animation: snotToastIn 0.35s ease;
}

.snot-toast--success {
  border-left: 4px solid var(--snot-green);
}

.snot-toast--error {
  border-left: 4px solid #ef4444;
}

.snot-toast--info {
  border-left: 4px solid var(--snot-orange);
}

.snot-toast strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.92rem;
}

.snot-toast p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--snot-muted);
  line-height: 1.45;
}

@keyframes snotToastIn {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 960px) {
  .snot-form-layout {
    grid-template-columns: 1fr;
  }

  .snot-summary {
    position: static;
    order: -1;
  }

  .snot-grid,
  .snot-options,
  .snot-actions {
    grid-template-columns: 1fr;
  }

  .snot-hero__lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 1280px) {
  .header .nav-admin {
    width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .header .nav-cta.nav-smart {
    margin-top: 0.5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snot-form-shell.is-visible {
    animation: none;
  }

  .snot-btn:hover,
  .snot-option:hover {
    transform: none;
  }
}
