/* KumisID public pages: onboarding (/daftar) and the base of KumisID Account (/akun, with account.css) and the
   payment page. Split screen, dark brand panel left, white form panel right. Self-contained (no control-plane.css).
   The font is self-hosted (fonts/fonts.css, linked from each layout): the payment page's CSP allows no external fonts. */

:root {
  --ob-bg: #ffffff;
  --ob-bg-2: #f7f8fa;
  --ob-dark: #111827;
  --ob-dark-2: #1f2937;
  --ob-accent: #315de5;
  --ob-accent-hover: #2449c7;
  --ob-accent-soft: #eef2fd;
  --ob-ink: #111827;
  --ob-muted: #667085;
  --ob-line: #e5e7eb;
  --ob-line-strong: #d0d5dd;
  --ob-good: #15803d;
  --ob-good-soft: #ecfdf3;
  --ob-bad: #dc2626;
  --ob-bad-soft: #fef2f2;
  --ob-warn: #b54708;
  --ob-warn-soft: #fffaeb;
  --ob-on-dark: #ffffff;
  --ob-on-dark-muted: rgba(255, 255, 255, .64);
  --ob-on-dark-line: rgba(255, 255, 255, .1);
  --ob-radius: 10px;
  --ob-radius-sm: 8px;
  --ob-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ob-ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.ob { margin: 0; min-height: 100vh; background: var(--ob-bg); color: var(--ob-ink); font: 14px/1.5 var(--ob-font); }
.ob a { color: var(--ob-accent); }
.ob a:hover { color: var(--ob-accent-hover); }
.ob :where(a, button, input, select, summary):focus-visible { outline: 3px solid color-mix(in srgb, var(--ob-accent) 45%, transparent); outline-offset: 2px; }
.su-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.su-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ob-skip { position: absolute; left: 8px; top: -60px; z-index: 20; padding: 8px 12px; border-radius: var(--ob-radius-sm); background: var(--ob-ink); color: #fff !important; font-weight: 600; }
.ob-skip:focus { top: 8px; }

/* Shell */
.ob-shell { display: grid; grid-template-columns: minmax(360px, 40%) 1fr; min-height: 100vh; }

/* Brand panel */
.ob-brand {
  position: sticky; top: 0; height: 100vh; overflow: auto; isolation: isolate; padding: 40px 48px;
  background:
    radial-gradient(90% 55% at 0% 0%, rgba(49, 93, 229, .2), transparent 62%),
    radial-gradient(70% 45% at 100% 100%, rgba(49, 93, 229, .1), transparent 70%),
    var(--ob-dark);
  color: var(--ob-on-dark);
}
/* Faint dot grid that fades out toward the edges: texture, not decoration. */
.ob-brand::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 48%, #000 25%, transparent 78%);
  mask-image: radial-gradient(75% 60% at 50% 48%, #000 25%, transparent 78%);
}
/* One centred column; the main group sits in the vertical middle, logo above it, notes below it. */
.ob-brand-inner { display: flex; flex-direction: column; gap: 32px; width: 100%; max-width: 480px; min-height: 100%; margin: 0 auto; }
.ob-brand-body { display: grid; gap: 32px; margin-block: auto; }
.ob-brand-foot { display: grid; gap: 14px; border-top: 1px solid var(--ob-on-dark-line); padding-top: 18px; }
.ob-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ob-trust li { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ob-on-dark-line); border-radius: 999px; padding: 4px 10px; background: rgba(255, 255, 255, .03); color: var(--ob-on-dark-muted); font-size: 12px; }
.ob-trust li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7c9bf5; }
.ob-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ob-on-dark) !important; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: -.01em; width: fit-content; }
.ob-logo img { width: 32px; height: 32px; border-radius: 8px; background: #fff; padding: 3px; object-fit: contain; }
.ob-pitch h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.ob-pitch p { margin: 0; max-width: 40ch; color: var(--ob-on-dark-muted); font-size: 15px; }

.ob-visual { position: relative; isolation: isolate; max-width: 460px; margin-bottom: 14px; }
.ob-visual::before { content: ''; position: absolute; inset: 12% 6% -8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(49, 93, 229, .38), transparent); filter: blur(28px); }
.ob-toast {
  position: absolute; right: -18px; bottom: -22px; display: flex; align-items: center; gap: 10px;
  border-radius: 10px; padding: 10px 14px 10px 10px; background: #fff; color: var(--ob-ink);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .55), 0 0 0 1px rgba(17, 24, 39, .06);
}
.ob-toast-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ob-good-soft); color: var(--ob-good); }
.ob-toast-icon svg { width: 16px; height: 16px; }
.ob-toast b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.ob-toast small { display: block; color: var(--ob-muted); font-size: 11.5px; line-height: 1.3; }
.ob-win { border: 1px solid var(--ob-on-dark-line); border-radius: 12px; background: var(--ob-dark-2); overflow: hidden; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
.ob-win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--ob-on-dark-line); }
.ob-win-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ob-win-bar span { margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--ob-on-dark-muted); font-size: 11px; }
.ob-win-body { display: grid; grid-template-columns: 92px 1fr; min-height: 168px; }
.ob-win-side { display: grid; align-content: start; gap: 6px; padding: 12px 10px; border-right: 1px solid var(--ob-on-dark-line); }
.ob-win-side span { padding: 5px 8px; border-radius: 6px; color: var(--ob-on-dark-muted); font-size: 11px; font-weight: 600; }
.ob-win-side span.is-on { background: rgba(49, 93, 229, .22); color: #fff; }
.ob-win-main { display: grid; align-content: start; gap: 10px; padding: 12px; }
.ob-win-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-win-kpis div { border: 1px solid var(--ob-on-dark-line); border-radius: 8px; padding: 8px; }
.ob-win-kpis b { display: block; width: 46%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.ob-win-kpis em { display: block; width: 70%; height: 10px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .5); }
.ob-win-chart { display: flex; align-items: flex-end; gap: 6px; height: 54px; padding: 0 2px; border-bottom: 1px solid var(--ob-on-dark-line); }
.ob-win-chart span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .14); }
.ob-win-chart span.is-on { background: var(--ob-accent); }
.ob-win-rows { display: grid; gap: 6px; }
.ob-win-rows i { display: block; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.ob-win-rows i:nth-child(2) { width: 82%; }
.ob-win-rows i:nth-child(3) { width: 64%; }

.ob-values { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ob-values li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; }
.ob-values svg { width: 20px; height: 20px; margin-top: 1px; color: #7c9bf5; }
.ob-values b { display: block; font-size: 14px; font-weight: 600; }
.ob-values small { display: block; color: var(--ob-on-dark-muted); font-size: 13px; }
.ob-context { margin: 0; color: var(--ob-on-dark-muted); font-size: 13px; }
.ob-context b { color: var(--ob-on-dark); font-weight: 600; }

/* Form panel */
.ob-main { display: flex; flex-direction: column; min-width: 0; background: var(--ob-bg); }
.ob-main:focus { outline: none; }
.ob-mobilebar { display: none; }
.ob-panel { width: 100%; max-width: 520px; margin: auto; padding: 48px 32px; animation: ob-enter .22s var(--ob-ease) both; }
.ob-panel-wide { max-width: 760px; }
@keyframes ob-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ob-foot { padding: 0 32px 28px; color: var(--ob-muted); font-size: 12px; text-align: center; }
.ob-foot p { margin: 0 auto; max-width: 520px; }

/* Progress */
.ob-progress { margin-bottom: 28px; }
.ob-progress-label { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; color: var(--ob-muted); font-size: 13px; }
.ob-progress-label b { color: var(--ob-ink); font-weight: 600; }
.ob-segments { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ob-segments span { display: block; height: 4px; border-radius: 2px; background: var(--ob-line); transition: background-color .2s var(--ob-ease); }
.ob-segments span.is-done { background: color-mix(in srgb, var(--ob-accent) 45%, #fff); }
.ob-segments span.is-current { background: var(--ob-accent); }

/* Headings */
.ob-head { margin-bottom: 24px; }
.ob-head h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.ob-lead { margin: 0; color: var(--ob-muted); font-size: 15px; max-width: 52ch; }
.ob-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; color: var(--ob-muted); font-size: 13px; }
.ob-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ob-line); border-radius: 999px; padding: 3px 10px; background: var(--ob-bg-2); color: var(--ob-ink); font-weight: 600; font-size: 12px; }

/* Fields (signup.partials.field keeps its cp-field markup) */
.ob-fields { display: grid; gap: 18px; }
.ob .cp-field { display: grid; gap: 6px; margin: 0; }
.ob .cp-field label { color: var(--ob-ink); font-size: 13px; font-weight: 600; }
.ob .su-req { color: var(--ob-bad); }
.ob .cp-field input, .ob .cp-field select {
  width: 100%; height: 46px; border: 1px solid var(--ob-line-strong); border-radius: var(--ob-radius-sm);
  padding: 0 14px; background: var(--ob-bg); color: var(--ob-ink); font: 400 15px var(--ob-font);
  transition: border-color .15s var(--ob-ease), box-shadow .15s var(--ob-ease);
}
.ob .cp-field input::placeholder { color: #98a2b3; }
.ob .cp-field input:hover { border-color: #98a2b3; }
.ob .cp-field input:focus { outline: none; border-color: var(--ob-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ob-accent) 18%, transparent); }
.ob .cp-field input[aria-invalid="true"] { border-color: var(--ob-bad); }
.ob .cp-field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ob-bad) 16%, transparent); }
.ob .cp-field small { color: var(--ob-muted); font-size: 12px; font-weight: 400; }
.ob .cp-field em, .ob-error { display: flex; gap: 6px; align-items: flex-start; color: var(--ob-bad); font-size: 12px; font-style: normal; font-weight: 500; }
.ob .cp-field em::before, .ob-error::before { content: '!'; flex: none; display: grid; place-items: center; width: 14px; height: 14px; margin-top: 1px; border-radius: 50%; background: var(--ob-bad); color: #fff; font-size: 10px; font-weight: 700; }

/* App address */
.ob-host { display: flex; align-items: stretch; }
.ob-host input { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; min-width: 0; }
.ob-host-suffix { display: flex; align-items: center; border: 1px solid var(--ob-line-strong); border-left: 0; border-radius: 0 var(--ob-radius-sm) var(--ob-radius-sm) 0; padding: 0 12px; background: var(--ob-bg-2); color: var(--ob-muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ob-url { display: flex; align-items: center; gap: 8px; margin-top: 4px; border: 1px solid var(--ob-line); border-radius: var(--ob-radius-sm); padding: 10px 12px; background: var(--ob-bg-2); font-size: 13px; }
.ob-url svg { flex: none; width: 14px; height: 14px; color: var(--ob-good); }
.ob-url span { min-width: 0; overflow-wrap: anywhere; color: var(--ob-ink); font-weight: 600; }
.ob-url small { margin-left: auto; color: var(--ob-muted); font-size: 11px; white-space: nowrap; }
#subdomain-status { min-height: 1.5em; font-size: 12px; font-weight: 600; }
.ob-ok { color: var(--ob-good); }
.ob-ok::before { content: '✓ '; }
.ob-bad { color: var(--ob-bad); }

/* Selectable cards (native radios, so arrow keys move inside the group) */
.ob-choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ob-choices-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ob-choice { position: relative; display: block; cursor: pointer; }
.ob-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ob-choice-body {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; height: 100%;
  border: 1px solid var(--ob-line); border-radius: var(--ob-radius); padding: 14px; background: var(--ob-bg);
  transition: border-color .15s var(--ob-ease), background-color .15s var(--ob-ease), box-shadow .15s var(--ob-ease);
}
.ob-choice-text { display: grid; gap: 2px; min-width: 0; }
.ob-choice-text b { font-size: 14px; font-weight: 600; }
.ob-choice-text small { color: var(--ob-muted); font-size: 12.5px; line-height: 1.45; }
.ob-choice-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--ob-bg-2); color: var(--ob-ink); }
.ob-choice-icon svg { width: 20px; height: 20px; }
.ob-radio { width: 18px; height: 18px; margin-top: 1px; border: 1.5px solid var(--ob-line-strong); border-radius: 50%; background: var(--ob-bg); transition: border-color .15s, box-shadow .15s; }
.ob-choice:hover .ob-choice-body { border-color: #98a2b3; }
.ob-choice input:checked + .ob-choice-body { border-color: var(--ob-accent); background: var(--ob-accent-soft); box-shadow: 0 0 0 1px var(--ob-accent); }
.ob-choice input:checked + .ob-choice-body .ob-radio { border-color: var(--ob-accent); box-shadow: inset 0 0 0 4px var(--ob-bg), inset 0 0 0 10px var(--ob-accent); }
.ob-choice input:checked + .ob-choice-body .ob-choice-icon { background: var(--ob-bg); color: var(--ob-accent); }
.ob-choice input:focus-visible + .ob-choice-body { outline: 3px solid color-mix(in srgb, var(--ob-accent) 45%, transparent); outline-offset: 2px; }
.ob-choice-compact .ob-choice-body { grid-template-columns: 1fr auto; padding: 12px 14px; }

/* Plans */
.ob-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ob-plan .ob-choice-body { grid-template-columns: 1fr auto; align-content: start; }
.ob-plan-price { grid-column: 1 / -1; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ob-ink); }
.ob-plan-price.is-tba { font-size: 13px; font-weight: 600; color: var(--ob-muted); }
.ob-plan ul { grid-column: 1 / -1; display: grid; gap: 6px; margin: 4px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ob-line); list-style: none; font-size: 12.5px; color: var(--ob-ink); }
.ob-plan li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; }
.ob-plan li::before { content: ''; width: 14px; height: 14px; margin-top: 2px; border-radius: 50%; background: var(--ob-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4 7.2l2 2 4-4.4' fill='none' stroke='%23315de5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ob-custom { margin-top: 18px; }
.ob-custom[hidden] { display: none; }

/* Notes, alerts */
.ob-note { display: flex; gap: 10px; margin: 18px 0 0; border: 1px solid var(--ob-line); border-radius: var(--ob-radius-sm); padding: 12px 14px; background: var(--ob-bg-2); color: var(--ob-ink); font-size: 13px; }
.ob-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--ob-muted); }
.ob-note-good { border-color: color-mix(in srgb, var(--ob-good) 25%, transparent); background: var(--ob-good-soft); }
.ob-note-good svg { color: var(--ob-good); }
.ob-note-warn { border-color: color-mix(in srgb, var(--ob-warn) 25%, transparent); background: var(--ob-warn-soft); }
.ob-note-warn svg { color: var(--ob-warn); }
.ob-note-bad { border-color: color-mix(in srgb, var(--ob-bad) 25%, transparent); background: var(--ob-bad-soft); }
.ob-note-bad svg { color: var(--ob-bad); }
.ob-alert { margin: 0 0 20px; border: 1px solid color-mix(in srgb, var(--ob-bad) 30%, transparent); border-radius: var(--ob-radius-sm); padding: 12px 14px; background: var(--ob-bad-soft); color: #991b1b; font-size: 13px; }
.ob-alert:focus { outline: none; }
.ob-alert ul { margin: 6px 0 0; padding-left: 18px; }
.ob-alert a { color: inherit; }
.ob-help { margin: 16px 0 0; color: var(--ob-muted); font-size: 12px; }

/* Actions */
.ob-actions { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.ob-actions .ob-btn-primary { margin-left: auto; }
.ob-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; border: 1px solid transparent; border-radius: var(--ob-radius-sm); padding: 0 18px;
  font: 600 14px/1 var(--ob-font); text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--ob-ease), border-color .15s var(--ob-ease), transform .05s;
}
.ob-btn:active { transform: translateY(1px); }
.ob-btn-primary { background: var(--ob-accent); color: #fff !important; }
.ob-btn-primary:hover { background: var(--ob-accent-hover); }
.ob-btn-secondary { border-color: var(--ob-line-strong); background: var(--ob-bg); color: var(--ob-ink) !important; }
.ob-btn-secondary:hover { border-color: #98a2b3; background: var(--ob-bg-2); }
.ob-btn-block { width: 100%; }
.ob-btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.ob-btn[aria-busy="true"]::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ob-spin .7s linear infinite; }
@keyframes ob-spin { to { transform: rotate(360deg); } }
.ob-link-btn { border: 0; padding: 0; background: none; color: var(--ob-accent); font: 600 13px var(--ob-font); cursor: pointer; }
.ob-link-btn:hover { color: var(--ob-accent-hover); text-decoration: underline; }
.ob-inline { display: inline; margin: 0; }
.ob-actions > .ob-inline:last-child { margin-left: auto; }

/* Summary */
.ob-summary { margin: 0; border: 1px solid var(--ob-line); border-radius: var(--ob-radius); }
.ob-summary > div { display: grid; grid-template-columns: 140px 1fr; align-items: baseline; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--ob-line); }
.ob-summary > div:first-child { border-top: 0; }
.ob-summary dt { color: var(--ob-muted); font-size: 13px; }
.ob-summary dd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; min-width: 0; font-weight: 600; }
.ob-summary dd > span { min-width: 0; overflow-wrap: anywhere; }
.ob-summary dd small { display: block; color: var(--ob-muted); font-weight: 400; font-size: 12px; }
.ob-summary a { font-size: 13px; font-weight: 600; text-decoration: none; }
.ob-summary a:hover { text-decoration: underline; }
.ob-tag { display: inline-flex; margin-left: 6px; border-radius: 999px; padding: 2px 8px; background: var(--ob-warn-soft); color: var(--ob-warn); font-size: 11px; font-weight: 600; }

/* Activation status */
.ob-status { margin: 0 0 16px; font-size: 15px; font-weight: 600; }
.ob-steps { display: grid; gap: 0; margin: 0; padding: 0; border: 1px solid var(--ob-line); border-radius: var(--ob-radius); list-style: none; }
.ob-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--ob-line); color: var(--ob-muted); }
.ob-steps li:first-child { border-top: 0; }
.ob-step-dot { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ob-line-strong); font-size: 11px; font-weight: 700; }
.ob-steps li[data-state="completed"] { color: var(--ob-ink); }
.ob-steps li[data-state="completed"] .ob-step-dot { border-color: var(--ob-good); background: var(--ob-good); color: #fff; }
.ob-steps li[data-state="in_progress"] { color: var(--ob-ink); font-weight: 600; }
.ob-steps li[data-state="in_progress"] .ob-step-dot { border-color: var(--ob-accent); border-right-color: transparent; animation: ob-spin .9s linear infinite; }
.ob-steps li[data-state="failed"] { color: var(--ob-bad); font-weight: 600; }
.ob-steps li[data-state="failed"] .ob-step-dot { border-color: var(--ob-bad); background: var(--ob-bad); color: #fff; }
.ob-address { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--ob-muted); font-size: 13px; }
.ob-address b { color: var(--ob-ink); font-weight: 600; overflow-wrap: anywhere; }

/* Short laptop screens: tighter brand panel so it fits without scrolling. */
@media (min-width: 768px) and (max-height: 860px) {
  .ob-brand { padding: 28px 40px; }
  .ob-brand-inner, .ob-brand-body { gap: 22px; }
  .ob-pitch h2 { font-size: 26px; }
  .ob-win-body { min-height: 132px; }
  .ob-win-chart { height: 40px; }
  .ob-values { gap: 10px; }
}
@media (min-width: 768px) and (max-height: 780px) {
  .ob-visual { display: none; }
}

/* Tablet: narrower panel, no illustration */
@media (max-width: 1100px) {
  .ob-shell { grid-template-columns: minmax(300px, 34%) 1fr; }
  .ob-brand { padding: 32px; }
  .ob-brand-inner, .ob-brand-body { gap: 24px; }
  .ob-visual { display: none; }
  .ob-pitch h2 { font-size: 26px; }
  .ob-plans { grid-template-columns: 1fr; }
  .ob-plan ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: compact header replaces the brand panel */
@media (max-width: 767px) {
  .ob-shell { display: block; }
  .ob-brand { display: none; }
  .ob-mobilebar { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--ob-line); }
  .ob-mobilebar .ob-logo { color: var(--ob-ink) !important; }
  .ob-mobilebar .ob-logo img { background: none; padding: 0; }
  .ob-mobilebar small { margin-left: auto; color: var(--ob-muted); font-size: 12px; }
  .ob-panel { margin: 0; max-width: none; padding: 20px 16px 28px; }
  .ob-progress { margin-bottom: 20px; }
  .ob-head h1 { font-size: 24px; }
  .ob-lead { font-size: 14px; }
  .ob .cp-field input { font-size: 16px; }
  .ob-choices-2 { grid-template-columns: 1fr; }
  .ob-plan ul { grid-template-columns: 1fr; }
  .ob-summary > div { grid-template-columns: 1fr; gap: 2px; }
  .ob-actions { flex-direction: column-reverse; align-items: stretch; }
  .ob-actions .ob-btn { width: 100%; }
  .ob-actions .ob-btn-primary, .ob-actions > .ob-inline:last-child { margin-left: 0; }
  /* Long choice lists keep the primary action within reach. */
  .ob-actions-sticky { position: sticky; bottom: 0; z-index: 5; margin: 20px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--ob-line); background: color-mix(in srgb, var(--ob-bg) 94%, transparent); backdrop-filter: blur(6px); flex-direction: row; }
  .ob-actions-sticky .ob-btn-secondary { flex: 0 0 auto; width: auto; }
  .ob-actions-sticky .ob-btn-primary { flex: 1; }
  .ob-foot { padding: 0 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ob-panel { animation: none; }
  .ob *, .ob *::before, .ob *::after { transition: none !important; }
  .ob-btn[aria-busy="true"]::after, .ob-steps li[data-state="in_progress"] .ob-step-dot { animation: none; }
}
