/* Shared launch styles: header actions, site footer, sticky buy bar, and the plain content pages
   (pricing, download, support, legal, compare, thank-you). Loaded after aperture.css on every page. */

.head-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.head-cta .btn {
  min-height: 39px;
  font-size: 14px;
  padding-inline: 14px;
  white-space: nowrap;
}
.btn.ghost {
  border: 1px solid #ffffff2e;
  color: var(--ink);
}
.btn.ghost:hover {
  border-color: #ffffff66;
}

/* Footer with real links a buyer looks for. */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
}
footer.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  align-items: start;
  gap: 32px;
}
footer.site-footer .brand {
  font-size: 22px;
}
footer.site-footer p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
  max-width: 300px;
}
footer.site-footer nav {
  display: grid;
  gap: 9px;
}
footer.site-footer nav strong {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d8b84;
  margin-bottom: 4px;
}
footer.site-footer nav a {
  color: #d3d1ca;
  font-size: 14px;
}
footer.site-footer .legal-line {
  grid-column: 1 / -1;
  border-top: 1px solid #ffffff10;
  padding-top: 18px;
  font-size: 13px;
  color: #8d8b84;
  max-width: none;
}

/* Sticky buy bar (homepage), shown after the hero scrolls away. */
.buy-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 30;
  transform: translate(-50%, 140%);
  transition: transform 0.35s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 20px;
  border-radius: 12px;
  background: #1b1c1dee;
  border: 1px solid #ffffff1f;
  box-shadow: 0 18px 50px #00000080;
  backdrop-filter: blur(14px);
  white-space: nowrap;
}
.buy-bar.is-visible {
  transform: translate(-50%, 0);
}
.buy-bar span {
  font-size: 14px;
  color: var(--muted);
}
.buy-bar b {
  color: var(--ink);
}
.buy-bar .btn {
  min-height: 40px;
  font-size: 14px;
  padding-inline: 16px;
}

/* Plain content pages. */
.page-hero {
  padding: clamp(56px, 7vw, 110px) 0 28px;
}
.page-hero h1 {
  font-size: clamp(44px, 5.6vw, 86px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 14px 0 18px;
  max-width: 15ch;
}
.page-hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: #d9d0bf;
  letter-spacing: -0.02em;
}
.page-hero .lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted);
  max-width: 640px;
  margin: 0;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}
.page-actions small {
  color: #8d8b84;
  font: 400 13px var(--mono);
}
.prose {
  max-width: 760px;
  padding-bottom: 90px;
}
.prose h2 {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.03em;
  margin: 44px 0 12px;
}
.prose h3 {
  font-size: 19px;
  margin: 28px 0 8px;
}
.prose p,
.prose li {
  color: #cfcdc6;
  line-height: 1.65;
}
.prose a {
  color: var(--warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose .updated {
  font: 400 13px var(--mono);
  color: #8d8b84;
}
.notice {
  border: 1px solid #ff723b55;
  background: #ff723b12;
  border-radius: 10px;
  padding: 16px 18px;
  color: #f0d8cc;
  margin: 20px 0;
}

/* Pricing card. */
.launch-offer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid #47423d;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 0%, #ff723b26, transparent 55%), #161718;
  margin-bottom: 70px;
}
.launch-offer > div {
  padding: clamp(28px, 3.4vw, 52px);
}
.launch-offer > div + div {
  border-left: 1px solid #ffffff14;
}
.launch-offer-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 10px 0 4px;
}
.launch-offer-price strong {
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
}
.launch-offer-price s {
  font-size: 26px;
  color: #8d8b84;
}
.launch-offer-tag {
  display: inline-block;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #17120f;
  background: var(--warm);
  padding: 6px 8px;
  border-radius: 5px;
}
.launch-offer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.launch-offer li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  color: #d6d4cd;
}
.launch-offer li::before {
  content: "✓";
  color: var(--warm);
  font-weight: 700;
}
.launch-offer .fine {
  color: #8d8b84;
  font-size: 13px;
  margin-top: 16px;
}
.guarantee {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #ffffff14;
  color: #cfcdc6;
  font-size: 15px;
}
.guarantee b {
  color: var(--ink);
}

/* Comparison tables. */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #ffffff14;
  vertical-align: top;
}
.compare-table th {
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8d8b84;
}
.compare-table td:first-child {
  color: #cfcdc6;
}
.compare-table .yes {
  color: #9be3a7;
}
.compare-table .no {
  color: #8d8b84;
}
.table-scroll {
  overflow-x: auto;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0 80px;
}
.card-grid a {
  display: block;
  border: 1px solid #ffffff17;
  border-radius: 12px;
  padding: 22px;
  background: #161718;
  transition: border-color 0.2s;
}
.card-grid a:hover {
  border-color: var(--warm);
}
.card-grid h2,
.card-grid h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Thank-you license box. */
.license-box {
  border: 1px solid #47423d;
  border-radius: 12px;
  background: #161718;
  padding: 22px;
  margin: 18px 0;
}
.license-box code {
  display: block;
  font: 400 13px/1.6 var(--mono);
  word-break: break-all;
  color: var(--ink);
  background: #0d0e0f;
  border-radius: 8px;
  padding: 14px;
  margin: 10px 0 14px;
  user-select: all;
}
.missing-page {
  padding: 120px 0;
}

@media (max-width: 860px) {
  .site-head nav {
    display: none;
  }
  .head-cta .btn.ghost {
    display: none;
  }
  footer.site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }
  footer.site-footer .wrap > div:first-child {
    grid-column: 1 / -1;
  }
  .launch-offer {
    grid-template-columns: 1fr;
  }
  .launch-offer > div + div {
    border-left: 0;
    border-top: 1px solid #ffffff14;
  }
  .buy-bar {
    left: 12px;
    right: 12px;
    transform: translateY(140%);
    justify-content: space-between;
  }
  .buy-bar.is-visible {
    transform: translateY(0);
  }
}

/* Homepage launch strip link (replaces the old preview button). */
.launch-strip .launch-strip-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #ffb088;
  font-weight: 650;
  border-bottom: 1px solid #c27655;
}
.preview-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Light theme (homepage theme switch sets html[data-theme="light"]). */
html[data-theme="light"] .launch-offer {
  background: radial-gradient(ellipse at 85% 0%, #ff723b1f, transparent 55%), var(--card);
  border-color: var(--line);
}
html[data-theme="light"] .launch-offer > div + div {
  border-color: var(--line);
}
html[data-theme="light"] .launch-offer li,
html[data-theme="light"] .guarantee {
  color: var(--ink);
}
html[data-theme="light"] .guarantee {
  border-color: var(--line);
}
html[data-theme="light"] .guarantee b {
  color: var(--ink);
}
html[data-theme="light"] .launch-offer .fine,
html[data-theme="light"] .launch-offer p {
  color: var(--muted) !important;
}
html[data-theme="light"] .btn.ghost {
  border-color: #241c1633;
  color: var(--ink);
}
html[data-theme="light"] footer.site-footer nav a {
  color: var(--ink);
}
html[data-theme="light"] footer.site-footer p,
html[data-theme="light"] footer.site-footer nav strong {
  color: var(--muted);
}
html[data-theme="light"] footer.site-footer .legal-line {
  border-color: var(--line);
}
html[data-theme="light"] .buy-bar {
  background: #fffdf8f0;
  border-color: var(--line);
  box-shadow: 0 18px 50px #3a2a1a2e;
}
html[data-theme="light"] .buy-bar span {
  color: var(--muted);
}
html[data-theme="light"] .buy-bar b {
  color: var(--ink);
}

/* Hero buttons on the ivory hero: orange Buy, outlined trial. */
.cut-actions .btn.cut-primary[data-buy] {
  background: var(--warm);
  color: #17120f;
  box-shadow: 0 1px 0 #ffa47d inset;
}
.cut-actions .btn.cut-primary[data-buy]:hover {
  background: #ff8957;
}
.cut-actions .btn.pale {
  background: transparent;
  color: #25221e;
  border: 1px solid #25221e4d;
  min-height: 49px;
  font-size: 15px;
  padding-inline: 18px;
}
.cut-actions .btn.pale:hover {
  border-color: #25221e;
  background: #ffffff80;
}
