/* ==========================================================================
   ProcEaze — Responsive layer
   Breakpoints: 1440+ · 1260 · 1100 · 1023 (tablet) · 767 (mobile) · 480 · 380
   ========================================================================== */
/* 24 — Responsive -------------------------------------------------------- */
@media (min-width: 1440px) {
  :root { --container: 1340px; }
}
@media (max-width: 1240px) {
  .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 1180px) {
  .nego-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .nego-body .nego-col:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--border-soft); }
  .nego-body .nego-col:first-child > * { min-width: 0; }
  .nego-body.compact .nego-col:first-child { display: flex; grid-column: auto; border-bottom: 0; }
  .nego-body .nego-col:nth-child(2) { border-left: 0; }
  .nego-body.compact .nego-col:nth-child(2) { border-left: 1px solid var(--border-soft); }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 860px; }
  .float-card.fc-1 { left: 16px; bottom: -24px; }
  .float-card.fc-2 { right: 16px; }
  .bento-hero { grid-template-columns: minmax(0, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-even, .split-form, .spotlight, .spotlight.reverse, .role-panel, .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .spotlight.reverse .spotlight-copy { order: 0; }
  .spotlight-visual::before, .spotlight.reverse .spotlight-visual::before { inset: -16px -12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > *, .bento .span-3, .bento .span-4, .bento-hero { grid-column: span 1; grid-row: auto; }
  .bento-hero { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .engage-grid { grid-template-columns: minmax(0, 1fr); }
  .get-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .faq-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-toc, .legal-toc { position: static; }
  .faq-toc { display: none; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .trust-text { max-width: none; }
  .marquee { width: 100%; }
  .modal-dialog { grid-template-columns: minmax(0, 1fr); }
  .modal-aside { padding: 28px 28px 24px; }
  .modal-aside .feature-list, .modal-aside .aside-extra { display: none; }
  .lc-panel { grid-template-columns: auto minmax(0, 1fr); }
  .lc-panel-meta { grid-column: 1 / -1; align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; }
  .workflow { grid-template-columns: repeat(min(var(--steps, 5), 3), minmax(0, 1fr)); row-gap: 36px; }
  .wf-step:nth-child(3n)::after { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .chain-visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chain-node:nth-child(2)::after { display: none; }
}

/* Lifecycle — vertical below 900px */
@media (max-width: 900px) {
  .lc-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .lc-line { display: none; }
  .lc-track::before { content: ""; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 2px; border-radius: 2px; background: linear-gradient(var(--primary), var(--accent)); }
  .lc-step { justify-content: flex-start; }
  .lc-node { flex-direction: row; text-align: left; gap: 16px; padding: 8px 0; }
  .lc-node .lc-text { display: flex; flex-direction: column; gap: 2px; }
  .lc-mini-badge { position: static; margin-top: 4px; align-self: flex-start; }
  .lc-panels { margin-top: 24px; }
}
@media (min-width: 901px) {
  .lc-node .lc-text { display: contents; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: .98rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { padding: 20px 18px; }
  .stat-card .stat-value { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
  .stat-card .stat-label { font-size: .86rem; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .get-list, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefit { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .benefit:last-child { border-bottom: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy .btn-row .btn, .page-hero .btn-row .btn, .cta-band .btn-row .btn, .spotlight-copy .btn-row .btn { width: 100%; }
  .stat-pills { gap: 8px; }
  .stat-pill { font-size: .78rem; padding: 7px 12px 7px 9px; }
  .float-card.fc-2 { display: none; }
  .float-card.fc-1 { left: 12px; bottom: 44px; padding: 10px 14px 10px 10px; }
  .float-card.fc-1 strong { font-size: 1rem; }
  .m-app { grid-template-columns: minmax(0, 1fr); }
  .m-side { display: none; }
  .m-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-row, .m-row-even, .m-row-3 { grid-template-columns: minmax(0, 1fr); }
  .m-hide-sm { display: none !important; }
  .au-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .au-stat:nth-child(2) { border-right: 0; }
  .au-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .au-body { grid-template-columns: minmax(0, 1fr); }
  .au-col + .au-col { border-left: 0; border-top: 1px solid var(--border-soft); }
  .nego-body, .nego-body.compact { grid-template-columns: minmax(0, 1fr); }
  .nego-body .nego-col:first-child { display: flex; grid-column: auto; }
  .nego-col + .nego-col, .nego-body.compact .nego-col:nth-child(2) { border-left: 0; border-top: 1px solid var(--border-soft); }
  .workflow { grid-template-columns: minmax(0, 1fr); text-align: left; row-gap: 0; }
  .wf-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; text-align: left; padding: 0 0 24px; }
  .wf-step::after { top: 64px; bottom: 4px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 12px); }
  .wf-step:nth-child(3n)::after { display: block; }
  .wf-step:last-child::after { display: none; }
  .wf-icon { margin: 0; }
  .chain-visual { grid-template-columns: minmax(0, 1fr); }
  .chain-node::after { display: none; }
  .tenants { grid-template-columns: minmax(0, 1fr); }
  .hub { aspect-ratio: auto; display: grid; gap: 12px; }
  .hub svg.hub-lines { display: none; }
  .hub-center, .hub-node { position: static; transform: none; width: auto; }
  .hub-center { width: 140px; height: 140px; margin: 0 auto 8px; }
  .hub-node { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; text-align: left; align-items: center; gap: 10px; }
  .hub-node .icon { margin: 0; }
  .hub-node .badge { margin: 0; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; padding-top: 48px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-cta .btn { width: 100%; }
  .modal { padding: 0; align-items: end; }
  .modal-dialog { border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; }
  .modal-main { padding: 24px 18px 28px; }
  .modal-aside h2 { font-size: 1.4rem; padding-right: 40px; }
  .section-head { margin-bottom: 32px; }
  .lc-panel { padding: 22px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lc-panel .lc-panel-num { font-size: 2.2rem; }
  .compare th, .compare td { padding: 14px 16px; }
  .to-top { right: 14px; bottom: 14px; }
  .toast-region { right: 16px; bottom: 16px; }
  .trust-strip { padding: 26px 0; }
}
@media (max-width: 380px) {
  .arc-product .badge { display: none; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 34px; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); }
  .h-xl { font-size: 2.45rem; }
}

@media print {
  .site-header, .mobile-nav, .site-footer, .to-top, .toast-region, .modal, .cta-band { display: none !important; }
  .hero, .page-hero { color: #000; background: #fff; padding-top: 24px; }
  .hero h1, .page-hero h1 { color: #000; }
}

/* ==========================================================================
   Signature system — responsive
   ========================================================================== */
/* Sign In: text on wide screens, icon only on compact laptops */
.header-signin { display: inline-flex; align-items: center; gap: 6px; }
.header-signin .icon { display: none; width: 18px; height: 18px; }
/* Tablets and phones: the menu button replaces the full navigation */
@media (max-width: 1023px) {
  .main-nav, .header-signin { display: none; }
  .nav-toggle { display: grid; }
  .header-inner { justify-content: space-between; }
  .header-actions .btn { display: none; }
}
@media (min-width: 1024px) {
  .mobile-nav { display: none; }
}
/* Compact laptops (1024–1260px): the full navigation, tightened to fit */
@media (min-width: 1024px) and (max-width: 1260px) {
  .header-inner { gap: 12px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 34px; }
  .nav-link { padding: 0 9px; font-size: .84rem; }
  .header-actions { gap: 6px; }
  .header-signin { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .header-signin .icon { display: block; }
  .header-signin .hs-label { display: none; }
  .header-actions .btn { padding-inline: 14px; }
}
@media (min-width: 1261px) and (max-width: 1400px) {
  .nav-link { padding: 0 11px; font-size: .86rem; }
  .header-actions { gap: 12px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .header-actions .btn { display: inline-flex; }
}
@media (max-width: 1240px) {
  .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 760px; width: 100%; margin-inline: auto; }
  .tower-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tower-core { grid-column: 1 / -1; order: -1; }
  .tower-col:first-child .tv::after, .tower-col:last-child .tv::after { display: none; }
}
@media (max-width: 1023px) {
  .lc-panel-v2, .split-rev, .split-auction, .split-orbit, .split-trust, .how, .ind, .ind-panel, .es-body, .at-body { grid-template-columns: minmax(0, 1fr); }
  .split-rev > :first-child { order: 2; }
  .split-trust { gap: 56px; }
  .how-intro { position: static; }
  .ind-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .ind-tabs::-webkit-scrollbar { display: none; }
  .ind-tab { flex: none; white-space: nowrap; }
  .ind-tab .ind-arrow { display: none; }
  .ind-visual { border-right: 0; border-bottom: 1px solid var(--border-soft); }
  .arc-details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .role-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-detail { border-left: 0; border-top: 1px solid var(--border-soft); }
  .at-dark .at-detail { border-color: rgba(255, 255, 255, .08); }
  .kam-wrap { margin-inline: 0; }
  .hero-path { display: none; }
}
@media (max-width: 767px) {
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero-sub { font-size: .86rem; }
  /* Control plane: capsules stack under the panel */
  /* Stat capsules: one row of three under the panel, not two plus one */
  .control-plane { padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cp-panel { grid-column: 1 / -1; border-radius: 20px; }
  .capsule { position: static; animation: none; padding: 10px 8px; min-width: 0; text-align: center; align-items: center; }
  .capsule strong { font-size: .98rem; }
  .capsule > span { font-size: .54rem; letter-spacing: .08em; }
  .cp-head, .cp-foot { padding: 10px 12px; font-size: .56rem; }
  .cp-head { letter-spacing: .06em; }
  .cp-head span, .cp-foot span { white-space: nowrap; }
  /* Taller stage on phones so the status card sits clear of both rows of labels */
  .cp-stage-area { aspect-ratio: 600 / 580; }
  .cp-dot { width: 32px; height: 32px; border-radius: 10px; }
  .cp-dot svg { width: 15px; height: 15px; }
  .cp-label { font-size: .56rem; white-space: normal; text-align: center; line-height: 1.15; width: 62px; }
  .cp-node { gap: 4px; }
  .cp-status { width: 70%; padding: 8px 10px; border-radius: 12px; }
  .cp-stage { font-size: .76rem; margin-top: 4px; }
  .cp-progress { margin: 6px 0 4px; }
  .cp-status-top, .cp-meta { font-size: .56rem; }
  .seg button { padding: 0 12px; font-size: .84rem; }
  .lc-data { grid-template-columns: minmax(0, 1fr); }
  .arc-card { padding: 18px; }
  .arc-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-display { flex-wrap: wrap; }
  .ae { padding: 16px; }
  .ae-node { grid-template-columns: 36px minmax(0, 1fr); }
  .ae-node .m-chip { grid-column: 2; justify-self: start; }
  .ae-node + .ae-node::before { left: 29px; }
  .tower { padding: 12px; border-radius: 22px; }
  .tower-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tower-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tv { padding: 10px; }
  .tv-offer span { font-size: 1.15rem; }
  .tv-city { display: none; }
  .tower-brief { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tower-brief div:first-child { grid-column: 1 / -1; }
  .tower-thread { min-height: 220px; }
  /* Orbit becomes a selectable grid */
  .orbit { aspect-ratio: auto; }
  .orbit-rings, .orbit-ray { display: none; }
  .orbit-core { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: 20px; padding: 20px; margin-bottom: 14px; }
  .orbit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .orbit-list li { display: flex; }
  .orbit-item, .vault-item { position: static; transform: none; width: 100%; min-height: 58px; flex-direction: row; align-items: center; text-align: left; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #fff; border: 1px solid var(--border-soft); transition: border-color .25s, box-shadow .25s; }
  .orbit-item[aria-pressed="true"] { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(24, 74, 195, .12); }
  /* No pop-out scaling inside the compact cards */
  .orbit-item:hover .orbit-ico, .orbit-item[aria-pressed="true"] .orbit-ico { transform: none; box-shadow: none; }
  .vault .vault-item { background: rgba(255, 255, 255, .04); border-color: rgba(143, 176, 247, .2); }
  .orbit-ico { width: 38px; height: 38px; flex: none; }
  .orbit-ico .icon { width: 18px; height: 18px; }
  .es { padding: 16px; }
  .es-switch b { font-size: .78rem; letter-spacing: .1em; }
  .es-switch span { font-size: .68rem; }
  .es-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .es-token { font-size: .72rem; }
  .ind-copy { padding: 22px; }
  .role-grid { grid-template-columns: minmax(0, 1fr); }
  .how-steps { padding-left: 56px; }
  .how-num { left: -56px; width: 40px; height: 40px; }
  .how-line { left: 19px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cta .btn-row { width: 100%; }
  .footer-cta .btn-row .btn { width: 100%; }
}
@media (max-width: 480px) {
  /* Narrow phones: two columns of equal tiles, icon above the name */
  .orbit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orbit-item { flex-direction: column; justify-content: center; text-align: center; gap: 8px; min-height: 104px; padding: 12px 8px; }
  .tower-col { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .arc-product .badge { display: none; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 32px; }
  .cp-label { width: 54px; font-size: .52rem; }
  .cp-head { gap: 10px; padding-inline: 10px; font-size: .52rem; letter-spacing: .03em; }
  .cp-head .cp-title svg { display: none; }
  .cp-foot span:last-child { display: none; }
}
@media (max-width: 1023px) {
  .m-table td:not(.num), .m-table .m-ellipsis { white-space: normal; max-width: none; }
  .m-table .m-vendor, .m-table .strong { white-space: nowrap; }
}
/* Product mockup tables: fit inside their card on phones. Item names wrap
   instead of pushing the last column out, and secondary columns drop out. */
@media (max-width: 600px) {
  .m-table { font-size: 10px; }
  .m-table th { padding: 0 4px 6px; font-size: 8.5px; letter-spacing: .04em; white-space: normal; vertical-align: bottom; }
  .m-table .m-vendor { gap: 5px; white-space: nowrap; }
  .m-table .strong { white-space: nowrap; }
  .m-table td { padding: 6px 4px; }
  .m-table th:first-child, .m-table td:first-child { padding-left: 0; }
  .m-table th:last-child, .m-table td:last-child { padding-right: 0; }
  .m-table td:not(.num), .m-table .m-ellipsis { white-space: normal; max-width: none; }
  .m-table .hide-sm { display: none; }
}
/* Privacy Policy tables: each row becomes a labelled card on phones */
@media (max-width: 600px) {
  .policy-table { border: 0; overflow: visible; }
  .policy-table table { min-width: 0; }
  .policy-table thead { display: none; }
  .policy-table tr { display: block; margin-bottom: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
  .policy-table td { display: block; padding: 4px 0; border: 0; }
  .policy-table td::before { content: attr(data-label); display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); margin-bottom: 2px; }
  .policy-table td:first-child { font-size: 1rem; }
}
/* Category photo tiles */
@media (max-width: 1023px) {
  .cat-tile, .cat-tile.wide { grid-column: span 6; }
}
@media (max-width: 560px) {
  .cat-tiles { gap: 12px; }
  .cat-tile, .cat-tile.wide { grid-column: 1 / -1; }
  .cat-tile.wide .cat-tile-body strong { font-size: 1.2rem; }
  .cat-tile-go { opacity: 1; transform: none; width: 32px; height: 32px; }
}
/* Three-item benefit row stays one row on tablets instead of 2 + 1 */
@media (min-width: 768px) and (max-width: 1023px) {
  .benefits-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-3 .benefit:nth-child(n) { border-bottom: 0; }
  .benefits-3 .benefit:nth-child(2) { border-right: 1px solid var(--border-soft); }
}
/* Photography */
@media (max-width: 1023px) {
  .cat-tile.third { grid-column: span 6; }
  .cat-tile.third:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 1.2; }
}
@media (max-width: 767px) {
  .photo-float { position: relative; right: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
  .page-hero-visual:has(.photo-float) { padding-bottom: 0; }
  .photo-frame:has(.photo-float) { aspect-ratio: auto; background: none; box-shadow: none; }
  .photo-frame:has(.photo-float) > .photo { position: relative; display: block; aspect-ratio: 3 / 2; height: auto; box-shadow: var(--shadow-lg); }
  .ind-visual:has(.ind-photo) { min-height: 220px; }
}
@media (max-width: 560px) {
  .photo-band-stats { grid-template-columns: minmax(0, 1fr); }
  .photo-band-stats li + li { padding-left: 0; border-left: 0; padding-top: 22px; }
  .cat-tile.third, .cat-tile.third:last-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .photo-chip { left: 12px; bottom: 12px; padding: 9px 12px; font-size: .8rem; }
}
/* Fragmentation → intelligence */
@media (max-width: 1023px) {
  .chaos-head { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 767px) {
  /* Fragmentation stage becomes a list */
  .chaos { height: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
  .chaos-svg, .chaos-core-ring { display: none; }
  .chaos-chips { display: grid; gap: 10px; }
  .chaos-chip { position: static; width: auto; transform: rotate(calc(var(--rot) * .3)); animation: none !important; }
  .chaos.is-connected .chaos-chip { transform: none; }
  .chaos-core { position: static; display: none; width: auto; height: auto; flex-direction: row; gap: 14px; border-radius: 18px; padding: 14px 16px; transform: none; box-shadow: var(--shadow-md); }
  .chaos.is-connected .chaos-core { display: flex; transform: none; }
  .chaos-logo { width: 110px; }
  .chaos-core-label { margin-top: 0; }
}

/* Compact footer */
@media (max-width: 1023px) {
  .footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}

/* ==========================================================================
   Tablet + phone refinements
   ========================================================================== */
/* Process strips on tablets: 4 or 5 steps in one row, 6 steps as two rows of 3 */
@media (min-width: 768px) and (max-width: 1023px) {
  .workflow { grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); }
  .workflow .wf-step:nth-child(3n)::after { display: block; }
  .workflow .wf-step:last-child::after { display: none; }
  .workflow[data-steps="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow[data-steps="6"] .wf-step:nth-child(3n)::after { display: none; }
  .workflow[data-steps="5"] .wf-step { padding: 0 8px; }
  .workflow[data-steps="5"] .wf-step h4, .workflow[data-steps="5"] .wf-step .wf-title { font-size: .9rem; }
  .workflow[data-steps="5"] .wf-step p { font-size: .8rem; }
}
/* Comparison tables on phones: each row becomes a card, each cell labelled with its column */
@media (max-width: 767px) {
  .compare-wrap { overflow: visible; border: 0; box-shadow: none; background: transparent; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; min-width: 0; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tbody tr { border: 1px solid var(--border-soft); border-radius: var(--r-md, 14px); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
  .compare tbody th { width: auto; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border-soft); font-size: .95rem; }
  .compare td { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); font-size: .92rem; }
  .compare tr td:last-child { border-bottom: 0; }
  .compare td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
  .compare tr:last-child th { border-bottom: 1px solid var(--border-soft); }
}
/* Touch screens (phones and tablets, incl. landscape): comfortable tap targets
   (WCAG 2.2 target size; 32px+ for stacked links) */
@media (max-width: 1023px) {
  .footer-col ul { gap: 2px; }
  .footer-col a { display: inline-flex; align-items: center; min-height: 32px; }
  .footer-legal { gap: 0 18px; }
  .footer-legal a, .footer-signin { display: inline-flex; align-items: center; min-height: 32px; }
  .breadcrumbs a, .breadcrumbs li > span { display: inline-flex; align-items: center; min-height: 32px; }
  .link-arrow { min-height: 32px; }
  /* Contents lists (legal pages, blog posts, guides) */
  .legal-toc a, .prose ol > li > a:only-child, .prose ul > li > a:only-child, .toc a { display: inline-flex; align-items: center; min-height: 28px; }
  /* Any list of plain links, and a link standing alone on its own line */
  main li > a:only-child:not([class]), main li > span > a:only-child:not([class]), main p > a:only-child:not([class]) { display: inline-flex; align-items: center; min-height: 28px; }
  .consent { min-height: 28px; }
}
@media (max-width: 767px) {
  .badge { font-size: .6875rem; }
  /* 16px stops iOS Safari zooming the page when a form field is tapped */
  .input, .select, .textarea, .input-group .prefix { font-size: 16px; }
}
/* Safety net: decorative glows/offsets inside the page can never cause sideways scrolling.
   overflow-x: clip (not hidden) keeps sticky sidebars working. */
main { overflow-x: clip; }
/* Safari lets a <select>'s longest option widen the page; keep the text inside the control */
.select { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) {
  .orbit-k { font-size: 11px !important; }
}/* Carousel dots: same small dot, but a 24×24px tap area on touch screens (transparent border) */
@media (max-width: 1023px) {
  .mc-dots { gap: 0; }
  .mc-dot { box-sizing: content-box; width: 8px; height: 8px; border: 8px solid transparent; background-clip: padding-box; }
  .mc-dot[aria-current="true"] { width: 26px; }
}
@media (max-width: 640px) {
  .mc-dot { width: 6px; height: 6px; border-width: 9px; }
  .mc-dot[aria-current="true"] { width: 22px; }
}/* Narrow phones: dots on their own row, arrows centred beneath (keeps every tap area full size) */
@media (max-width: 420px) {
  .mc-controls { flex-wrap: wrap; row-gap: 4px; }
  .mc-controls .mc-dots { order: -1; flex: 0 0 100%; justify-content: center; }
}