:root {
  color-scheme: dark;
  --bg: #030309;
  --panel-strong: rgba(18, 15, 32, 0.9);
  --line: rgba(221, 212, 255, 0.16);
  --text: #f7f4ff;
  --muted: #c4bcd8;
  --soft: #8f86a6;
  --violet: #a875ff;
  --violet-strong: #c196ff;
  --cyan: #7bdff2;
  --gold: #d8bd79;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.landau-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 2%, rgba(145, 86, 255, 0.28), transparent 36%),
    radial-gradient(ellipse at 18% 42%, rgba(123, 223, 242, 0.12), transparent 34%),
    linear-gradient(135deg, #030309 0%, #090815 48%, #030309 100%);
}

.landau-page::before {
  position: absolute;
  content: "";
  pointer-events: none;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(168, 117, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 223, 242, 0.08) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(120deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 34px 0 56px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 26px);
  width: min(720px, 100%);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(12px, 1.5vw, 18px) clamp(18px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 244, 255, 0.07), transparent 50%),
    rgba(3, 3, 9, 0.64);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.28),
    0 0 54px rgba(168, 117, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.brand-lockup:hover,
.brand-lockup:focus-visible {
  border-color: rgba(247, 244, 255, 0.3);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.28),
    0 0 62px rgba(168, 117, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-lockup:focus-visible {
  outline: 2px solid rgba(123, 223, 242, 0.74);
  outline-offset: 4px;
}

.brand-lockup--single {
  width: min(520px, 100%);
}

.brand-lockup--fivekeys {
  gap: clamp(14px, 1.6vw, 24px);
  width: fit-content;
  max-width: min(100%, 720px);
  overflow: visible;
  padding: clamp(12px, 1.4vw, 18px) clamp(18px, 2vw, 28px);
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.brand-logo--landau {
  height: clamp(34px, 3.2vw, 48px);
  max-width: min(38vw, 318px);
}

.brand-logo--fivekeys {
  width: clamp(210px, 18vw, 268px);
  height: auto;
  max-width: min(36vw, 268px);
  overflow: visible;
}

.brand-logo--cphere {
  height: clamp(40px, 3.8vw, 58px);
  max-width: min(28vw, 224px);
}

.brand-lockup--fivekeys .brand-logo--cphere {
  height: clamp(52px, 4.2vw, 72px);
  max-width: min(34vw, 280px);
}

.brand-logo--cphere-only {
  height: clamp(54px, 5vw, 76px);
  max-width: min(66vw, 360px);
}

.brand-divider {
  color: var(--gold);
  font-size: clamp(0.88rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(216, 189, 121, 0.36);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
  padding: clamp(58px, 8vw, 98px) 0 36px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: clamp(2.75rem, 4.2vw, 4rem);
  line-height: 0.94;
  font-weight: 820;
  letter-spacing: 0;
}

.subheadline {
  max-width: 12ch;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f7f4ff 0%, var(--violet-strong) 48%, var(--cyan) 100%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  font-weight: 860;
  line-height: 0.95;
  letter-spacing: 0;
}

.benefit-line {
  max-width: 760px;
  margin: 0 0 22px;
  color: #f7f4ff;
  font-size: clamp(1.28rem, 2vw, 1.82rem);
  font-weight: 780;
  line-height: 1.28;
}

.intro-stack {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 28px;
}

.intro-copy {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

.intro-copy--lead {
  color: #eee9ff;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: min(100%, 286px);
  padding: 0 26px;
  border: 1px solid rgba(247, 244, 255, 0.18);
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.primary-cta {
  background: linear-gradient(135deg, rgba(168, 117, 255, 0.95), rgba(123, 223, 242, 0.72));
  color: #05040b;
  box-shadow:
    0 18px 52px rgba(119, 73, 220, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.primary-cta::after {
  content: "->";
  margin-left: 12px;
  color: rgba(5, 4, 11, 0.8);
}

.secondary-cta {
  background:
    radial-gradient(circle at 18% 0%, rgba(123, 223, 242, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(247, 244, 255, 0.12), rgba(168, 117, 255, 0.18)),
    rgba(5, 4, 11, 0.58);
  color: var(--text);
  box-shadow:
    0 18px 52px rgba(123, 223, 242, 0.12),
    0 0 38px rgba(168, 117, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.secondary-cta::after {
  content: "->";
  margin-left: 12px;
  color: var(--cyan);
}

.primary-cta:hover,
.primary-cta:focus-visible,
.secondary-cta:hover,
.secondary-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.primary-cta:hover,
.primary-cta:focus-visible {
  box-shadow:
    0 20px 62px rgba(119, 73, 220, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  box-shadow:
    0 20px 62px rgba(123, 223, 242, 0.18),
    0 0 48px rgba(168, 117, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hero-cta-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.5;
}

.coverage-panel {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(23, 18, 42, 0.88), rgba(7, 7, 15, 0.82)),
    linear-gradient(90deg, rgba(216, 189, 121, 0.08), transparent);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.coverage-panel::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(120deg, transparent 0 42%, rgba(168, 117, 255, 0.46) 42.3%, transparent 43%),
    linear-gradient(30deg, transparent 0 55%, rgba(123, 223, 242, 0.36) 55.2%, transparent 56%);
  background-size: 90px 90px;
}

.coverage-panel > * {
  position: relative;
}

.coverage-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 3.3vw, 3.35rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.coverage-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  position: relative;
  min-height: 44px;
  padding: 10px 0 10px 30px;
  border-top: 1px solid rgba(221, 212, 255, 0.1);
  color: #eee9ff;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.48;
}

.coverage-list li::before {
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(123, 223, 242, 0.78);
  border-radius: 50%;
  background: rgba(168, 117, 255, 0.36);
  box-shadow: 0 0 18px rgba(168, 117, 255, 0.55);
  content: "";
}

.coverage-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(221, 212, 255, 0.12);
  color: var(--soft);
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  font-weight: 650;
  line-height: 1.58;
}

.planner-section {
  padding: clamp(48px, 7vw, 84px) 0 8px;
}

.planner-heading {
  max-width: 820px;
  margin-bottom: 24px;
}

.planner-heading h2 {
  max-width: 12ch;
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4.3vw, 4.4rem);
  line-height: 0.96;
  font-weight: 860;
  letter-spacing: 0;
}

.planner-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.64;
}

.planner-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.planner-form,
.planner-preview {
  min-width: 0;
  border: 1px solid rgba(221, 212, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(23, 18, 42, 0.9), rgba(5, 4, 11, 0.9)),
    rgba(3, 3, 9, 0.72);
  box-shadow:
    0 26px 78px rgba(0, 0, 0, 0.4),
    0 0 64px rgba(168, 117, 255, 0.12);
  backdrop-filter: blur(18px);
}

.planner-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
}

.planner-card-heading {
  display: grid;
  gap: 10px;
}

.planner-card-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.planner-card-heading p:not(.planner-preview__eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

.planner-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.planner-form label,
.planner-notes {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #eee9ff;
  font-size: 0.92rem;
  font-weight: 760;
}

.planner-form span,
.channel-picker legend {
  color: #f7f4ff;
}

.planner-form small,
.channel-picker legend span {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.planner-form__wide {
  grid-column: 1 / -1;
}

.planner-form input,
.planner-form select,
.planner-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(221, 212, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 4, 11, 0.68);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  letter-spacing: 0;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.planner-form input,
.planner-form select {
  min-height: 50px;
  padding: 0 14px;
}

.planner-form textarea {
  resize: vertical;
  min-height: 112px;
  padding: 14px;
}

.planner-form select option {
  background: #05040b;
  color: var(--text);
}

.planner-form input:focus,
.planner-form select:focus,
.planner-form textarea:focus {
  border-color: rgba(123, 223, 242, 0.62);
  background: rgba(5, 4, 11, 0.84);
  box-shadow: 0 0 0 3px rgba(123, 223, 242, 0.14);
}

.channel-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(221, 212, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(123, 223, 242, 0.08), transparent 32%),
    rgba(247, 244, 255, 0.025);
}

.channel-picker legend {
  grid-column: 1 / -1;
  padding: 0 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.channel-picker__intro {
  grid-column: 1 / -1;
  margin: -2px 0 4px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.52;
}

.channel-picker__grid {
  /* Column count is driven by a single custom property so breakpoints only
     change --channel-cols (no per-card overrides). width:100% gives the flex
     container a definite main size so the cards' percentage flex-basis
     resolves; otherwise (e.g. as an auto-track grid item) it would collapse
     to content width and stack one-per-row. */
  --channel-cols: 4;
  --channel-gap: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--channel-gap);
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.channel-card {
  position: relative;
  display: block;
  /* (container - (cols - 1) gaps) / cols gives even widths; justify-content:center
     on the wrapper centers any incomplete final row automatically. */
  flex: 0 1 calc(
    (100% - (var(--channel-cols) - 1) * var(--channel-gap)) / var(--channel-cols)
  );
  max-width: calc(
    (100% - (var(--channel-cols) - 1) * var(--channel-gap)) / var(--channel-cols)
  );
  min-width: 0;
  min-height: 154px;
  cursor: pointer;
  --channel-image: radial-gradient(circle at 22% 20%, rgba(123, 223, 242, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(168, 117, 255, 0.24), rgba(5, 4, 11, 0.1));
}

.channel-card__input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.channel-card__surface {
  position: relative;
  display: grid;
  min-height: 154px;
  overflow: hidden;
  gap: 14px;
  align-content: start;
  padding: 16px 16px 18px;
  border: 1px solid rgba(221, 212, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 4%, rgba(123, 223, 242, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(247, 244, 255, 0.055), rgba(168, 117, 255, 0.035)),
    rgba(5, 4, 11, 0.62);
  color: var(--muted);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 12px 28px rgba(0, 0, 0, 0.16);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.channel-card__surface::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(123, 223, 242, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(168, 117, 255, 0.08), transparent 56%);
  opacity: 0.52;
  content: "";
  transition: opacity 160ms ease;
}

.channel-card__input:focus-visible + .channel-card__surface,
.channel-card:hover .channel-card__surface {
  border-color: rgba(123, 223, 242, 0.38);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(123, 223, 242, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.channel-card__input:checked + .channel-card__surface {
  border-color: rgba(123, 223, 242, 0.72);
  background:
    linear-gradient(145deg, rgba(123, 223, 242, 0.14), rgba(168, 117, 255, 0.16)),
    rgba(5, 4, 11, 0.74);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(193, 150, 255, 0.18),
    0 0 42px rgba(123, 223, 242, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.channel-card__input:checked + .channel-card__surface::before {
  opacity: 0.78;
}

.channel-card__mark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 46px;
  border: 1px solid rgba(123, 223, 242, 0.24);
  border-radius: 8px;
  background-color: rgba(5, 4, 11, 0.58);
  background-image:
    linear-gradient(135deg, rgba(247, 244, 255, 0.08), rgba(168, 117, 255, 0.1)),
    var(--channel-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain;
  box-shadow:
    0 0 22px rgba(168, 117, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.channel-card__input:checked + .channel-card__surface .channel-card__mark {
  border-color: rgba(123, 223, 242, 0.58);
  box-shadow:
    0 0 30px rgba(123, 223, 242, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.channel-card__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding-right: 4px;
}

.channel-card__name {
  color: var(--text);
  font-size: clamp(1.02rem, 1.1vw, 1.14rem);
  font-weight: 880;
  line-height: 1.05;
}

.channel-card__tag {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.32;
}

.channel-card__check {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(221, 212, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 4, 11, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0.86;
}

.channel-card__check::before {
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #05040b;
  border-left: 2px solid #05040b;
  transform: rotate(-45deg) translateY(-1px);
  content: "";
  opacity: 0;
}

.channel-card__input:checked + .channel-card__surface .channel-card__check {
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet-strong), var(--cyan));
  box-shadow:
    0 0 24px rgba(123, 223, 242, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  opacity: 1;
}

.channel-card__input:checked + .channel-card__surface .channel-card__check::before {
  opacity: 1;
}

.channel-card[data-channel-card="ctv"],
.preview-channel-card[data-channel-key="ctv"] {
  --channel-image: url("/email-assets/ctv.jpg");
}

.channel-card[data-channel-card="youtube"],
.preview-channel-card[data-channel-key="youtube"] {
  --channel-image: url("/email-assets/youtube.jpg");
}

.channel-card[data-channel-card="meta"],
.preview-channel-card[data-channel-key="meta"] {
  --channel-image: url("/email-assets/meta.png");
}

.channel-card[data-channel-card="tiktok"],
.preview-channel-card[data-channel-key="tiktok"] {
  --channel-image: url("/email-assets/tiktok.jpg");
}

.channel-card[data-channel-card="x"],
.preview-channel-card[data-channel-key="x"] {
  --channel-image: url("/email-assets/x.jpg");
}

.channel-card[data-channel-card="google-search"],
.channel-card[data-channel-card="search"],
.preview-channel-card[data-channel-key="google_search"],
.preview-channel-card[data-channel-key="search"] {
  --channel-image: url("/email-assets/google.jpg");
}

.channel-card[data-channel-card="rumble"],
.preview-channel-card[data-channel-key="rumble"] {
  --channel-image: url("/email-assets/rumble-logo.jpg");
}

.channel-card[data-channel-card="truth-social"],
.preview-channel-card[data-channel-key="truth_social"] {
  --channel-image: url("/email-assets/truth-social-logo.jpg");
}

.channel-card[data-channel-card="reddit"],
.preview-channel-card[data-channel-key="reddit"] {
  --channel-image: url("/email-assets/reddit.jpg");
}

.channel-card[data-channel-card="display"],
.channel-card[data-channel-card="retargeting"],
.preview-channel-card[data-channel-key="display"],
.preview-channel-card[data-channel-key="retargeting"] {
  --channel-image: url("/email-assets/display.jpg");
}

.channel-card[data-channel-card="amazon"],
.preview-channel-card[data-channel-key="amazon"] {
  --channel-image: url("/email-assets/amazon.png");
}

.channel-card[data-channel-card="linkedin"],
.preview-channel-card[data-channel-key="linkedin"] {
  --channel-image: url("/email-assets/linkedin.png");
}

.channel-card[data-channel-card="commerce"],
.channel-card[data-channel-card="shopify"],
.preview-channel-card[data-channel-key="commerce"],
.preview-channel-card[data-channel-key="shopify"] {
  --channel-image: url("/email-assets/shopify.png");
}

.preview-channel-card[data-channel-key="retail"] {
  --channel-image: url("/email-assets/retail.png");
}

.channel-card[data-channel-card="video"],
.preview-channel-card[data-channel-key="video"] {
  --channel-image: url("/email-assets/video.jpg");
}

.channel-card[data-channel-card="mobile"],
.preview-channel-card[data-channel-key="mobile"] {
  --channel-image: url("/email-assets/mobile.jpg");
}

.channel-card[data-channel-card="audio"],
.preview-channel-card[data-channel-key="audio"] {
  --channel-image: url("/email-assets/audio.jpg");
}

.channel-card[data-channel-card="ingame"],
.preview-channel-card[data-channel-key="ingame"] {
  --channel-image: url("/email-assets/ingame.jpg");
}

.channel-card[data-channel-card="dooh"],
.preview-channel-card[data-channel-key="dooh"] {
  --channel-image: url("/email-assets/dooh.gif");
}

.channel-card[data-channel-card="email"],
.preview-channel-card[data-channel-key="email"] {
  --channel-image: url("/email-assets/email.jpg");
}

.planner-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.planner-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: min(100%, 260px);
  padding: 0 24px;
  border: 1px solid rgba(247, 244, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(168, 117, 255, 0.96), rgba(123, 223, 242, 0.74));
  color: #05040b;
  box-shadow: 0 18px 52px rgba(119, 73, 220, 0.3);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  letter-spacing: 0;
}

.planner-submit:disabled {
  cursor: progress;
  opacity: 0.68;
}

.planner-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.planner-status[data-state="success"] {
  color: var(--cyan);
}

.planner-status[data-state="notice"] {
  color: var(--muted);
}

.planner-status[data-state="error"] {
  color: #ffb4c8;
}

.planner-preview {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
}

.planner-preview__eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.planner-empty {
  display: grid;
  gap: 16px;
  min-height: 280px;
  align-content: center;
  justify-items: start;
  padding: 22px;
  border: 1px solid rgba(221, 212, 255, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 12%, rgba(123, 223, 242, 0.1), transparent 32%),
    rgba(247, 244, 255, 0.035);
}

.planner-empty__orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(193, 150, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(199, 130, 255, 0.2), transparent 62%),
    rgba(168, 117, 255, 0.12);
  box-shadow:
    0 0 36px rgba(168, 117, 255, 0.24),
    inset 0 0 22px rgba(123, 223, 242, 0.12);
}

.planner-empty__brain {
  width: 96%;
  height: 88%;
  object-fit: contain;
  filter:
    saturate(1.12)
    brightness(1.08)
    drop-shadow(0 0 10px rgba(193, 82, 255, 0.82))
    drop-shadow(0 0 18px rgba(122, 85, 255, 0.38));
  pointer-events: none;
  user-select: none;
}

.planner-empty p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.planner-result {
  display: grid;
  gap: 18px;
}

.plan-header-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.plan-header-grid div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(221, 212, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(247, 244, 255, 0.06), rgba(168, 117, 255, 0.045)),
    rgba(5, 4, 11, 0.46);
}

.plan-header-grid span {
  color: var(--soft);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-header-grid strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.preview-block {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(221, 212, 255, 0.12);
}

.preview-block h4 {
  margin: 0;
  color: var(--violet-strong);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-block p,
.preview-block ul,
.preview-channel-grid,
.planner-disclaimer,
.preview-note,
.preview-next-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.preview-note {
  padding: 12px 14px;
  border-left: 2px solid rgba(123, 223, 242, 0.7);
  background: rgba(123, 223, 242, 0.055);
}

.preview-helper {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.preview-block--selected-channels {
  gap: 10px;
}

.selected-channel-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.selected-channel-chip {
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(221, 212, 255, 0.14);
  border-radius: 999px;
  background: rgba(247, 244, 255, 0.055);
  color: #e8e1ff;
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.selected-channel-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.selected-channel-note[data-state="review"] {
  color: var(--cyan);
}

.preview-block ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.preview-block li {
  position: relative;
  padding-left: 20px;
}

.preview-block li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(123, 223, 242, 0.58);
  content: "";
}

.preview-channel-grid {
  --preview-channel-cols: 2;
  --preview-channel-gap: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--preview-channel-gap);
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.preview-channel-card {
  position: relative;
  display: grid;
  flex: 0 1 calc(
    (100% - (var(--preview-channel-cols) - 1) * var(--preview-channel-gap)) /
    var(--preview-channel-cols)
  );
  max-width: calc(
    (100% - (var(--preview-channel-cols) - 1) * var(--preview-channel-gap)) /
    var(--preview-channel-cols)
  );
  min-width: 0;
  min-height: 184px;
  gap: 8px;
  align-content: start;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(221, 212, 255, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 4%, rgba(123, 223, 242, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(247, 244, 255, 0.06), rgba(168, 117, 255, 0.08)),
    rgba(5, 4, 11, 0.58);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --channel-image: radial-gradient(circle at 22% 20%, rgba(123, 223, 242, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(168, 117, 255, 0.24), rgba(5, 4, 11, 0.1));
}

.preview-channel-card::before,
.preview-channel-card::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
}

.preview-channel-card::before {
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(123, 223, 242, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(168, 117, 255, 0.08), transparent 58%);
  opacity: 0.56;
}

.preview-channel-card::after {
  z-index: 1;
  background: radial-gradient(circle at 18% 0%, rgba(123, 223, 242, 0.1), transparent 42%);
}

.preview-channel-card > * {
  position: relative;
  z-index: 2;
}

.preview-channel-card__mark {
  width: 58px;
  height: 46px;
  border: 1px solid rgba(123, 223, 242, 0.24);
  border-radius: 8px;
  background-color: rgba(5, 4, 11, 0.58);
  background-image:
    linear-gradient(135deg, rgba(247, 244, 255, 0.08), rgba(168, 117, 255, 0.1)),
    var(--channel-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, contain;
  box-shadow:
    0 0 22px rgba(168, 117, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.preview-channel-card__tag {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(193, 150, 255, 0.22);
  border-radius: 999px;
  background: rgba(168, 117, 255, 0.1);
  color: var(--violet-strong);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-channel-card__name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
}

.preview-channel-card__rationale {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
}

.preview-next-step {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(168, 117, 255, 0.2);
  border-radius: 8px;
  background: rgba(168, 117, 255, 0.08);
}

.preview-next-step p {
  color: #eee9ff;
  font-weight: 760;
}

.preview-next-step a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(247, 244, 255, 0.18);
  border-radius: 8px;
  background: rgba(247, 244, 255, 0.08);
  color: var(--text);
  font-weight: 820;
  letter-spacing: 0;
  text-decoration: none;
}

.planner-disclaimer {
  color: var(--soft);
  font-size: 0.86rem;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  padding-top: clamp(48px, 7vw, 78px);
}

.booking-heading {
  position: sticky;
  top: 28px;
  padding-top: 8px;
}

.booking-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.3vw, 4.35rem);
  line-height: 0.96;
  font-weight: 860;
  letter-spacing: 0;
}

.calendly-frame {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 212, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 244, 255, 0.08), rgba(247, 244, 255, 0)),
    var(--panel-strong);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.46),
    0 0 72px rgba(168, 117, 255, 0.16);
}

.booking-card {
  display: grid;
  min-height: 520px;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 56px);
  background:
    radial-gradient(circle at 78% 18%, rgba(168, 117, 255, 0.22), transparent 32%),
    radial-gradient(circle at 16% 74%, rgba(123, 223, 242, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(23, 18, 42, 0.92), rgba(5, 4, 11, 0.94));
}

.booking-card__eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.booking-card h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  line-height: 0.95;
  font-weight: 820;
  letter-spacing: 0;
}

.booking-card__copy {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.62;
}

.booking-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.booking-card__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border-radius: 8px;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  min-width: min(100%, 330px);
  padding: 0 28px;
  border: 1px solid rgba(247, 244, 255, 0.18);
  background: linear-gradient(135deg, rgba(168, 117, 255, 0.96), rgba(123, 223, 242, 0.74));
  color: #05040b;
  box-shadow: 0 18px 52px rgba(119, 73, 220, 0.34);
  font-size: 1.02rem;
}

.booking-card__primary:hover,
.booking-card__primary:focus-visible {
  border-color: rgba(247, 244, 255, 0.42);
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100% - 28px, 720px);
    padding-top: 24px;
  }

  .brand-lockup {
    gap: 14px;
    width: min(620px, 100%);
    padding: 14px 16px;
  }

  .brand-lockup--fivekeys {
    width: fit-content;
    max-width: min(100%, 620px);
    padding: 13px 18px;
  }

  .brand-logo--landau,
  .brand-logo--fivekeys {
    height: 38px;
    max-width: min(54vw, 300px);
  }

  .brand-logo--fivekeys {
    width: clamp(200px, 34vw, 260px);
    height: auto;
    max-width: min(50vw, 260px);
  }

  .brand-logo--cphere {
    height: 44px;
    max-width: min(32vw, 190px);
  }

  .brand-lockup--fivekeys .brand-logo--cphere {
    height: clamp(46px, 6vw, 64px);
    max-width: min(40vw, 260px);
  }

  .brand-logo--cphere-only {
    height: clamp(46px, 8vw, 64px);
    max-width: min(78vw, 330px);
  }

  .hero-grid,
  .planner-workspace,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    padding-top: 58px;
  }

  .booking-heading {
    position: static;
  }

  .channel-picker__grid {
    --channel-cols: 2;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 22px, 420px);
  }

  .brand-lockup {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    width: min(100%, 340px);
    padding: 14px 16px;
  }

  .brand-lockup--fivekeys {
    width: min(100%, 340px);
    padding: 14px 16px;
  }

  .brand-divider {
    line-height: 1;
  }

  .brand-logo--landau,
  .brand-logo--fivekeys,
  .brand-logo--cphere {
    max-width: 100%;
  }

  .brand-logo--landau {
    height: clamp(28px, 8.2vw, 36px);
  }

  .brand-logo--fivekeys {
    width: clamp(190px, 68vw, 240px);
    height: auto;
    max-width: 100%;
  }

  .brand-logo--cphere {
    height: clamp(34px, 9.5vw, 44px);
  }

  .brand-lockup--fivekeys .brand-logo--cphere {
    height: clamp(40px, 12vw, 56px);
    max-width: min(82vw, 240px);
  }

  .brand-logo--cphere-only {
    height: clamp(42px, 13vw, 58px);
  }

  .hero-grid {
    padding-top: 46px;
  }

  .hero-copy,
  .intro-copy,
  .coverage-panel {
    max-width: 100%;
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 10.8vw, 3.35rem);
    line-height: 0.94;
    overflow-wrap: normal;
  }

  .subheadline {
    max-width: 100%;
    font-size: clamp(2.2rem, 11.5vw, 3.45rem);
  }

  .hero-actions,
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .coverage-panel {
    padding: 22px;
  }

  .coverage-panel h2,
  .planner-heading h2,
  .booking-heading h2 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  .planner-form,
  .planner-preview {
    padding: 22px;
  }

  .planner-form__grid,
  .plan-header-grid {
    grid-template-columns: 1fr;
  }

  .channel-picker__grid {
    /* Two-up on mobile keeps labels readable with no horizontal overflow at
       390px; the wrapper still centers an incomplete final row. */
    --channel-cols: 2;
    --channel-gap: 10px;
  }

  .channel-card,
  .channel-card__surface {
    min-height: 150px;
  }

  .preview-channel-grid {
    --preview-channel-cols: 1;
  }

  .planner-form__actions,
  .planner-submit {
    width: 100%;
  }

  .preview-next-step a {
    width: 100%;
  }

  .booking-section {
    padding-top: 28px;
  }

  .calendly-frame {
    margin-inline: -2px;
  }

  .booking-card {
    min-height: 460px;
  }

  .booking-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-card__primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
