.csst-form-shell {
  --csst-accent: #884479;
  --csst-accent-dark: #743864;
  --csst-text: #252326;
  --csst-muted: #66616a;
  --csst-border: #e6e1e6;
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--csst-text);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.csst-form-shell *,
.csst-form-shell *::before,
.csst-form-shell *::after { box-sizing: border-box; }

.csst-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, .92fr);
  overflow: hidden;
  border: 1px solid var(--csst-border);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(41, 31, 40, .05);
}

.csst-form-intro {
  padding: 44px;
  background: #faf9fa;
}

.csst-eyebrow {
  margin: 0 0 16px;
  color: var(--csst-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.csst-form-intro h2 {
  max-width: 520px;
  margin: 0 0 18px;
  color: var(--csst-text);
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.csst-form-description {
  max-width: 520px;
  margin: 0;
  color: var(--csst-muted);
  font-size: 16px;
  line-height: 1.6;
}

.csst-support-points {
  display: grid;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--csst-border);
}

.csst-support-points p {
  position: relative;
  margin: 0;
  padding-left: 24px;
  color: var(--csst-muted);
  font-size: 14px;
  line-height: 1.5;
}

.csst-support-points p::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--csst-accent);
  border-radius: 50%;
  content: "";
}

.csst-support-points strong { color: var(--csst-text); font-weight: 600; }

.csst-form-panel { padding: 38px; background: #fff; }
.csst-form-panel-title { margin: 0 0 22px; color: var(--csst-text); font-size: 22px; font-weight: 600; line-height: 1.25; }
.csst-form { position: relative; margin: 0; padding: 0; }

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

.csst-field--full { grid-column: 1 / -1; }
.csst-field label { display: block; margin: 0 0 6px; color: var(--csst-text); font-size: 14px; font-weight: 500; line-height: 1.35; }
.csst-field label > span[aria-hidden="true"] { color: var(--csst-accent); }
.csst-optional { color: var(--csst-muted); font-size: 12px; font-weight: 400; }

.csst-field input,
.csst-field select,
.csst-field textarea {
  display: block;
  width: 100%;
  min-height: 43px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  color: #272327;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.csst-field select { padding-right: 34px; }
.csst-field textarea { min-height: 132px; resize: vertical; }
.csst-field input::placeholder,
.csst-field textarea::placeholder { color: #8a858c; opacity: 1; }

.csst-field input:focus,
.csst-field select:focus,
.csst-field textarea:focus {
  border-color: var(--csst-accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(136, 68, 121, .12);
}

.csst-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0 18px;
  color: #59545c;
  font-size: 13px;
  line-height: 1.5;
}

.csst-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--csst-accent);
}

.csst-consent a { color: var(--csst-accent); text-decoration: underline; text-underline-offset: 2px; }
.csst-submit {
  width: 100%;
  min-height: 45px;
  padding: 14px 24px;
  border: 0;
  border-radius: 4px;
  background: var(--csst-accent);
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease;
}

.csst-submit:hover { background: var(--csst-accent-dark); }
.csst-submit:focus { outline: 3px solid rgba(136, 68, 121, .22); outline-offset: 2px; }
.csst-required-note { margin: 12px 0 0; color: var(--csst-muted); font-size: 12px; line-height: 1.45; text-align: center; }
.csst-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.csst-message { margin: 0 0 20px; padding: 13px 15px; border-radius: 4px; font-size: 13px; line-height: 1.5; }
.csst-message strong { display: block; margin-bottom: 3px; }
.csst-message--success { border: 1px solid #a6ddc7; background: #edf9f4; color: #165d43; }
.csst-message--error { border: 1px solid #efb6b6; background: #fff2f2; color: #8c2525; }

@media (max-width: 920px) {
  .csst-form-layout { grid-template-columns: 1fr; }
  .csst-form-intro { padding: 34px 38px; }
  .csst-support-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .csst-form-layout { border-radius: 7px; }
  .csst-form-intro,
  .csst-form-panel { padding: 26px 20px; }
  .csst-form-intro h2 { font-size: 30px; }
  .csst-form-description { font-size: 15px; }
  .csst-support-points,
  .csst-grid { grid-template-columns: 1fr; }
  .csst-field--full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .csst-field input,
  .csst-field select,
  .csst-field textarea,
  .csst-submit { transition: none; }
}
