.trial-main {
  display: grid;
  gap: 26px;
}

.trial-hero,
.trial-panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--card);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.trial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
}

.trial-hero__copy h1,
.trial-panel__header h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.trial-hero__copy h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
}

.trial-hero__text,
.trial-panel__header p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.trial-hero__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trial-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trial-step {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(20, 35, 45, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

.trial-step strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.trial-step p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.trial-hero__strip span,
.trial-badge,
.trial-link-button,
.trial-prompt-list button {
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.trial-hero__strip span {
  padding: 10px 14px;
  border: 1px solid rgba(20, 35, 45, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.trial-hero__card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(19, 32, 40, 0.98), rgba(20, 35, 45, 0.93)),
    linear-gradient(140deg, rgba(15, 138, 120, 0.18), rgba(245, 107, 60, 0.14));
  color: var(--white);
}

.trial-hero__card .eyebrow {
  color: rgba(255, 253, 249, 0.62);
  margin-bottom: 0;
}

.trial-hero__card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.6;
}

.trial-layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.trial-panel {
  padding: 24px;
}

.trial-resume-card {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(20, 35, 45, 0.12);
  background: linear-gradient(135deg, rgba(248, 250, 255, 0.94), rgba(241, 247, 255, 0.9));
}

.trial-resume-card strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.trial-resume-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.trial-resume-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.trial-panel__header {
  margin-bottom: 20px;
}

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

.trial-form .field {
  margin: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.trial-advanced,
.trial-details-block {
  grid-column: 1 / -1;
  border: 1px solid rgba(20, 35, 45, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.trial-advanced summary,
.trial-details-block summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.trial-advanced summary::-webkit-details-marker,
.trial-details-block summary::-webkit-details-marker {
  display: none;
}

.trial-advanced__content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.trial-actions {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  align-items: start;
}

.trial-feedback {
  min-height: 24px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.trial-feedback.error {
  color: #ad2f2f;
}

.trial-feedback.ok {
  color: var(--teal);
}

.trial-empty {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 24px;
  border: 1px dashed rgba(20, 35, 45, 0.14);
  background: rgba(255, 255, 255, 0.46);
}

.trial-empty strong,
.trial-context-card small,
.trial-prompts__label,
.simulator__top strong,
.trial-knowledge-card__header strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.trial-workspace {
  display: grid;
  gap: 16px;
}

.trial-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.trial-contact-capture-notice {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(192, 138, 44, 0.2);
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.95), rgba(251, 243, 219, 0.9));
}

.trial-contact-capture-notice strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.trial-contact-capture-notice p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.trial-badge,
.trial-link-button {
  padding: 10px 14px;
  border: 1px solid rgba(20, 35, 45, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.trial-link-button {
  cursor: pointer;
}

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

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

.trial-context-card,
.trial-commercial-card,
.trial-knowledge-card,
.trial-site-card,
.trial-next-step,
.simulator {
  border: 1px solid rgba(20, 35, 45, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.trial-context-card {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.trial-commercial-card {
  padding: 18px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 249, 247, 0.82)),
    linear-gradient(180deg, rgba(15, 138, 120, 0.06), rgba(45, 108, 223, 0.04));
}

.trial-context-card small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-context-card p,
.trial-commercial-card p,
.trial-panel__header p,
.trial-empty p,
.trial-knowledge-card__header small {
  margin: 0;
}

.trial-commercial-card h3,
.trial-commercial-split strong {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
}

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

.trial-commercial-split > div {
  display: grid;
  gap: 8px;
}

.trial-token-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trial-token-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 35, 45, 0.08);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.trial-site-breakdown {
  display: grid;
  padding-top: 4px;
}

.trial-site-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.trial-site-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.trial-site-card__header small {
  color: var(--ink-soft);
}

.trial-pages {
  display: grid;
  gap: 12px;
}

.trial-page {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 35, 45, 0.1);
}

.trial-page strong,
.trial-site-card__header strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

.trial-page a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 700;
  word-break: break-all;
}

.trial-page p,
.trial-page small {
  margin: 0;
  color: var(--ink-soft);
}

.trial-knowledge-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.trial-knowledge-card__header {
  display: grid;
  gap: 6px;
}

.trial-knowledge {
  margin: 0;
  white-space: pre-wrap;
  font-family: "Space Grotesk", "Avenir Next", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  color: var(--ink-soft);
}

.trial-prompts {
  display: grid;
  gap: 10px;
}

.trial-prompts__label {
  margin: 0;
  font-size: 0.95rem;
}

.trial-prompt-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trial-prompt-list button {
  padding: 10px 14px;
  border: 1px solid rgba(20, 35, 45, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  cursor: pointer;
}

.simulator {
  overflow: hidden;
}

.simulator__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(18, 32, 40, 0.96), rgba(27, 48, 58, 0.92));
  color: var(--white);
}

.simulator__top small,
.simulator__status {
  color: rgba(255, 253, 249, 0.74);
}

.simulator__status {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.simulator__messages {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(15, 138, 120, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(241, 248, 244, 0.94), rgba(236, 243, 240, 0.94));
}

.simulator__bubble {
  max-width: min(78%, 540px);
  padding: 14px 16px;
  border-radius: 20px;
  line-height: 1.55;
  box-shadow: 0 10px 24px rgba(20, 35, 45, 0.08);
}

.simulator__bubble p {
  margin: 0;
}

.simulator__bubble small {
  display: block;
  margin-top: 8px;
  color: rgba(20, 35, 45, 0.56);
  font-size: 0.76rem;
}

.simulator__bubble--assistant {
  justify-self: start;
  border-top-left-radius: 8px;
  background: #ffffff;
}

.simulator__bubble--human {
  justify-self: start;
  border-top-left-radius: 8px;
  background: linear-gradient(135deg, rgba(19, 32, 40, 0.96), rgba(27, 48, 58, 0.92));
  color: var(--white);
}

.simulator__bubble--human small {
  color: rgba(255, 253, 249, 0.72);
}

.simulator__bubble--user {
  justify-self: end;
  border-top-right-radius: 8px;
  background: #dcf7d9;
}

.simulator__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid rgba(20, 35, 45, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

.simulator__composer input {
  min-width: 0;
}

.trial-next-step {
  display: grid;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(247, 242, 234, 0.82)),
    linear-gradient(180deg, rgba(15, 138, 120, 0.05), rgba(245, 107, 60, 0.05));
}

.trial-next-step__header {
  display: grid;
  gap: 10px;
}

.trial-next-step__header small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trial-next-step__header h3,
.trial-activation-summary strong {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.trial-next-step__header p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.trial-next-step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trial-activation-summary {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(15, 138, 120, 0.08);
  border: 1px solid rgba(15, 138, 120, 0.14);
}

.trial-activation-summary p,
.trial-activation-summary small {
  margin: 0;
  color: var(--ink-soft);
}

.trial-activation-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1024px) {
  .trial-layout,
  .trial-hero,
  .trial-steps,
  .trial-commercial,
  .trial-commercial-split,
  .trial-context-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .trial-form,
  .trial-resume-form,
  .trial-advanced__content,
  .trial-activation-form,
  .simulator__composer {
    grid-template-columns: 1fr;
  }

  .trial-panel,
  .trial-hero {
    padding: 20px;
  }

  .trial-hero__copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .simulator__bubble {
    max-width: 92%;
  }
}
