:root {
  --purple: #a25df8;
  --purple-dark: #5f3792;
  --purple-deep: #3d235f;
  --purple-light: #ecdffe;
  --purple-pale: #f7f1ff;
  --ink: #080f17;
  --ink-soft: #1f2a37;
  --text: #5d6470;
  --muted: #7b8290;
  --line: #e6e3eb;
  --surface: #f8fafc;
  --white: #fff;
  --success: #24775b;
  --shadow: 0 24px 70px rgba(59, 35, 91, 0.12);
  --radius: 24px;
  --radius-small: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.wide-container { width: min(calc(100% - 40px), 1320px); }
.section { padding: 110px 0; scroll-margin-top: 84px; }
.soft-section { background: var(--surface); }

.eyebrow {
  margin: 0 0 12px;
  color: var(--purple-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; letter-spacing: -.035em; line-height: 1.13; }
h1 { margin-bottom: 28px; font-size: clamp(2.9rem, 6.2vw, 5.7rem); max-width: 930px; }
h2 { margin-bottom: 22px; font-size: clamp(2.15rem, 4.4vw, 4rem); }
h3 { font-size: 1.35rem; }
p { color: var(--text); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(230, 227, 235, .8);
  backdrop-filter: blur(18px);
}
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 11px;
  font-weight: 800;
}
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: .94rem; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .66rem; }
.main-nav { display: flex; margin-left: auto; align-items: center; gap: 24px; }
.main-nav a, .nav-action {
  padding: 6px 0;
  color: var(--ink-soft);
  background: none;
  border: 0;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.main-nav a:hover, .nav-action:hover { color: var(--purple-dark); }
.share-button, .menu-button {
  padding: 10px 16px;
  color: var(--purple-dark);
  background: var(--purple-pale);
  border: 1px solid var(--purple-light);
  border-radius: 9px;
  font-size: .85rem;
  font-weight: 750;
  cursor: pointer;
}
.menu-button { display: none; margin-left: auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 82px;
  background: linear-gradient(135deg, #f4ebff 0%, var(--purple-light) 58%, #f8f3ff 100%);
}
.hero::before {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -280px;
  left: 42%;
  background: rgba(255, 255, 255, .38);
  border-radius: 50%;
  content: "";
}
.hero-dots {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -40px;
  top: 42px;
  opacity: .23;
  background-image: radial-gradient(var(--purple-dark) 2px, transparent 2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 42%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, .7fr); gap: 70px; align-items: center; }
.hero-lead { max-width: 780px; margin: 0; color: #394252; font-size: 1.18rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: linear-gradient(90deg, #8243cf, var(--purple-dark)); box-shadow: 0 12px 28px rgba(121, 71, 186, .25); }
.button.primary:hover { box-shadow: 0 16px 36px rgba(121, 71, 186, .32); }
.button.secondary { color: var(--purple-dark); background: rgba(255, 255, 255, .67); border-color: rgba(121, 71, 186, .25); }
.hero-stats { display: flex; gap: 34px; margin: 44px 0 0; }
.hero-stats div { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; }
.hero-stats dt { font-size: 1.7rem; font-weight: 850; }
.hero-stats dd { max-width: 105px; margin: 0; color: #5d5367; font-size: .72rem; line-height: 1.25; }
.hero-panel { padding: 30px; background: rgba(255, 255, 255, .74); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-kicker { margin: 0 0 22px; color: var(--purple-dark); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.premise-list { display: grid; margin: 0; padding: 0; gap: 0; list-style: none; }
.premise-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.premise-list li:first-child { padding-top: 0; border-top: 0; }
.premise-list li > span { color: var(--purple); font-size: .75rem; font-weight: 850; }
.premise-list strong { display: block; margin-bottom: 5px; line-height: 1.35; }
.premise-list p { margin: 0; font-size: .83rem; line-height: 1.55; }
.status-strip { padding: 13px 0; color: #4e405d; background: #faf6ff; border-block: 1px solid #eadbfa; font-size: .82rem; text-align: center; }

.section-heading { max-width: 900px; margin-bottom: 48px; }
.section-heading.narrow { max-width: 980px; }
.section-heading > p:last-child { max-width: 760px; margin-bottom: 0; font-size: 1.05rem; }
.shift-grid { display: grid; grid-template-columns: 1fr 145px 1fr; gap: 24px; align-items: center; }
.shift-card { min-height: 330px; padding: 34px; border-radius: var(--radius); }
.shift-card h3 { margin: 10px 0 26px; font-size: 2rem; }
.shift-card ul { display: grid; margin: 0; padding: 0; gap: 13px; list-style: none; }
.shift-card li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.shift-card li::before { position: absolute; left: 0; color: var(--purple); content: "●"; font-size: .52rem; top: .55rem; }
.muted-card { background: var(--surface); border: 1px solid var(--line); }
.accent-card { background: var(--purple-light); border: 1px solid #ddc5f8; }
.card-label, .mini-label { color: var(--purple-dark); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.shift-arrow { color: var(--muted); text-align: center; }
.shift-arrow span { display: block; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.shift-arrow b { display: block; color: var(--purple); font-size: 3.5rem; font-weight: 300; }
.knowledge-callout { display: grid; grid-template-columns: 86px 1fr; gap: 30px; margin-top: 70px; padding: 40px; background: var(--ink); border-radius: var(--radius); }
.callout-mark { display: grid; width: 74px; height: 74px; place-items: center; color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-radius: 20px; font-size: 2rem; font-weight: 850; }
.knowledge-callout h3 { max-width: 950px; margin-bottom: 16px; color: #fff; font-size: clamp(1.45rem, 2.4vw, 2.25rem); line-height: 1.3; }
.knowledge-callout p:last-child { max-width: 900px; margin-bottom: 0; color: #c4c9d0; }
.knowledge-callout .eyebrow { color: #d9bcff; }

.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.route-card { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 42px rgba(8, 15, 23, .05); }
.route-card-primary { color: #fff; background: linear-gradient(140deg, #8243cf, var(--purple-dark)); border: 0; }
.route-number { display: inline-block; margin-bottom: 50px; font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.route-card h3 { margin-bottom: 16px; font-size: 2rem; }
.route-card p { min-height: 106px; }
.route-card-primary p { color: rgba(255, 255, 255, .78); }
.route-card a { display: inline-flex; gap: 8px; color: var(--purple-dark); font-weight: 800; text-decoration: none; }
.route-card-primary a { color: #fff; }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 60px 0 0; padding: 0; gap: 0; list-style: none; }
.method-steps li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding-right: 28px; }
.method-steps li:not(:last-child)::after { position: absolute; top: 20px; right: 10px; width: 25px; height: 1px; background: #cfc8d7; content: ""; }
.method-steps span { display: grid; width: 40px; height: 40px; place-items: center; color: var(--purple-dark); background: var(--purple-light); border-radius: 50%; font-weight: 850; }
.method-steps strong { font-size: .9rem; }
.method-steps p { margin: 3px 0 0; font-size: .78rem; line-height: 1.5; }

.comparison-section { background: #fff; }
.comparison-heading { display: flex; max-width: none; justify-content: space-between; gap: 30px; align-items: flex-end; }
.comparison-heading > div:first-child { max-width: 850px; }
.phase-toggle { display: inline-flex; flex-shrink: 0; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }
.phase-toggle button { padding: 9px 13px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: .78rem; font-weight: 750; cursor: pointer; }
.phase-toggle button.active { color: #fff; background: var(--ink); }
.domain-picker { display: flex; margin: 0 -2px 28px; padding: 2px 2px 14px; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.domain-picker button { flex: 0 0 auto; padding: 10px 15px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 700; cursor: pointer; }
.domain-picker button:hover { border-color: #cdb4ec; }
.domain-picker button.active { color: #fff; background: var(--purple-dark); border-color: var(--purple-dark); }
.comparison-intro { display: flex; margin-bottom: 22px; align-items: center; justify-content: space-between; gap: 20px; }
.domain-identity { display: flex; align-items: center; gap: 15px; }
.domain-identity > span { display: grid; min-width: 50px; height: 50px; padding: 0 8px; place-items: center; color: var(--purple-dark); background: var(--purple-light); border-radius: 13px; font-weight: 850; }
.domain-identity p { margin: 0; font-size: .75rem; }
.domain-identity h3 { margin: 2px 0; font-size: 1.45rem; }
.text-link { color: var(--purple-dark); font-size: .82rem; font-weight: 800; text-underline-offset: 3px; }
.compare-grid { display: grid; grid-template-columns: 1fr .82fr 1.25fr; gap: 14px; align-items: start; }
.compare-column { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.column-heading { min-height: 154px; padding: 25px; border-bottom: 1px solid var(--line); }
.column-heading > span { color: var(--purple-dark); font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.column-heading h3 { margin: 8px 0 7px; font-size: 1.8rem; }
.column-heading p { margin: 0; font-size: .8rem; line-height: 1.5; }
.current-column { background: #fbfcfd; }
.change-column { background: var(--purple-pale); border-color: #e4d2f8; }
.revised-column { border-color: #d6b5fa; box-shadow: 0 18px 50px rgba(95, 55, 146, .09); }
.revised-column .column-heading { background: var(--purple-light); }
.goal-list { display: grid; margin: 0; padding: 20px; gap: 9px; list-style: none; counter-reset: goals; }
.goal-list li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; color: var(--ink-soft); font-size: .82rem; line-height: 1.45; }
.goal-number { display: grid; width: 32px; height: 32px; place-items: center; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .68rem; font-weight: 800; }
.column-footer { padding: 18px 20px; border-top: 1px solid var(--line); }
.column-footer a { color: var(--purple-dark); font-size: .78rem; font-weight: 750; }
.change-tabs { display: flex; margin: 20px 20px 8px; padding: 3px; background: rgba(255, 255, 255, .68); border: 1px solid #e7d9f6; border-radius: 9px; }
.change-tabs button { flex: 1; padding: 7px 6px; color: var(--muted); background: transparent; border: 0; border-radius: 7px; font-size: .7rem; font-weight: 800; cursor: pointer; }
.change-tabs button.active { color: var(--purple-dark); background: #fff; box-shadow: 0 4px 12px rgba(58, 33, 88, .08); }
.change-list { display: grid; margin: 0; padding: 16px 22px 18px 40px; gap: 13px; }
.change-list li { padding-left: 3px; color: var(--ink-soft); font-size: .8rem; line-height: 1.5; }
.migration-note { margin: 0 20px 20px; padding: 15px; background: rgba(255, 255, 255, .65); border: 1px solid #e7d9f6; border-radius: 10px; }
.migration-note span, .migration-note strong { display: block; }
.migration-note span { margin-bottom: 3px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.migration-note strong { font-size: .78rem; line-height: 1.45; }
.goal-details { padding: 12px; }
.goal-details details { border-bottom: 1px solid var(--line); }
.goal-details details:last-child { border-bottom: 0; }
.goal-details summary { display: grid; grid-template-columns: 38px 1fr 20px; gap: 10px; padding: 15px 8px; align-items: start; cursor: pointer; list-style: none; }
.goal-details summary::-webkit-details-marker { display: none; }
.goal-details summary::after { color: var(--purple-dark); content: "+"; font-size: 1.2rem; line-height: 1; }
.goal-details details[open] summary::after { content: "−"; }
.goal-details summary .goal-number { color: #fff; background: var(--purple-dark); border-color: var(--purple-dark); }
.goal-details summary strong { padding-top: 5px; font-size: .83rem; line-height: 1.4; }
.subgoals { display: grid; padding: 0 12px 18px 56px; gap: 15px; }
.subgoal strong { display: block; margin-bottom: 6px; color: var(--purple-deep); font-size: .78rem; line-height: 1.4; }
.subgoal ul { display: grid; margin: 0; padding-left: 17px; gap: 5px; }
.subgoal li { color: var(--text); font-size: .75rem; line-height: 1.45; }
.details-hint { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: .7rem; }

.dark-section { color: #fff; background: var(--ink); }
.light-heading h2 { color: #fff; }
.light-heading > p:last-child { color: #b9c0c9; }
.light-heading .eyebrow { color: #d9bcff; }
.new-domain-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 20px; }
.new-domain-tabs button { min-height: 88px; padding: 10px 8px; color: #aeb5bf; background: #111a24; border: 1px solid #25303c; border-radius: 12px; font-size: .67rem; font-weight: 750; line-height: 1.35; cursor: pointer; }
.new-domain-tabs button span { display: block; margin-bottom: 5px; color: #d4b4fa; font-size: .95rem; }
.new-domain-tabs button.active { color: #fff; background: var(--purple-dark); border-color: #b680f5; }
.new-domain-detail { padding: 38px; background: #131d28; border: 1px solid #283541; border-radius: var(--radius); }
.new-domain-topline { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.new-domain-heading { display: flex; align-items: center; gap: 17px; }
.new-domain-heading > span { display: grid; min-width: 64px; height: 64px; padding: 0 10px; place-items: center; color: #fff; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); border-radius: 17px; font-size: 1.2rem; font-weight: 850; }
.new-domain-heading p { margin: 0; color: #b9c0c9; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.new-domain-heading h3 { max-width: 690px; margin: 3px 0 0; color: #fff; font-size: clamp(1.45rem, 3vw, 2.5rem); }
.light-toggle { background: #0c141d; border-color: #2b3845; }
.light-toggle button.active { color: var(--ink); background: #fff; }
.domain-question { max-width: 1000px; margin: 35px 0 32px; color: #d8bcfa; font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.new-domain-body { display: grid; grid-template-columns: .78fr 1.3fr; gap: 50px; padding-top: 30px; border-top: 1px solid #2b3845; }
.domain-shift { margin: 8px 0 28px; color: #c3c9d0; line-height: 1.7; }
.light-button { color: var(--ink); background: #fff; }
.new-goals { display: grid; gap: 10px; }
.new-goal-card { padding: 20px; background: #0e1721; border: 1px solid #273440; border-radius: 13px; }
.new-goal-card > div:first-child { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.new-goal-card .goal-number { color: #fff; background: var(--purple-dark); border-color: #8e54d7; }
.new-goal-card h4 { margin: 4px 0 0; color: #fff; font-size: .9rem; line-height: 1.45; }
.new-goal-card details { margin: 14px 0 0 52px; }
.new-goal-card summary { color: #d2b6f4; font-size: .7rem; font-weight: 800; cursor: pointer; }
.new-goal-card .subgoals { padding: 14px 0 0; }
.new-goal-card .subgoal strong { color: #fff; }
.new-goal-card .subgoal li { color: #abb3bd; }
.mapping-panel { display: grid; grid-template-columns: .72fr 1.4fr; gap: 55px; margin-top: 42px; padding: 34px; background: #111a24; border: 1px solid #283541; border-radius: var(--radius); }
.mapping-panel h3 { color: #fff; font-size: 1.7rem; }
.mapping-panel .eyebrow { color: #d9bcff; }
.mapping-list { display: grid; gap: 8px; }
.mapping-row { display: grid; grid-template-columns: 1fr 28px 1.25fr; gap: 10px; padding: 10px 12px; align-items: center; background: #0b131c; border-radius: 9px; }
.mapping-row span { color: #c7ccd3; font-size: .72rem; line-height: 1.35; }
.mapping-row i { color: var(--purple); font-style: normal; text-align: center; }
.mapping-row strong { color: #fff; font-size: .72rem; line-height: 1.35; }

.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle-grid article { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.principle-grid span { color: var(--purple); font-size: .7rem; font-weight: 850; }
.principle-grid h3 { margin: 13px 0 10px; font-size: 1.45rem; }
.principle-grid p { margin: 0; }
.search-band { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.search-band h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.search-band p:last-child { margin-bottom: 0; }

.attachments-heading { display: flex; max-width: none; align-items: flex-end; justify-content: space-between; gap: 30px; }
.attachments-heading > div:first-child { max-width: 760px; }
.attachment-filters { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.attachment-filters button { padding: 8px 12px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; font-weight: 750; cursor: pointer; }
.attachment-filters button.active { color: #fff; background: var(--purple-dark); border-color: var(--purple-dark); }
.attachment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.attachment-card { display: flex; min-height: 176px; padding: 24px; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.attachment-card:hover { transform: translateY(-3px); border-color: #cba8f2; box-shadow: 0 16px 32px rgba(68, 39, 103, .08); }
.attachment-meta { display: flex; margin-bottom: 24px; align-items: center; justify-content: space-between; gap: 12px; }
.attachment-type { color: var(--purple-dark); font-size: .65rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.file-format { padding: 3px 7px; color: var(--muted); background: var(--surface); border-radius: 6px; font-size: .62rem; font-weight: 850; }
.attachment-card h3 { margin: 0 0 10px; font-size: 1rem; line-height: 1.4; }
.attachment-card p { margin: auto 0 0; color: var(--purple-dark); font-size: .72rem; font-weight: 750; }
.attachment-card[hidden] { display: none; }

.closing-section { color: #fff; background: var(--purple-dark); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.closing-grid .eyebrow { color: #e3ccff; }
.closing-grid h2 { color: #fff; }
.closing-grid p { color: #e1d7eb; }
.version-line { font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.site-footer { padding: 55px 0; color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr .65fr; gap: 60px; }
.footer-grid strong { font-size: 1.1rem; }
.footer-grid p { max-width: 340px; color: #9fa7b1; font-size: .8rem; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 8px; }
.footer-grid span { margin-bottom: 7px; color: #858f9b; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid a { color: #d9dde2; font-size: .78rem; text-decoration: none; }
.footer-grid a:hover { color: #d9bcff; }

.modal { width: min(680px, calc(100% - 28px)); max-height: min(84vh, 840px); padding: 38px; background: #fff; border: 0; border-radius: 22px; box-shadow: 0 30px 120px rgba(8, 15, 23, .32); }
.modal::backdrop { background: rgba(8, 15, 23, .6); backdrop-filter: blur(4px); }
.modal h2 { margin-bottom: 28px; font-size: clamp(2rem, 5vw, 3rem); }
.modal-close { position: absolute; top: 14px; right: 17px; width: 38px; height: 38px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dialog-steps { display: grid; margin: 0 0 28px; padding: 0; gap: 17px; list-style: none; }
.dialog-steps li { display: grid; grid-template-columns: 38px 1fr; gap: 13px; }
.dialog-steps span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--purple-dark); background: var(--purple-light); border-radius: 9px; font-size: .75rem; font-weight: 850; }
.dialog-steps p { margin: 3px 0 0; font-size: .83rem; line-height: 1.5; }
.search-modal { width: min(820px, calc(100% - 28px)); }
.search-field { display: block; }
.search-field span { display: block; margin-bottom: 7px; font-size: .72rem; font-weight: 800; }
.search-field input { width: 100%; padding: 15px 17px; color: var(--ink); background: var(--surface); border: 1px solid #d9d5df; border-radius: 11px; outline: none; }
.search-field input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(162, 93, 248, .15); }
.search-count { margin: 10px 0 16px; color: var(--muted); font-size: .75rem; }
.search-results { display: grid; max-height: 48vh; gap: 8px; overflow-y: auto; }
.search-result { display: block; width: 100%; padding: 14px 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; text-align: left; cursor: pointer; }
.search-result:hover { border-color: #cba8f2; background: var(--purple-pale); }
.search-result p { margin: 0 0 5px; color: var(--purple-dark); font-size: .66rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.search-result strong { display: block; font-size: .82rem; line-height: 1.45; }
.search-result span { display: block; margin-top: 5px; color: var(--text); font-size: .73rem; line-height: 1.45; }
.toast { position: fixed; z-index: 300; right: 22px; bottom: 22px; max-width: 350px; padding: 13px 16px; color: #fff; background: var(--ink); border-radius: 10px; box-shadow: var(--shadow); font-size: .8rem; opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(162, 93, 248, .45); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 1040px) {
  .main-nav { gap: 15px; }
  .main-nav a { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 760px; }
  .shift-grid { grid-template-columns: 1fr 80px 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .change-column { grid-column: 1 / -1; display: grid; grid-template-columns: 240px 1fr 250px; align-items: start; }
  .change-column .column-heading { min-height: 100%; border-right: 1px solid #e7d9f6; border-bottom: 0; }
  .change-tabs { margin-top: 24px; }
  .change-list { grid-column: 2; }
  .migration-note { grid-column: 3; grid-row: 1 / 3; margin-top: 24px; }
  .new-domain-tabs { grid-template-columns: repeat(4, 1fr); }
  .attachment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .section { padding: 78px 0; }
  .container, .wide-container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .main-nav {
    position: absolute;
    display: none;
    top: 67px;
    left: 14px;
    right: 14px;
    padding: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a, .nav-action { display: block; padding: 10px; text-align: left; }
  .menu-button { display: block; }
  .share-button { display: none; }
  .hero { padding: 70px 0 62px; }
  h1 { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .hero-grid { gap: 42px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats div { display: block; }
  .hero-stats dd { max-width: none; }
  .shift-grid, .route-grid, .principle-grid, .closing-grid, .footer-grid, .new-domain-body, .mapping-panel { grid-template-columns: 1fr; }
  .shift-arrow { transform: rotate(90deg); }
  .knowledge-callout { grid-template-columns: 1fr; padding: 30px; }
  .method-steps { grid-template-columns: 1fr 1fr; gap: 30px 15px; }
  .method-steps li:not(:last-child)::after { display: none; }
  .comparison-heading, .attachments-heading, .new-domain-topline, .search-band { align-items: flex-start; flex-direction: column; }
  .comparison-heading, .attachments-heading, .new-domain-topline, .search-band { display: flex; }
  .compare-grid { grid-template-columns: 1fr; }
  .change-column { grid-column: auto; display: block; }
  .change-column .column-heading { min-height: 154px; border-right: 0; border-bottom: 1px solid #e7d9f6; }
  .change-list, .migration-note { grid-column: auto; grid-row: auto; }
  .migration-note { margin-top: 0; }
  .revised-column { order: 2; }
  .change-column { order: 1; }
  .current-column { order: 0; }
  .new-domain-tabs { display: flex; padding-bottom: 10px; overflow-x: auto; }
  .new-domain-tabs button { flex: 0 0 135px; }
  .mapping-panel { gap: 20px; }
  .attachment-filters { justify-content: flex-start; }
  .modal { padding: 30px 22px; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .brand small { display: none; }
  .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats div { display: grid; grid-template-columns: 45px 1fr; }
  .hero-stats dd { font-size: .76rem; }
  .shift-card { min-height: auto; padding: 27px; }
  .shift-arrow { padding: 8px 0; }
  .method-steps { grid-template-columns: 1fr; }
  .comparison-intro { align-items: flex-start; flex-direction: column; }
  .phase-toggle { width: 100%; }
  .phase-toggle button { flex: 1; }
  .column-heading { min-height: auto; }
  .subgoals { padding-left: 12px; }
  .new-domain-detail { padding: 24px 18px; }
  .new-domain-heading { align-items: flex-start; }
  .new-domain-heading > span { min-width: 50px; height: 50px; border-radius: 13px; }
  .new-goal-card details { margin-left: 0; }
  .mapping-row { grid-template-columns: 1fr; }
  .mapping-row i { transform: rotate(90deg); }
  .attachment-grid { grid-template-columns: 1fr; }
  .attachment-card { min-height: 150px; }
}
