/* © 2026 ABA System. All Rights Reserved. */
:root {
  --mk-ink: #16132b;
  --mk-copy: #4b4767;
  --mk-muted: #69647d;
  --mk-violet: #5b4ee0;
  --mk-violet-hover: #493ccb;
  --mk-lavender: #efecfe;
  --mk-soft: #f8f7fd;
  --mk-paper: #fff;
  --mk-line: #e4e0f3;
  --mk-green: #137a62;
  --mk-mint: #dff4ec;
  --mk-shadow: 0 20px 48px -30px rgba(36, 26, 105, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--mk-paper);
  color: var(--mk-ink);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(91, 78, 224, 0.16); }
a { color: var(--mk-violet); text-underline-offset: 3px; }
a:hover { color: var(--mk-violet-hover); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--mk-ink); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); line-height: 0.99; letter-spacing: -0.052em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.038em; }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.018em; }
p { margin: 0; text-wrap: pretty; }
section[id], h2[id], h3[id] { scroll-margin-top: 92px; }

.mk-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.mk-skip {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 10px;
  transform: translateY(-150%);
  background: var(--mk-ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease;
}
.mk-skip:focus { transform: translateY(0); }

.mk-nav { position: sticky; z-index: 40; top: 0; border-bottom: 1px solid var(--mk-line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.mk-nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mk-brand { min-height: 58px; display: inline-flex; flex: none; align-items: center; color: var(--mk-ink); text-decoration: none; }
.mk-brand-logo { width: 112px; height: auto; max-height: 66px; display: block; object-fit: contain; }
.mk-links { display: flex; align-items: center; gap: 18px; }
.mk-links > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--mk-copy); font-size: .92rem; font-weight: 650; text-decoration: none; }
.mk-links > a:hover, .mk-links > a[aria-current="page"] { color: var(--mk-violet); }
.mk-login { padding: 9px 17px; border-radius: 12px; background: var(--mk-violet); color: #fff !important; box-shadow: 0 12px 24px -16px rgba(91,78,224,.9); }
.mk-mobile-actions { display: none; align-items: center; gap: 8px; }
.mk-mobile-login { min-height: 46px; display: inline-flex; align-items: center; font-size: .9rem; font-weight: 750; text-decoration: none; }
.mk-mobile { display: none; position: relative; }
.mk-mobile summary { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--mk-line); border-radius: 12px; background: #fff; color: var(--mk-ink); cursor: pointer; list-style: none; font-size: 0; }
.mk-mobile summary::-webkit-details-marker { display: none; }
.mk-mobile summary::after { content: ""; width: 20px; height: 16px; background: linear-gradient(to bottom,var(--mk-ink) 0 2px,transparent 2px 7px,var(--mk-ink) 7px 9px,transparent 9px 14px,var(--mk-ink) 14px 16px); }
.mk-mobile[open] summary::after { background: linear-gradient(45deg,transparent 45%,var(--mk-ink) 45% 55%,transparent 55%),linear-gradient(-45deg,transparent 45%,var(--mk-ink) 45% 55%,transparent 55%); }
.mk-mobile-panel { position: absolute; right: 0; top: 54px; width: min(310px, calc(100vw - 48px)); display: grid; padding: 8px; border: 1px solid var(--mk-line); border-radius: 16px; background: #fff; box-shadow: var(--mk-shadow); }
.mk-mobile-panel a { padding: 11px 12px; border-radius: 9px; color: var(--mk-copy); font-weight: 650; text-decoration: none; }
.mk-mobile-panel a:hover { background: var(--mk-lavender); color: var(--mk-violet); }

.mk-breadcrumbs { padding-top: 26px; color: var(--mk-muted); font-size: .88rem; }
.mk-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mk-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #aaa4ba; }

.mk-hero { padding: 62px 0 78px; background: var(--mk-lavender); }
.mk-hero-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 64px; align-items: center; }
.mk-eyebrow { margin-bottom: 18px; color: var(--mk-violet); font-size: .78rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.mk-lead { max-width: 720px; margin-top: 24px; color: var(--mk-copy); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.mk-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.mk-button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; padding: 15px 24px; border: 2px solid transparent; border-radius: 13px; background: var(--mk-violet); color: #fff; font-weight: 780; text-decoration: none; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.mk-button:hover { transform: translateY(-1px); background: var(--mk-violet-hover); color: #fff; }
.mk-button-secondary { border-color: var(--mk-violet); background: transparent; color: var(--mk-violet); }
.mk-button-secondary:hover { background: #fff; color: var(--mk-violet-hover); }
.mk-aside { padding: 28px; border: 1px solid rgba(91,78,224,.17); border-radius: 24px; background: rgba(255,255,255,.7); box-shadow: var(--mk-shadow); }
.mk-aside-label { margin-bottom: 15px; color: var(--mk-violet); font-size: .78rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.mk-checks { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.mk-checks li { position: relative; padding-left: 30px; color: var(--mk-copy); }
.mk-checks li::before { content: "✓"; position: absolute; top: 1px; left: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: var(--mk-mint); color: var(--mk-green); font-size: .8rem; font-weight: 900; }

.mk-section { padding: 88px 0; }
.mk-section-soft { background: var(--mk-soft); }
.mk-intro { max-width: 730px; margin-top: 16px; color: var(--mk-copy); font-size: 1.1rem; }
.mk-answer { max-width: 820px; margin-top: 28px; padding: 24px 26px; border-left: 4px solid var(--mk-violet); border-radius: 0 18px 18px 0; background: var(--mk-soft); color: var(--mk-copy); }
.mk-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 42px; align-items: start; }
.mk-panel { padding: 30px; border-radius: 22px; background: var(--mk-lavender); }
.mk-panel h3 { margin-bottom: 12px; }
.mk-panel p { color: var(--mk-copy); }
.mk-text-list { display: grid; gap: 13px; margin: 22px 0 0; padding-left: 21px; color: var(--mk-copy); }
.mk-text-list li::marker { color: var(--mk-violet); }

.mk-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.mk-info-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-info-card { min-width: 0; padding: 26px; border: 1px solid var(--mk-line); border-radius: 20px; background: #fff; box-shadow: 0 14px 36px -34px rgba(36,26,105,.55); }
.mk-info-card h3 { margin-bottom: 10px; }
.mk-info-card p { color: var(--mk-copy); }
.mk-info-card p + p { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--mk-line); }
.mk-info-card strong { color: var(--mk-ink); }

.mk-timeline { display: grid; gap: 0; margin-top: 34px; counter-reset: mk-step; }
.mk-step { position: relative; padding: 0 0 34px 68px; counter-increment: mk-step; }
.mk-step::before { content: counter(mk-step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--mk-violet); color: #fff; font-weight: 850; }
.mk-step:not(:last-child)::after { content: ""; position: absolute; top: 49px; bottom: 7px; left: 20px; width: 2px; background: var(--mk-line); }
.mk-step h3 { margin-bottom: 7px; }
.mk-step p { max-width: 720px; color: var(--mk-copy); }

.mk-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; align-items: start; }
.mk-faq details { padding: 0 20px; border: 1px solid var(--mk-line); border-radius: 15px; background: #fff; }
.mk-faq details[open] { border-color: #cfc8f4; box-shadow: 0 12px 32px -28px rgba(30,20,90,.5); }
.mk-faq summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--mk-ink); font-weight: 750; cursor: pointer; list-style: none; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--mk-lavender); color: var(--mk-violet); font-size: 1.2rem; }
.mk-faq details[open] summary::after { content: "−"; }
.mk-faq details p { padding: 0 36px 20px 0; color: var(--mk-copy); font-size: .96rem; }

.mk-cta { padding: 58px 0; background: var(--mk-lavender); }
.mk-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.mk-cta-copy { max-width: 680px; }
.mk-cta-copy p { margin-top: 12px; color: var(--mk-copy); }

.mk-resource-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 30px; }
.mk-resource-link { min-width: 0; min-height: 100%; display: block; padding: 22px; border: 1px solid var(--mk-line); border-radius: 18px; background: #fff; color: var(--mk-ink); text-decoration: none; white-space: normal; overflow-wrap: anywhere; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.mk-resource-link:hover { transform: translateY(-2px); border-color: #c8c0f4; color: var(--mk-ink); box-shadow: var(--mk-shadow); }
.mk-resource-link strong { display: block; margin-bottom: 6px; font-size: 1.05rem; }
.mk-resource-link span { color: var(--mk-copy); font-size: .94rem; }

.mk-footer { padding: 44px 0; border-top: 1px solid var(--mk-line); color: var(--mk-muted); font-size: .91rem; }
.mk-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 36px; }
.mk-footer strong { display: block; margin-bottom: 10px; color: var(--mk-ink); }
.mk-footer-links { display: grid; gap: 7px; }
.mk-footer a { color: var(--mk-copy); text-decoration: none; }
.mk-footer a:hover { color: var(--mk-violet); }

.mk-button:focus-visible, .mk-nav a:focus-visible, .mk-mobile summary:focus-visible, .mk-resource-link:focus-visible, .mk-faq summary:focus-visible, .mk-footer a:focus-visible {
  outline: 3px solid rgba(91,78,224,.5);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .mk-links { display: none; }
  .mk-mobile-actions { display: flex; }
  .mk-mobile { display: block; }
  .mk-hero-grid, .mk-split { grid-template-columns: 1fr; }
  .mk-hero-grid { gap: 34px; }
  .mk-faq { grid-template-columns: 1fr; }
  .mk-resource-links { grid-template-columns: 1fr; }
  .mk-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-footer-grid { grid-template-columns: 1fr 1fr; }
  .mk-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .mk-wrap { width: min(100% - 40px, 1180px); }
  .mk-nav-inner { min-height: 70px; gap: 12px; }
  .mk-brand { min-height: 50px; }
  .mk-brand-logo { width: 96px; max-height: 56px; }
  .mk-mobile-login { min-height: 44px; padding: 8px 13px; }
  .mk-mobile summary { width: 44px; height: 44px; }
  .mk-hero { padding: 42px 0 58px; }
  .mk-section { padding: 64px 0; }
  .mk-actions { display: grid; }
  .mk-button { width: 100%; }
  .mk-aside, .mk-panel { padding: 24px 20px; }
  .mk-info-grid, .mk-info-grid-two { grid-template-columns: 1fr; }
  .mk-info-card { padding: 22px 20px; }
  .mk-cta-inner { display: grid; }
  .mk-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .mk-footer-grid > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mk-skip, .mk-button, .mk-resource-link { transition: none; }
  .mk-button:hover, .mk-resource-link:hover { transform: none; }
}
