:root {
  --teal: #0798ad;
  --teal-dark: #066f80;
  --violet: #7749cc;
  --violet-soft: #efe8ff;
  --ink: #102027;
  --muted: #647580;
  --line: rgba(16, 32, 39, 0.12);
  --soft: #f2fbfc;
  --surface: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 72px rgba(16, 32, 39, 0.11);
  --radius: 18px;
  color: var(--ink);
  font-family: Nunito, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(119, 73, 204, 0.14), transparent 26rem),
    radial-gradient(circle at 12% 18%, rgba(7, 152, 173, 0.16), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--soft) 48%, #ffffff 100%);
}

body.order-open {
  background:
    radial-gradient(circle at 82% 8%, rgba(119, 73, 204, 0.12), transparent 26rem),
    radial-gradient(circle at 12% 18%, rgba(7, 152, 173, 0.14), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, var(--soft) 42%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 152, 173, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 152, 173, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.partnership-brand {
  gap: 14px;
}

.brand img {
  display: block;
}

.studio-logo {
  width: 190px;
}

.podcastor-logo {
  width: 260px;
}

.partnership-brand span {
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1;
}

.hero-brand {
  position: absolute;
  top: clamp(18px, 2.4vw, 36px);
  right: clamp(0px, 1vw, 16px);
  z-index: 3;
  margin: 0;
  transform: translateX(20px);
}

main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(56px, 8vw, 104px) 0 clamp(38px, 6vw, 72px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(7, 152, 173, 0.1);
  font-size: 0.92rem;
  font-weight: 900;
}

.secure-pill svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.story-pill svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pocket-pill {
  gap: 8px;
  padding-left: 10px;
  font-size: clamp(0.78rem, 1.22vw, 0.86rem);
  line-height: 1.12;
  white-space: nowrap;
}

.pocket-pill img {
  flex: 0 0 auto;
  width: 18px;
  height: 26px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pocket-pill span {
  white-space: nowrap;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 4.8vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  max-width: 620px;
  font-size: clamp(1.78rem, 2.65vw, 2.72rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.panel-title-compact {
  max-width: inherit;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.12;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 26px 0 0;
  color: #dd2634;
}

.price-line strong {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.old-price {
  color: #87949a;
  font-size: 1.32rem;
  text-decoration: line-through;
}

.price-line span:last-child {
  color: #dd2634;
  font-weight: 900;
}

.preorder-meter {
  width: min(100%, 420px);
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(7, 152, 173, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(16, 32, 39, 0.07);
}

.preorder-meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 950;
}

.preorder-meter-header strong {
  color: var(--ink);
  white-space: nowrap;
}

.preorder-track {
  height: 14px;
  margin: 12px 0 9px;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(7, 152, 173, 0.22) calc(50% - 1px), rgba(7, 152, 173, 0.22) calc(50% + 1px), transparent calc(50% + 1px)),
    rgba(7, 152, 173, 0.12);
}

.preorder-track span {
  display: block;
  height: 100%;
  min-width: 12px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--violet));
  box-shadow: 0 0 18px rgba(7, 152, 173, 0.32);
}

.hero-preorder-meter {
  position: relative;
  z-index: 2;
  margin-top: 10px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-assurance,
.order-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 900;
}

.hero-assurance li,
.order-reassurance li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-assurance li::before,
.order-reassurance li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(7, 152, 173, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--teal);
  border-radius: 12px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 18px 38px rgba(7, 152, 173, 0.23);
}

.button.ghost {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 850;
}

.trust-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-visual {
  --visual-lift: -58px;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.moon {
  position: absolute;
  width: min(92%, 520px);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 45% 38%, rgba(255, 255, 255, 0.94), rgba(239, 232, 255, 0.58) 46%, rgba(7, 152, 173, 0.1) 72%, transparent 73%),
    linear-gradient(145deg, rgba(119, 73, 204, 0.14), rgba(7, 152, 173, 0.12));
  filter: drop-shadow(0 28px 68px rgba(16, 32, 39, 0.13));
  transform: translateY(var(--visual-lift));
}

.hero-visual img {
  position: relative;
  width: min(92%, 500px);
  filter: drop-shadow(0 26px 44px rgba(16, 32, 39, 0.14));
  transform: translateY(var(--visual-lift)) rotate(-3deg);
}

.floating-note {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 42px rgba(16, 32, 39, 0.1);
  color: var(--teal-dark);
  font-weight: 950;
  white-space: nowrap;
}

.note-one {
  top: 18%;
  right: 4%;
}

.note-two {
  bottom: 34%;
  left: 1%;
  color: var(--violet);
}

.story-band,
.split,
.order {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  margin: 0 0 28px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.story-band p,
.split p,
.order p {
  color: var(--muted);
  font-size: 1.08rem;
}

.story-band > p {
  align-self: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 28px;
}

.cards article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 48px rgba(16, 32, 39, 0.06);
}

.cards span {
  display: inline-flex;
  margin-bottom: 34px;
  color: rgba(7, 152, 173, 0.42);
  font-size: 2.1rem;
  font-weight: 950;
}

.cards p {
  color: var(--muted);
}

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

.benefits div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 950;
}

.benefits .benefit-wide {
  grid-column: 1 / -1;
  padding: 20px 22px;
  background:
    linear-gradient(135deg, rgba(7, 152, 173, 0.1), rgba(119, 73, 204, 0.08)),
    #fff;
}

.benefit-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: rgba(7, 152, 173, 0.1);
  color: var(--teal);
}

.benefit-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.order {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  margin-bottom: 36px;
  scroll-margin-top: 96px;
}

.order-note {
  margin: 14px 0 0;
  font-size: 0.92rem !important;
}

.checkout-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.checkout-shell.is-loading,
.checkout-shell.has-frame {
  border-color: rgba(7, 152, 173, 0.24);
  box-shadow: 0 18px 48px rgba(16, 32, 39, 0.08);
}

.checkout-placeholder {
  display: grid;
  min-height: clamp(180px, 24vw, 280px);
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.checkout-placeholder strong {
  color: var(--ink);
  font-size: 1.24rem;
}

.checkout-status {
  display: grid;
  min-height: 120px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px;
  color: var(--teal-dark);
  text-align: center;
}

.checkout-status span {
  width: 34px;
  height: 34px;
  border: 4px solid rgba(7, 152, 173, 0.18);
  border-top-color: var(--teal);
  border-radius: 999px;
  animation: spin 0.82s linear infinite;
}

#checkout-frame {
  display: block;
  width: 100%;
  height: clamp(640px, calc(100vh - 72px), 860px);
  border: 0;
}

.checkout-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.checkout-fallback a {
  color: var(--teal-dark);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-sticky-cta {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 16px 44px;
  color: var(--muted);
  font-weight: 850;
}

footer img {
  width: 150px;
}

@media (max-width: 980px) {
  .hero,
  .story-band,
  .split,
  .order {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 76px;
  }

  main {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: auto;
  }

  .brand .studio-logo {
    width: 118px;
  }

  .brand .podcastor-logo {
    width: 166px !important;
  }

  .partnership-brand {
    gap: 9px;
  }

  .hero-brand {
    position: static;
    margin-bottom: 18px;
    transform: none;
  }

  h1 {
    font-size: clamp(2rem, 10.4vw, 3rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.62rem, 7.4vw, 2.1rem);
    line-height: 1.08;
  }

  .lead {
    font-size: 1.04rem;
  }

  .pill {
    margin-bottom: 12px;
    padding: 7px 11px;
    font-size: 0.84rem;
  }

  .pocket-pill {
    gap: 7px;
    font-size: 0.72rem;
  }

  .pocket-pill img {
    width: 16px;
    height: 23px;
  }

  .price-line {
    margin-top: 18px;
  }

  .price-line strong {
    font-size: 2rem;
  }

  .actions {
    margin-top: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    --visual-lift: -24px;
    min-height: 314px;
    margin-top: 6px;
  }

  .hero-preorder-meter {
    margin-top: -22px;
  }

  .preorder-meter {
    padding: 13px;
  }

  .floating-note {
    display: none;
  }

  .story-band,
  .split,
  .order,
  .cards article {
    padding: 22px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .checkout-placeholder {
    min-height: 176px;
  }

  #checkout-frame {
    height: calc(100vh - 88px);
    min-height: 620px;
  }

  .checkout-fallback {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: var(--teal);
    box-shadow: 0 18px 40px rgba(7, 152, 173, 0.34);
    font-weight: 950;
  }
}
