.cx-page {
  --cx-bg: #f7f2eb;
  --cx-paper: #fffaf4;
  --cx-paper-soft: #f2ece4;
  --cx-ink: #17324a;
  --cx-muted: #617180;
  --cx-accent: #c86e2b;
  --cx-blue: rgba(11, 79, 134, 0.88);
  --cx-line: rgba(23, 50, 74, 0.08);
  --cx-shadow: 0 22px 54px rgba(23, 50, 74, 0.1);
  --cx-shadow-soft: 0 16px 36px rgba(23, 50, 74, 0.08);
  --cx-shell: 1120px;
  --cx-display: "Cormorant Garamond", Georgia, serif;
  --cx-sans: "Manrope", "Segoe UI", sans-serif;
  margin: 0;
  color: var(--cx-ink);
  background:
    radial-gradient(circle at top left, rgba(200, 110, 43, 0.12), transparent 22%),
    linear-gradient(180deg, #fbf6ef 0%, #f3ede6 100%);
  font-family: var(--cx-sans);
}

.cx-topbar {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 12px 16px;
  background: #163149;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cx-wrap {
  width: min(var(--cx-shell), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.cx-eyebrow,
.cx-section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(23, 50, 74, 0.08);
  color: var(--cx-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cx-hero h1,
.cx-section h2,
.cx-final h2 {
  margin: 16px 0 14px;
  font-family: var(--cx-display);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.cx-hero h1 {
  font-size: clamp(36px, 4.8vw, 54px);
}

.cx-section h2,
.cx-final h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.cx-lead,
.cx-section p,
.cx-final p,
.cx-step p,
.cx-side-visual figcaption,
.cx-phone-card figcaption {
  font-size: 15px;
  line-height: 1.68;
}

.cx-lead {
  color: var(--cx-muted);
  font-size: 16px;
}

.cx-hero {
  display: block;
  margin-bottom: 40px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.cx-hero-media,
.cx-phone-card,
.cx-side-visual,
.cx-section {
  margin: 0;
  border: 1px solid var(--cx-line);
  box-shadow: var(--cx-shadow);
}

.cx-hero-media {
  position: relative;
  overflow: hidden;
  height: 200px;
  margin: 0 0 24px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: none;
}

.cx-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cx-hero-label {
  position: absolute;
  left: 16px;
  top: 16px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--cx-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.cx-actions .pd-btn {
  min-height: 50px;
}

.cx-actions--end {
  justify-content: flex-end;
}

.cx-proof-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.cx-proof-list li {
  position: relative;
  padding-left: 22px;
  color: var(--cx-ink);
  font-weight: 600;
}

.cx-proof-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cx-accent);
  font-size: 20px;
  line-height: 1;
}

.cx-hero-copy {
  padding: 0 28px;
}

.cx-section {
  display: grid;
  gap: 28px;
  margin-bottom: 30px;
  padding: 28px;
  border-radius: 28px;
  background: var(--cx-paper);
}

.cx-section--soft {
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  align-items: center;
}

.cx-section--split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 236, 228, 0.96)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}

.cx-section--castle {
  grid-template-columns: minmax(280px, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
}

.cx-section-copy p + p {
  margin-top: 14px;
}

.cx-inline-link {
  margin-top: 20px;
}

.cx-inline-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cx-ink);
  font-weight: 700;
  text-decoration: none;
}

.cx-inline-link a::after {
  content: "↗";
  font-size: 13px;
  opacity: 0.72;
}

.cx-phone-card,
.cx-side-visual {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.cx-castle-visual {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--cx-line);
  box-shadow: var(--cx-shadow-soft);
}

.cx-phone-card img {
  display: block;
  width: min(100%, 460px);
  margin: 14px auto 8px;
  object-fit: contain;
}

.cx-phone-card figcaption,
.cx-side-visual figcaption,
.cx-castle-visual figcaption {
  padding: 0 20px 22px;
  color: var(--cx-muted);
  text-align: center;
}

.cx-side-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.cx-castle-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.cx-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 34px 0 8px;
  border-top: 1px solid rgba(23, 50, 74, 0.12);
}

.cx-final-copy {
  max-width: 54ch;
}

.cx-footer-note {
  margin-top: 24px;
  color: var(--cx-muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .cx-section--soft,
  .cx-section--split,
  .cx-section--castle {
    grid-template-columns: 1fr;
  }

  .cx-actions--end {
    justify-content: flex-start;
  }

  .cx-side-visual img {
    min-height: 320px;
  }

  .cx-castle-visual img {
    min-height: 280px;
  }

  .cx-phone-card img {
    width: min(100%, 360px);
  }
}

@media (max-width: 680px) {
  .cx-topbar {
    gap: 10px;
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.08em;
    flex-wrap: wrap;
  }

  .cx-wrap {
    width: min(var(--cx-shell), calc(100% - 22px));
    padding: 20px 0 42px;
  }

  .cx-hero {
    margin-bottom: 32px;
  }

  .cx-hero h1 {
    max-width: none;
    font-size: 34px;
  }

  .cx-lead,
  .cx-section p,
  .cx-final p,
  .cx-side-visual figcaption,
  .cx-phone-card figcaption {
    font-size: 14px;
    line-height: 1.62;
  }

  .cx-actions {
    flex-direction: column;
  }

  .cx-actions .pd-btn {
    width: 100%;
  }

  .cx-hero-media img {
    height: 100%;
  }

  .cx-hero-media {
    height: 180px;
    margin-bottom: 20px;
  }

  .cx-hero-label {
    left: 12px;
    top: 12px;
    font-size: 12px;
  }

  .cx-hero-copy {
    padding: 0 18px;
  }

  .cx-section {
    padding: 20px;
    border-radius: 22px;
  }

  .cx-phone-card img {
    width: min(100%, 300px);
    margin-top: 6px;
  }

  .cx-side-visual img {
    min-height: 240px;
  }

  .cx-castle-visual img {
    min-height: 220px;
  }

  .cx-final {
    padding-top: 24px;
  }
}
