/* MediFlow — precise editorial UI for independent practices */
:root {
  --ink: #102a2a;
  --ink-soft: #365251;
  --ivory: #f7f2e8;
  --ivory-deep: #eee5d6;
  --paper: #fffdf8;
  --emerald: #08765f;
  --emerald-bright: #19a27f;
  --emerald-pale: #dcece6;
  --coral: #a94d3d;
  --coral-on-light: #a94d3d;
  --coral-on-dark: #f08a72;
  --coral-pale: #f6ded6;
  --line: #d8d2c6;
  --danger: #a33b34;
  --shadow: 0 30px 60px -38px rgb(16 42 42 / 35%), 0 14px 28px -24px rgb(16 42 42 / 28%);
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --shell: min(1160px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ivory); }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; }
body::before { position: fixed; inset: 0; z-index: -1; background-image: radial-gradient(rgb(16 42 42 / 4%) .6px, transparent .6px); background-size: 7px 7px; content: ""; pointer-events: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.security :focus-visible, footer :focus-visible { outline-color: var(--coral-on-dark); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: var(--paper); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(88px, 11vw, 150px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(16 42 42 / 10%); background: rgb(247 242 232 / 94%); }
@supports (backdrop-filter: blur(14px)) { .site-header { background: rgb(247 242 232 / 82%); backdrop-filter: blur(14px); } }
.nav { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { position: relative; display: inline-grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--emerald); }
.brand-mark::before, .brand-mark::after, .brand-mark span::before, .brand-mark span::after { position: absolute; background: var(--emerald); content: ""; }
.brand-mark::before { width: 12px; height: 2px; }
.brand-mark::after { width: 2px; height: 12px; }
.brand-mark span::before { top: -1px; left: -1px; width: 6px; height: 1px; }
.brand-mark span::after { right: -1px; bottom: -1px; width: 1px; height: 6px; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--emerald); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.language-toggle { min-height: 44px; padding: 6px 2px; border: 0; color: var(--ink-soft); background: transparent; font-size: 12px; letter-spacing: .08em; }
.language-active { color: var(--ink); font-weight: 700; }

.button, .button-secondary, .table-plan-button, .workspace-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid var(--emerald); border-radius: 3px; background: var(--emerald); color: #fff; font-weight: 650; line-height: 1; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease; }
.button:hover, .workspace-link:hover { border-color: #075e4d; background: #075e4d; box-shadow: 0 10px 24px -15px var(--ink); transform: translateY(-1px); }
.button-small { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--paper); }
.button:disabled, .button-secondary:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--emerald); font-size: 14px; font-weight: 650; text-decoration: none; }
.text-link span:last-child { transition: transform 160ms ease; }
.text-link:hover span:last-child { transform: translateY(2px); }

.hero { display: grid; min-height: calc(100vh - 72px); grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr); align-items: center; gap: clamp(50px, 8vw, 110px); padding-block: 84px 104px; }
.hero-copy { align-self: center; }
.eyebrow { margin: 0 0 22px; color: var(--emerald); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.coral { color: var(--coral-on-light); }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 700px; font-size: clamp(52px, 6.5vw, 84px); line-height: .99; }
h2 { max-width: 700px; font-size: clamp(40px, 5vw, 64px); line-height: 1.03; }
.hero-lede { max-width: 630px; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(18px, 2vw, 21px); font-weight: 400; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 38px; }
.hero-note { margin: 17px 0 0; color: var(--ink-soft); font-size: 12px; }

.day-sheet { position: relative; width: 100%; max-width: 500px; justify-self: end; border: 1px solid #d0c8bb; border-top: 4px solid var(--emerald); border-radius: 4px; background: var(--paper); box-shadow: var(--shadow); transform: translateY(18px); }
.day-sheet::before { position: absolute; top: -28px; right: 44px; width: 110px; height: 23px; border: 1px solid #d0c8bb; border-bottom: 0; background: var(--coral-pale); content: ""; }
.sheet-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 26px 28px 22px; border-bottom: 1px solid var(--line); }
.sheet-head > div { display: grid; gap: 4px; }
.sheet-head > div span { color: var(--ink-soft); font-size: 12px; }
.sheet-head strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border: 1px solid #bdd9cf; border-radius: 3px; background: var(--emerald-pale); color: #075744; font-size: 10px; line-height: 1.3; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); }
.patient-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 15px; padding: 17px 28px; border-bottom: 1px solid var(--line); }
.patient-row time { color: var(--ink-soft); font-family: ui-monospace, monospace; font-size: 12px; }
.patient-row div { display: grid; }
.patient-row div span, .row-state { color: var(--ink-soft); font-size: 11px; }
.patient-current { background: #f0f7f4; box-shadow: inset 3px 0 var(--emerald); }
.row-state { padding: 4px 7px; border: 1px solid #acd0c3; border-radius: 3px; color: var(--emerald); }
.row-state.muted { border-color: var(--line); color: var(--ink-soft); }
.care-thread { padding: 24px 28px 30px; }
.thread-label { color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.care-thread ol { display: grid; margin: 19px 0 0; padding: 0; list-style: none; }
.care-thread li { position: relative; display: grid; min-height: 54px; grid-template-columns: 18px 1fr; gap: 13px; }
.care-thread li::after { position: absolute; top: 13px; bottom: -2px; left: 4px; width: 1px; background: var(--line); content: ""; }
.care-thread li:last-child::after { display: none; }
.care-thread li > span { z-index: 1; width: 9px; height: 9px; margin-top: 3px; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); }
.care-thread li.complete > span { border-color: var(--emerald); background: var(--emerald); }
.care-thread li.active > span { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-pale); }
.care-thread li div { display: grid; align-content: start; }
.care-thread strong { font-size: 13px; font-weight: 650; }
.care-thread small { color: var(--ink-soft); font-size: 11px; }

.workflow { border-block: 1px solid var(--line); background: var(--paper); }
.section-intro { max-width: 720px; }
.section-intro > p:last-child { max-width: 620px; margin: 28px 0 0; color: var(--ink-soft); font-size: 18px; }
.split-intro { display: grid; max-width: none; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.split-intro .eyebrow { grid-column: 1 / -1; }
.split-intro > p:last-child { align-self: end; margin-bottom: 5px; }
.workflow-line { display: grid; grid-template-columns: repeat(3, 1fr); margin: 86px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.workflow-line li { position: relative; display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 30px 34px 0 0; }
.workflow-line li::before { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); content: ""; }
.workflow-line li:nth-child(2)::before { border-color: var(--coral); background: var(--coral); }
.step-index { padding-top: 5px; color: var(--coral); font-family: ui-monospace, monospace; font-size: 11px; }
.workflow-line h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.workflow-line p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.security { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.security .eyebrow.coral { color: var(--coral-on-dark); }
.security::after { position: absolute; right: -140px; bottom: -280px; width: 520px; height: 520px; border: 1px solid rgb(247 242 232 / 10%); border-radius: 50%; box-shadow: 0 0 0 90px rgb(247 242 232 / 3%), 0 0 0 180px rgb(247 242 232 / 2%); content: ""; }
.security-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 140px); }
.security-copy h2 { max-width: 540px; }
.security-copy > p:not(.eyebrow) { max-width: 540px; margin: 30px 0; color: #bfd0cc; font-size: 18px; }
.light-link { color: #81d1b9; }
.security-details { display: grid; margin: 0; grid-template-columns: 1fr 1fr; border-top: 1px solid rgb(255 255 255 / 24%); }
.security-details div { padding: 28px 28px 30px 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
.security-details div:nth-child(odd) { padding-right: 38px; border-right: 1px solid rgb(255 255 255 / 18%); }
.security-details div:nth-child(even) { padding-left: 38px; }
.security-details dt { margin-bottom: 9px; color: #fff; font-family: var(--serif); font-size: 21px; }
.security-details dd { margin: 0; color: #abc0bb; font-size: 13px; }

.plans { background: var(--ivory); }
.plan-table-wrap { margin-top: 64px; overflow-x: auto; border-top: 2px solid var(--ink); }
table { width: 100%; min-width: 720px; border-collapse: collapse; background: transparent; }
th, td { padding: 19px 15px; border-bottom: 1px solid var(--line); text-align: left; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; text-align: right; }
th { color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
td:first-child { font-family: var(--serif); font-size: 22px; }
td { color: var(--ink-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.loading-row td { padding-block: 34px; font-family: var(--sans); font-size: 14px; text-align: center; }
.table-plan-button { min-height: 44px; padding: 9px 14px; border-color: var(--ink); background: transparent; color: var(--ink); font-size: 12px; }
.table-plan-button:hover { background: var(--ink); color: #fff; }

.onboarding { border-top: 1px solid var(--line); background: var(--paper); }
.onboarding-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(520px, 1.25fr); align-items: start; gap: clamp(60px, 10vw, 140px); }
.onboarding-intro { position: sticky; top: 130px; }
.onboarding-intro > p:not(.eyebrow) { max-width: 480px; margin: 26px 0; color: var(--ink-soft); font-size: 17px; }
.privacy-note { display: grid; max-width: 440px; grid-template-columns: 25px 1fr; gap: 12px; margin-top: 44px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.privacy-note span { color: var(--emerald); }
.privacy-note p { margin: 0; font-size: 12px; }
.wizard-card { border: 1px solid var(--line); border-top: 4px solid var(--coral); border-radius: 4px; background: #fff; box-shadow: var(--shadow); }
.wizard-progress { padding: 24px 30px 0; color: var(--ink-soft); font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.progress-track { height: 2px; margin-top: 12px; overflow: hidden; background: var(--line); }
.progress-track span { display: block; width: 25%; height: 100%; background: var(--coral); transition: width 240ms ease; }
.progress-track[data-step="2"] span { width: 50%; }
.progress-track[data-step="3"] span { width: 75%; }
.progress-track[data-step="4"] span { width: 100%; }
form { padding: 34px 30px 30px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.025em; }
.step-description { margin: 8px 0 30px; color: var(--ink-soft); font-size: 14px; }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { font-size: 13px; font-weight: 650; }
.field input, .field select { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #beb8ad; border-radius: 2px; background: #fff; }
.field input:hover, .field select:hover { border-color: var(--ink-soft); }
.field input:focus, .field select:focus { border-color: var(--emerald); outline: 2px solid rgb(8 118 95 / 18%); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field small { color: var(--ink-soft); font-size: 11px; }
.slug-input { display: flex; align-items: stretch; }
.slug-input input { min-width: 0; border-radius: 2px 0 0 2px; }
.slug-input > span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #beb8ad; border-left: 0; border-radius: 0 2px 2px 0; background: var(--ivory); color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.field-error { min-height: 18px; color: var(--danger); font-size: 12px; }
.plan-options { display: grid; gap: 10px; }
.plan-option { display: grid; min-height: 72px; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.plan-option:has(input:checked) { border-color: var(--emerald); background: #f0f7f4; box-shadow: inset 3px 0 var(--emerald); }
.plan-option input { width: 17px; height: 17px; accent-color: var(--emerald); }
.plan-option > span { display: grid; }
.plan-option strong { font-size: 14px; }
.plan-option small { color: var(--ink-soft); font-size: 11px; }
.plan-option-meta { color: var(--ink-soft); font-family: ui-monospace, monospace; font-size: 11px; text-align: right; }
.review-list { margin: 0; border-top: 1px solid var(--line); }
.review-list div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.review-list dt { color: var(--ink-soft); font-size: 12px; }
.review-list dd { margin: 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.review-price { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--emerald); background: var(--emerald-pale); color: var(--ink); font-size: 13px; font-weight: 650; }
#turnstile-container { min-height: 65px; margin-top: 25px; }
.turnstile-help { color: var(--danger); font-size: 12px; }
.form-status { min-height: 24px; margin-top: 24px; font-size: 13px; }
.form-status.error { padding: 11px 12px; border: 1px solid #e3bbb5; background: #fff4f1; color: var(--danger); }
.form-status.success { padding: 13px; border: 1px solid #acd0c3; background: #eff8f4; color: #075744; }
.form-status.loading { color: var(--ink-soft); }
.form-status.loading::before { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border: 1px solid var(--emerald); border-top-color: transparent; border-radius: 50%; content: ""; animation: spin .8s linear infinite; }
.workspace-link { min-height: 36px; margin-left: 8px; padding: 7px 10px; font-size: 11px; }
.wizard-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.wizard-actions .button-secondary { margin-right: auto; }
.noscript-message { margin: 0 30px 30px; padding: 12px; border: 1px solid #e3bbb5; background: #fff4f1; color: var(--danger); font-size: 12px; }

.workspace-access { border-top: 1px solid var(--line); background: var(--ivory-deep); }
.workspace-access-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: clamp(45px, 9vw, 120px); }
.workspace-access-layout > div > p:last-child { max-width: 520px; color: var(--ink-soft); }
.workspace-login-form { padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--emerald); background: var(--paper); box-shadow: var(--shadow); }
.workspace-login-form label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 650; }
.workspace-login-row { display: grid; grid-template-columns: 1fr auto; }
.workspace-login-row input { min-width: 0; min-height: 48px; padding: 11px 12px; border: 1px solid #beb8ad; border-right: 0; background: #fff; }
.workspace-login-row .button { border-radius: 0 3px 3px 0; }
.workspace-login-form small { display: block; margin-top: 8px; color: var(--ink-soft); }
.nav-login { color: var(--ink-soft); font-size: 13px; font-weight: 650; }

footer { padding-block: 38px; border-top: 1px solid #294443; background: var(--ink); color: #b9cbc7; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; font-size: 12px; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { border-color: #78bbaa; }
.footer-brand .brand-mark::before, .footer-brand .brand-mark::after, .footer-brand .brand-mark span::before, .footer-brand .brand-mark span::after { background: #78bbaa; }
.footer-inner p { margin: 0; }
.footer-inner > a:last-child { justify-self: end; }
.footer-links { display: flex; justify-self: end; gap: 20px; }

.payment-panel { padding: 40px; }
.trust-content { padding-block: clamp(70px, 9vw, 120px); }
.trust-content section + hr { margin: 80px 0; border: 0; border-top: 1px solid var(--line); }
.trust-content h1 { max-width: 850px; }
.trust-lede { max-width: 760px; margin: 28px 0 0; color: var(--ink-soft); font-size: 18px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 58px; background: var(--line); border: 1px solid var(--line); }
.trust-grid article { padding: 30px; background: var(--paper); }
.trust-grid h2 { font-size: 28px; }
.trust-grid p { color: var(--ink-soft); }
.trust-grid a { color: var(--emerald); }
.payment-panel h3 { margin: 6px 0 12px; font: 600 clamp(28px, 4vw, 38px)/1.08 var(--serif); }
.payment-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
#bank-transfer-form { padding: 28px 0 0; }
#bank-details { margin-bottom: 24px; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  :root { --shell: min(100% - 38px, 760px); }
  .nav-links { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding-top: 70px; }
  .day-sheet { max-width: 600px; justify-self: start; transform: none; }
  .split-intro { grid-template-columns: 1fr; }
  .split-intro > p:last-child { margin-top: 25px; }
  .workflow-line { gap: 20px; }
  .workflow-line li { grid-template-columns: 1fr; }
  .security-layout, .onboarding-layout { grid-template-columns: 1fr; }
  .workspace-access-layout { grid-template-columns: 1fr; }
  .onboarding-intro { position: static; }
  .wizard-card { max-width: 720px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .section-pad { padding-block: 76px; }
  .nav { min-height: 64px; gap: 12px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 25px; height: 25px; }
  .nav-actions { gap: 10px; }
  .nav-actions .button { display: none; }
  .hero { min-height: auto; padding-block: 62px 75px; }
  h1 { font-size: clamp(46px, 14vw, 62px); }
  h2 { font-size: clamp(38px, 12vw, 52px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .day-sheet::before { right: 25px; }
  .sheet-head { align-items: start; flex-direction: column; }
  .sheet-head, .patient-row, .care-thread { padding-inline: 18px; }
  .patient-row { grid-template-columns: 48px 1fr; }
  .row-state { display: none; }
  .workflow-line { grid-template-columns: 1fr; margin-top: 55px; border-top: 0; }
  .workflow-line li { grid-template-columns: 42px 1fr; padding: 25px 0; border-top: 1px solid var(--line); }
  .workflow-line li::before { display: none; }
  .security-details { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .security-details div:nth-child(odd), .security-details div:nth-child(even) { padding: 24px 0; border-right: 0; }
  .plan-table-wrap { margin-top: 42px; }
  .plan-table-wrap { overflow: visible; border-top: 0; }
  table { min-width: 0; }
  table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  table, table tbody, table tr, table td { display: block; width: 100%; }
  table tr { margin-bottom: 16px; padding: 18px; border: 1px solid var(--line); border-top: 3px solid var(--emerald); border-radius: 4px; background: var(--paper); box-shadow: var(--shadow); }
  table td, table td:first-child, table td:last-child { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); text-align: right; }
  table td::before { color: var(--ink-soft); font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; content: attr(data-label); }
  table td:first-child { font-size: 24px; text-align: left; }
  table td:last-child { padding-top: 16px; border-bottom: 0; }
  table td:last-child::before { display: none; }
  .table-plan-button { width: 100%; }
  .loading-row { padding: 0; border: 0; box-shadow: none; }
  .loading-row td { display: block; text-align: center; }
  .wizard-card { margin-inline: -5px; }
  .wizard-progress { padding-inline: 20px; }
  form { padding: 30px 20px 22px; }
  legend { font-size: 30px; }
  .slug-input { display: grid; }
  .slug-input input { border-radius: 2px 2px 0 0; }
  .slug-input > span { min-height: 40px; border-top: 0; border-left: 1px solid #beb8ad; border-radius: 0 0 2px 2px; }
  .plan-option { grid-template-columns: auto 1fr; }
  .plan-option-meta { grid-column: 2; text-align: left; }
  .review-list div { grid-template-columns: 95px 1fr; }
  .wizard-actions { flex-wrap: wrap; }
  .wizard-actions .button, .wizard-actions .button-secondary { flex: 1; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .footer-inner > a:last-child { justify-self: start; }
  .footer-links { flex-direction: column; justify-self: start; gap: 10px; }
  .workspace-login-row { grid-template-columns: 1fr; }
  .workspace-login-row input { border-right: 1px solid #beb8ad; }
  .workspace-login-row .button { margin-top: 10px; border-radius: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
