/* LLC Station checkout v2 — same system as the homepage ("The filing"): paper, night ink, violet, Archivo + Public Sans,
   Courier Prime for the typed company name (it reads like the line on the Articles of Organization). */
:root {
  --violet: #7C41D8; --violet-deep: #4A1F8C; --violet-wash: #F1EAFD; --violet-line: #DCCCF7;
  --night: #1A1530; --paper: #F2F1F6; --card: #FFFFFF; --rule: #E2DFEA; --rule-strong: #CFCBDD;
  --text: #1A1530; --text-2: #4B4560; --text-3: #7A7490;
  --ok: #1E7A55; --ok-wash: #E6F4EE; --err: #B42318; --err-wash: #FDECEA; --warn: #8A5200; --warn-wash: #FFF4DE;
  --f-display: 'Archivo', system-ui, sans-serif; --f-body: 'Public Sans', system-ui, sans-serif; --f-typed: 'Courier Prime', 'Courier New', monospace;
  --radius: 14px; --radius-s: 10px; --pill: 999px;
  --shadow: 0 1px 2px rgba(26, 21, 48, .06), 0 18px 40px -26px rgba(26, 21, 48, .30);
}
[dir="rtl"] { --f-display: 'Alexandria', 'Archivo', system-ui, sans-serif; --f-body: 'IBM Plex Sans Arabic', 'Public Sans', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.co { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; }
.co a { color: var(--violet-deep); }
.co :focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 8px; }
.co .ltr { direction: ltr; unicode-bidi: isolate; }
.co .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .co * { transition: none !important; animation: none !important; } }

/* header + progress */
.co-top { background: var(--card); border-bottom: 1px solid var(--rule); }
.co-top-in { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 16px; }
.co-logo img { height: 40px; width: auto; display: block; }
.co-lang { margin-inline-start: auto; display: flex; gap: 4px; }
.co-lang a { font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text-2); padding: 6px 10px; border-radius: var(--pill); }
.co-lang a[aria-current="true"] { background: var(--violet-wash); color: var(--violet-deep); }
.co-steps { max-width: 1120px; margin: 0 auto; padding: 0 20px; list-style: none; display: flex; gap: 6px; counter-reset: s; }
.co-steps li { flex: 1; min-width: 0; }
.co-steps li > a, .co-steps li > span { display: flex; align-items: center; gap: 8px; padding: 12px 2px 10px; border-bottom: 3px solid var(--rule); font-size: 13px; font-weight: 600; color: var(--text-3); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-steps .n { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; line-height: 1; font-size: 12px; background: var(--rule); color: var(--text-2); flex: none; }
.co-steps .done > a { color: var(--text-2); border-color: var(--violet-line); }
.co-steps .done .n { background: var(--violet-line); color: var(--violet-deep); }
.co-steps li > [aria-current="step"] { color: var(--night); border-color: var(--violet); }
.co-steps [aria-current="step"] .n { background: var(--violet); color: #fff; }
@media (max-width: 720px) { .co-steps .t { display: none; } .co-steps [aria-current="step"] .t { display: inline; } .co-logo img { height: 32px; } }

/* page grid */
.co-main { max-width: 1120px; margin: 0 auto; padding: 28px 20px 120px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.co-main.wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .co-main { grid-template-columns: minmax(0, 1fr); padding-bottom: 140px; } }
.co-h1 { font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.08 var(--f-display); font-stretch: 115%; letter-spacing: -.02em; margin: 0 0 6px; color: var(--night); }
.co-sub { margin: 0 0 22px; color: var(--text-2); max-width: 62ch; }
.co-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.co-card h2 { font: 700 1.08rem/1.3 var(--f-display); margin: 0 0 4px; color: var(--night); }
.co-card .lead { margin: 0 0 16px; color: var(--text-2); font-size: 14px; }
.co-alert { border-radius: var(--radius-s); padding: 12px 14px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.co-alert.err { background: var(--err-wash); color: var(--err); }
.co-alert.ok { background: var(--ok-wash); color: var(--ok); }
.co-alert.warn { background: var(--warn-wash); color: var(--warn); }

/* fields */
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.co-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .co-grid { grid-template-columns: 1fr; } }
.co-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--night); }
.co-field .help { font-size: 13px; color: var(--text-3); margin: 6px 0 0; }
.co-field input, .co-field select, .co-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1.5px solid var(--rule-strong); border-radius: var(--radius-s);
  padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.co-field textarea { min-height: 96px; resize: vertical; }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-wash); }
.co-field.has-err input, .co-field.has-err select, .co-field.has-err textarea { border-color: var(--err); }
.co-err { color: var(--err); font-size: 13px; font-weight: 600; margin: 6px 0 0; }
.co-phone { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px; }
@media (max-width: 420px) { .co-phone { grid-template-columns: 118px minmax(0, 1fr); } }
.co-ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center; }
.co-ex span { font-size: 13px; color: var(--text-3); }
.co-ex button { font: 500 13px/1.3 var(--f-body); color: var(--violet-deep); background: var(--violet-wash); border: 1px solid var(--violet-line); border-radius: var(--pill); padding: 6px 12px; cursor: pointer; text-align: start; }
.co-ex button:hover { border-color: var(--violet); }
.co-counter { font-size: 12px; color: var(--text-3); text-align: end; margin-top: 4px; }

/* the typed company line — the one bold element */
.co-filing { margin-top: 14px; border: 1px dashed var(--rule-strong); border-radius: var(--radius-s); padding: 14px 16px; background: repeating-linear-gradient(transparent 0 27px, rgba(124, 65, 216, .07) 27px 28px), #FCFBFF; }
.co-filing small { display: block; font-size: 12px; color: var(--text-3); margin-bottom: 6px; }
.co-filing .typed { font: 700 clamp(1.1rem, 2.6vw, 1.5rem)/1.2 var(--f-typed); color: var(--night); letter-spacing: .02em; text-transform: uppercase; word-break: break-word; direction: ltr; unicode-bidi: isolate; }
.co-filing .typed:empty::before { content: '\2014'; color: var(--text-3); }
.co-tips { margin: 12px 0 0; padding-inline-start: 18px; color: var(--text-2); font-size: 14px; }
.co-tips li { margin: 3px 0; }

/* option cards (state, packages, business address, extras) */
.co-opts { display: grid; gap: 12px; }
.co-opts.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .co-opts.two { grid-template-columns: 1fr; } }
.co-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--rule-strong); border-radius: var(--radius-s); padding: 14px 16px; cursor: pointer; background: #fff; }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rule-strong); flex: none; margin-top: 2px; display: grid; place-items: center; }
.co-opt .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--rule-strong); flex: none; margin-top: 2px; display: grid; place-items: center; color: #fff; font-size: 12px; }
.co-opt b { display: block; color: var(--night); }
.co-opt .note { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.co-opt .price { margin-inline-start: auto; font-weight: 700; white-space: nowrap; color: var(--night); }
.co-opt:has(input:checked) { border-color: var(--violet); background: var(--violet-wash); }
.co-opt:has(input:checked) .dot { border-color: var(--violet); box-shadow: inset 0 0 0 4px #fff; background: var(--violet); }
.co-opt:has(input:checked) .box { border-color: var(--violet); background: var(--violet); }
.co-opt:has(input:checked) .box::after { content: '\2713'; }
.co-opt:has(input:focus-visible) { outline: 3px solid var(--violet); outline-offset: 2px; }
.co-opt.locked { cursor: default; opacity: .9; }

.co-pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .co-pkgs { grid-template-columns: 1fr; } }
.co-pkg { position: relative; background: var(--card); border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.co-pkg.pop { background: var(--night); color: #fff; border-color: var(--night); }
.co-pkg .flag { position: absolute; top: -12px; inset-inline-start: 18px; background: var(--violet); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--pill); }
.co-pkg h3 { font: 800 1.3rem/1.15 var(--f-display); font-stretch: 112%; margin: 0; }
.co-pkg .tag { font-size: 13px; opacity: .8; margin: 4px 0 12px; }
.co-pkg .amt { font: 900 2.6rem/1 var(--f-display); letter-spacing: -.02em; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.co-pkg .amt-note { font-size: 13px; opacity: .8; }
.co-pkg .renew { font-size: 12.5px; opacity: .75; margin: 6px 0 14px; }
.co-pkg ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; }
.co-pkg li { padding: 7px 0; border-top: 1px solid rgba(127, 120, 150, .18); display: flex; gap: 8px; }
.co-pkg li::before { content: '\2713'; color: var(--violet); font-weight: 700; }
.co-pkg.pop li::before { color: var(--violet-line); }
.co-pkg .head { font-weight: 700; font-size: 13px; margin-top: 12px; }

/* buttons + sticky action bar */
.co-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px/1 var(--f-body); padding: 15px 26px; border-radius: var(--pill); border: 1.5px solid transparent; cursor: pointer; text-decoration: none; min-height: 50px; }
.co-btn.primary { background: var(--violet); color: #fff; box-shadow: 0 10px 24px -12px rgba(124, 65, 216, .8); }
.co-btn.primary:hover { background: var(--violet-deep); }
.co-btn.primary[disabled] { opacity: .5; cursor: not-allowed; }
.co-btn.ghost { background: transparent; color: var(--text-2); border-color: var(--rule-strong); }
.co-btn.pkg { width: 100%; margin-top: 4px; background: var(--violet-wash); color: var(--violet-deep); }
.co-pkg.pop .co-btn.pkg { background: var(--violet); color: #fff; }
.co-bar { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.co-bar .saved { font-size: 13px; color: var(--ok); font-weight: 600; margin-inline-end: auto; opacity: 0; transition: opacity .2s; }
.co-bar .saved.on { opacity: 1; }
@media (max-width: 900px) {
  .co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--card); border-top: 1px solid var(--rule); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); margin: 0; }
  .co-bar .co-btn.primary { flex: 1; }
}

/* owners */
.co-member { border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 16px; margin-bottom: 12px; background: #FCFBFF; }
.co-member header { display: flex; align-items: center; margin-bottom: 10px; }
.co-member header b { font-family: var(--f-display); }
.co-member .rm { margin-inline-start: auto; background: none; border: 0; color: var(--err); font: 600 13px var(--f-body); cursor: pointer; padding: 6px; }
.co-total { display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 10px 14px; border-radius: var(--radius-s); background: var(--warn-wash); color: var(--warn); margin: 4px 0 12px; }
.co-total.ok { background: var(--ok-wash); color: var(--ok); }
.co-add { background: none; border: 1.5px dashed var(--violet-line); color: var(--violet-deep); border-radius: var(--radius-s); padding: 12px; width: 100%; font: 600 14px var(--f-body); cursor: pointer; }

/* summary (desktop sidebar / phone drawer) */
.co-sum { position: sticky; top: 18px; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); font-size: 14px; }
.co-sum h2 { font: 700 1rem var(--f-display); margin: 0 0 10px; }
.co-sum .row { display: flex; gap: 10px; padding: 6px 0; }
.co-sum .row span:last-child { margin-inline-start: auto; font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.co-sum .row.minus span:last-child { color: var(--ok); }
.co-sum .tot { display: flex; align-items: baseline; border-top: 1px solid var(--rule); margin-top: 8px; padding-top: 12px; font-weight: 700; }
.co-sum .tot strong { margin-inline-start: auto; font: 900 1.6rem var(--f-display); color: var(--violet-deep); direction: ltr; unicode-bidi: isolate; }
.co-sum .aux { margin-top: 12px; font-size: 13px; color: var(--text-3); }
.co-sum .aux a { color: var(--ok); font-weight: 600; text-decoration: none; }
@media (max-width: 900px) {
  .co-sum { position: static; order: -1; padding: 12px 16px; box-shadow: none; }
  .co-sum details summary { list-style: none; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
  .co-sum details summary strong { margin-inline-start: auto; color: var(--violet-deep); }
}
.co-sum details:not([open]) .body { display: none; }
@media (min-width: 901px) { .co-sum details summary { display: none; } .co-sum details .body { display: block !important; } }

/* review */
.co-review { display: grid; gap: 0; }
.co-review .sec { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.co-review .sec:first-child { border-top: 0; }
.co-review .sec b { color: var(--night); }
.co-review .sec .v { color: var(--text-2); word-break: break-word; }
@media (max-width: 600px) { .co-review .sec { grid-template-columns: minmax(0, 1fr) auto; } .co-review .sec b { grid-column: 1 / -1; } }
.co-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.co-tabs button { font: 700 15px var(--f-body); padding: 14px; border-radius: var(--radius-s); border: 1.5px solid var(--rule-strong); background: #fff; color: var(--text-2); cursor: pointer; }
.co-tabs button[aria-selected="true"] { border-color: var(--violet); background: var(--violet-wash); color: var(--violet-deep); }
.co-coupon { display: flex; gap: 8px; }
.co-coupon input { flex: 1; min-width: 0; }
.co-list { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.co-list li { padding: 4px 0; }
.co-list li::before { content: '\2713  '; color: var(--ok); font-weight: 700; }
.co-fine { font-size: 12.5px; color: var(--text-3); margin-top: 10px; }
.co-help { max-width: 1120px; margin: 0 auto; padding: 0 20px 40px; font-size: 14px; color: var(--text-3); }
.co-help a { color: var(--ok); font-weight: 600; text-decoration: none; }
.co-aff { max-width: 1120px; margin: 16px auto 0; padding: 0 20px; }
.co-aff div { background: var(--ok-wash); color: var(--ok); border-radius: var(--radius-s); padding: 10px 14px; font-weight: 700; font-size: 14px; }
