/* ============ signup flow (/signup/*) ============
   Standalone chrome-light layout: logo header, centered card, footer links.
   Brand palette per brand-guidelines.mdc (canonical hexes, not p2 drift). */
:root {
  --su-forest: #1E4D40;
  --su-forest-dark: #173D33;
  --su-emerald: #388270;
  --su-sea: #6CC5A2;
  --su-pearl: #FCF8F1;
  --su-mint: #E9EEE4;
  --su-ink: #2f382f;
  --su-muted: #6b7265;
  --su-line: #e0ddd4;
  --su-error-bg: #fdf0ec;
  --su-error-ink: #a1442a;
}

html, body.su {
  margin: 0;
  padding: 0;
}

body.su {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--su-pearl);
  font-family: 'Albert Sans', Arial, sans-serif;
  color: var(--su-ink);
}

/* ============ header ============ */
.su-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 36px;
}

.su-logo {
  height: 34px;
  display: block;
}

.su-header-aside {
  font-size: 14.5px;
  color: var(--su-muted);
  text-align: right;
  white-space: nowrap;
}

.su-header-aside a {
  color: var(--su-emerald);
  font-weight: 600;
  text-decoration: none;
}

.su-header-aside a:hover {
  text-decoration: underline;
}

/* ============ main / card ============ */
.su-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 48px;
}

.su-layout {
  width: 100%;
  max-width: 460px;
}

.su-layout--split {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 72px;
  align-items: start;
  padding-top: 16px;
}

.su-card-col {
  width: 100%;
}

/* ============ pitch column (step 1) ============ */
.su-pitch {
  max-width: 440px;
  padding-top: 20px;
}

.su-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--su-emerald);
  margin-bottom: 18px;
}

.su-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--su-sea);
}

.su-pitch-h1 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--su-forest);
  margin: 0 0 20px;
}

.su-pitch p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--su-ink);
  margin: 0 0 16px;
}

.su-pitch-trial {
  color: var(--su-emerald);
  font-weight: 600;
}

.su-pitch-quote {
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--su-line);
}

.su-pitch-quote blockquote {
  font-family: 'PT Serif', Georgia, serif;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--su-ink);
  margin: 0 0 10px;
}

.su-pitch-quote figcaption {
  font-size: 13.5px;
  color: var(--su-muted);
}

.su-card-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--su-forest);
  margin: 0 0 20px;
}

.su-card {
  width: 100%;
  max-width: 460px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: 16px;
  box-shadow: 0 2px 24px rgba(30, 77, 64, 0.08), 0 1px 4px rgba(80, 87, 76, 0.06);
  padding: 36px 38px 34px;
}

.su-h1 {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--su-forest);
  margin: 0 0 8px;
}

.su-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--su-muted);
  margin: 0 0 24px;
}

.su-center {
  text-align: center;
}

/* ============ progress steps ============ */
.su-steps {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0 0 26px;
  padding: 0;
}

.su-step {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a8a49b;
}

.su-step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--su-mint);
  color: #8a9184;
}

.su-step.is-active {
  color: var(--su-forest);
}

.su-step.is-active .su-step-dot {
  background: var(--su-forest);
  color: #fff;
}

.su-step.is-done {
  color: var(--su-emerald);
}

.su-step.is-done .su-step-dot {
  background: rgba(108, 197, 162, 0.25);
  color: var(--su-emerald);
}

/* ============ form ============ */
.su-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.su-field {
  display: block;
  margin-bottom: 14px;
}

.su-field > span {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--su-ink);
  margin-bottom: 6px;
}

.su-field input {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Albert Sans', sans-serif;
  font-size: 15px;
  color: var(--su-ink);
  background: #faf8f3;
  border: 1px solid var(--su-line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.su-field input:focus {
  outline: none;
  border-color: var(--su-emerald);
  box-shadow: 0 0 0 3px rgba(56, 130, 112, 0.15);
  background: #fff;
}

.su-field input::placeholder {
  color: #b3aca3;
}

.su-field small {
  display: block;
  font-size: 12.5px;
  color: var(--su-muted);
  margin-top: 5px;
  line-height: 1.4;
}

.su-field--code input {
  font-size: 26px;
  letter-spacing: 0.45em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ============ checkboxes ============ */
.su-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--su-muted);
  margin: 4px 0 12px;
  cursor: pointer;
}

.su-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--su-emerald);
  flex-shrink: 0;
  cursor: pointer;
}

.su-check a {
  color: var(--su-emerald);
  font-weight: 600;
  text-decoration: none;
}

.su-check a:hover {
  text-decoration: underline;
}

/* ============ button ============ */
.su-btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: var(--su-forest);
  color: #fff;
  font-family: 'Albert Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.18s ease;
}

.su-btn:hover {
  background: var(--su-forest-dark);
}

.su-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.su-btn--center {
  margin: 18px auto 0;
  max-width: 300px;
}

/* ============ errors & asides ============ */
.su-error {
  background: var(--su-error-bg);
  color: var(--su-error-ink);
  font-size: 14px;
  line-height: 1.5;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.su-error a {
  color: var(--su-error-ink);
  font-weight: 700;
}

.su-aside {
  font-size: 14px;
  color: var(--su-muted);
  margin-top: 18px;
}

.su-aside a {
  color: var(--su-emerald);
  font-weight: 600;
  text-decoration: none;
}

.su-aside a:hover {
  text-decoration: underline;
}

.su-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Albert Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--su-emerald);
  cursor: pointer;
}

.su-link-btn:hover {
  text-decoration: underline;
}

.su-link-btn:disabled {
  color: #a8a49b;
  cursor: default;
  text-decoration: none;
}

.su-resend-ok {
  color: var(--su-emerald);
  font-weight: 600;
  margin-left: 6px;
}

/* ============ done ============ */
.su-done-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(108, 197, 162, 0.22);
  color: var(--su-emerald);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 18px;
}

/* ============ fineprint & footer ============ */
.su-fineprint {
  font-size: 13px;
  color: #a09d99;
  margin-top: 18px;
  text-align: center;
  max-width: 460px;
  line-height: 1.5;
}

.su-footer {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 20px 20px 30px;
  font-size: 13px;
}

.su-footer a {
  color: #a09d99;
  text-decoration: none;
}

.su-footer a:hover {
  color: var(--su-emerald);
}

/* ============ responsive ============ */
@media (max-width: 991px) {
  /* Single column: keep the headline and trial line as a compact intro
     above the form; drop the longer paragraphs and testimonial. */
  .su-layout--split {
    display: block;
    max-width: 460px;
    padding-top: 0;
  }

  .su-pitch {
    max-width: none;
    padding-top: 0;
    margin-bottom: 26px;
    text-align: center;
  }

  .su-eyebrow {
    justify-content: center;
  }

  .su-pitch-h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .su-pitch-extra,
  .su-pitch-quote {
    display: none;
  }

  .su-pitch-trial {
    font-size: 14px;
    margin: 0;
  }
}

@media (max-width: 520px) {
  .su-header {
    padding: 20px 20px;
  }

  .su-header-aside {
    font-size: 13px;
  }

  .su-card {
    padding: 28px 22px 26px;
  }

  .su-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .su-steps {
    gap: 14px;
  }

  .su-step-label {
    display: none;
  }

  .su-step.is-active .su-step-label {
    display: inline;
  }
}
