/* Member pages: pricing (/premium), sign in / sign up, the member dashboard
   and checkout. Uses the brand tokens from base.css. */

.acc-hero { background: var(--hero-gradient); color: var(--white); padding: 56px 0 64px; text-align: center; }
.acc-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0 10px; color: var(--white); }
.acc-eyebrow { margin: 0; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #FCD34D; }
.acc-lead { max-width: 620px; margin: 0 auto; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.acc-hero-sm { padding: 34px 0; text-align: left; }
.acc-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acc-hero-row h1 { margin: 4px 0 0; }

.acc-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 1px 2px rgba(13,13,28,.04); }
.acc-card h2 { font-size: 1.1rem; margin: 0 0 12px; }
.acc-empty { text-align: center; padding: 34px 24px; }
.acc-center { text-align: center; }
.acc-alert { padding: 12px 16px; border-radius: var(--radius-md); margin: 0 0 18px; font-size: 0.93rem; border: 1px solid; }
.acc-alert-ok { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.acc-alert-info { background: var(--primary-light); border-color: var(--primary-border); color: var(--primary-ink); }
.acc-alert-bad { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.acc-alert a { color: inherit; font-weight: 700; text-decoration: underline; }

/* Pricing */
.acc-pricing { padding-top: 34px; padding-bottom: 64px; }
.acc-currency { display: flex; justify-content: center; gap: 6px; margin: 0 auto 26px; width: max-content; max-width: 100%; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 99px; box-shadow: 0 6px 20px rgba(13,13,28,.08); flex-wrap: wrap; position: relative; }
.acc-currency button { border: 0; background: none; padding: 9px 16px; border-radius: 99px; font: inherit; font-size: 0.88rem; font-weight: 600; color: var(--slate-dark); cursor: pointer; }
.acc-currency button.is-active { background: var(--primary); color: var(--white); }
.acc-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; gap: 22px; }
.acc-plans[hidden] { display: none; }
.acc-plan { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; }
.acc-plan.is-best { border: 2px solid var(--primary); box-shadow: 0 14px 40px rgba(91,90,196,.18); }
.acc-plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #B45309; color: var(--white); font-size: 0.78rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.acc-plan h2 { font-size: 1.05rem; margin: 0; color: var(--slate-dark); }
.acc-price { margin: 8px 0 4px; }
.acc-price strong { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.acc-price span { color: var(--slate); font-weight: 600; }
.acc-plan-note { margin: 0 0 18px; font-size: 0.86rem; color: var(--slate); }
.acc-benefits { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.acc-benefits li { position: relative; padding: 6px 0 6px 28px; font-size: 0.94rem; color: var(--ink-2); }
.acc-benefits li::before { content: '✓'; position: absolute; left: 0; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.acc-secure { text-align: center; margin: 26px 0 0; font-size: 0.88rem; color: var(--slate); }
.acc-secure a { color: var(--primary-ink); font-weight: 600; }

/* Sign in / sign up */
.acc-auth { padding-top: 48px; padding-bottom: 72px; }
.acc-auth-card { max-width: 440px; margin: 0 auto; padding: 32px 30px; }
.acc-auth-card h1 { font-size: 1.6rem; margin: 0 0 6px; }
.acc-sub { margin: 0 0 22px; color: var(--slate); }
.acc-form { display: flex; flex-direction: column; }
.acc-form label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-size: 0.9rem; margin: 0 0 6px; }
.acc-form input { width: 100%; height: 46px; padding: 0 14px; margin: 0 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; background: var(--white); }
.acc-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.acc-form .btn { margin-top: 6px; }
.acc-opt { font-weight: 400; color: var(--slate); font-size: 0.82rem; }
.acc-forgot { font-weight: 600; font-size: 0.82rem; color: var(--primary-ink); }
/* "New here? Create an account" line under the auth forms (not .acc-switch, which is the auto-renew toggle). */
.acc-alt { display: block; width: auto; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 0.92rem; line-height: 1.5; color: var(--slate); }
.acc-alt a { color: var(--primary-ink); font-weight: 700; margin-left: 2px; }
.acc-alt a:hover { text-decoration: underline; }

/* Dashboard */
.acc-dash { padding-top: 28px; padding-bottom: 64px; }
.acc-dash > .acc-card { margin-bottom: 22px; }
.acc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-bottom: 22px; }
.acc-plan-line { margin: 0 0 12px; font-size: 1.05rem; }
.acc-dl { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 12px; margin: 0 0 16px; font-size: 0.93rem; }
.acc-dl dt { color: var(--slate); }
.acc-dl dd { margin: 0; overflow-wrap: anywhere; }
.acc-tag { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; }
.acc-tag-ok { background: #DCFCE7; color: #15803D; }
.acc-tag-warn { background: #FEF3C7; color: #92400E; }
.acc-link-danger { background: none; border: 0; padding: 0; font: inherit; font-size: 0.88rem; color: #B91C1C; text-decoration: underline; cursor: pointer; }
.acc-small-link { font-size: 0.88rem; color: var(--primary-ink); font-weight: 600; }
.acc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.acc-chip { cursor: pointer; }
.acc-chip input { position: absolute; opacity: 0; pointer-events: none; }
.acc-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 0.9rem; font-weight: 600; color: var(--slate-dark); background: var(--white); transition: all .15s; }
.acc-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--white); }
.acc-chip input:checked + span::before { content: '✓ '; }
.acc-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.acc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 34px 0 14px; flex-wrap: wrap; }
.acc-section-head h2 { font-size: 1.3rem; margin: 0; }
.acc-section-head a { color: var(--primary-ink); font-weight: 600; font-size: 0.92rem; }
.acc-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.acc-course { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); color: var(--ink); }
.acc-course:hover { border-color: var(--primary-border); box-shadow: 0 6px 18px rgba(91,90,196,.1); }
.acc-course-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; color: var(--white); font-weight: 800; font-family: 'JetBrains Mono', monospace; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.acc-course small { display: block; color: var(--slate); font-size: 0.82rem; margin-top: 2px; }
.acc-table-card { padding: 0; overflow-x: auto; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.acc-table th, .acc-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.acc-table th { background: var(--panel); color: var(--slate); font-weight: 600; font-size: 0.82rem; }
.acc-table tr:last-child td { border-bottom: 0; }
.acc-mono { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--slate); }

@media (max-width: 860px) {
  .acc-grid { grid-template-columns: 1fr; }
  .acc-currency { margin-top: -50px; }
}
@media (max-width: 640px) {
  .acc-auth-card { padding: 26px 18px; }
  .acc-dl { grid-template-columns: 110px minmax(0, 1fr); }
}

/* Single-course list on the pricing page; purchased courses on the dashboard. */
.acc-single { margin-top: 44px; text-align: center; }
.acc-single h2 { font-size: 1.4rem; margin: 0 0 4px; }
.acc-single-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 18px; text-align: left; }
.acc-single-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); color: var(--ink); }
.acc-single-card:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(91,90,196,.12); }
.acc-single-body { flex: 1; min-width: 0; }
.acc-single-body small { display: block; margin-top: 2px; color: var(--slate); font-size: 0.8rem; }
.acc-single-price { text-align: right; white-space: nowrap; }
.acc-single-price strong { display: block; font-size: 1.1rem; font-weight: 800; }
.acc-single-price s { color: var(--slate); font-size: 0.8rem; }
.acc-section-first { margin-top: 0; }
.acc-mine { margin-bottom: 22px; }
.acc-course.is-expired { opacity: .7; }
.acc-course.is-expired small { color: #B45309; font-weight: 600; }
/* Dashboard: progress per course, and the free-account upgrade box. */
.acc-learning { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 8px; }
.acc-learn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); color: var(--ink); }
.acc-learn:hover { border-color: var(--primary-border); box-shadow: 0 6px 18px rgba(91,90,196,.1); }
.acc-learn-body { flex: 1; min-width: 0; }
.acc-learn-body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-learn-bar { display: block; height: 7px; margin: 8px 0 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.acc-learn-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), #10B981); }
.acc-learn-body small { color: var(--slate); font-size: 0.8rem; }
.acc-interests { margin-top: 22px; }
.acc-upsell { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: center; margin-top: 22px; background: linear-gradient(135deg, var(--primary-light), var(--white)); border-color: var(--primary-border); }
.acc-upsell .acc-benefits { margin: 0; }
.acc-upsell-cta { text-align: center; }
.acc-upsell-price { margin: 0 0 10px; color: var(--slate-dark); }
.acc-upsell-price strong { color: var(--ink); font-size: 1.2rem; }
.acc-upsell-cta .muted.small { margin-top: 10px; }
@media (max-width: 760px) { .acc-upsell { grid-template-columns: 1fr; } }
.acc-admin-note ul { margin: 6px 0 8px; padding-left: 20px; }
.acc-admin-note li { margin: 3px 0; }
.acc-plan .btn[disabled] { opacity: .6; cursor: not-allowed; }

.acc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.acc-price-was { color: var(--slate); font-size: 1.05rem; font-weight: 600; }
.acc-price .price-off { align-self: center; }

.acc-single-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 782px; margin: 34px auto 0; padding: 18px 22px; border: 1px dashed var(--primary-border); border-radius: var(--radius-lg); background: var(--primary-light); color: var(--ink); }
.acc-single-link:hover { border-style: solid; border-color: var(--primary); }
.acc-single-link small { display: block; margin-top: 2px; color: var(--slate-dark); font-size: 0.88rem; }
.acc-single-link-go { font-weight: 700; color: var(--primary-ink); white-space: nowrap; }
/* Dashboard tabs, panels, dropdowns, auto-renew switch, plan change. */
.acc-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: max-content; max-width: 100%; flex-wrap: wrap; }
.acc-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 20px; border-radius: 9px; font: inherit; font-size: 0.95rem; font-weight: 700; color: var(--slate-dark); cursor: pointer; }
.acc-tab span { padding: 1px 8px; border-radius: 99px; background: var(--white); color: var(--slate); font-size: 0.76rem; }
.acc-tab:hover { color: var(--primary-ink); }
.acc-tab.is-active { background: var(--white); color: var(--primary-ink); box-shadow: 0 1px 4px rgba(13,13,28,.1); }
.acc-tab.is-active span { background: var(--primary-light); color: var(--primary-ink); }
.acc-tab .lock-ico { color: #D97706; }
.acc-panel { margin-bottom: 26px; }
.acc-panel[hidden] { display: none; }
.acc-panel-title { font-size: 1.05rem; margin: 6px 0 12px; color: var(--ink-2); }
.acc-panel .acc-learning + .acc-panel-title { margin-top: 24px; }
.acc-via { display: block; margin-top: 3px; font-style: normal; font-size: 0.76rem; font-weight: 700; color: var(--primary-ink); }
.acc-expired { color: #B45309; font-weight: 600; }
.acc-locked { padding: 34px 24px; }
.acc-locked-title { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; color: var(--ink); }
.acc-interests { margin: 0 0 22px; }

.acc-drop { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.acc-drop > summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; list-style: none; }
.acc-drop > summary::-webkit-details-marker { display: none; }
.acc-drop > summary::after { content: ''; margin-left: auto; flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg); transition: transform .2s; }
.acc-drop[open] > summary::after { transform: rotate(-135deg); }
.acc-drop > summary:hover .acc-drop-title { color: var(--primary-ink); }
.acc-drop-title { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.acc-drop-sum { color: var(--slate); font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.acc-drop-body { padding: 4px 22px 22px; border-top: 1px solid var(--line); }
.acc-drop-body > :first-child { margin-top: 18px; }
.acc-drop-sub { font-size: 0.95rem; margin: 22px 0 10px; }
.acc-table-wrap { border: 1px solid var(--line); border-radius: var(--radius-md); overflow-x: auto; }

.acc-plan-current { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--primary-light); margin-bottom: 14px; }
.acc-plan-name { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.acc-plan-price { margin: 2px 0 0; color: var(--slate-dark); font-size: 0.88rem; }
.acc-renew { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.acc-renew small { display: block; color: var(--slate); font-size: 0.84rem; margin-top: 2px; }
.acc-switch { position: relative; flex: 0 0 auto; width: 50px; height: 28px; border: 0; border-radius: 99px; background: var(--line-strong); cursor: pointer; transition: background .2s; padding: 0; }
.acc-switch.is-on { background: #10B981; }
.acc-switch-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .2s; }
.acc-switch.is-on .acc-switch-knob { left: 25px; }
.acc-switch:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.acc-change { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0 0; }
.acc-change p { margin: 0; }
.acc-change-title { font-weight: 800; color: var(--ink); }
.acc-change s { color: var(--slate); }
.acc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.acc-profile-form .btn { align-self: flex-start; }
.acc-plan.is-current { border: 2px solid #10B981; }
.acc-plan-flag-current { background: #047857; }
.acc-plan-manage { margin: 10px 0 0; text-align: center; font-size: 0.86rem; color: var(--slate); }
.acc-plan-manage a { color: var(--primary-ink); font-weight: 700; }
@media (max-width: 640px) {
  .acc-form-grid { grid-template-columns: 1fr; }
  .acc-drop > summary { flex-wrap: wrap; padding: 16px; }
  .acc-drop-sum { flex-basis: 100%; white-space: normal; order: 3; }
  .acc-drop-body { padding: 4px 16px 18px; }
  .acc-tab { padding: 9px 14px; }
}
/* ---------- Spacing ----------
   base.css sets p { margin: 0 }, so text sat directly on the buttons after
   it. These give every member-page text block room before what follows. */
.acc-text { margin: 0 0 16px; line-height: 1.6; }
.acc-after { margin-top: 14px; }
.acc-empty p { margin: 0 0 16px; }
.acc-empty p:last-child { margin-bottom: 0; }
.acc-empty .acc-locked-title { margin-bottom: 6px; }
.acc-card > p.muted { margin: 0 0 14px; }
.acc-card > h2 + .btn, .acc-card > p + .btn, .acc-empty .btn { margin-top: 4px; }
.acc-auth-card > .muted { margin: 0 0 18px; }
.acc-auth-card > .acc-alert + .acc-alt, .acc-auth-card > .acc-alert + p { margin-top: 18px; }
.acc-change-note { margin-top: 4px !important; }
.acc-upsell-cta .btn + .muted { margin-top: 12px; }
.acc-upsell .acc-benefits li { padding-top: 5px; padding-bottom: 5px; }
.acc-interests .acc-chips { margin: 16px 0 20px; }
.enroll-card .enroll-lead { margin-bottom: 14px; }
.paywall .paywall-actions { margin-top: 4px; }

/* Member pages: sub-navigation, narrow column, sections, lists. */
.acc-subnav { display: flex; gap: 4px; margin-top: 18px; flex-wrap: wrap; }
.acc-subnav a { padding: 8px 16px; border-radius: 99px; color: rgba(255,255,255,.82); font-weight: 700; font-size: 0.9rem; }
.acc-subnav a:hover { color: #FFFFFF; background: rgba(255,255,255,.1); }
.acc-subnav a.is-active { color: #303078; background: #FFFFFF; }
.acc-narrow { max-width: 880px; }
.acc-section { margin-bottom: 22px; }
.acc-section > h2 { margin-bottom: 16px; }
.acc-list { list-style: none; margin: 0; padding: 0; }
.acc-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.acc-list li:first-child { border-top: 0; padding-top: 0; }
.acc-list a { color: var(--ink); font-weight: 700; }
.acc-list a:hover { color: var(--primary-ink); }
.acc-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.acc-form .acc-form-grid input { margin-bottom: 18px; }
/* Dashboard article tabs: note line and page numbers. */
.acc-panel-note { margin: 0 0 14px; color: var(--slate); font-size: 0.9rem; }
.acc-panel .acc-interests { margin: 0 0 22px; }
.acc-panel .acc-interests + .acc-empty { margin-top: 0; }
.acc-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 6px; }
.acc-pager a, .acc-pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; font-size: 0.9rem; }
.acc-pager a { border: 1px solid var(--line); background: var(--white); color: var(--ink-2); }
.acc-pager a:hover { border-color: var(--primary); color: var(--primary-ink); background: var(--primary-light); }
.acc-pager .is-current { background: var(--primary); color: #FFFFFF; border: 1px solid var(--primary); }
.acc-pager .is-off { color: var(--slate-light); border: 1px solid var(--line); background: var(--panel); }
.acc-pager .is-gap { min-width: 20px; padding: 0; color: var(--slate); }
@media (max-width: 640px) { .acc-pager a, .acc-pager span { min-width: 36px; height: 36px; padding: 0 9px; font-size: 0.84rem; } }
/* Pricing page: offer timer and coupon box. */
.acc-offer { display: flex; justify-content: center; margin: 0 0 22px; }
.acc-coupon { max-width: 460px; margin: 0 auto 30px; text-align: center; }
.acc-coupon > label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.acc-coupon-row { display: flex; gap: 8px; }
.acc-coupon-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; text-transform: uppercase; letter-spacing: 0.04em; }
.acc-coupon-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.acc-coupon-row .btn { height: 44px; }
.acc-coupon-ok { margin: 12px 0 10px; color: #166534; font-size: 0.9rem; }
.acc-coupon-bad { margin: 10px 0 0; color: #B91C1C; font-size: 0.9rem; }
.acc-plan-offer { margin: -2px 0 6px; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #B45309; }
/* Checkout (step 2: review, coupon, pay) */
.co-page { padding-top: 30px; padding-bottom: 72px; max-width: 1040px; }
.co-back { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--slate-dark); margin-bottom: 14px; }
.co-back:hover { color: var(--primary-ink); }
.co-title { font-size: 1.8rem; margin: 0 0 14px; }
.co-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; counter-reset: co; }
.co-steps li { counter-increment: co; display: flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 600; color: var(--slate); padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }
.co-steps li::before { content: counter(co); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; background: var(--line); color: var(--slate-dark); }
.co-steps li.is-done::before { content: '✓'; background: #DCFCE7; color: #166534; }
.co-steps li.is-current { border-color: var(--primary); color: var(--primary-ink); }
.co-steps li.is-current::before { background: var(--primary); color: #FFFFFF; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 18px; }
.co-box h2, .co-summary h2 { font-size: 1rem; margin: 0 0 14px; }
.co-item { display: flex; gap: 14px; align-items: flex-start; }
.co-item-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--primary-light); color: var(--primary-ink); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.co-item-title { font-weight: 700; font-size: 1.05rem; margin: 0 0 4px; }
.co-item-sub { color: var(--slate); font-size: 0.9rem; margin: 0; }
.co-offer { margin-top: 16px; }
.co-methods { display: flex; flex-direction: column; gap: 10px; }
.co-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink-2); background: var(--white); }
.co-method:hover { border-color: var(--primary-border); }
.co-method.is-active { border: 2px solid var(--primary); padding: 13px 15px; background: var(--primary-light); }
.co-method > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.co-method small { color: var(--slate); font-size: 0.82rem; }
.co-method em { font-style: normal; font-weight: 700; white-space: nowrap; }
.co-radio { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--line-strong); }
.co-method.is-active .co-radio { border: 5px solid var(--primary); }
.co-coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; margin-bottom: 12px; }
.co-coupon-on p { margin: 0; font-size: 0.92rem; }
.co-coupon-on a { color: #991B1B; font-weight: 700; font-size: 0.88rem; white-space: nowrap; }
.co-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--slate); }
.co-summary { position: sticky; top: 90px; }
.co-lines { margin: 0 0 4px; }
.co-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 0.93rem; }
.co-lines dt { color: var(--slate-dark); }
.co-lines dd { margin: 0; font-weight: 600; white-space: nowrap; }
.co-minus dd { color: #166534; }
.co-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px !important; }
.co-total dt { font-weight: 700; color: var(--ink); }
.co-total dd { font-size: 1.3rem; font-weight: 800; }
.co-summary .co-note { margin: 0 0 4px; }
.co-pay, .co-summary > .btn { margin-top: 18px; }
.co-secure { margin: 14px 0 0; font-size: 0.84rem; color: var(--slate); text-align: center; }
.co-who { margin: 10px 0 0; font-size: 0.8rem; color: var(--slate); text-align: center; word-break: break-all; }
@media (max-width: 860px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}
.co-steps-center { justify-content: center; margin-bottom: 18px; }

/* Sign-up security bits */
.acc-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.acc-pass { position: relative; }
.acc-pass input { padding-right: 70px; }
.acc-pass-eye { position: absolute; right: 6px; top: 7px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--primary-light); color: var(--primary-ink); font: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.acc-rules { list-style: none; margin: -8px 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--slate); }
.acc-rules li { display: flex; align-items: center; gap: 6px; }
.acc-rules li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.acc-rules li.is-ok { color: #166534; }
.acc-rules li.is-ok::before { background: #16A34A; }
.acc-field-msg { margin: -10px 0 14px; font-size: 0.84rem; color: #B91C1C; }
.acc-form label.acc-agree { display: flex; justify-content: flex-start; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.88rem; line-height: 1.5; color: var(--slate-dark); margin: 2px 0 16px; cursor: pointer; }
.acc-form .acc-agree input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.acc-agree a { color: var(--primary-ink); font-weight: 600; text-decoration: underline; }
.acc-resend { margin: 0 0 18px; }
.acc-mail-ico { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--primary-light); color: var(--primary-ink); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.acc-steps-list { text-align: left; margin: 0 0 16px; padding: 14px 16px 14px 34px; background: var(--primary-light); border-radius: var(--radius-md); font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.acc-steps-list li + li { margin-top: 4px; }
.acc-auth-card .muted.small { margin: 0 0 16px; }
.acc-verified { font-size: 0.75rem; font-weight: 700; color: #166534; background: #DCFCE7; padding: 2px 8px; border-radius: 99px; }
.acc-pending { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.acc-link-btn { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* The currency switch overlaps the hero only when it is the first thing on the
   pricing page; after an alert or the offer timer it must not cover them. */
.acc-pricing > .acc-currency:first-child { margin-top: -64px; }
.acc-chip { position: relative; }
