/* Phoenix AI — /trial/ (unwired / staging until Jon blesses) */
:root {
  --ink: #090909;
  --cream: #F8F4E9;
  --cream-muted: #c8c0b4;
  --purple: #6B4FC8;
  --purple-light: #E0D0FF;
  --blue: #4A7FD4;
  --sky: #5A9FD8;
  --wine: #A81830;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(1.25rem, 3vw, 2.5rem);
  --shell-max: 56rem;
  --wide-max: 72rem;
}

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

html, body {
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.trial-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 44% at 72% 30%, rgba(107, 79, 200, 0.22), transparent 62%),
    radial-gradient(ellipse 36% 32% at 16% 68%, rgba(74, 127, 212, 0.10), transparent 56%),
    url("../assets/world-bc-datacenter.jpg?v=1789166000") 82% 38% / cover no-repeat,
    #090909;
  filter: brightness(0.94) contrast(1.06) saturate(1.08);
  opacity: 0.98;
}

.trial-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(9, 9, 9, 0.84) 0%,
      rgba(9, 9, 9, 0.70) 26%,
      rgba(9, 9, 9, 0.45) 48%,
      rgba(9, 9, 9, 0.28) 70%,
      rgba(9, 9, 9, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(9, 9, 9, 0.55) 0%,
      rgba(9, 9, 9, 0.22) 14%,
      rgba(9, 9, 9, 0.30) 52%,
      rgba(9, 9, 9, 0.65) 82%,
      rgba(9, 9, 9, 0.92) 100%
    );
}

.trial-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.trial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 1rem var(--pad-x);
  box-sizing: border-box;
}

.trial-top__brand {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  --lockup-w: clamp(9.5rem, 22vw, 12.5rem);
  margin-left: calc(var(--lockup-w) * -37 / 623) !important;
}

.trial-top__brand img {
  display: block;
  width: var(--lockup-w);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(74, 40, 160, 0.35));
}

.trial-top__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.trial-top__nav a {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.88;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 55%, transparent);
  padding-bottom: 0.15rem;
  transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.trial-top__nav a:hover {
  opacity: 1;
  color: var(--sky);
  border-bottom-color: var(--sky);
}

main {
  flex: 1;
  width: min(100%, var(--shell-max));
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--pad-x) 3.5rem;
  box-sizing: border-box;
}

.trial-hero {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vh, 2.75rem) 0 clamp(2.25rem, 5vh, 3.25rem);
  text-align: center;
}

.trial-kicker {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream-muted) 80%, var(--sky));
  margin-bottom: 1rem;
}

.trial-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--cream);
  text-shadow:
    0 0 0.4em rgba(190, 170, 245, 0.28),
    0 1px 18px rgba(9, 9, 9, 0.65);
  margin-bottom: 0.85rem;
}

.trial-plain {
  font-size: clamp(1.24rem, 2.3vw, 1.47rem); /* +15% Jon 2026-09-15 */
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--purple-light);
  max-width: 46rem;
  margin: 0 auto 0.85rem;
}

.trial-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  margin: 0 auto 1rem;
  padding: 0.63rem 1.09rem; /* +15% */
  border-radius: 999px;
  font-size: 1.06rem; /* +15% Jon 2026-09-15 */
  font-weight: 650;
  color: var(--cream);
  background:
    linear-gradient(145deg, rgba(168, 24, 48, 0.22), rgba(14, 12, 20, 0.88)),
    rgba(22, 16, 36, 0.92);
  border: 1px solid color-mix(in srgb, var(--wine) 45%, transparent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.trial-price__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sky);
  opacity: 0.85;
}

.trial-micro {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cream-muted);
  max-width: 42rem;
  margin: 0 auto 1.35rem;
}

.trial-slides__book {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: inherit;
}

.trial-slides__book:focus-visible {
  outline: 2px solid color-mix(in srgb, #1f7a45 70%, #ffffff);
  outline-offset: 4px;
}

.trial-hero__visual {
  margin: 0 auto 1.5rem;
  max-width: min(100%, 42rem);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--purple) 28%, transparent);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
  background: rgba(9, 9, 9, 0.55);
}

.trial-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(9, 9, 9, 0.55);
  overflow: hidden; /* contain subtle active grow */
}

.trial-slides__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  /* fade + reset scale on exit (~fade duration) */
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  pointer-events: none;
  will-change: opacity, transform;
}

.trial-slides__slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.03);
  /* grow across the hold window (matches HOLD_MS ~5s) */
  transition:
    opacity 0.9s var(--ease-out),
    transform 5s var(--ease-out);
}

/* Jon LOCK: no grow when reduced motion */
@media (prefers-reduced-motion: reduce) {
  .trial-slides__slide,
  .trial-slides__slide.is-active {
    transform: none;
    transition: opacity 0.9s var(--ease-out);
  }
}

.trial-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.trial-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.trial-btn--primary {
  border: 1px solid color-mix(in srgb, #0d3d24 70%, #1a5c38);
  background:
    linear-gradient(135deg,
      #145c32,
      #0d3d24 55%,
      #0a2e1c);
  color: var(--cream);
  box-shadow: 0 14px 36px rgba(13, 61, 36, 0.45);
}

.trial-btn--primary:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, #1f7a45 70%, #ffffff);
  background:
    linear-gradient(135deg,
      #1a6b3a,
      #145c32 55%,
      #0d3d24);
}

.trial-btn--ghost {
  border: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  background: rgba(9, 9, 9, 0.35);
  color: var(--cream);
}

.trial-btn--ghost:hover {
  border-color: color-mix(in srgb, var(--sky) 50%, transparent);
  color: var(--sky);
}

.trial-staging {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--wine) 70%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--wine) 45%, transparent);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--wine) 12%, rgba(9, 9, 9, 0.55));
}

.trial-staging-note {
  font-size: 0.82rem;
  color: var(--cream-muted);
  width: 100%;
  margin-top: 0.15rem;
}

.trial-section {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 1.75rem 0 0.5rem;
  border-top: 1px solid color-mix(in srgb, var(--cream) 9%, transparent);
  text-align: left;
}

.trial-section h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 1.35rem 0 0.85rem;
  color: var(--cream);
}

.trial-section p,
.trial-section li {
  font-size: 0.98rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 86%, var(--cream-muted));
}

.trial-sub {
  color: var(--cream-muted) !important;
  margin-bottom: 1rem;
  font-size: 0.92rem !important;
}

.trial-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.trial-list li {
  position: relative;
  padding-left: 1.15rem;
}

.trial-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wine) 65%, var(--purple));
  box-shadow: 0 0 10px color-mix(in srgb, var(--purple) 40%, transparent);
}

.trial-list--muted li {
  color: var(--cream-muted);
}

.trial-list--muted li::before {
  background: color-mix(in srgb, var(--cream-muted) 55%, transparent);
  box-shadow: none;
}

.trial-agenda {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.trial-agenda li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(14, 12, 20, 0.72);
  border: 1px solid color-mix(in srgb, var(--purple) 24%, transparent);
}

.trial-agenda__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

.trial-agenda strong {
  color: var(--cream);
  font-size: 1.02rem;
}

.trial-agenda span:last-child {
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.trial-section--card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--purple) 30%, transparent);
  background:
    linear-gradient(160deg, rgba(107, 79, 200, 0.12), rgba(9, 9, 9, 0.55)),
    rgba(12, 10, 18, 0.82);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.trial-section--card h2 {
  margin-top: 0.15rem;
}

.trial-section--warn {
  border-color: color-mix(in srgb, var(--wine) 32%, transparent);
  background:
    linear-gradient(160deg, rgba(168, 24, 48, 0.10), rgba(9, 9, 9, 0.55)),
    rgba(12, 10, 18, 0.82);
}

.trial-faq {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
  width: 100%;
}

.trial-faq details {
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
  background: rgba(14, 12, 20, 0.72);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.trial-faq details[open] {
  border-color: color-mix(in srgb, var(--purple) 36%, transparent);
  background:
    linear-gradient(160deg, rgba(107, 79, 200, 0.1), rgba(9, 9, 9, 0.45)),
    rgba(14, 12, 20, 0.82);
}

.trial-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--cream);
  font-family: inherit;
  user-select: none;
}

.trial-faq summary::-webkit-details-marker { display: none; }
.trial-faq summary::marker { content: ""; }

.trial-faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid color-mix(in srgb, var(--sky) 75%, var(--cream));
  border-bottom: 2px solid color-mix(in srgb, var(--sky) 75%, var(--cream));
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.25s var(--ease-out), border-color 0.2s ease;
  opacity: 0.85;
}

.trial-faq details[open] > summary::after {
  transform: rotate(225deg) translateY(-0.05rem);
  border-color: var(--sky);
}

.trial-faq summary:hover {
  color: color-mix(in srgb, var(--cream) 88%, var(--sky));
}

.trial-faq summary:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--sky) 70%, transparent);
  outline-offset: -2px;
}

.trial-faq__body {
  padding: 0 1.15rem 1.15rem;
}

.trial-faq__body p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 86%, var(--cream-muted));
}

.trial-faq__body a {
  color: var(--sky);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

.trial-faq__body a:hover {
  color: color-mix(in srgb, var(--sky) 70%, #ffffff);
}

.trial-cta {
  margin: 2.25rem auto 0;
  padding: 1.75rem 1.35rem;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 0%, color-mix(in srgb, var(--wine) 22%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 70% at 95% 100%, color-mix(in srgb, var(--purple) 26%, transparent), transparent 50%),
    rgba(12, 10, 18, 0.88);
  border: 1px solid color-mix(in srgb, var(--purple) 32%, transparent);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
  max-width: var(--shell-max);
  text-align: center;
}

.trial-cta h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin-bottom: 0.65rem;
}

.trial-cta p {
  max-width: 46rem;
  margin: 0 auto 1.15rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--cream) 88%, var(--cream-muted));
}

.trial-cta__links {
  margin-top: 2.25rem;
  font-size: 0.9rem;
}

.trial-cta .trial-hero__actions {
  margin-bottom: 0.25rem;
}

.trial-cta__links a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 45%, transparent);
}

.trial-cta__links a:hover {
  color: var(--purple-light);
  border-bottom-color: var(--purple-light);
}

.trial-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.5rem var(--pad-x) 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.trial-foot__pipe {
  opacity: 0.55;
  letter-spacing: 0;
  text-transform: none;
}

.trial-foot a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--sky) 45%, transparent);
  padding-bottom: 0.08rem;
}

.trial-foot a:hover {
  color: var(--sky);
  border-bottom-color: var(--sky);
}

/* Mobile sticky CTA removed 2026-09-15 */
.trial-sticky { display: none !important; }


/* Desktop: pull H1 up 25px (Jon 2026-09-15) */
@media (min-width: 961px) {
  .trial-hero h1 {
    margin-top: -25px;
  }
}
