:root {
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --panel: #f3f3f3;
  --white: #ffffff;
  --btn: #3a3a3a;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--btn);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.co-header {
  border-bottom: 1px solid var(--line);
}

.co-header__inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.co-brand-block {
  display: grid;
  gap: 0.2rem;
}

.co-brand,
.co-ein {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.co-brand {
  text-decoration: none;
}

.co-ein {
  margin: 0;
}

.co-back {
  color: var(--muted);
  font-size: 0.9rem;
}

.co {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1.4rem 4rem;
  display: grid;
  gap: 2.5rem;
}

.co-form {
  min-width: 0;
}

.co-gift {
  border-bottom: 1px solid var(--line);
  padding: 0 0 1.5rem;
}

.co-gift h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.co-gift__lede {
  margin: 0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.co-funds {
  margin: 0 0 1.1rem;
}

.co-funds__label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.co-fund-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.co-fund {
  min-height: 3rem;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  border-radius: 8px;
  cursor: pointer;
}

.co-fund.is-selected,
.co-fund:hover {
  border-color: #041e4a;
  background: #f3f3f3;
}

.co-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.co-amount {
  min-height: 3rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.co-amount.is-selected,
.co-amount:hover {
  border-color: #041e4a;
  background: #f3f3f3;
}

.co-other {
  display: none;
  margin-top: 0.8rem;
}

.co-other.is-open {
  display: block;
}

.co-other input {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
}

.co-amount-hint {
  margin: 0.65rem 0 0;
  color: #a51e25;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.co-amount-hint[hidden] {
  display: none;
}

.co-step {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0 1.5rem;
}

.co-step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.co-step h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.co-edit {
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
}

.co-lock {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--muted);
}

.co-lock svg {
  width: 100%;
  height: 100%;
}

.co-secure,
.co-step__summary,
.co-note {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.co-step__body {
  display: none;
  margin-top: 1.1rem;
}

.co-step.is-open .co-step__body {
  display: block;
}

.co-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.co-field span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.co-field input,
.co-field select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.co-field input:focus,
.co-field select:focus {
  outline: 2px solid #c5c5c5;
  outline-offset: 1px;
}

.co-row {
  display: grid;
  gap: 0.8rem;
}

.co-card {
  padding: 1rem 1rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 1.4rem;
}

.co-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.co-brands {
  display: flex;
  gap: 0.35rem;
}

.co-brand-chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a6fa5;
  border: 1px solid #d5deea;
  border-radius: 4px;
  padding: 0.12rem 0.35rem;
  background: var(--white);
}

.co-subhead {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.co-continue {
  width: 100%;
  min-height: 3.1rem;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 6px;
  background: var(--btn);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.co-continue:disabled {
  background: #cfd3dc;
  color: #6b7380;
  cursor: not-allowed;
}

.co-continue--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 16rem;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
}

.co-error {
  color: #a51e25;
  font-size: 0.92rem;
  margin: 0 0 0.8rem;
}

.co-review {
  margin: 0 0 1rem;
}

.co-review > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.co-review dt {
  font-weight: 700;
  color: var(--muted);
}

.co-review dd {
  margin: 0;
}

.co-summary__card {
  background: var(--panel);
  padding: 1.35rem;
  border-radius: 10px;
}

.co-summary h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.co-freq {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.co-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.co-line strong {
  display: block;
  max-width: 13rem;
  line-height: 1.25;
}

.co-line span:first-child,
.co-line div span {
  color: var(--muted);
  font-size: 0.92rem;
}

.co-line--muted {
  color: var(--muted);
}

.co-line--total {
  border-top: 1px solid #d8d8d8;
  font-weight: 700;
  font-size: 1.05rem;
}

.co-ssl {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.co-ssl svg {
  width: 1.05rem;
  height: 1.05rem;
}

.co-deductible {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #d8d8d8;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.co-success {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4rem 1.4rem;
  text-align: center;
}

.co-success__kicker {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.82rem;
}

.co-success h1 {
  font-size: 2rem;
  line-height: 1.2;
}

@media (min-width: 880px) {
  .co {
    grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
    align-items: start;
    padding-top: 2.6rem;
  }

  .co-summary {
    position: sticky;
    top: 1.4rem;
  }

  .co-row {
    grid-template-columns: 1fr 1fr;
  }

  .co-amounts {
    grid-template-columns: repeat(4, 1fr);
  }
}
