/* ==========================================================================
 * How to Order 页面样式（CARSPARE / public storefront）
 *
 * 入口：views/storefront/how-to-order.php；仅由 StorefrontController::howToOrder() 加载。
 * 依赖：apex-vi.css 的 --apx-* 令牌与 storefront.css 的 .sf-container / .sf-kicker / .apx-btn。
 * 结构：Hero + order console → entry routes + account check → six-step route
 *       → status decoder → FAQ → final CTA。
 * 约定：
 *   1. 只做公开 B2B 下单说明，不新增支付、订单或物流控件；
 *   2. 不新增品牌色、字体或状态色，颜色、圆角、阴影、间距全部走 APEX 令牌；
 *   3. 深色控制台与 CTA 使用 Forest 300 作为小标题，保证 on-dark 对比度；
 *   4. 页面不产生横向溢出；991px 以下双栏改单列，767px 以下路线条逐级堆叠；
 *   5. prefers-reduced-motion 下关闭过渡。
 * ========================================================================== */

.howto-page {
  overflow: clip;
  background: var(--apx-white);
}

.howto-page h1,
.howto-page h2,
.howto-page h3,
.howto-page h4,
.howto-page p {
  margin: 0;
}

.howto-page :focus-visible {
  outline: 2px solid var(--apx-forest-600);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
 * Hero：工程纸底 + 右侧六段 ORDER ROUTE 控制台
 * ------------------------------------------------------------------------ */

.howto-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(54px, 6vw, 86px) clamp(52px, 5.5vw, 80px);
  border-bottom: 1px solid var(--apx-line);
  background:
    radial-gradient(circle at 93% 8%, color-mix(in srgb, var(--apx-forest-100) 70%, transparent), transparent 32%),
    radial-gradient(circle at 6% 92%, color-mix(in srgb, var(--apx-surface-cool) 82%, transparent), transparent 34%),
    linear-gradient(180deg, var(--apx-surface) 0, var(--apx-white) 76%);
}

.howto-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(11, 28, 48, 0.075) 1px, transparent 1px),
    linear-gradient(to right, rgba(27, 36, 44, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 36, 44, 0.025) 1px, transparent 1px);
  background-position: -1px -1px, 0 0, 0 0;
  background-size: 24px 24px, 96px 96px, 96px 96px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.85) 58%, rgba(0, 0, 0, 0.32) 100%);
}

.howto-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  align-items: center;
  gap: clamp(40px, 5vw, 76px);
}

.howto-hero__copy {
  min-width: 0;
}

.howto-hero h1 {
  margin-top: 12px;
  color: var(--apx-ink);
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.01;
}

.howto-hero h1 span {
  color: var(--apx-forest-700);
}

.howto-hero__lead {
  max-width: 730px;
  margin-top: 24px;
  color: var(--apx-slate-700);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.68;
}

.howto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.howto-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--apx-line);
}

.howto-hero__facts > div {
  min-width: 0;
  padding-inline: 18px;
  border-left: 1px solid var(--apx-line);
}

.howto-hero__facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.howto-hero__facts dt {
  color: var(--apx-forest-700);
  font-family: var(--apx-font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.howto-hero__facts dd {
  margin-top: 5px;
  color: var(--apx-slate-600);
  font-size: 11px;
  line-height: 1.5;
}

/* ORDER ROUTE console：静态路线预览，不是实时订单或物流状态。 */

.howto-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--apx-charcoal-800);
  border-radius: var(--apx-radius-overlay);
  background: var(--apx-charcoal-950);
  box-shadow: var(--apx-shadow-3);
  color: var(--apx-white);
}

.howto-console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--apx-forest-300);
  font-family: var(--apx-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.howto-console__bar span:last-child {
  color: var(--apx-slate-300);
}

.howto-console__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-console__list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.howto-console__num {
  color: var(--apx-forest-300);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.howto-console__copy {
  min-width: 0;
}

.howto-console__copy strong {
  display: block;
  color: var(--apx-white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.howto-console__copy small {
  display: block;
  margin-top: 2px;
  color: var(--apx-slate-300);
  font-size: 9px;
  line-height: 1.4;
}

.howto-console__owner {
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--apx-radius-pill);
  color: var(--apx-on-dark);
  font-family: var(--apx-font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.howto-console__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--apx-slate-300);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.howto-console__foot span:first-child {
  color: var(--apx-forest-300);
}

/* --------------------------------------------------------------------------
 * 通用区块标题
 * ------------------------------------------------------------------------ */

.howto-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.howto-section-head h2 {
  margin-top: 8px;
  color: var(--apx-ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.howto-section-head > p {
  max-width: 590px;
  color: var(--apx-slate-600);
  font-size: 13px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
 * 入口路由 + 账号检查
 * ------------------------------------------------------------------------ */

.howto-start {
  padding-block: clamp(54px, 6vw, 84px) clamp(64px, 7vw, 96px);
  background: var(--apx-canvas);
}

.howto-start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.howto-route-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-card);
  background: var(--apx-white);
  transition:
    border-color var(--apx-duration-fast) var(--apx-ease-standard),
    box-shadow var(--apx-duration-fast) var(--apx-ease-standard);
}

.howto-route-card:hover {
  border-color: var(--apx-slate-300);
  box-shadow: var(--apx-shadow-2);
}

.howto-route-card__index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--apx-slate-400);
  font-size: 10px;
}

.howto-route-card__icon {
  display: inline-flex;
  color: var(--apx-forest-700);
}

.howto-route-card__icon svg {
  width: 25px;
  height: 25px;
}

.howto-route-card h3 {
  margin-top: 18px;
  color: var(--apx-ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.howto-route-card p {
  flex: 1;
  margin-top: 8px;
  color: var(--apx-slate-600);
  font-size: 12px;
  line-height: 1.65;
}

.howto-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--apx-forest-700);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.howto-text-link:hover {
  color: var(--apx-forest-800);
}

.howto-text-link svg {
  width: 14px;
  height: 14px;
}

/* 账号检查：深色结构面只承载条件与三步准备，不放表单。 */

.howto-account {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1.24fr);
  gap: clamp(28px, 4vw, 54px);
  margin-top: 16px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--apx-charcoal-800);
  border-radius: var(--apx-radius-overlay);
  background: var(--apx-charcoal-950);
  box-shadow: var(--apx-shadow-2);
  color: var(--apx-white);
}

.howto-account__kicker {
  color: var(--apx-forest-300);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.howto-account__copy h3 {
  max-width: 480px;
  margin-top: 9px;
  color: var(--apx-white);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.howto-account__copy p {
  margin-top: 10px;
  color: var(--apx-on-dark-muted);
  font-size: 11px;
  line-height: 1.65;
}

.howto-account__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.howto-account__signin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--apx-white);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.howto-account__signin:hover {
  color: var(--apx-forest-200);
}

.howto-account__signin svg {
  width: 14px;
  height: 14px;
}

.howto-account :focus-visible {
  outline-color: var(--apx-forest-300);
}

.howto-account__steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-account__steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.howto-account__steps li:first-child {
  border-top: 0;
}

.howto-account__steps > li > span {
  color: var(--apx-forest-300);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.howto-account__steps strong {
  display: block;
  color: var(--apx-white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.howto-account__steps small {
  display: block;
  margin-top: 3px;
  color: var(--apx-slate-300);
  font-size: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
 * 六步路线
 * ------------------------------------------------------------------------ */

.howto-flow {
  padding-block: clamp(64px, 7vw, 100px);
  border-top: 1px solid var(--apx-line);
  background: var(--apx-white);
}

.howto-map {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-card);
  background: var(--apx-white);
  list-style: none;
}

.howto-map li {
  min-width: 0;
  border-right: 1px solid var(--apx-line);
}

.howto-map li:last-child {
  border-right: 0;
}

.howto-map a {
  display: grid;
  height: 100%;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 14px 12px;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--apx-duration-fast) var(--apx-ease-standard);
}

.howto-map a:hover {
  background: var(--apx-forest-050);
}

.howto-map__num {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: var(--apx-radius-pill);
  background: var(--apx-forest-050);
  color: var(--apx-forest-700);
  font-size: 9px;
  font-weight: 700;
}

.howto-map strong,
.howto-map small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.howto-map strong {
  color: var(--apx-ink);
  font-size: 10px;
  line-height: 1.3;
}

.howto-map small {
  margin-top: 2px;
  color: var(--apx-slate-500);
  font-size: 9px;
  line-height: 1.35;
}

.howto-map__owner {
  grid-column: 2;
  margin-top: 5px;
  color: var(--apx-forest-700);
  font-family: var(--apx-font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.howto-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  scroll-margin-top: 170px;
}

.howto-step:not(:last-child) {
  padding-bottom: 18px;
}

.howto-step__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.howto-step__num {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--apx-forest-100);
  border-radius: var(--apx-radius-pill);
  background: var(--apx-forest-050);
  color: var(--apx-forest-700);
  font-size: 10px;
  font-weight: 700;
}

.howto-step__line {
  width: 1px;
  flex: 1;
  margin-top: 8px;
  margin-bottom: -18px;
  background: var(--apx-line);
}

.howto-step:last-child .howto-step__line {
  display: none;
}

.howto-step__card {
  min-width: 0;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-card);
  background: var(--apx-white);
}

.howto-step__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.howto-step__eyebrow {
  color: var(--apx-forest-700);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.howto-step h3 {
  margin-top: 7px;
  color: var(--apx-ink);
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.howto-owner {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-pill);
  font-family: var(--apx-font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.howto-owner--you {
  border-color: var(--apx-forest-100);
  background: var(--apx-forest-050);
  color: var(--apx-forest-700);
}

.howto-owner--brand {
  border-color: var(--apx-slate-300);
  background: var(--apx-surface-sunken);
  color: var(--apx-slate-700);
}

.howto-owner--both {
  border-color: var(--apx-line);
  background: var(--apx-white);
  color: var(--apx-slate-600);
}

.howto-step__lead {
  max-width: 820px;
  margin-top: 12px;
  color: var(--apx-slate-600);
  font-size: 13px;
  line-height: 1.7;
}

.howto-step__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  gap: clamp(24px, 3vw, 42px);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--apx-line);
}

.howto-step__main {
  min-width: 0;
}

.howto-step h4 {
  color: var(--apx-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.howto-step h4:not(:first-child) {
  margin-top: 20px;
}

.howto-checks {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.howto-checks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  color: var(--apx-slate-700);
  font-size: 12px;
  line-height: 1.55;
}

.howto-checks svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--apx-forest-700);
}

.howto-chips,
.howto-status-set {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.howto-chips span,
.howto-status {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 8px;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-control);
  background: var(--apx-surface-sunken);
  color: var(--apx-slate-700);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.howto-status--done {
  border-color: var(--apx-forest-100);
  background: var(--apx-forest-050);
  color: var(--apx-forest-700);
}

.howto-status--warn {
  border-color: var(--apx-warning-line);
  background: var(--apx-warning-bg);
  color: var(--apx-warning-fg);
}

.howto-step__aside {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-card);
  background: var(--apx-surface);
}

.howto-aside__label {
  color: var(--apx-forest-700);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.howto-step__aside > strong {
  display: block;
  margin-top: 7px;
  color: var(--apx-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.howto-step__aside > p {
  margin-top: 7px;
  color: var(--apx-slate-600);
  font-size: 11px;
  line-height: 1.6;
}

.howto-step__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--apx-line);
}

.howto-step__links a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--apx-forest-700);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.howto-step__links a:hover {
  color: var(--apx-forest-800);
}

.howto-step__links svg {
  width: 13px;
  height: 13px;
}

.howto-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 12px;
  border-radius: var(--apx-radius-control);
  background: var(--apx-surface-sunken);
  color: var(--apx-slate-600);
  font-size: 11px;
  line-height: 1.6;
}

.howto-note svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--apx-forest-700);
}

.howto-note--important {
  border: 1px solid var(--apx-forest-100);
  background: var(--apx-forest-050);
  color: var(--apx-forest-800);
}

/* --------------------------------------------------------------------------
 * 状态解码
 * ------------------------------------------------------------------------ */

.howto-statuses {
  padding-block: clamp(64px, 7vw, 96px);
  border-top: 1px solid var(--apx-line);
  background: var(--apx-surface);
}

.howto-statuses__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.howto-status-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--apx-line);
  border-radius: var(--apx-radius-card);
  background: var(--apx-white);
}

.howto-status-card__icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: var(--apx-radius-control);
  background: var(--apx-forest-050);
  color: var(--apx-forest-700);
}

.howto-status-card__icon svg {
  width: 18px;
  height: 18px;
}

.howto-status-card h3 {
  margin-top: 16px;
  color: var(--apx-ink);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.howto-status-card p {
  margin-top: 7px;
  color: var(--apx-slate-600);
  font-size: 11px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------------------ */

.howto-faq {
  padding-block: clamp(64px, 7vw, 96px);
  border-top: 1px solid var(--apx-line);
  background: var(--apx-white);
}

.howto-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 5vw, 76px);
}

.howto-faq__intro h2 {
  margin-top: 8px;
  color: var(--apx-ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.howto-faq__intro p {
  max-width: 420px;
  margin-top: 12px;
  color: var(--apx-slate-600);
  font-size: 12px;
  line-height: 1.7;
}

.howto-faq__list details {
  border-top: 1px solid var(--apx-line);
}

.howto-faq__list details:last-child {
  border-bottom: 1px solid var(--apx-line);
}

.howto-faq__list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  color: var(--apx-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.howto-faq__list summary::-webkit-details-marker {
  display: none;
}

.howto-faq__list summary::after {
  flex: 0 0 auto;
  color: var(--apx-forest-700);
  font-family: var(--apx-font-mono);
  font-size: 16px;
  line-height: 1;
  content: "+";
}

.howto-faq__list details[open] summary::after {
  content: "−";
}

.howto-faq__list p {
  max-width: 62ch;
  padding-bottom: 16px;
  color: var(--apx-slate-600);
  font-size: 12px;
  line-height: 1.7;
}

.howto-faq__list a {
  color: var(--apx-forest-700);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
 * 最终 CTA
 * ------------------------------------------------------------------------ */

.howto-cta {
  padding-block: clamp(56px, 6vw, 88px);
  background: var(--apx-canvas);
}

.howto-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.48fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--apx-radius-overlay);
  background: var(--apx-charcoal-950);
  box-shadow: var(--apx-shadow-2);
  color: var(--apx-white);
}

.howto-cta__kicker {
  color: var(--apx-forest-300);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.howto-cta h2 {
  margin-top: 8px;
  color: var(--apx-white);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.howto-cta__copy p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--apx-on-dark-muted);
  font-size: 12px;
  line-height: 1.65;
}

.howto-cta__actions {
  display: grid;
  gap: 9px;
}

.howto-cta__outline {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--apx-white) 32%, transparent);
  border-radius: var(--apx-radius-action);
  color: var(--apx-white);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.howto-cta__outline:hover {
  background: color-mix(in srgb, var(--apx-white) 10%, transparent);
}

.howto-cta__outline svg {
  width: 15px;
  height: 15px;
}

.howto-cta__panel :focus-visible {
  outline-color: var(--apx-forest-300);
}

.howto-cta__meta {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.howto-cta__meta a {
  color: var(--apx-slate-300);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
}

.howto-cta__meta a:hover {
  color: var(--apx-white);
}

/* --------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------ */

@media (max-width: 1199px) {
  .howto-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  }

  .howto-start__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto-route-card:last-child {
    grid-column: 1 / -1;
  }

  .howto-map {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .howto-map li:nth-child(3) {
    border-right: 0;
  }

  .howto-map li:nth-child(-n+3) {
    border-bottom: 1px solid var(--apx-line);
  }

  .howto-statuses__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .howto-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .howto-console {
    max-width: 720px;
  }

  .howto-account {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-step__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-faq__intro p {
    max-width: 620px;
  }
}

@media (max-width: 767px) {
  .howto-hero {
    padding-block: 44px 48px;
  }

  .howto-hero h1 {
    font-size: clamp(37px, 10vw, 50px);
  }

  .howto-hero__actions {
    display: grid;
  }

  .howto-hero__actions .apx-btn {
    width: 100%;
  }

  .howto-hero__facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .howto-hero__facts > div,
  .howto-hero__facts > div:first-child {
    padding: 10px 0;
    border-top: 1px solid var(--apx-line);
    border-left: 0;
  }

  .howto-hero__facts > div:first-child {
    border-top: 0;
  }

  .howto-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .howto-start__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-route-card:last-child {
    grid-column: auto;
  }

  .howto-route-card {
    padding: 20px;
  }

  .howto-account {
    padding: 22px;
  }

  .howto-account__actions {
    display: grid;
  }

  .howto-account__actions .apx-btn {
    width: 100%;
  }

  .howto-map {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-map li,
  .howto-map li:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid var(--apx-line);
  }

  .howto-map li:last-child {
    border-bottom: 0;
  }

  .howto-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .howto-step__num {
    width: 30px;
    height: 30px;
    font-size: 9px;
  }

  .howto-step__head {
    flex-direction: column;
    gap: 10px;
  }

  .howto-step__card {
    padding: 18px;
  }

  .howto-statuses__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-cta__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-cta__actions {
    width: 100%;
  }

  .howto-cta__actions .apx-btn,
  .howto-cta__outline {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .howto-page .sf-container {
    width: min(var(--apx-container), calc(100% - 32px));
  }

  .howto-hero h1 {
    font-size: clamp(34px, 10.5vw, 42px);
  }

  .howto-console__bar,
  .howto-console__foot {
    font-size: 8px;
  }

  .howto-console__list li {
    padding: 11px 14px;
  }

  .howto-step {
    grid-template-columns: minmax(0, 1fr);
  }

  .howto-step__rail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .howto-route-card,
  .howto-map a {
    transition: none;
  }
}
