/* ─────────────────────────────────────────────────────────────────────────
   offering-checkout.css — checkout sheet for the four pay-online offerings.
   Classes are prefixed oc- so nothing here collides with the plans pages'
   co- classes. Uses the same design tokens as index.html's :root (--bg,
   --card, --border, --text, --body, --muted, --accent, --heat).
   ───────────────────────────────────────────────────────────────────────── */
.co-gstnote { display: block; font-size: 13px; color: var(--muted, #75758a); margin: -2px 0 10px; font-family: 'Martian Mono', monospace; }

.oc-scrim {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(5, 5, 7, .6);
  display: flex; justify-content: flex-end;
}
.oc-sheet {
  width: 460px; max-width: 100%; height: 100%;
  background: var(--bg, #0b0b0f); color: var(--text, #e8e8ee);
  border-left: 1px solid var(--border, #2c2c3a);
  overflow-y: auto; padding: 26px 28px 30px;
  font-family: 'Archivo', system-ui, sans-serif;
}
@media (prefers-reduced-motion: no-preference) {
  .oc-sheet { animation: oc-in .25s ease; }
  @keyframes oc-in { from { transform: translateX(24px); opacity: .6; } }
}
.oc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.oc-kick { font-family: 'Martian Mono', monospace; font-size: 11px; letter-spacing: .16em; color: var(--muted, #75758a); text-transform: uppercase; }
.oc-kick.oc-ok { color: #3ecf8e; }
.oc-title { font-family: 'Unbounded', 'Archivo', sans-serif; font-size: 22px; margin: 6px 0 0; line-height: 1.2; }
.oc-x {
  background: transparent; border: 1px solid var(--border, #2c2c3a); color: var(--muted, #75758a);
  width: 34px; height: 34px; border-radius: 8px; cursor: pointer; flex: none;
}
.oc-x:hover { border-color: var(--accent, #ff8a3d); color: var(--text, #e8e8ee); }

.oc-sum {
  background: var(--card, #16161f); border: 1px solid var(--border, #2c2c3a);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 14px;
}
.oc-sum .oc-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--muted, #a6a6b8); }
.oc-sum .oc-row b { color: var(--text, #e8e8ee); font-weight: 600; font-variant-numeric: tabular-nums; }
.oc-sum .oc-tot { border-top: 1px solid var(--border, #2c2c3a); margin-top: 6px; padding-top: 10px; color: var(--text, #e8e8ee); font-weight: 700; }
.oc-sum .oc-tot b { font-family: 'Unbounded', 'Archivo', sans-serif; font-size: 18px; }

.oc-note {
  display: flex; gap: 10px; border: 1px solid rgba(255, 138, 61, .3); background: rgba(255, 138, 61, .07);
  border-radius: 10px; padding: 11px 13px; font-size: 13px; line-height: 1.45; margin-bottom: 14px;
}

.oc-field { margin-bottom: 14px; }
.oc-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text, #e8e8ee); }
.oc-field label span { color: var(--muted, #75758a); font-weight: 400; }
.oc-in {
  width: 100%; background: var(--card, #16161f); border: 1px solid var(--border, #2c2c3a);
  border-radius: 10px; padding: 12px 13px; color: var(--text, #e8e8ee); font: inherit;
}
.oc-in:focus-visible { outline: 2px solid var(--accent, #ff8a3d); outline-offset: 2px; }
.oc-phone { display: flex; gap: 8px; }
.oc-phone .oc-cc { width: 100px; flex: none; }
.oc-coupon { display: flex; gap: 8px; }
.oc-coupon .oc-in { flex: 1; text-transform: uppercase; letter-spacing: .04em; }
.oc-apply {
  background: transparent; border: 1px solid var(--accent, #ff8a3d); color: var(--accent, #ff8a3d);
  border-radius: 10px; padding: 0 16px; font-weight: 600; cursor: pointer;
}
.oc-help { font-size: 12.5px; color: var(--muted, #75758a); margin-top: 5px; line-height: 1.45; }
.oc-error {
  border: 1px solid #ff6b6b; background: rgba(255, 107, 107, .08); color: #ff6b6b;
  border-radius: 10px; padding: 10px 13px; font-size: 13px; margin-bottom: 14px;
}

.oc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; padding: 14px 20px; font-weight: 700; cursor: pointer;
  background: linear-gradient(120deg, var(--accent, #ff8a3d), var(--accent-deep, #ff5e2c));
  color: #140a04; font-size: 15px; text-decoration: none; font-family: inherit;
}
.oc-btn:hover { filter: brightness(1.06); }
.oc-btn[disabled] { opacity: .5; cursor: not-allowed; }
.oc-wide { width: 100%; }
.oc-fine { font-size: 12px; color: var(--muted, #75758a); line-height: 1.5; margin-top: 12px; }
.oc-fine a { color: var(--muted, #a6a6b8); }

.oc-done { padding: 20px 0; }
.oc-badge {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(62, 207, 142, .12);
  border: 1px solid rgba(62, 207, 142, .4); display: grid; place-items: center; color: #3ecf8e;
  font-size: 26px; margin-bottom: 18px;
}
.oc-done-title { font-family: 'Unbounded', 'Archivo', sans-serif; font-size: 26px; margin: 6px 0 10px; }
.oc-done p { color: var(--muted, #a6a6b8); line-height: 1.55; }
.oc-receipt {
  background: var(--card, #16161f); border: 1px solid var(--border, #2c2c3a); border-radius: 12px;
  padding: 14px 16px; font-size: 14px; margin: 18px 0;
}
.oc-receipt .oc-row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted, #a6a6b8); }
.oc-receipt .oc-row b { color: var(--text, #e8e8ee); font-variant-numeric: tabular-nums; }
.oc-steps { list-style: none; padding: 0; margin: 12px 0 22px; display: grid; gap: 10px; counter-reset: oc-s; }
.oc-steps li {
  counter-increment: oc-s; display: flex; gap: 12px; font-size: 14.5px; color: var(--muted, #a6a6b8);
}
.oc-steps li::before {
  content: counter(oc-s); flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--border, #2c2c3a); display: grid; place-items: center; font-size: 12px;
  color: var(--text, #e8e8ee); font-family: 'Martian Mono', monospace;
}

@media (max-width: 767px) {
  .oc-scrim { align-items: flex-end; }
  .oc-sheet {
    width: 100%; height: auto; max-height: 92vh; border-left: 0;
    border-top: 1px solid var(--border, #2c2c3a); border-radius: 16px 16px 0 0; padding: 20px 18px 24px;
  }
  @media (prefers-reduced-motion: no-preference) {
    .oc-sheet { animation: oc-in-up .25s ease; }
    @keyframes oc-in-up { from { transform: translateY(24px); opacity: .6; } }
  }
}
