﻿/* Custom plotter commission block (homepage section + standalone styles) */
/* Match .home-section width (full .page content width; no narrow max-width) */
.plotter-home-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 0.25rem;
  margin-bottom: 2.25rem;
  text-align: center;
}
/* Featured “spotlight” shell — nebula energy like the site hero */
.plotter-spotlight {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg, 1rem);
  border: 1px solid rgba(124, 107, 255, 0.22);
  padding: 1.75rem 1.15rem 1.5rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(238, 240, 251, 0.72) 100%);
  box-shadow:
    0 10px 36px rgba(90, 80, 140, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  isolation: isolate;
}
/* Soft drifting nebula layers (subtle motion) */
.plotter-spotlight::before,
.plotter-spotlight::after {
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  will-change: transform, opacity;
}
.plotter-spotlight::before {
  width: 70%;
  height: 55%;
  top: -18%;
  left: 15%;
  background: radial-gradient(ellipse at center, rgba(124, 107, 255, 0.28), transparent 68%);
  animation: plotter-nebula-a 18s ease-in-out infinite alternate;
}
.plotter-spotlight::after {
  width: 48%;
  height: 42%;
  right: -6%;
  bottom: 8%;
  background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.22), transparent 70%);
  animation: plotter-nebula-b 22s ease-in-out infinite alternate;
}
.plotter-spotlight-glow {
  pointer-events: none;
  position: absolute;
  z-index: 0;
  width: 55%;
  height: 50%;
  left: -8%;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 140, 200, 0.16), transparent 72%);
  opacity: 0.95;
  animation: plotter-nebula-c 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes plotter-nebula-a {
  0% {
    transform: translate3d(-3%, 2%, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate3d(4%, 6%, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate3d(6%, -2%, 0) scale(1.04);
    opacity: 0.85;
  }
}
@keyframes plotter-nebula-b {
  0% {
    transform: translate3d(2%, -3%, 0) scale(1.05);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(-5%, 4%, 0) scale(1);
    opacity: 0.95;
  }
  100% {
    transform: translate3d(-2%, 6%, 0) scale(1.1);
    opacity: 0.8;
  }
}
@keyframes plotter-nebula-c {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.65;
  }
  100% {
    transform: translate3d(8%, -10%, 0) scale(1.12);
    opacity: 0.95;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plotter-spotlight::before,
  .plotter-spotlight::after,
  .plotter-spotlight-glow {
    animation: none;
  }
}
.plotter-spotlight-header,
.plotter-home-section > .section-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  padding: 0.35rem 0.5rem 0.5rem;
}
.plotter-spotlight-header .section-eyebrow,
.plotter-home-section > .section-header .section-eyebrow {
  margin: 0;
}
.plotter-spotlight-header h2,
.plotter-home-section > .section-header h2 {
  margin: 0;
  font-family: var(--font-display, "Orbitron", system-ui, sans-serif);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.15;
  background: linear-gradient(120deg, #1a1830 10%, #5b4fd4 48%, #3d8f86 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.plotter-spotlight-header .section-lede,
.plotter-home-section > .section-header .section-lede {
  margin: 0 auto;
  max-width: 34rem;
  line-height: 1.7;
  text-align: center;
  font-size: 1.02rem;
}
/* Big price + savings (conversion focus) */
.plotter-price-hero {
  margin: 0.35rem auto 0;
  padding: 1rem 1.25rem 1.05rem;
  max-width: 22rem;
  width: 100%;
  box-sizing: border-box;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(124, 107, 255, 0.16), rgba(61, 143, 134, 0.14));
  border: 1px solid rgba(124, 107, 255, 0.32);
  box-shadow: 0 10px 28px rgba(90, 80, 140, 0.12);
}
.plotter-price-hero-save {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-glow, #3d8f86);
}
.plotter-price-hero-row {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.65rem;
}
.plotter-offer-was {
  text-decoration: line-through;
  opacity: 0.5;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--muted, #5c5780);
}
.plotter-price-hero-now {
  font-family: var(--font-display, "Orbitron", system-ui, sans-serif);
  font-size: clamp(2.4rem, 6vw, 3.1rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--accent, #6b5ce7);
}
.plotter-price-hero-code {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--fg, #1a1830);
}
.plotter-price-hero-code strong {
  letter-spacing: 0.08em;
  color: var(--accent, #6b5ce7);
}
.plotter-price-hero-ship {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-glow, #3d8f86);
}
/* How it works — step cards with gap-only connectors */
.plotter-steps {
  --plotter-step-gap: 1.35rem;
  --plotter-step-pad-y: 1.05rem;
  --plotter-step-num: 2.35rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative; /* anchor for centred connector rail */
  z-index: 1;
  margin: 1.5rem auto 0;
  padding: 0;
  width: 100%;
  max-width: 40rem;
  text-align: center;
}
@media (min-width: 700px) {
  .plotter-steps {
    flex-direction: row;
    align-items: stretch;
    gap: var(--plotter-step-gap);
  }
  /*
    Single connector rail through the horizontal centre of the number badges.
    Cards sit above it (z-index), so the line only shows in the gaps.
  */
  .plotter-steps::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: calc(100% / 6);
    right: calc(100% / 6);
    top: calc(var(--plotter-step-pad-y) + (var(--plotter-step-num) / 2) - 1px);
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(124, 107, 255, 0.15) 0%,
      rgba(124, 107, 255, 0.65) 20%,
      rgba(61, 143, 134, 0.65) 80%,
      rgba(61, 143, 134, 0.15) 100%
    );
    border-radius: 999px;
    pointer-events: none;
  }
}
.plotter-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: var(--plotter-step-pad-y) 0.9rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border: 1px solid rgba(124, 107, 255, 0.18);
  box-shadow:
    0 6px 18px rgba(90, 80, 140, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  min-width: 0;
  flex: 1 1 0;
  overflow: visible;
  z-index: 1;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}
.plotter-step:hover {
  z-index: 2;
  transform: translateY(-4px);
  border-color: rgba(124, 107, 255, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #ebe7ff 100%);
  box-shadow:
    0 14px 30px rgba(90, 80, 140, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}
.plotter-step:hover .plotter-step-num {
  transform: scale(1.08);
  box-shadow:
    0 6px 18px rgba(91, 79, 212, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.plotter-step:hover .plotter-step-body strong {
  color: var(--accent, #6b5ce7);
}
.plotter-step:hover .plotter-step-body span {
  color: var(--fg, #1a1830);
}
.plotter-step-num {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: var(--plotter-step-num);
  height: var(--plotter-step-num);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-display, "Orbitron", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, var(--accent, #6b5ce7) 0%, #5b4fd4 45%, var(--accent-glow, #3d8f86) 100%);
  box-shadow:
    0 4px 14px rgba(91, 79, 212, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.plotter-step-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  width: 100%;
}
.plotter-step-body strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg, #1a1830);
  line-height: 1.25;
  transition: color 0.22s ease;
}
.plotter-step-body span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted, #5c5780);
  max-width: 12.5rem;
  transition: color 0.22s ease;
}
.plotter-perk-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
}
.plotter-perk {
  margin: 0;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg, #1a1830);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(124, 107, 255, 0.22);
  box-shadow: 0 2px 8px rgba(90, 80, 140, 0.06);
}
.plotter-card-kicker {
  margin: 0 0 1rem;
  font-size: clamp(0.8rem, 1.8vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
  line-height: 1.35;
}
.plotter-kicker-was {
  text-decoration: line-through;
  opacity: 0.55;
  font-weight: 400;
  margin-right: 0.2em;
  color: #a16207;
}
.plotter-kicker-now {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #d97706;
  margin-right: 0.15em;
  font-size: 1.08em;
}
.plotter-card-kicker .plotter-kicker-code,
.plotter-card-kicker .copy-code {
  color: #d97706;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plotter-card-kicker .copy-code:hover,
.plotter-card-kicker .copy-code.is-copied {
  color: #b45309;
}
.plotter-card-lead {
  margin: 0 0 0.95rem;
  font-size: 0.95rem;
  color: var(--muted, #5c5780);
}
.plotter-cta-reassure {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fg, #1a1830);
  line-height: 1.45;
}
.plotter-cta-reassure .copy-code {
  letter-spacing: 0.06em;
  color: var(--accent, #6b5ce7);
  font-weight: 600;
}
.plotter-card-embedded {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
  max-width: 40rem;
  box-sizing: border-box;
  text-align: center;
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 107, 255, 0.18);
  box-shadow:
    0 12px 32px rgba(90, 80, 140, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.plotter-home .brand-text-simple {
  font-family: var(--font-display, "Orbitron", system-ui, sans-serif);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  color: var(--fg);
  text-decoration: none;
}
.plotter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: 0.9rem;
}
.plotter-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}
.plotter-nav a:hover,
.plotter-nav a[aria-current="page"] {
  color: var(--fg);
  background: rgba(124, 107, 255, 0.1);
}
.plotter-main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 0 3rem;
}
.plotter-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.plotter-hero h1 {
  font-family: var(--font-display, "Orbitron", system-ui, sans-serif);
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.plotter-hero .lede {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.plotter-bullets {
  margin: 0 0 1.75rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.plotter-bullets li { margin: 0.25rem 0; }
.plotter-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #c8c4e8);
  border-radius: var(--radius-lg, 1rem);
  padding: 1.25rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-md, 0 8px 24px rgba(90, 80, 140, 0.12));
  margin-bottom: 2rem;
}
.plotter-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.plotter-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--accent-glow, #3d8f86);
}
.plotter-price-list {
  text-decoration: line-through;
  opacity: 0.65;
  font-weight: 400;
  color: var(--muted, #5c5780);
}
.plotter-price-sale {
  color: var(--accent-glow, #3d8f86);
}
.plotter-price-ship {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted, #5c5780);
}
.plotter-promo-hint {
  margin: 0 0 1rem;
}
/* Side-by-side segmented toggle with sliding selected pill */
.plotter-mode {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 auto 1.25rem;
  width: 100%;
  max-width: 36rem;
  padding: 0.3rem;
  box-sizing: border-box;
  border-radius: 1rem;
  background: rgba(124, 107, 255, 0.08);
  border: 1px solid rgba(124, 107, 255, 0.14);
}
.plotter-mode-thumb {
  position: absolute;
  z-index: 0;
  top: 0.3rem;
  left: 0.3rem;
  width: calc(50% - 0.3rem);
  height: calc(100% - 0.6rem);
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(124, 107, 255, 0.28);
  box-shadow:
    0 2px 10px rgba(90, 80, 140, 0.12),
    0 0 0 1px rgba(124, 107, 255, 0.06);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.plotter-mode[data-mode="image"] .plotter-mode-thumb {
  transform: translateX(100%);
}
.plotter-mode-option {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding: 0.85rem 0.65rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  text-align: center;
  background: transparent;
  color: var(--fg, #1a1830);
  transition: color 0.22s ease;
}
.plotter-mode-option:has(input:focus-visible) {
  outline: 2px solid var(--accent, #6b5ce7);
  outline-offset: 2px;
}
/* Visually hide radio; whole segment is the control */
.plotter-mode-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.plotter-mode-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
}
.plotter-mode-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--muted, #5c5780);
  transition: color 0.22s ease;
}
.plotter-mode-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted, #5c5780);
  line-height: 1.3;
  opacity: 0.9;
  transition: color 0.22s ease, opacity 0.22s ease;
}
.plotter-mode-option:has(input:checked) .plotter-mode-title {
  color: var(--accent, #6b5ce7);
  font-weight: 600;
}
.plotter-mode-option:has(input:checked) .plotter-mode-sub {
  color: var(--fg, #1a1830);
  opacity: 0.75;
}
.plotter-mode-option:hover .plotter-mode-title {
  color: var(--fg, #1a1830);
}
.plotter-panel {
  /* Shared footprint for prompt + upload so mode toggle does not jump */
  --plotter-input-height: 10.5rem;
  --plotter-input-max-width: 36rem;
  text-align: center;
}
.plotter-panel .field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 auto 0.35rem;
  text-align: center;
}
.plotter-prompt-field,
.plotter-file-shell {
  position: relative;
  width: 100%;
  max-width: var(--plotter-input-max-width);
  height: var(--plotter-input-height);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.plotter-panel textarea {
  width: 100%;
  height: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  display: block;
  font: inherit;
  border: 1px solid var(--border, #c8c4e8);
  border-radius: var(--radius-md, 0.75rem);
  padding: 0.75rem;
  min-height: 0;
  resize: none;
  background: var(--bg-alt, #e4e8f8);
  color: var(--fg, #1a1830);
  box-sizing: border-box;
  text-align: center;
}
/* Animated example prompts (typing + fade out) */
.plotter-prompt-ghost {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  pointer-events: none;
  font: inherit;
  font-size: inherit;
  line-height: 1.45;
  text-align: center;
  color: var(--muted, #5c5780);
  opacity: 0.85;
  white-space: pre-wrap;
  overflow: hidden;
  transition: opacity 0.38s ease;
}
.plotter-prompt-ghost.is-fading {
  opacity: 0;
}
.plotter-prompt-ghost.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.plotter-prompt-field:focus-within .plotter-prompt-ghost,
.plotter-prompt-field.has-value .plotter-prompt-ghost {
  opacity: 0;
  visibility: hidden;
  transition: none;
}
/* Hide native file control; use styled drop zone */
.plotter-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.plotter-file-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-height: 0;
  padding: 0.75rem 1rem;
  border: 1.5px dashed rgba(124, 107, 255, 0.45);
  border-radius: var(--radius-md, 0.75rem);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(124, 107, 255, 0.08), transparent 65%),
    var(--bg-alt, #e4e8f8);
  text-align: center;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.plotter-file-drop-hint {
  display: block;
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--muted, #5c5780);
  line-height: 1.35;
}
.plotter-file-drop:hover {
  border-color: var(--accent, #6b5ce7);
  box-shadow: 0 0 0 3px rgba(124, 107, 255, 0.12);
}
.plotter-panel:has(.plotter-file-input:focus-visible) .plotter-file-drop {
  border-color: var(--accent, #6b5ce7);
  box-shadow: 0 0 0 3px rgba(124, 107, 255, 0.18);
}
.plotter-file-drop-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  width: 100%;
}
.plotter-file-drop-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent, #6b5ce7) 0%, #5b4fd4 50%, var(--accent-glow, #3d8f86) 100%);
  border: 1px solid rgba(124, 107, 255, 0.55);
  box-shadow: 0 4px 14px rgba(90, 80, 140, 0.18);
}
.plotter-file-drop-cta:hover .plotter-file-drop-title {
  filter: brightness(1.05);
}
.plotter-file-drop-meta {
  font-size: 0.8rem;
  color: var(--muted, #5c5780);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.5rem;
}
.plotter-file-drop.is-filled {
  border-style: solid;
  border-color: rgba(61, 143, 134, 0.45);
  gap: 0.4rem;
  justify-content: center;
}
.plotter-file-drop.is-filled .plotter-file-drop-hint {
  display: none;
}
.plotter-panel .hint,
.plotter-legal {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  text-align: center;
}
.plotter-legal {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* Preview sits inside the drop zone, above Choose JPG / PNG */
.plotter-file-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 0 1 auto;
  min-height: 0;
  margin: 0;
}
.plotter-file-preview[hidden] {
  display: none !important;
}
.plotter-file-preview-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(100%, 12rem);
  max-height: 4.25rem;
  margin: 0 auto;
}
.plotter-file-preview img {
  display: block;
  width: auto;
  max-width: min(100%, 12rem);
  max-height: 4.25rem;
  height: auto;
  margin: 0 auto;
  border-radius: 0.65rem;
  border: 1px solid var(--border, #c8c4e8);
  background: #fff;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(90, 80, 140, 0.12);
}
.plotter-file-clear {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 2;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(26, 24, 48, 0.72);
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.15s ease, transform 0.15s ease;
}
.plotter-file-clear:hover {
  background: rgba(185, 28, 28, 0.92);
  transform: scale(1.05);
}
.plotter-file-clear:focus-visible {
  outline: 2px solid var(--accent, #6b5ce7);
  outline-offset: 2px;
}
.plotter-error {
  color: #b91c1c;
  font-size: 0.9rem;
  margin: 0.75rem auto 0;
  text-align: center;
}
.plotter-status {
  color: var(--accent-glow, #3d8f86);
  font-size: 0.9rem;
  margin: 0.75rem auto 0;
  text-align: center;
}
.plotter-status-link {
  color: var(--accent, #6b5ce7);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.plotter-status-link:hover {
  color: var(--accent-glow, #3d8f86);
}
/* Full-width indeterminate loading bar (replaces “Creating checkout…” text) */
.plotter-loading {
  width: 100%;
  margin: 0.85rem 0 0;
  box-sizing: border-box;
}
.plotter-loading-track {
  width: 100%;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(124, 107, 255, 0.14);
  overflow: hidden;
}
.plotter-loading-bar {
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent, #6b5ce7) 0%,
    var(--accent-glow, #3d8f86) 50%,
    var(--accent, #6b5ce7) 100%
  );
  background-size: 200% 100%;
  animation: plotter-loading-slide 1.1s ease-in-out infinite;
}
@keyframes plotter-loading-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
.btn.plotter-submit,
.plotter-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 36rem;
  margin: 1.15rem auto 0;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(124, 107, 255, 0.55);
  border-radius: 999px;
  background-image: linear-gradient(
    105deg,
    var(--accent, #6b5ce7) 0%,
    #7c6bff 22%,
    var(--accent-glow, #3d8f86) 48%,
    #5ee0d6 62%,
    #5b4fd4 82%,
    var(--accent, #6b5ce7) 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  /*
    Keep “Add to cart” legible on bright teal patches:
    light hairline edge + dense dark outline halo.
  */
  -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.35);
  text-shadow:
    0 0 1px rgba(15, 14, 26, 0.9),
    0 1px 0 rgba(15, 14, 26, 0.75),
    0 -1px 0 rgba(15, 14, 26, 0.45),
    1px 0 0 rgba(15, 14, 26, 0.45),
    -1px 0 0 rgba(15, 14, 26, 0.45),
    0 1px 2px rgba(15, 14, 26, 0.55),
    0 2px 8px rgba(15, 14, 26, 0.4);
  box-shadow: 0 8px 22px rgba(91, 79, 212, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  animation: plotter-submit-gradient 7s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes plotter-submit-gradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.btn.plotter-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(91, 79, 212, 0.34);
}
.btn.plotter-submit:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  filter: none;
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn.plotter-submit,
  .plotter-submit {
    animation: none;
    background-position: 50% 50%;
  }
}
.plotter-how {
  margin-bottom: 2rem;
}
.plotter-how h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.plotter-how ol {
  margin-left: 1.2rem;
  color: var(--muted);
}
.plotter-how li { margin: 0.35rem 0; }
.plotter-footer {
  border-top: 1px solid var(--border, #c8c4e8);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
}
.plotter-footer .muted { color: var(--muted); margin-top: 0.35rem; }

/* —— Dark mode (follows system preference, same as main styles.css) —— */
@media (prefers-color-scheme: dark) {
  .plotter-spotlight {
    border-color: rgba(124, 107, 255, 0.32);
    background: linear-gradient(180deg, rgba(20, 18, 40, 0.95) 0%, rgba(15, 14, 26, 0.92) 100%);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  .plotter-spotlight::before {
    background: radial-gradient(ellipse at center, rgba(124, 107, 255, 0.38), transparent 68%);
  }
  .plotter-spotlight::after {
    background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.22), transparent 70%);
  }
  .plotter-spotlight-glow {
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2), transparent 72%);
  }
  .plotter-spotlight-header h2,
  .plotter-home-section > .section-header h2 {
    background: linear-gradient(120deg, #e0e7ff 8%, #a78bfa 48%, #67e8d4 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .plotter-spotlight-header .section-lede,
  .plotter-home-section > .section-header .section-lede {
    color: var(--muted, #a0a0c0);
  }
  .plotter-perk {
    color: var(--fg, #e0e0ff);
    background: rgba(31, 30, 53, 0.85);
    border-color: rgba(124, 107, 255, 0.32);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }
  .plotter-offer-pill {
    background: linear-gradient(105deg, rgba(124, 107, 255, 0.22), rgba(61, 143, 134, 0.18));
    border-color: rgba(124, 107, 255, 0.4);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    color: var(--fg, #e0e0ff);
  }
  .plotter-offer-now {
    color: var(--accent-glow, #67e8d4);
  }
  .plotter-offer-code {
    color: var(--muted, #a0a0c0);
  }
  .plotter-offer-code strong {
    color: #c4b5fd;
  }
  .plotter-card,
  .plotter-card-embedded {
    background: rgba(31, 30, 53, 0.92);
    border-color: rgba(124, 107, 255, 0.28);
    box-shadow:
      0 14px 36px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    color: var(--fg, #e0e0ff);
  }
  .plotter-mode {
    background: rgba(15, 14, 26, 0.55);
    border-color: rgba(124, 107, 255, 0.2);
  }
  .plotter-mode-thumb {
    background: rgba(31, 30, 53, 0.98);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(124, 107, 255, 0.15);
  }
  .plotter-mode-option {
    background: transparent;
    color: var(--fg, #e0e0ff);
    box-shadow: none;
  }
  .plotter-mode-option:hover {
    background: transparent;
    box-shadow: none;
  }
  .plotter-mode-option:hover .plotter-mode-title {
    color: var(--fg, #e0e0ff);
  }
  .plotter-mode-option:has(input:checked) .plotter-mode-title {
    color: #c4b5fd;
  }
  .plotter-mode-option:has(input:checked) .plotter-mode-sub {
    color: var(--fg, #e0e0ff);
  }
  .plotter-mode-title,
  .plotter-mode-sub {
    color: var(--muted, #a0a0c0);
  }
  .plotter-panel .field-label {
    color: var(--fg, #e0e0ff);
  }
  .plotter-panel textarea {
    background: var(--bg-alt, #16152a);
    border-color: var(--border, #3a3858);
    color: var(--fg, #e0e0ff);
  }
  .plotter-panel textarea::placeholder {
    color: rgba(160, 160, 192, 0.7);
  }
  .plotter-file-drop {
    background:
      radial-gradient(ellipse 80% 70% at 50% 0%, rgba(124, 107, 255, 0.14), transparent 65%),
      var(--bg-alt, #16152a);
    border-color: rgba(124, 107, 255, 0.4);
  }
  .plotter-file-drop:hover,
  .plotter-panel:has(.plotter-file-input:focus-visible) .plotter-file-drop {
    border-color: rgba(167, 139, 250, 0.65);
    box-shadow: 0 0 0 3px rgba(124, 107, 255, 0.18);
  }
  .plotter-file-drop.is-filled {
    border-color: rgba(103, 232, 212, 0.45);
  }
  .plotter-file-drop-meta,
  .plotter-file-drop-hint {
    color: var(--muted, #a0a0c0);
  }
  .plotter-file-preview img {
    border-color: var(--border, #3a3858);
    background: #16152a;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
  .plotter-panel .hint,
  .plotter-legal {
    color: var(--muted, #a0a0c0);
  }
  .plotter-legal a {
    color: #c4b5fd;
  }
  .plotter-error {
    color: #fca5a5;
  }
  .plotter-status {
    color: var(--accent-glow, #67e8d4);
  }
  .plotter-loading-track {
    background: rgba(124, 107, 255, 0.2);
  }
  .plotter-footer {
    border-top-color: var(--border, #3a3858);
  }
}

/* Manual data-theme="dark" fallback (if ever set) */
[data-theme="dark"] .plotter-spotlight {
  border-color: rgba(124, 107, 255, 0.32);
  background: linear-gradient(180deg, rgba(20, 18, 40, 0.95) 0%, rgba(15, 14, 26, 0.92) 100%);
}
[data-theme="dark"] .plotter-spotlight::before {
  background: radial-gradient(ellipse at center, rgba(124, 107, 255, 0.38), transparent 68%);
}
[data-theme="dark"] .plotter-spotlight::after {
  background: radial-gradient(ellipse at center, rgba(78, 205, 196, 0.22), transparent 70%);
}
[data-theme="dark"] .plotter-spotlight-glow {
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2), transparent 72%);
}
[data-theme="dark"] .plotter-spotlight-header h2,
[data-theme="dark"] .plotter-home-section > .section-header h2 {
  background: linear-gradient(120deg, #e0e7ff 8%, #a78bfa 48%, #67e8d4 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .plotter-card-embedded,
[data-theme="dark"] .plotter-card {
  background: rgba(31, 30, 53, 0.92);
  border-color: rgba(124, 107, 255, 0.28);
  color: var(--fg, #e0e0ff);
}
[data-theme="dark"] .plotter-mode-thumb {
  background: rgba(31, 30, 53, 0.98);
  border-color: rgba(167, 139, 250, 0.45);
}
[data-theme="dark"] .plotter-mode-option {
  background: transparent;
  color: var(--fg, #e0e0ff);
}
[data-theme="dark"] .plotter-panel textarea {
  background: var(--bg-alt, #16152a);
  border-color: var(--border, #3a3858);
  color: var(--fg, #e0e0ff);
}
[data-theme="dark"] .plotter-file-drop {
  background: var(--bg-alt, #16152a);
  border-color: rgba(124, 107, 255, 0.4);
}

/* Dark mode — conversion elements */
@media (prefers-color-scheme: dark) {
  .plotter-price-hero {
    background: linear-gradient(145deg, rgba(124, 107, 255, 0.24), rgba(61, 143, 134, 0.16));
    border-color: rgba(124, 107, 255, 0.42);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  }
  .plotter-price-hero-now {
    color: #c4b5fd;
  }
  .plotter-price-hero-code {
    color: var(--fg, #e0e0ff);
  }
  .plotter-price-hero-code strong {
    color: #c4b5fd;
  }
  .plotter-price-hero-ship {
    color: var(--accent-glow, #67e8d4);
  }
  .plotter-step {
    background: linear-gradient(180deg, #252348 0%, #18162e 100%);
    border-color: rgba(124, 107, 255, 0.28);
    box-shadow:
      0 8px 22px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  .plotter-step:hover {
    border-color: rgba(167, 139, 250, 0.5);
    background: linear-gradient(180deg, #2e2a52 0%, #1e1b38 100%);
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .plotter-step:hover .plotter-step-body strong {
    color: #c4b5fd;
  }
  .plotter-step:hover .plotter-step-body span {
    color: var(--fg, #e0e0ff);
  }
  .plotter-step-num {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  .plotter-step-body strong {
    color: var(--fg, #e0e0ff);
  }
  .plotter-step-body span {
    color: var(--muted, #a0a0c0);
  }
  @media (min-width: 700px) {
    .plotter-steps::before {
      background: linear-gradient(
        90deg,
        rgba(167, 139, 250, 0.15) 0%,
        rgba(167, 139, 250, 0.6) 20%,
        rgba(103, 232, 212, 0.55) 80%,
        rgba(103, 232, 212, 0.15) 100%
      );
    }
  }
  .plotter-card-kicker {
    color: #f4c95f;
  }
  .plotter-kicker-was {
    color: #d4a830;
  }
  .plotter-kicker-now {
    color: #ffd166;
  }
  .plotter-card-kicker .plotter-kicker-code,
  .plotter-card-kicker .copy-code {
    color: #ffd166;
  }
  .plotter-card-kicker .copy-code:hover,
  .plotter-card-kicker .copy-code.is-copied {
    color: #f4c95f;
  }
  .plotter-card-lead {
    color: var(--muted, #a0a0c0);
  }
  .plotter-cta-reassure {
    color: var(--fg, #e0e0ff);
  }
  .plotter-cta-reassure strong {
    color: #c4b5fd;
  }
}
[data-theme="dark"] .plotter-price-hero {
  background: linear-gradient(145deg, rgba(124, 107, 255, 0.24), rgba(61, 143, 134, 0.16));
  border-color: rgba(124, 107, 255, 0.42);
}
[data-theme="dark"] .plotter-step {
  background: linear-gradient(180deg, #252348 0%, #18162e 100%);
  border-color: rgba(124, 107, 255, 0.24);
}
[data-theme="dark"] .plotter-price-hero-now,
[data-theme="dark"] .plotter-cta-reassure strong {
  color: #c4b5fd;
}
[data-theme="dark"] .plotter-card-kicker {
  color: #f4c95f;
}
[data-theme="dark"] .plotter-kicker-was {
  color: #d4a830;
}
[data-theme="dark"] .plotter-kicker-now {
  color: #ffd166;
}
[data-theme="dark"] .plotter-card-kicker .plotter-kicker-code,
[data-theme="dark"] .plotter-card-kicker .copy-code {
  color: #ffd166;
}
[data-theme="dark"] .plotter-card-kicker .copy-code:hover,
[data-theme="dark"] .plotter-card-kicker .copy-code.is-copied {
  color: #f4c95f;
}
