@import url("/apps/assets/site.css");

:root {
  --bg: #08090f;
  --bg-2: #0e101a;
  --panel: #151725;
  --panel-2: #1c1e32;
  --panel-3: #282748;
  --ink: #f8f5ff;
  --muted: #b5b3c9;
  --soft: #ddd9eb;
  --line: rgba(155, 119, 255, 0.22);
  --line-strong: rgba(155, 119, 255, 0.38);
  --accent: #a875ff;
  --accent-2: #6ec8ff;
  --warm: #ff9b4a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

body {
  background:
    radial-gradient(circle at 78% 5%, rgba(124, 61, 255, 0.2), transparent 30rem),
    linear-gradient(135deg, rgba(18, 136, 255, 0.14), transparent 38rem),
    linear-gradient(180deg, var(--bg), #0c0d18 48rem, #07070c);
}

body::before {
  background-image:
    linear-gradient(rgba(188, 169, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(188, 169, 255, 0.03) 1px, transparent 1px);
}

a:hover {
  color: #cbb7ff;
}

.site-header {
  border-bottom-color: rgba(155, 119, 255, 0.14);
  background: rgba(8, 9, 15, 0.86);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(168, 117, 255, 0.13);
}

.button.primary {
  border-color: rgba(168, 117, 255, 0.74);
  background: #a875ff;
  color: #100b1c;
  box-shadow: 0 16px 42px rgba(115, 63, 220, 0.24);
}

.button.primary:hover {
  color: #100b1c;
}

.brand-link img {
  border-radius: 10px;
}

.images-hero {
  padding-bottom: 0;
}

.images-hero .product-hero-copy {
  max-width: none;
}

.images-hero .app-lockup {
  justify-content: center;
  margin-inline: clamp(16px, 4vw, 48px);
  text-align: center;
  transform: translateX(calc(clamp(-16px, -1vw, -8px) - 8px));
}

.images-hero .lede,
.images-hero .hero-actions {
  max-width: none;
  margin-inline: clamp(16px, 4vw, 48px);
}

.images-hero .hero-actions {
  display: grid;
}

.app-icon {
  border-radius: 24%;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.38));
}

.hero-visual,
.screenshot,
.plugins-visual {
  background: #11100f;
}

.hero-visual img,
.screenshot img {
  aspect-ratio: 1720 / 1408;
  object-fit: contain;
}

.stat {
  background: rgba(36, 21, 13, 0.9);
}

.guide-link-card {
  background:
    linear-gradient(135deg, rgba(255, 138, 61, 0.14), transparent 52%),
    rgba(24, 14, 9, 0.9);
}

.info-card,
.feature-card,
.guide-toc,
.screenshot,
.contact-panel,
.form-panel,
.order-summary {
  background: rgba(36, 21, 13, 0.72);
}

.overview-list,
.built-in-list,
.sample-player,
.known-limitations {
  background: rgba(24, 14, 9, 0.78);
}

.section.compact.plugins-section {
  padding-bottom: 0;
}

.guide-link-section {
  padding-top: clamp(8px, 1.5vw, 16px);
  padding-bottom: clamp(34px, 5.6vw, 56px);
}

.product-strip {
  background: rgba(31, 17, 10, 0.7);
}

.product-shot {
  background: #11100f;
}

.apollo-feature {
  background:
    linear-gradient(135deg, rgba(255, 138, 61, 0.12), transparent 46%),
    rgba(24, 14, 9, 0.84);
}

.apollo-visual figcaption {
  background: rgba(36, 21, 13, 0.9);
}

.callout-band {
  background:
    linear-gradient(90deg, rgba(255, 138, 61, 0.1), transparent 40%),
    rgba(31, 17, 10, 0.68);
}

.screenshot-lightbox {
  background: rgba(10, 6, 4, 0.94);
}

.guide-content {
  background: rgba(18, 11, 7, 0.92);
}

.guide-inner code,
.guide-inner pre {
  border-color: rgba(239, 174, 119, 0.28);
  background: rgba(255, 255, 255, 0.055);
  color: #ffe3cb;
}

.guide-inner pre {
  overflow-x: auto;
  padding: 14px 16px;
  border: 1px solid rgba(239, 174, 119, 0.28);
  border-radius: 8px;
}

.guide-inner pre code {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  white-space: pre;
}

.guide-inner kbd {
  display: inline-block;
  min-width: 1.7em;
  margin: 0 1px;
  padding: 0 6px;
  border: 1px solid rgba(239, 174, 119, 0.34);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--ink);
  font: 0.85em "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-align: center;
}

.guide-inner th {
  background: rgba(255, 138, 61, 0.1);
}

.guide-inner .muted {
  color: var(--muted);
}

.guide-inner .toc ul {
  columns: 2;
  column-gap: clamp(28px, 5vw, 56px);
}

input,
select,
textarea {
  border-color: rgba(239, 174, 119, 0.3);
  background: rgba(12, 7, 5, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(255, 138, 61, 0.52);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.7fr);
  gap: 20px;
  margin-top: 36px;
}

.order-summary {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-summary img {
  width: 112px;
  height: 112px;
  border-radius: 24%;
}

.order-summary h2,
.order-form-panel h2 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.order-form-panel {
  border-color: rgba(91, 48, 22, 0.2);
  background: #ffffff;
}

.order-form-panel h2,
.order-form-panel label,
.order-form-panel .required-note {
  color: #2b1a10;
}

.order-form-panel input {
  border-color: rgba(91, 48, 22, 0.26);
  background: #fffaf6;
  color: #24150d;
}

.order-form-panel input:focus {
  outline-color: rgba(255, 138, 61, 0.58);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.12);
}

.price-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.price-list > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.price-list dt {
  color: var(--muted);
}

.price-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.original-price {
  margin-right: 5px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
}

.checkout-note {
  padding: 16px;
  border: 1px solid rgba(255, 138, 61, 0.36);
  border-radius: 8px;
  background: rgba(255, 138, 61, 0.09);
  color: var(--soft);
}

.paypal-button-wrap {
  min-height: 150px;
}

.order-error {
  color: #a52f1f !important;
}

.order-complete-panel {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(36, 21, 13, 0.72);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.order-complete-panel h2 {
  font-size: 1.4rem;
}

.order-complete-instructions {
  display: grid;
  gap: 14px;
  max-width: 860px;
  color: var(--soft);
  line-height: 1.55;
}

.license-key {
  width: 100%;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 138, 61, 0.46);
  border-radius: 8px;
  background: rgba(12, 7, 5, 0.58);
  color: var(--ink);
  font: 1.2rem/1.5 "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.button[aria-disabled="true"],
.button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.form-status:not(:empty) {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 138, 61, 0.08);
}

.form-status.error {
  border-color: rgba(255, 110, 82, 0.42);
  color: #ffc0b4;
}

.download-table td:last-child {
  min-width: 320px;
}

@media (max-width: 900px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .guide-inner .toc ul {
    columns: 1;
  }

  .images-hero .app-lockup {
    align-items: center;
  }
}
