:root {
  --hc-create-bg: #faf7f1;
  --hc-create-surface: rgba(255, 255, 255, 0.92);
  --hc-create-text: #161d34;
  --hc-create-muted: #5f6784;
  --hc-create-line: rgba(28, 34, 56, 0.16);
  --hc-create-gold: #ecb23b;
  --hc-create-gold-deep: #d9991f;
  --hc-create-navy: #1b2446;
  --hc-create-shadow: 0 18px 44px rgba(28, 34, 56, 0.08);
}

* { box-sizing: border-box; }

body.hc-create-page {
  margin: 0;
  min-height: 100vh;
  color: var(--hc-create-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--hc-create-bg);
}

.hc-create-page .hc-hb {
  position: sticky;
  top: 0;
  z-index: 20;
}

.hc-create-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.hc-create-panel {
  display: none;
}

.hc-create-panel.is-active {
  display: block;
}

.hc-create-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4f5875;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.hc-create-backlink svg,
.hc-create-primary-btn svg,
.hc-create-payment-legal svg,
.hc-create-payment-head svg,
.hc-create-kicker svg,
.hc-create-preview-members svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-create-intro {
  max-width: 760px;
  margin: 68px auto 40px;
  text-align: center;
}

.hc-create-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #f5e8c8;
  color: #d9991f;
  font-size: 14px;
  font-weight: 600;
}

.hc-create-kicker svg {
  stroke: #d9991f;
  width: 14px;
  height: 14px;
}

.hc-create-intro h1,
.hc-create-card h2,
.hc-create-payment-title,
.hc-create-plan-card h2,
.hc-create-payment-plan h3,
.hc-create-preview-body h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.04em;
  margin: 0;
}

.hc-create-intro h1 {
  margin-top: 18px;
  font-size: clamp(3.6rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.hc-create-intro p,
.hc-create-card > p,
.hc-create-plan-card p,
.hc-create-choice-card small,
.hc-create-radio-card small,
.hc-create-note,
.hc-create-preview-body p,
.hc-create-summary-card,
.hc-create-payment-head small {
  color: var(--hc-create-muted);
}

.hc-create-intro p {
  margin: 10px 0 0;
  font-size: 16px;
}

.hc-create-plan-grid {
  width: min(100%, 896px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hc-create-plan-card,
.hc-create-payment-plan,
.hc-create-choice-card,
.hc-create-radio-card,
.hc-create-select-trigger,
.hc-create-select-option,
.hc-create-upload,
.hc-create-link-btn,
.hc-create-primary-btn,
.hc-create-swatch {
  font: inherit;
}

.hc-create-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 480px;
  padding: 32px;
  border: 1px solid var(--hc-create-line);
  border-radius: 28px;
  background: var(--hc-create-surface);
  box-shadow: var(--hc-create-shadow);
  color: var(--hc-create-text);
  text-align: left;
  cursor: pointer;
}

.hc-create-plan-card.is-featured,
.hc-create-plan-card.is-selected,
.hc-create-payment-plan.is-selected,
.hc-create-choice-card.is-selected,
.hc-create-radio-card.is-selected {
  border-color: var(--hc-create-gold);
}

.hc-create-save-badge {
  position: absolute;
  top: -11px;
  right: 24px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4be49 0%, #dfa329 100%);
  color: #1a1f32;
  font-size: 14px;
  font-weight: 700;
}

.hc-create-plan-card h2,
.hc-create-payment-plan h3 {
  font-size: 2.2rem;
  line-height: 0.98;
}

.hc-create-plan-card p,
.hc-create-payment-plan p {
  margin: 0;
  font-size: 15px;
}

.hc-create-plan-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.hc-create-plan-price strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.hc-create-plan-price span {
  margin-bottom: 8px;
  color: var(--hc-create-muted);
  font-size: 15px;
}

.hc-create-plan-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 14px;
}

.hc-create-plan-card li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  color: #37415e;
}

.hc-create-plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.44em;
  width: 8px;
  height: 4px;
  border-left: 1.8px solid var(--hc-create-gold);
  border-bottom: 1.8px solid var(--hc-create-gold);
  transform: rotate(-45deg);
}

.hc-create-plan-btn,
.hc-create-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 130px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #f4be49 0%, #d99c22 100%);
  color: #1a1f32;
  font-weight: 700;
}

.hc-create-plan-btn {
  width: 100%;
  margin-top: auto;
}

.hc-create-plan-btn-light {
  background: #fff;
  border: 1px solid var(--hc-create-line);
}

.hc-create-steps {
  width: min(100%, 770px);
  margin: 34px auto 38px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hc-create-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #58617d;
  cursor: default;
}

.hc-create-step:not(:last-child)::after {
  content: "";
  width: 32px;
  height: 1px;
  margin-left: 6px;
  background: #d8d0c4;
}

.hc-create-step span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3ede3;
  color: #707893;
  font-size: 13px;
  font-weight: 700;
}

.hc-create-step strong {
  font-size: 16px;
  font-weight: 500;
}

.hc-create-step.is-active span {
  background: var(--hc-create-navy);
  color: #fff;
}

.hc-create-step.is-complete span {
  background: linear-gradient(135deg, #f4be49 0%, #d99c22 100%);
  color: #1a1f32;
}

.hc-create-step.is-complete span::before {
  content: '\2713';
}

.hc-create-step.is-complete span {
  font-size: 0;
}

.hc-create-card {
  width: min(100%, 768px);
  margin: 0 auto;
  padding: 40px 40px 38px;
  border-radius: 28px;
  border: 1px solid var(--hc-create-line);
  background: var(--hc-create-surface);
  box-shadow: var(--hc-create-shadow);
}

.hc-create-card h2,
.hc-create-payment-title {
  font-size: 3rem;
  line-height: 0.95;
}

.hc-create-card > p {
  margin: 8px 0 26px;
  font-size: 16px;
}

.hc-create-step-panel {
  display: none;
}

.hc-create-step-panel.is-active {
  display: block;
}

.hc-create-field {
  display: block;
  margin-bottom: 24px;
}

.hc-create-field span,
.hc-create-summary-card > span,
.hc-create-payment-head span {
  display: block;
  margin-bottom: 12px;
  color: #10172a;
  font-size: 15px;
  font-weight: 600;
}

.hc-create-field input,
.hc-create-field textarea,
.hc-create-select-trigger {
  width: 100%;
  border: 1px solid #dccfb7;
  border-radius: 16px;
  background: #fbf8f2;
  padding: 14px 16px;
  color: #28314f;
  font: inherit;
  outline: none;
}

.hc-create-field input {
  min-height: 44px;
}

.hc-create-field textarea {
  resize: vertical;
  min-height: 84px;
  padding-top: 13px;
}

.hc-create-choice-grid,
.hc-create-swatch-row,
.hc-create-field-grid,
.hc-create-payment-plans {
  display: grid;
  gap: 12px;
}

.hc-create-select {
  position: relative;
}

.hc-create-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.hc-create-select-trigger svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: #707893;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.hc-create-select.is-open .hc-create-select-trigger svg {
  transform: rotate(180deg);
}

.hc-create-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  gap: 8px;
  max-height: 252px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #dccfb7;
  border-radius: 18px;
  background: #fffdfa;
  box-shadow: 0 18px 40px rgba(25, 34, 57, 0.12);
}

.hc-create-select-menu[hidden] {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.hc-create-select-option {
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #53607f;
  text-align: left;
  cursor: pointer;
}

.hc-create-select-option:hover,
.hc-create-select-option:focus-visible {
  background: #f6f0e6;
  outline: none;
}

.hc-create-select-option.is-selected {
  background: #172347;
  color: #fff;
}

.hc-create-choice-grid,
.hc-create-field-grid,
.hc-create-payment-plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hc-create-choice-card,
.hc-create-radio-card,
.hc-create-payment-plan {
  position: relative;
  border-radius: 20px;
  border: 1px solid #dccfb7;
  background: #fff;
  padding: 20px;
  color: var(--hc-create-text);
  text-align: left;
  cursor: pointer;
}

.hc-create-choice-card {
  min-height: 134px;
  padding: 18px 20px 20px;
}

.hc-create-choice-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #f5ead1;
  color: var(--hc-create-gold-deep);
}

.hc-create-choice-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hc-create-choice-card strong,
.hc-create-radio-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
}

.hc-create-choice-card small,
.hc-create-radio-card small {
  display: block;
  font-size: 14px;
}

.hc-create-upload {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 20px;
  border: 1px dashed #dccfb7;
  background: #fbf8f2;
  padding: 18px 20px;
  cursor: pointer;
}

.hc-create-upload-thumb {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0e8da;
  color: #67718b;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hc-create-upload-copy strong,
.hc-create-upload-copy small {
  display: block;
}

.hc-create-upload-copy strong {
  font-size: 16px;
}

.hc-create-upload-copy small {
  color: var(--hc-create-muted);
  font-size: 14px;
}

.hc-create-swatch-row {
  grid-template-columns: repeat(6, 44px);
}

.hc-create-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--swatch);
  cursor: pointer;
}

.hc-create-swatch.is-selected {
  border-color: #10172a;
  box-shadow: 0 0 0 2px rgba(16, 23, 42, 0.16);
}

.hc-create-radio-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.hc-create-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hc-create-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #d7ccb6;
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 2px;
}

.hc-create-radio-card.is-selected .hc-create-radio-dot {
  border-color: var(--hc-create-gold-deep);
  background: linear-gradient(135deg, #f4be49 0%, #d99c22 100%);
  position: relative;
}

.hc-create-radio-card.is-selected .hc-create-radio-dot::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #1a1f32;
  border-bottom: 2px solid #1a1f32;
  transform: rotate(45deg);
}

.hc-create-preview-card,
.hc-create-summary-card {
  border-radius: 22px;
  border: 1px solid #dccfb7;
  background: #fff;
}

.hc-create-preview-card {
  overflow: hidden;
  margin-bottom: 22px;
}

.hc-create-preview-cover {
  height: 220px;
  background: linear-gradient(135deg, #d8ad42 0%, #efd9a1 100%);
  background-size: cover;
  background-position: center;
}

.hc-create-preview-body {
  padding: 26px 22px 20px;
}

.hc-create-preview-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #66708a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hc-create-preview-body h3 {
  font-size: 2.2rem;
  line-height: 0.98;
}

.hc-create-preview-body p {
  margin: 10px 0 18px;
  font-size: 15px;
}

.hc-create-preview-meta,
.hc-create-summary-row,
.hc-create-payment-head,
.hc-create-payment-legal,
.hc-create-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hc-create-preview-meta {
  gap: 16px;
  flex-wrap: wrap;
}

.hc-create-preview-members {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hc-create-muted);
}

.hc-create-preview-members strong,
.hc-create-preview-price {
  font-size: 15px;
}

.hc-create-note {
  border-radius: 18px;
  border: 1px dashed #dccfb7;
  padding: 18px 20px;
  font-size: 15px;
}

.hc-create-summary-card {
  padding: 20px 22px;
  margin-bottom: 24px;
}

.hc-create-summary-row {
  padding: 7px 0;
  gap: 18px;
  font-size: 15px;
}

.hc-create-summary-row strong {
  font-weight: 500;
}

.hc-create-summary-row.is-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid #ebe1cf;
}

.hc-create-summary-row.is-total strong,
.hc-create-summary-row.is-total span {
  color: var(--hc-create-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.hc-create-payment-head small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.hc-create-payment-plans {
  margin-bottom: 24px;
  gap: 12px;
}

.hc-create-payment-plan.is-selected::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 22px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4be49 0%, #d99c22 100%);
}

.hc-create-payment-plan h3 {
  margin-bottom: 10px;
}

.hc-create-payment-plan .hc-create-plan-price {
  gap: 6px;
  margin-bottom: 6px;
}

.hc-create-payment-plan .hc-create-plan-price span {
  margin-bottom: 6px;
}

.hc-create-payment-plan p {
  max-width: 248px;
}

.hc-create-payment-legal {
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 8px 0 4px;
  color: var(--hc-create-muted);
  font-size: 14px;
}

.hc-create-payment-legal span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hc-create-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff5ea;
  border: 1px solid #efc083;
  color: #8b5610;
  font-size: 14px;
}

.hc-create-actions {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #e7dcc8;
}

.hc-create-link-btn {
  border: 0;
  background: transparent;
  color: var(--hc-create-text);
  font-size: 15px;
  cursor: pointer;
}

.hc-create-primary-btn {
  min-width: 152px;
  cursor: pointer;
}

.hc-create-primary-btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.hc-create-success-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.hc-create-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 23, 42, 0.48);
}

.hc-create-success-dialog {
  position: relative;
  width: min(100% - 32px, 460px);
  margin: min(16vh, 120px) auto 0;
  padding: 30px 28px 28px;
  border: 1px solid rgba(220, 207, 183, 0.95);
  border-radius: 28px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(16, 23, 42, 0.22);
  text-align: center;
}

.hc-create-success-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f6e7bf;
  color: #d9991f;
}

.hc-create-success-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-create-success-dialog h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hc-create-success-dialog p {
  margin: 0 0 24px;
  color: var(--hc-create-muted);
  font-size: 15px;
}

.hc-create-success-dialog .hc-create-primary-btn {
  min-width: 190px;
}

@media (max-width: 920px) {
  .hc-create-shell {
    width: calc(100% - 28px);
    padding: 36px 0 56px;
  }

  .hc-create-intro {
    margin-top: 48px;
  }

  .hc-create-plan-grid,
  .hc-create-choice-grid,
  .hc-create-field-grid,
  .hc-create-payment-plans {
    grid-template-columns: 1fr;
  }

  .hc-create-card {
    padding: 28px 22px;
  }

  .hc-create-step:not(:last-child)::after {
    width: 20px;
  }

  .hc-create-payment-head,
  .hc-create-summary-row,
  .hc-create-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hc-create-actions {
    gap: 18px;
  }

  .hc-create-primary-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hc-create-intro h1,
  .hc-create-card h2,
  .hc-create-payment-title {
    font-size: 2.9rem;
  }

  .hc-create-plan-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .hc-create-plan-price strong {
    font-size: 3.2rem;
  }

  .hc-create-steps {
    justify-content: flex-start;
    gap: 12px;
  }

  .hc-create-step:not(:last-child)::after {
    display: none;
  }

  .hc-create-step strong {
    font-size: 14px;
  }

  .hc-create-preview-cover {
    height: 160px;
  }

  .hc-create-payment-legal {
    justify-content: flex-start;
  }

  .hc-create-success-dialog {
    margin-top: 72px;
    padding: 26px 22px 24px;
  }
}
