.ca-root {
  min-height: 100dvh;
  background: var(--bg-canvas);
  color: var(--fg-default);
  font-family: var(--font-dm-sans), "DM Sans", sans-serif;
}

.ca-burst-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--fb-radius-input);
  background: var(--accent-fill);
  color: var(--fg-on-accent);
  font-size: 15px;
  font-weight: 800;
}

.ca-loading {
  margin: 0;
  padding: 2rem 1.25rem;
}

.ca-landing,
.ca-form-wrap,
.ca-home {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.ca-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.ca-top-balanced {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.ca-top-balanced > :last-child {
  justify-self: end;
}

.ca-word {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: 0.78rem;
}

.ca-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 22px;
  height: 22px;
}

.ca-mark i {
  display: block;
  border-radius: 999px;
}

.ca-mark i:nth-child(1) { background: #ffb020; }
.ca-mark i:nth-child(2) { background: #ff5c93; }
.ca-mark i:nth-child(3) { background: #7b6cff; }
.ca-mark i:nth-child(4) { background: #3ec6e0; }

.ca-quiet-pill,
.ca-light,
.ca-dark,
.ca-text,
.ca-back,
.ca-card,
.ca-composer button,
.ca-disclaimer button,
.ca-float-out {
  font: inherit;
  cursor: pointer;
}

.ca-quiet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c1730;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 1px 0 rgba(28, 23, 48, 0.04);
}

.ca-stage,
.ca-home-card,
.ca-form {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
}

.ca-stage {
  display: grid;
}

.ca-stage-copy,
.ca-form,
.ca-home-card {
  padding: 1.4rem 1.25rem 1.5rem;
}

.ca-stage-copy h1,
.ca-hero h1,
.ca-form h1,
.ca-home-card h1 {
  margin: 0;
  font-family: "Clash Display", var(--font-dm-sans), sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.88;
}

.ca-stage-copy h1 {
  font-size: clamp(3.1rem, 12vw, 5.4rem);
}

.ca-stage-copy h1 span,
.ca-hero h1 span {
  display: block;
  color: #e9a4b6;
}

.ca-stage-copy p,
.ca-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: #4d4658;
  font-size: 0.98rem;
  line-height: 1.45;
}

.ca-stage-actions,
.ca-home-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.ca-stage-actions {
  margin-top: 1.25rem;
}

.ca-dark,
.ca-light {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 1.05rem 0.45rem 0.45rem;
  font-weight: 650;
}

.ca-dark {
  background: #1c1917;
  color: #fff;
}

.ca-dark-block {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1rem;
}

.ca-dark-icon,
.ca-card-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: #f4c5d4;
  color: #1c1730;
}

.ca-light {
  background: transparent;
  color: #1c1730;
  border: 1px solid #e4ddd4;
  padding: 0.75rem 1.05rem;
}

.ca-foot {
  margin-top: 1.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #8a8290;
}

.ca-foot span {
  margin: 0 0.35rem;
}

.ca-stage-art {
  min-height: 240px;
}

.ca-stage-art img,
.ca-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ca-split {
  display: grid;
  min-height: 100dvh;
}

.ca-hero {
  position: relative;
  min-height: 320px;
  color: #1c1730;
  overflow: hidden;
}

.ca-hero img {
  position: absolute;
  inset: 0;
}

.ca-hero-copy,
.ca-hero footer {
  position: relative;
  z-index: 1;
}

.ca-hero-copy {
  padding: 1.1rem 1.15rem 0;
}

.ca-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.4rem, 14vw, 5.2rem);
  color: #16141c;
}

.ca-hero-copy p {
  max-width: 16rem;
  margin: 0.8rem 0 0;
  font-size: 0.95rem;
}

.ca-hero footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.ca-chat {
  display: flex;
  flex-direction: column;
  min-height: 70dvh;
  background: #f7f4f1;
}

.ca-chat-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
}

.ca-back {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
}

.ca-avatar,
.ca-mini {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: linear-gradient(160deg, #ffd0a8, #f3a0c0 55%, #c9b6ff);
  color: #fff;
  font-weight: 700;
}

.ca-chat-title {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-right: auto;
}

.ca-chat-title small,
.ca-card small,
.ca-form label span {
  color: #8a8290;
  font-weight: 500;
}

.ca-thread {
  padding: 0.2rem 0.9rem 1rem;
}

.ca-kicker {
  margin: 0.4rem 0 0.8rem;
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: #9a929c;
}

.ca-bubble {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.45rem 0;
}

.ca-bubble span:last-child {
  background: #efeae6;
  border-radius: 1rem;
  padding: 0.7rem 0.85rem;
  line-height: 1.4;
}

.ca-bubble-you {
  justify-content: flex-end;
}

.ca-bubble-you span:last-child {
  background: #1c1917;
  color: #fff;
}

.ca-cards {
  margin-top: 0.8rem;
  background: #fff;
  border-radius: 1.3rem;
  padding: 0.85rem;
  box-shadow: 0 16px 40px rgba(40, 24, 32, 0.05);
}

.ca-cards > p {
  margin: 0 0.35rem 0.45rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.66rem;
  color: #9a929c;
}

.ca-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  border: 0;
  border-top: 1px solid #f1ebe6;
  background: transparent;
  padding: 0.75rem 0.2rem;
  color: inherit;
}

.ca-card:first-of-type {
  border-top: 0;
}

.ca-card strong,
.ca-card small {
  display: block;
}

.ca-card svg:last-child {
  margin-left: auto;
  color: #b7b0b8;
}

.ca-composer {
  display: flex;
  gap: 0.45rem;
  margin: 0 0.9rem;
  padding: 0.35rem 0.35rem 0.35rem 0.9rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(40, 24, 32, 0.04);
}

.ca-composer input,
.ca-form input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
}

.ca-composer input:focus,
.ca-form input:focus {
  outline: none;
}

.ca-composer button {
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #f3e7ea;
  color: #1c1730;
}

.ca-disclaimer {
  margin: 0.7rem 1rem 1rem;
  text-align: center;
  color: #9a929c;
  font-size: 0.75rem;
  line-height: 1.4;
}

.ca-disclaimer button,
.ca-text,
.ca-float-out {
  border: 0;
  background: transparent;
  color: #6d6574;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  padding: 0;
}

.ca-forgot {
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font: inherit;
  cursor: pointer;
}

.ca-orders-bar .ca-forgot {
  min-width: 44px;
  justify-content: center;
}

.ca-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ca-form h1 {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 0.95;
}

.ca-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.ca-form input {
  border-radius: 999px;
  background: #f6f3ee;
  padding: 0.8rem 0.95rem;
}

.ca-error {
  margin: 0;
  color: #b42318;
}

.ca-home-card h1 {
  font-size: clamp(2.8rem, 10vw, 4.2rem);
}

.ca-float-out {
  position: fixed;
  z-index: 30;
  top: 0.7rem;
  right: 0.8rem;
  font-size: 0.82rem;
  background: rgba(250, 247, 241, 0.92);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
}

@media (min-width: 900px) {
  .ca-landing,
  .ca-form-wrap,
  .ca-home {
    padding-top: 1.25rem;
  }

  .ca-stage {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 34rem;
  }

  .ca-stage-copy {
    padding: 3.2rem 2.6rem;
  }

  .ca-stage-art {
    min-height: 100%;
  }

  .ca-split {
    grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  }

  .ca-hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .ca-hero footer {
    margin-top: auto;
  }

  .ca-form,
  .ca-home-card {
    max-width: 32rem;
    margin: 0 auto;
  }
}
