:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #182b35;
  background: #f5f8fa;
  --primary: #116c66;
  --border: #dce5e8;
  --muted: #526570;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: not-allowed; }
a { color: var(--primary); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid #237bdf;
  outline-offset: 4px;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px max(24px, calc((100% - 1180px)/2));
  background: white;
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #182b35; font-size: 23px; letter-spacing: -.8px; }
.brand span { display: block; font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.text-link { font-weight: 650; }
.account-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; text-align: right; }
.registration-label { font-size: 14px; font-weight: 650; color: var(--primary); }
.registration-label small { display: block; margin-top: 4px; color: var(--muted); font-weight: 400; }
.registration-progress { max-width: 1180px; margin: 24px auto 0; padding: 18px 24px; background: #eef7f5; border-radius: 10px; overflow-wrap: anywhere; }
.registration-progress strong { display: block; font-size: 20px; }
.registration-progress p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 1228px) { .registration-progress { margin-inline: 24px; } }
.preview-banner { text-align: center; padding: 10px 20px; background: #fff2cf; color: #624710; font-size: 14px; }
.main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  max-width: 1228px;
  margin: 36px auto 60px;
  padding: 0 24px;
  align-items: start;
}
.workbench, .summary, .status-page {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 38px);
}
.summary { position: sticky; top: 24px; padding: 26px; }
.steps { display: flex; list-style: none; gap: 22px; margin: 0 0 40px; padding: 0 0 24px; border-bottom: 1px solid var(--border); }
.steps li { flex: 1; min-width: 0; }
.steps button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; text-align: left; }
.steps button:hover:not(:disabled) { background: #edf5f3; color: var(--primary); }
.steps button span { display: grid; place-items: center; background: #eef2f5; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.steps [aria-current] { color: var(--primary); font-weight: 700; }
.steps [aria-current] span { background: var(--primary); color: white; }
.eyebrow { font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: 1.1px; color: var(--primary); margin: 0 0 12px; }
h1 { font-size: clamp(28px, 3.2vw, 39px); line-height: 1.18; letter-spacing: -1.1px; margin: 0 0 15px; }
main h1, #form-error { scroll-margin-top: 24px; }
h2 { font-size: 20px; letter-spacing: -.4px; }
.lead { color: var(--muted); line-height: 1.65; margin: 0 0 26px; }
.segmented { display: inline-flex; gap: 4px; background: #edf3f4; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.segmented button, .provider-list button { padding: 11px 20px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--muted); }
.segmented [aria-pressed="true"], .provider-list [aria-pressed="true"] { background: white; color: var(--primary); border-color: var(--primary); font-weight: 650; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan-card { display: flex; flex-direction: column; text-align: left; padding: 22px; gap: 12px; border: 1px solid var(--border); background: white; border-radius: 12px; color: inherit; }
.plan-card.selected { border: 2px solid var(--primary); padding: 21px; background: #f3fbf9; }
.plan-title { font-size: 19px; font-weight: 750; }
.plan-description { color: var(--muted); font-size: 14px; line-height: 1.55; }
.plan-price { font-size: 24px; font-weight: 750; }
.plan-price small, .summary-price small { display: block; margin-top: 4px; font-size: 12px; font-weight: 450; color: var(--muted); }
.feature-list { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 14px; line-height: 1.4; }
.feature-list li::before { content: '✓ '; color: var(--primary); }
.plan-choice { margin-top: auto; padding-top: 8px; color: var(--primary); font-size: 13px; font-weight: 700; }
.summary-price { margin: 20px 0; font-size: 32px; font-weight: 750; }
.notice { color: var(--muted); background: #f1f5f7; padding: 15px; border-radius: 8px; font-size: 13px; line-height: 1.65; }
.help { font-size: 13px; color: var(--muted); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 12px; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; min-height: 48px; border-radius: 9px; font-weight: 650; border: 1px solid var(--primary); text-decoration: none; }
.primary { background: var(--primary); color: white; }
.primary:hover:not(:disabled) { background: #0b5550; }
.secondary { background: white; color: var(--primary); }
.inline-button { border: 0; background: transparent; color: var(--primary); text-decoration: underline; padding: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select { padding: 13px 14px; min-height: 48px; width: 100%; border: 1px solid #aabcc5; border-radius: 8px; background: white; color: #182b35; }
.field.full { grid-column: 1/-1; }
.coupon-section { margin-bottom: 28px; }
.coupon-entry { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 18px; }
.coupon-entry .field { flex: 1 1 200px; min-width: 0; }
.coupon-entry .inline-button { min-height: 48px; }
.price-breakdown .discount span:first-child { overflow-wrap: anywhere; min-width: 0; }
.field input[aria-invalid] { border-color: #b32424; }
.field-error { color: #a51d24; font-weight: 450; font-size: 13px; }
details { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 24px; }
summary { cursor: pointer; color: var(--primary); font-size: 14px; font-weight: 600; }
.provider-list { display: flex; flex-wrap: wrap; gap: 10px; }
.provider-list button { border-color: var(--border); background: #f8fafb; }
.provider-list { margin-top: 14px; }
.mobile-purchase { display: none; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 24px 0; line-height: 1.65; font-size: 14px; }
.check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; accent-color: var(--primary); }
.error { color: #8b2025; background: #fff1f1; border: 1px solid #f0b8bc; padding: 16px; border-radius: 8px; line-height: 1.6; margin-bottom: 20px; }
.status-page { max-width: 720px; margin: 48px auto; }
.status-page .text-link { display: inline-block; padding: 15px 0; font-size: 18px; }
.preview-panel { margin: 24px 0; padding: 22px; background: #fff8e4; border-radius: 10px; font-size: 14px; }
footer { max-width: 1180px; margin: 0 auto; padding: 24px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
@media (max-width: 980px) {
  .main { grid-template-columns: 1fr; max-width: 800px; }
  .summary { position: static; }
  .mobile-purchase { display: grid; gap: 8px; padding: 18px; border-radius: 10px; background: #f1f7f6; }
}
@media (max-width: 560px) {
  .topbar { padding: 18px; gap: 12px; }
  .topbar .text-link { font-size: 12px; }
  .main { padding: 0 12px; margin-top: 18px; gap: 18px; }
  .workbench { padding: 22px 18px; }
  .steps { gap: 10px; margin-bottom: 28px; }
  .steps button { flex-direction: column; align-items: flex-start; font-size: 11px; }
  .plans, .form-grid { grid-template-columns: 1fr; }
  .actions { flex-direction: column-reverse; align-items: stretch; }
  .status-page { margin: 24px 12px; }
  .provider-list button { width: 100%; }
  footer { flex-direction: column; gap: 8px; }
}
.product-options { margin: 22px 0; padding: 18px; border: 1px solid #cbdad2; border-radius: 12px; }
.product-options legend { font-weight: 700; padding: 0 6px; }
.product-option { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.product-option input { width: 20px; height: 20px; flex: 0 0 auto; }
.product-option span { display: grid; gap: 4px; }
.product-option small { color: #4c6357; }
.price-breakdown { display: grid; gap: 10px; margin: 14px 0; }
.price-breakdown > div { display: flex; justify-content: space-between; gap: 16px; }
.price-breakdown .discount { color: #176846; }
.plans.single-offer{grid-template-columns:1fr}
.price-breakdown>div>span:last-child{white-space:nowrap}
.account-page { max-width: 1120px; margin: 36px auto 60px; padding: 0 24px; }
.account-hero, .account-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: clamp(22px,3vw,36px); }
.account-hero { margin-bottom: 24px; background: linear-gradient(110deg,#effaf5,white); }
.account-hero .lead { max-width: 720px; }
.account-page .actions a, .account-card > a.secondary { display: inline-block; text-decoration: none; padding: 13px 20px; border-radius: 8px; }
.account-scope { margin: 28px 0 16px; max-width: 420px; }
.account-scope select { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: white; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.account-card { min-width: 0; }
.account-card p { line-height: 1.6; color: var(--muted); }
.account-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.account-card-heading h2 { margin: 0; }
.account-badge { font-size: 12px; padding: 6px 10px; border-radius: 20px; white-space: nowrap; }
.account-badge.active { background: #e4f5eb; color: #176846; }
.account-badge.pending { background: #fff2cf; color: #715515; }
.account-badge.attention { background: #fff1f1; color: #8b2025; }
.account-price { font-size: 27px; font-weight: 700; }
.account-price small { font-size: 14px; font-weight: 400; }
.account-products { padding: 0; list-style: none; margin: 20px 0; }
.account-products li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.account-page h1, .account-card h3 { overflow-wrap: anywhere; }
.account-page [data-verified-email] { overflow-wrap: anywhere; }
.product-launcher { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin: 24px 0; }
.product-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.product-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #eaf5f0; color: #21644b; margin-bottom: 24px; }
.product-icon svg { width: 28px; height: 28px; }
.product-card h2 { margin: 0; font-size: 22px; overflow-wrap: anywhere; }
.product-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 12px 0 24px; }
.product-enter { display: flex; justify-content: space-between; gap: 24px; align-items: center; align-self: stretch; margin-top: auto; padding: 14px 18px; background: #18573d; color: #fff; border-radius: 9px; text-decoration: none; font-weight: 600; }
.product-enter:hover { background: #10432e; }
.product-enter:focus-visible, .purchase-details summary:focus-visible { outline: 3px solid #238664; outline-offset: 4px; }
.product-card .product-unavailable { margin-top: auto; margin-bottom: 0; font-size: 13px; }
.product-empty { padding: 26px; border: 1px dashed var(--border); border-radius: 16px; background: #fff; }
.product-empty p { color: var(--muted); line-height: 1.6; }
.purchase-details { margin: 32px 0 20px; }
.purchase-details summary { color: var(--muted); }
.purchase-details > .account-card { margin-top: 20px; }
.welcome-page .account-hero { background: transparent; border: 0; padding: 24px 0 4px; }
.welcome-page h1 { max-width: 800px; }
.portal-entry { max-width: 800px; }
.billing-access { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; }
.billing-access h2 { margin: 0; }
.billing-access > a { flex-shrink: 0; }
@media(max-width:700px) { .billing-access { align-items: stretch; flex-direction: column; } }
@media(max-width:700px) { .account-grid { grid-template-columns: 1fr; }.account-page { padding: 0 12px; margin-top: 20px; }.account-hero .actions { align-items: stretch; flex-direction: column; }.account-products li { flex-wrap: wrap; } }
