[hidden] {
  display: none !important;
}
:root {
  --brand: #1764ed;
  --ink: #15263d;
  --muted: #687b91;
  --line: #dce5ef;
  --white: #fff;
  --ice: #f6faff;
  --tint: #eaf2ff;
  --navy: #102b50;
  --red: #b82e3d;
  --font: "Noto Sans SC", system-ui, -apple-system, "PingFang SC", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
}
h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #79aaff;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
dialog {
  border: 0;
  color: var(--ink);
  font-family: var(--font);
}
dialog:not([open]) {
  display: none;
}
dialog::backdrop {
  background: #102b5050;
}
.site-shell {
  width: 100%;
  margin: auto;
  overflow: clip;
  background: var(--ice);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--brand);
  color: white;
  font-weight: 500;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #1055d1;
}
.button:active {
  transform: translateY(1px);
}
.button-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.button-outline:hover,
.button-secondary {
  background: var(--tint);
  color: var(--brand);
}
.button-secondary:hover {
  background: #dce9ff;
}
.blue,
.text-link {
  color: var(--brand);
}
.muted {
  color: var(--muted);
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.icon img {
  max-width: 100%;
  max-height: 100%;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 32px;
  color: var(--muted);
  width: 44px;
  height: 44px;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  position: fixed;
  z-index: 1000;
  background: white;
  padding: 16px;
}
.preview-banner {
  padding: 10px 24px;
  background: #fff3d4;
  text-align: center;
  font-size: 14px;
}
.preview-banner a {
  text-decoration: underline;
  margin-left: 20px;
}
/* Header and full-bleed hero. The 1440px design is the desktop reference. */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  height: 100px;
  padding: 0 80px;
  z-index: 2;
}
.brand {
  flex-shrink: 0;
  display: block;
  width: 226px;
  height: 76px;
}
.brand-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.desktop-nav {
  display: flex;
  gap: 48px;
  margin-left: 140px;
  font-size: 18px;
  white-space: nowrap;
}
.desktop-nav a:hover,
.site-footer a:hover {
  color: var(--brand);
}
.nav-contact {
  position: absolute;
  right: 76px;
  top: 25px;
  width: 156px;
  font-size: 20px;
}
.menu-toggle {
  display: none;
}
.hero {
  height: 832px;
  position: relative;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: absolute;
  top: 170px;
  left: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.hero h1 {
  font-size: 96px;
  line-height: 1.2;
  letter-spacing: 0;
}
.hero h1 span {
  display: block;
}
.hero-copy > p {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
}
.hero-button {
  width: 256px;
  height: 68px;
  font-size: 20px;
}
.hero-caption {
  position: absolute;
  left: 92px;
  top: 754px;
  font-size: 14px;
  color: var(--muted);
}
.hero-caption span {
  margin-left: 12px;
}
.mobile-menu {
  display: none;
}
.platforms {
  height: 182px;
  padding: 40px 64px 40px 92px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.platform {
  min-width: 0;
  padding-left: 48px;
  border-left: 1px solid var(--line);
}
.platform:first-child {
  padding-left: 0;
  border: 0;
}
.platform > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.platform .icon {
  width: 44px;
  height: 44px;
}
.platform strong {
  font-size: 30px;
}
.platform p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
}
.platform-short {
  display: none;
}
/* Reusable chapter, content rows, independent capability illustration. */
.chapter {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 44px;
  padding: 60px 64px;
}
.chapter-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 20px;
}
.chapter-rail::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.chapter-no {
  font-size: 28px;
  color: var(--brand);
}
.chapter-slash {
  font-size: 18px;
  color: var(--brand);
}
.chapter-rail small {
  font-size: 14px;
  color: var(--muted);
  max-width: 145px;
}
.chapter-body {
  min-width: 0;
}
.chapter-body > h2 {
  font-size: 48px;
  line-height: 1.25;
  margin-bottom: 28px;
}
.home-services {
  min-height: 656px;
}
.service-row {
  display: grid;
  grid-template-columns: 52px 300px minmax(0, 1fr) 40px;
  gap: 24px;
  align-items: center;
  min-height: 130px;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child {
  border: 0;
}
.service-number {
  font-size: 32px;
  color: var(--brand);
}
.service-row h3 {
  font-size: 32px;
}
.service-desc strong {
  font-size: 21px;
}
.service-desc p {
  font-size: 20px;
  color: var(--muted);
  margin-top: 8px;
}
.arrow {
  font-size: 32px;
  color: var(--muted);
  transition: transform 0.2s;
}
.service-row:hover .arrow {
  transform: translateX(5px);
}
.service-icon,
.service-short {
  display: none;
}
.home-education {
  min-height: 548px;
  background: var(--navy);
  color: white;
}
.home-education .chapter-rail small,
.home-education .chapter-slash {
  color: var(--line);
}
.home-education .chapter-rail::after {
  background: var(--muted);
}
.education-layout {
  display: grid;
  grid-template-columns: 424px minmax(0, 1fr);
  gap: 24px;
}
.education-copy {
  position: relative;
  min-height: 408px;
}
.education-copy h2 {
  font-size: 40px;
  line-height: 1.45;
  white-space: nowrap;
}
.education-copy > p {
  font-size: 26px;
  color: var(--line);
  margin-top: 32px;
}
.education-copy > small {
  font-size: 20px;
  color: var(--line);
  position: absolute;
  left: 0;
  top: 376px;
}
.education-demo {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  align-self: start;
  color: var(--ink);
  width: 100%;
}
.demo-top {
  display: flex;
  justify-content: space-between;
  background: var(--ice);
  padding: 20px;
  font-size: 20px;
  color: var(--muted);
}
.demo-top small {
  font-size: 14px;
}
.demo-workspace {
  display: grid;
  grid-template-columns: 148px 242px minmax(0, 1fr);
}
.demo-subjects {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px;
  background: var(--ice);
  font-size: 17px;
  color: var(--muted);
}
.demo-subjects b {
  color: var(--brand);
}
.demo-geometry {
  padding: 20px;
  font-size: 20px;
}
.demo-geometry > strong {
  white-space: nowrap;
}
.triangle-desktop {
  width: 195px;
  height: 228px;
  position: relative;
  margin-top: 20px;
}
.triangle-desktop > img:not(.right-angle) {
  position: absolute;
  left: 31px;
  top: 29px;
  width: 143.103px;
  height: 175.813px;
}
.triangle-desktop .right-angle {
  position: absolute;
  left: 32px;
  top: 184px;
}
.triangle-desktop > span {
  position: absolute;
  font-size: 16px;
}
.point-a {
  left: 25px;
  top: 0;
}
.point-b {
  left: 14px;
  top: 198px;
}
.point-c {
  left: 173px;
  top: 198px;
}
.triangle-mobile {
  display: none;
}
.demo-chat {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 20px;
}
.demo-chat > strong {
  white-space: nowrap;
}
.demo-chat > p {
  font-size: 16px;
  color: var(--muted);
  background: var(--tint);
  padding: 16px;
  border-radius: 24px;
}
.demo-input {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  align-items: center;
}
.demo-input span {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}
.demo-input b {
  background: var(--brand);
  color: white;
  border-radius: 4px;
  width: 38px;
  height: 40px;
  display: grid;
  place-items: center;
}
.home-cases {
  min-height: 476px;
}
.home-cases h2 {
  line-height: 1.45;
}
.case-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}
.case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 292px) minmax(0, 210px);
  gap: 16px;
}
.case-card-heading {
  display: flex;
  justify-content: space-between;
  width: calc(100% + 226px);
  margin-bottom: 14px;
}
.case-card h3 {
  font-size: 28px;
  white-space: nowrap;
}
.case-card-heading small {
  font-size: 14px;
  color: var(--muted);
}
.case-card-copy > p {
  font-size: 20px;
  color: var(--muted);
}
.case-more {
  display: block;
  margin-top: 26px;
  font-size: 22px;
  color: var(--brand);
}
.case-card-art {
  margin-top: 55px;
}
.mini-demo {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--ice);
  width: 210px;
  max-width: 100%;
}
.mini-demo > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mini-demo-body {
  display: flex;
  gap: 10px;
  padding-top: 12px;
}
.mini-list {
  width: 80px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-list > img {
  width: 42px;
  height: 42px;
}
.mini-list > i {
  width: 64px;
  height: 1px;
  background: var(--line);
}
.mini-list > i:last-child {
  width: 48px;
}
.mini-list > small {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  width: 102px;
}
.bars i {
  width: 18px;
  background: var(--muted);
  height: 36px;
}
.bars i:nth-child(2) {
  height: 54px;
}
.bars i:nth-child(3) {
  height: 78px;
}
.bars i:nth-child(4) {
  height: 106px;
  background: var(--brand);
}
.mobile-case-icon,
.mobile-case-arrow {
  display: none;
}
.home-process {
  min-height: 448px;
}
.home-process h2 {
  font-size: 40px;
  line-height: 1.45;
  margin-bottom: 6px;
}
.process-description {
  font-size: 22px;
  color: var(--muted);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0;
  margin-top: 36px;
}
.process-steps li {
  position: relative;
}
.step-number {
  font-size: 62px;
  color: var(--muted);
  line-height: 1.45;
}
.process-steps li:not(:last-child)::after {
  content: "→";
  font-size: 40px;
  color: var(--muted);
  position: absolute;
  right: -16px;
  top: 48px;
}
.process-steps h3 {
  font-size: 26px;
  margin: 4px 0;
}
.process-steps p {
  font-size: 21px;
  color: var(--muted);
}
.home-about {
  min-height: 428px;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 496px) minmax(0, 1fr);
  gap: 64px;
}
.home-about h2 {
  font-size: 40px;
  line-height: 1.45;
}
.about-description {
  font-size: 19px;
  color: var(--muted);
  margin-top: 30px;
}
.about-skills {
  position: relative;
}
.watermark {
  position: absolute;
  top: -72px;
  left: -16px;
  font-size: 74px;
  font-weight: 700;
  color: var(--line);
  opacity: 0.5;
  white-space: nowrap;
  pointer-events: none;
}
.about-skills > h3 {
  font-size: 22px;
  margin-bottom: 18px;
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
.skill h4 {
  font-size: 22px;
  margin-bottom: 10px;
}
.skill p {
  font-size: 18px;
  color: var(--muted);
}
.skill .icon,
.skill-mobile {
  display: none;
}
.contact-section {
  display: grid;
  grid-template-columns: 230px 500px 510px;
  gap: 40px;
  min-height: 488px;
  position: relative;
}
.contact-section > .chapter-rail {
  padding: 64px 0 0 64px;
  background: var(--brand);
  color: white;
  gap: 12px;
}
.contact-section .chapter-rail > * {
  color: white;
}
.contact-section .chapter-rail::after {
  display: none;
}
.contact-copy {
  padding-top: 80px;
}
.contact-copy h2 {
  font-size: 72px;
  line-height: 1.45;
}
.contact-copy h2 > span {
  display: block;
  white-space: nowrap;
}
.contact-copy > p {
  font-size: 24px;
  margin-top: 32px;
}
.contact-copy > a {
  display: block;
  font-size: 18px;
  margin-top: 10px;
  color: var(--brand);
}
.lead-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 52px;
}
.lead-form::before {
  content: none;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
}
.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  height: 48px;
  resize: vertical;
  line-height: 1.45;
}
.lead-form textarea {
  height: 112px;
  min-height: 112px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.required {
  color: #d84444;
  display: contents;
}
.lead-form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
  color: var(--muted);
}
.consent input {
  appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid var(--muted);
  border-radius: 2px;
  flex-shrink: 0;
  margin: 5px 0 0;
}
.consent input:checked {
  appearance: auto;
  accent-color: var(--brand);
}
.consent a:hover {
  text-decoration: underline;
}
.lead-form > .button {
  font-size: 20px;
  height: 60px;
  width: 100%;
}
.field-error:empty,
.form-message:empty {
  display: none;
}
.field-error,
.form-message {
  color: var(--red);
  font-size: 14px;
}
.lead-form [aria-invalid="true"] {
  border-color: var(--red);
}
.honeypot {
  position: absolute !important;
  left: -9999px;
  visibility: hidden;
}
.site-footer {
  background: white;
  padding: 64px;
  min-height: 252px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-footer .brand {
  width: 236px;
  height: 78px;
}
.footer-top > strong {
  font-size: 18px;
  width: 440px;
}
.footer-top nav {
  display: flex;
  gap: 40px;
  font-size: 18px;
  color: var(--muted);
  white-space: nowrap;
}
.footer-bottom {
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}
.footer-tagline {
  font-size: 12px;
  align-self: center;
}
.filing {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.mobile-footer-desc {
  display: none;
}
/* Inner pages retain the approved chapter rail and restrained editorial grid. */
body:not(.page-home) .site-header {
  background: white;
  height: 117px;
}
.page-intro {
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--ice);
}
.eyebrow {
  font-size: 14px;
  color: var(--brand);
}
.page-intro h1 {
  font-size: 48px;
  line-height: 1.5;
}
.page-intro > p:last-child {
  max-width: 850px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
}
.inner-chapter {
  background: white;
  padding: 64px 80px;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
}
.inner-chapter .chapter-rail::after {
  display: none;
}
.inner-chapter .chapter-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.inner-chapter h2 {
  font-size: 36px;
  line-height: 1.5;
  margin: 0;
}
.inner-chapter h3 {
  font-size: 24px;
  line-height: 1.5;
}
.inner-chapter .chapter-body > p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.feature-grid article,
.feature-link {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-grid article > span,
.feature-link > span {
  font-size: 24px;
}
.feature-grid p {
  color: var(--muted);
  line-height: 1.5;
}
.feature-link > strong {
  color: var(--brand);
  font-size: 16px;
}
.delivery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.delivery-tags > span,
.learning-nav > span {
  padding: 6px 12px;
  background: var(--tint);
  color: var(--brand);
  border-radius: 4px;
  font-size: 14px;
}
.case-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.case-index-grid article > h3 {
  margin: 24px 0 16px;
}
.case-index-grid article > p {
  margin-bottom: 24px;
  color: var(--muted);
}
.classic-education {
  background: white;
  border-radius: 8px;
  width: 600px;
  max-width: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.learning-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  white-space: nowrap;
}
.learning-nav small {
  font-size: 12px;
  color: var(--muted);
}
.learning-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.learning-columns > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.learning-columns > div:first-child {
  background: var(--ice);
  padding: 16px;
}
.learning-columns h4 {
  font-size: 16px;
  font-weight: 500;
}
.learning-columns p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.learning-columns > div:last-child > p {
  padding: 12px;
  background: var(--tint);
  width: 100%;
}
.classic-crm {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--ice);
  padding: 24px;
  width: 500px;
  max-width: 100%;
}
.classic-crm > p {
  font-size: 12px;
  color: var(--muted);
}
.crm-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--muted);
}
.crm-stage > span {
  width: 80px;
  flex-shrink: 0;
}
.crm-stage > i {
  display: block;
  height: 16px;
  border-radius: 3px;
  background: var(--brand);
  max-width: calc(100% - 110px);
}
.feature-list {
  padding-left: 24px;
  line-height: 2.5;
}
.inner-chapter details {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.inner-chapter summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
}
.inner-chapter details p {
  color: var(--muted);
  margin-top: 12px;
}
.privacy-content {
  padding: 64px 80px;
  background: white;
  max-width: 1440px;
  min-height: 600px;
}
.privacy-content p {
  max-width: 1000px;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.success-page {
  max-width: 600px;
  margin: auto;
  padding: 80px 24px;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.success-check {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--tint);
  color: var(--brand);
  font-size: 34px;
  border-radius: 50%;
}
.success-page h1 {
  font-size: 40px;
}
.success-page > p {
  color: var(--muted);
  font-size: 16px;
}
.success-page .button {
  width: 100%;
}
.success-recap {
  padding: 20px;
  width: 100%;
  border-radius: 10px;
  background: var(--tint);
}
.success-recap > * {
  display: block;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.success-recap small,
.success-recap p {
  color: var(--muted);
}
/* Public assistant is a real dialog; the lead form is always the submission boundary. */
.ai-float {
  position: fixed;
  z-index: 30;
  right: max(24px, calc((100vw - 1440px) / 2 + 24px));
  bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 28px;
  color: white;
  background: var(--brand);
  font-size: 14px;
  box-shadow: 0 6px 20px #1764ed25;
}
.ai-symbol {
  font-size: 25px;
}
.ai-mobile-label {
  display: none;
}
.ai-dialog {
  position: fixed;
  margin: 0;
  left: auto;
  top: auto;
  right: 24px;
  bottom: 24px;
  width: 432px;
  max-width: calc(100vw - 32px);
  max-height: min(760px, calc(100dvh - 48px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px #102b5026;
  overflow: hidden;
}
.ai-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.ai-dialog h2 {
  font-size: 24px;
}
.ai-dialog-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.ai-messages {
  overflow-y: auto;
  min-height: 160px;
  max-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-message {
  padding: 12px;
  background: var(--ice);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-message.user {
  background: var(--tint);
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.suggestions button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--brand);
  padding: 6px 8px;
  font-size: 12px;
}
.ai-disclaimer {
  font-size: 12px;
  color: var(--muted);
}
.ai-composer {
  display: flex;
  gap: 8px;
}
.ai-composer input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
}
.ai-composer .button {
  min-width: 88px;
}
.ai-error {
  font-size: 13px;
  color: var(--red);
}
.ai-error:empty {
  display: none;
}
.ai-summary {
  padding: 12px;
  background: var(--ice);
}
.ai-summary h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.ai-summary textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
  color: var(--ink);
  font-size: 14px;
  resize: vertical;
}
.ai-summary .button {
  width: 100%;
  margin-top: 12px;
}
.prepare-summary {
  font-size: 14px;
}
@media (min-width: 769px) and (max-width: 1300px) {
  .desktop-nav {
    margin-left: auto;
    margin-right: 170px;
    gap: 24px;
  }
  .site-header {
    padding-inline: 48px;
  }
  .nav-contact {
    right: 48px;
  }
  .hero-copy {
    left: 64px;
  }
  .hero h1 {
    font-size: clamp(64px, 6.67vw, 96px);
  }
  .platforms {
    padding-inline: 48px;
  }
  .platform {
    padding-left: 24px;
  }
  .platform > div {
    gap: 16px;
  }
  .platform strong {
    font-size: 26px;
  }
  .platform p {
    font-size: 13px;
  }
  .chapter {
    grid-template-columns: 130px minmax(0, 1fr);
    padding: 48px;
    gap: 32px;
  }
  .chapter-body > h2 {
    font-size: 40px;
  }
  .chapter-rail {
    font-size: 17px;
  }
  .service-row {
    grid-template-columns: 38px 220px minmax(0, 1fr) 24px;
    gap: 16px;
  }
  .service-row h3 {
    font-size: 26px;
  }
  .service-desc strong {
    font-size: 17px;
  }
  .service-desc p {
    font-size: 16px;
  }
  .education-layout {
    grid-template-columns: 38% minmax(0, 1fr);
  }
  .education-copy h2 {
    font-size: 30px;
  }
  .education-copy > p {
    font-size: 21px;
  }
  .education-copy > small {
    font-size: 15px;
  }
  .demo-workspace {
    grid-template-columns: 22% 37% 41%;
  }
  .demo-subjects {
    padding: 14px;
    font-size: 14px;
  }
  .demo-geometry,
  .demo-chat {
    padding: 14px;
    font-size: 16px;
  }
  .triangle-desktop {
    transform: scale(0.8);
    transform-origin: top left;
    width: 156px;
    height: 200px;
  }
  .demo-chat > p {
    padding: 10px;
    font-size: 13px;
  }
  .demo-input {
    font-size: 11px;
  }
  .demo-input span {
    padding: 4px;
  }
  .case-pair {
    gap: 32px;
  }
  .case-card {
    grid-template-columns: minmax(0, 1fr) 150px;
  }
  .case-card-heading {
    width: calc(100% + 166px);
  }
  .case-card h3 {
    font-size: 22px;
  }
  .case-card-copy > p {
    font-size: 16px;
  }
  .case-card-heading small {
    font-size: 11px;
  }
  .case-more {
    font-size: 18px;
  }
  .mini-demo {
    width: 150px;
  }
  .mini-demo-body > img {
    width: 54px;
    object-fit: contain;
  }
  .mini-list {
    width: 45px;
  }
  .bars {
    gap: 4px;
  }
  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .home-about h2 {
    font-size: 30px;
  }
  .about-description {
    font-size: 16px;
  }
  .watermark {
    font-size: 54px;
  }
  .skill h4 {
    font-size: 20px;
  }
  .skill p {
    font-size: 15px;
  }
  .contact-section {
    grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr);
    padding-right: 48px;
    gap: 28px;
  }
  .contact-section > .chapter-rail {
    padding-left: 48px;
  }
  .contact-copy h2 {
    font-size: clamp(40px, 4.8vw, 64px);
  }
  .contact-copy > p {
    font-size: 19px;
  }
  .lead-form label {
    font-size: 17px;
  }
  .lead-form .consent {
    font-size: 14px;
  }
  .site-footer {
    padding: 48px;
  }
  .footer-top {
    gap: 24px;
  }
  .footer-top > strong {
    width: auto;
    font-size: 15px;
  }
  .footer-top nav {
    gap: 20px;
    font-size: 14px;
  }
  .site-footer .brand {
    width: 190px;
  }
  .process-steps h3 {
    font-size: 22px;
  }
  .process-steps p {
    font-size: 17px;
  }
  .process-steps {
    gap: 24px;
  }
}
/* Mobile uses the separately approved 390px layout, not a scaled desktop page. */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  .site-shell {
    background: white;
    width: 100%;
  }
  .site-header,
  body:not(.page-home) .site-header {
    height: 80px;
    padding: 0 20px;
    background: white;
    justify-content: space-between;
    gap: 0;
  }
  .brand {
    width: 148px;
    height: 50px;
  }
  .desktop-nav,
  .nav-contact {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: white;
  }
  .menu-toggle .icon {
    width: 28px;
    height: 28px;
  }
  .mobile-menu[open] {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100dvh;
    padding: 0;
    margin: 0;
    background: white;
    z-index: 100;
  }
  .mobile-menu-head {
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }
  .mobile-menu-head a {
    width: 148px;
    height: 50px;
  }
  .mobile-menu nav {
    padding: 40px 20px 20px;
  }
  .mobile-menu nav > a {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 75px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu nav small {
    color: var(--brand);
    font-size: 13px;
    width: 28px;
  }
  .mobile-menu nav strong {
    font-size: 24px;
    flex: 1;
  }
  .mobile-menu nav span {
    font-size: 22px;
    color: var(--muted);
  }
  .mobile-menu-action {
    padding: 56px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
  }
  .hero {
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--ice);
  }
  .hero .site-header {
    order: 0;
  }
  .hero-copy {
    position: static;
    order: 1;
    padding: 24px 20px 20px;
    gap: 20px;
    align-items: stretch;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 1.4;
  }
  .hero-copy > p {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 500;
  }
  .hero-button {
    width: 100%;
    height: 52px;
    min-height: 52px;
    font-size: 16px;
    border-radius: 8px;
  }
  .hero-art {
    position: relative;
    order: 2;
    height: 320px;
    flex: none;
    z-index: 0;
    isolation: isolate;
  }
  .hero-art > img {
    position: absolute;
    max-width: none;
    width: 160.08%;
    height: 112.36%;
    left: -60.08%;
    top: -3.37%;
    object-fit: fill;
  }
  .hero-caption {
    display: none;
  }
  .platforms {
    height: auto;
    min-height: 226px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 20px;
    border: 0;
    background: white;
  }
  .platform,
  .platform:first-child {
    padding: 14px;
    background: var(--ice);
    border: 0;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0 12px;
    align-content: start;
  }
  .platform > div {
    display: contents;
  }
  .platform .icon {
    width: 28px;
    height: 28px;
    grid-column: 1;
    grid-row: 1/3;
    filter: invert(31%) sepia(94%) saturate(2400%) hue-rotate(213deg)
      brightness(99%) contrast(100%);
  }
  .platform strong {
    font-size: 16px;
    grid-column: 2;
  }
  .platform p.platform-short {
    display: block;
    font-size: 11px;
    grid-column: 2;
    margin-top: 4px;
    line-height: 1.45;
  }
  .platform-long {
    display: none;
  }
  .chapter,
  .inner-chapter {
    display: block;
    padding: 32px 20px;
    background: white;
  }
  .chapter-rail {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--brand);
    border: 0;
  }
  .chapter-no,
  .chapter-slash {
    font-size: 16px;
    font-weight: 500;
  }
  .chapter-rail > strong {
    font-weight: 500;
  }
  .chapter-rail > small,
  .chapter-rail::after {
    display: none;
  }
  .chapter-body > h2 {
    font-size: 28px;
    line-height: 1.35;
    margin-bottom: 20px;
  }
  .home-services {
    min-height: 501px;
  }
  .service-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .service-row {
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    gap: 6px 16px;
    padding: 16px;
    min-height: 104px;
    border: 1px solid var(--line) !important;
    border-radius: 10px;
  }
  .service-number,
  .service-desc {
    display: none;
  }
  .service-icon {
    display: flex;
    grid-column: 1;
    grid-row: 1/3;
  }
  .service-row h3 {
    font-size: 18px;
    grid-column: 2;
  }
  .service-short {
    display: block;
    font-size: 14px;
    grid-column: 2;
    color: var(--muted);
  }
  .service-row .arrow {
    grid-column: 3;
    grid-row: 1/3;
    font-size: 24px;
  }
  .home-education {
    background: var(--navy);
    min-height: 477px;
    color: white;
  }
  .home-education .chapter-rail {
    color: var(--line);
  }
  .education-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .education-copy {
    min-height: 0;
  }
  .education-copy h2 {
    font-size: 28px;
    line-height: 1.35;
    white-space: normal;
  }
  .education-copy > p {
    font-size: 16px;
    margin-top: 20px;
  }
  .education-copy > p br {
    display: none;
  }
  .education-copy > small {
    display: none;
  }
  .education-demo {
    padding: 14px;
    border-radius: 8px;
  }
  .demo-top {
    font-size: 12px;
    background: white;
    padding: 0 0 12px;
  }
  .demo-top small,
  .demo-subjects {
    display: none;
  }
  .demo-workspace {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .demo-geometry {
    padding: 8px;
    background: var(--ice);
    height: 174px;
  }
  .demo-geometry > strong,
  .triangle-desktop {
    display: none;
  }
  .triangle-mobile {
    display: block;
  }
  .triangle-mobile img {
    max-width: 100%;
    height: 150px;
  }
  .demo-chat {
    padding: 0;
    font-size: 13px;
    gap: 8px;
  }
  .demo-chat > p {
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
  }
  .demo-input {
    display: none;
  }
  .home-cases {
    min-height: 391px;
  }
  .case-pair {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    background: var(--ice);
    align-items: center;
    min-height: 109px;
  }
  .mobile-case-icon {
    display: flex;
    width: 30px;
    height: 30px;
  }
  .case-card-heading {
    display: block;
    width: auto;
    margin-bottom: 8px;
  }
  .case-card h3 {
    font-size: 17px;
    white-space: normal;
  }
  .case-card-heading small,
  .case-more,
  .case-card-art {
    display: none;
  }
  .case-card-copy > p {
    font-size: 13px;
  }
  .case-card-copy > p br {
    display: none;
  }
  .mobile-case-arrow {
    display: block;
    font-size: 24px;
    color: var(--muted);
  }
  .home-process {
    min-height: 459px;
  }
  .home-process h2 {
    font-size: 28px;
  }
  .process-description {
    display: none;
  }
  .process-steps {
    display: flex;
    flex-direction: column;
    margin: 20px 0 0;
    gap: 22px;
  }
  .process-steps li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px 20px;
  }
  .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand);
    color: white;
    font-size: 19px;
    display: grid;
    place-items: center;
    grid-row: 1/3;
  }
  .desktop-only {
    display: none;
  }
  .process-steps h3 {
    font-size: 20px;
    line-height: 1.45;
    margin: 0;
  }
  .process-steps p {
    font-size: 14px;
    grid-column: 2;
  }
  .process-steps p br {
    display: none;
  }
  .process-steps li:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 42px;
    background: var(--line);
    left: 16px;
    top: 38px;
  }
  .home-about {
    min-height: 421px;
  }
  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .home-about h2 {
    font-size: 28px;
    line-height: 1.35;
  }
  .about-description {
    font-size: 16px;
    line-height: 1.45;
    margin-top: 20px;
  }
  .about-skills > h3,
  .watermark,
  .skill-desktop {
    display: none;
  }
  .skill-grid {
    gap: 20px 12px;
  }
  .skill {
    display: flex;
    gap: 12px;
    background: var(--ice);
    padding: 12px;
    border-radius: 10px;
  }
  .skill .icon {
    display: flex;
    width: 28px;
    height: 28px;
  }
  .skill h4 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .skill p.skill-mobile {
    display: block;
    font-size: 11px;
  }
  .contact-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px 20px;
    min-height: 552px;
    background: white;
  }
  .contact-section > .chapter-rail {
    padding: 0;
    background: none;
    color: var(--brand);
    margin-bottom: 20px;
  }
  .contact-section .chapter-rail > * {
    color: var(--brand);
  }
  .contact-copy {
    padding: 0;
  }
  .contact-copy h2 {
    font-size: 28px;
    line-height: 1.35;
  }
  .contact-copy h2 > span.blue {
    color: var(--ink);
  }
  .contact-copy > p {
    display: none;
  }
  .contact-copy > a {
    font-size: 14px;
  }
  .lead-form {
    padding-top: 20px;
    gap: 20px;
    width: 100%;
  }
  .lead-form::before {
    display: none;
  }
  .lead-form label {
    font-size: 14px;
    gap: 8px;
  }
  .lead-form input:not([type="checkbox"]),
  .lead-form textarea {
    font-size: 14px;
    padding: 12px 20px;
    height: 48px;
  }
  .lead-form textarea {
    height: 112px;
    min-height: 112px;
  }
  .lead-form .consent {
    font-size: 13px;
    gap: 8px;
  }
  .consent input {
    margin-top: 3px;
  }
  .lead-form > .button {
    height: 52px;
    font-size: 16px;
    border-radius: 8px;
  }
  .site-footer {
    padding: 20px;
    min-height: 192px;
    position: relative;
  }
  .site-footer::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--line);
  }
  .footer-top {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .site-footer .brand {
    width: 148px;
    height: 50px;
  }
  .footer-top > strong {
    width: auto;
    font-size: 14px;
  }
  .footer-top nav {
    display: none;
  }
  .mobile-footer-desc {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 12px;
  }
  .footer-bottom {
    display: block;
    margin-top: 12px;
    font-size: 11px;
  }
  .footer-tagline {
    display: none;
  }
  .page-intro {
    padding: 40px 20px;
    gap: 20px;
  }
  .page-intro h1 {
    font-size: 32px;
    line-height: 1.35;
  }
  .page-intro > p:last-child {
    font-size: 16px;
  }
  .inner-chapter .chapter-body {
    gap: 24px;
  }
  .inner-chapter h2 {
    font-size: 28px;
  }
  .feature-grid,
  .feature-grid.four,
  .case-index-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .inner-chapter h3 {
    font-size: 22px;
  }
  .classic-education {
    padding: 14px;
  }
  .learning-nav {
    gap: 12px;
    font-size: 13px;
  }
  .learning-nav > span {
    font-size: 11px;
    padding: 4px 8px;
  }
  .learning-columns {
    gap: 14px;
  }
  .learning-columns > div:first-child {
    padding: 10px;
  }
  .learning-columns h4 {
    font-size: 13px;
  }
  .learning-columns p {
    font-size: 12px;
  }
  .learning-columns img {
    height: auto;
    max-width: 100%;
  }
  .classic-crm {
    padding: 20px;
  }
  .privacy-content {
    padding: 32px 20px;
  }
  .privacy-content p {
    font-size: 16px;
  }
  .success-page {
    min-height: 764px;
    background: white;
    padding: 112px 20px 80px;
    gap: 24px;
  }
  .success-page h1 {
    font-size: 30px;
  }
  .success-page > p {
    font-size: 16px;
  }
  .success-page .button {
    border-radius: 8px;
  }
  .page-thanks .site-footer {
    display: none;
  }
  .ai-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 28px;
  }
  .ai-symbol,
  .ai-desktop-label {
    display: none;
  }
  .ai-mobile-label {
    display: block;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
  }
  .ai-mobile-label small {
    font-size: 11px;
    font-weight: 400;
  }
  .ai-dialog {
    inset: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
    background: white;
  }
  .ai-dialog h2 {
    font-size: 18px;
  }
  .ai-dialog-head {
    padding-inline: 4px;
    min-height: 48px;
  }
  .ai-dialog-head p {
    margin-top: 2px;
  }
  .ai-messages {
    flex: 1;
    max-height: none;
    background: var(--ice);
    padding: 20px;
    margin-inline: -16px;
  }
  .chat-message {
    font-size: 15px;
    background: white;
    border-radius: 12px;
    padding: 16px;
  }
  .ai-messages .user {
    margin-left: 20px;
  }
  .ai-composer {
    flex-shrink: 0;
  }
  .ai-composer input {
    font-size: 16px;
  }
  .ai-composer .button {
    min-width: 52px;
  }
  .ai-summary {
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .ai-disclaimer {
    font-size: 11px;
  }
  .ai-dialog[open] {
    gap: 12px;
  }
  .ai-float.keyboard-hidden {
    visibility: hidden;
  }
}
@media (max-width: 374px) {
  .hero h1 {
    font-size: 34px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .case-card {
    gap: 10px;
    padding: 14px;
  }
  .case-card h3 {
    font-size: 16px;
  }
  .skill {
    gap: 8px;
    padding: 10px;
  }
  .skill .icon {
    width: 24px;
    height: 24px;
  }
  .platform {
    padding: 12px;
    gap: 0 8px;
  }
  .service-row {
    gap: 6px 12px;
  }
  .service-row h3 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Figma comparison corrections: text presentation, shared inner-page grid. */
.mobile-copy,
.inner-footer-desc {
  display: none;
}
.button {
  white-space: nowrap;
}
.nav-contact {
  height: 48px;
  padding-inline: 16px;
}
.ai-symbol {
  color: var(--ink);
  display: flex;
}
.footer-company {
  width: 440px;
  font-size: 18px;
  flex-shrink: 0;
}
.site-footer {
  padding-bottom: 48px;
}
.home-services {
  padding-bottom: 58px;
}
.case-card-heading small {
  position: absolute;
  right: 48px;
  top: 0;
}
.home-cases .case-card + .case-card::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 55px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
@media (min-width: 769px) {
  body:not(.page-home) .site-header {
    gap: 40px;
  }
  body:not(.page-home) .site-header .brand {
    width: 208px;
    height: 69px;
  }
  body:not(.page-home) .desktop-nav {
    margin-left: 360px;
    gap: 40px;
    font-size: 14px;
  }
  body:not(.page-home) .nav-contact {
    position: static;
    width: 148px;
    flex-shrink: 0;
    background: var(--tint);
    border: 0;
    font-size: 16px;
  }
  body:not(.page-home) .contact-section {
    grid-template-columns: 160px minmax(0, 524px) minmax(0, 500px);
    gap: 40px;
    padding: 64px 80px;
    min-height: 460px;
    background: var(--ice);
  }
  body:not(.page-home) .contact-section > .chapter-rail {
    padding: 0;
    background: none;
    color: var(--ink);
    gap: 16px;
    font-size: 14px;
  }
  body:not(.page-home) .contact-section .chapter-rail > * {
    color: var(--ink);
  }
  body:not(.page-home) .contact-section .chapter-no {
    color: var(--brand);
    font-size: 24px;
  }
  body:not(.page-home) .contact-section .chapter-rail small {
    color: var(--muted);
    font-size: 12px;
  }
  body:not(.page-home) .contact-copy {
    padding: 0;
  }
  body:not(.page-home) .contact-copy h2 {
    font-size: 48px;
    line-height: 1.5;
  }
  body:not(.page-home) .contact-copy > p {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 32px;
  }
  body:not(.page-home) .lead-form {
    padding: 0;
    gap: 16px;
  }
  body:not(.page-home) .lead-form::before {
    display: none;
  }
  body:not(.page-home) .lead-form label {
    font-size: 14px;
  }
  body:not(.page-home) .lead-form .consent {
    font-size: 12px;
  }
  body:not(.page-home) .lead-form > .button {
    height: 48px;
    font-size: 16px;
  }
  body:not(.page-home) .site-footer {
    padding: 48px 80px;
    min-height: 224px;
  }
  body:not(.page-home) .footer-top {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    gap: 48px;
  }
  body:not(.page-home) .site-footer .brand {
    width: 190px;
    height: 63px;
  }
  body:not(.page-home) .footer-company {
    font-size: 16px;
    width: 620px;
  }
  body:not(.page-home) .inner-footer-desc {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
  }
  body:not(.page-home) .footer-top nav a:not(:last-child) {
    display: none;
  }
  body:not(.page-home) .footer-top nav {
    font-size: 14px;
  }
  body:not(.page-home) .footer-bottom {
    margin-top: 24px;
    font-size: 12px;
  }
  body:not(.page-home) .footer-tagline {
    display: none;
  }
  .inner-chapter .chapter-rail {
    gap: 16px;
    font-size: 14px;
  }
  .inner-chapter .chapter-rail strong {
    font-weight: 400;
  }
  .inner-chapter .chapter-no {
    font-size: 24px;
    font-weight: 700;
  }
  .inner-chapter .chapter-slash {
    font-size: 14px;
    margin-bottom: -16px;
    color: var(--ink);
  }
  .inner-chapter .chapter-rail small {
    font-size: 12px;
  }
  .capability-rows {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .capability-rows > article,
  .capability-rows > a {
    display: grid;
    grid-template-columns: 60px 300px minmax(0, 1fr);
    gap: 48px;
    min-height: 69px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 32px;
    align-items: start;
  }
  .capability-rows > article > span,
  .capability-rows > a > span {
    font-size: 24px;
    font-weight: 700;
  }
  .capability-rows p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
  }
  .inner-chapter.ice-section {
    background: var(--ice);
  }
  .inner-chapter.navy-section {
    background: var(--navy);
    color: white;
  }
  .navy-section .chapter-rail small,
  .navy-section .chapter-slash {
    color: var(--line);
  }
  .learning-feature {
    display: grid;
    grid-template-columns: 440px minmax(0, 600px);
    gap: 40px;
  }
  .learning-feature > div > p {
    margin-top: 32px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--line);
  }
  .learning-feature .classic-education {
    color: var(--ink);
  }
  .inner-chapter details {
    padding: 0 0 32px;
  }
  .inner-chapter summary {
    font-size: 24px;
    list-style: none;
  }
  .inner-chapter summary::after {
    content: "−";
    float: right;
    color: var(--muted);
  }
  .inner-chapter details:not([open]) summary::after {
    content: "+";
  }
  .inner-chapter details p {
    margin-top: 32px;
  }
}
@media (min-width: 769px) and (max-width: 1300px) {
  body:not(.page-home) .desktop-nav {
    margin-left: auto;
    gap: 24px;
    margin-right: 0;
  }
  body:not(.page-home) .site-header {
    gap: 24px;
  }
  .footer-company {
    width: auto;
    font-size: 15px;
  }
  .capability-rows > article,
  .capability-rows > a {
    grid-template-columns: 40px 220px minmax(0, 1fr);
    gap: 24px;
  }
  .learning-feature {
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 24px;
  }
  .learning-feature h2 {
    font-size: 30px;
  }
  body:not(.page-home) .contact-section {
    grid-template-columns: 130px 1fr 1fr;
    padding-inline: 48px;
    gap: 24px;
  }
  body:not(.page-home) .contact-copy h2 {
    font-size: 36px;
  }
  body:not(.page-home) .footer-company {
    width: auto;
  }
}
@media (max-width: 768px) {
  .mobile-copy {
    display: block;
  }
  .desktop-copy {
    display: none !important;
  }
  .hero-arrow {
    font-size: 0;
  }
  .hero-arrow::after {
    content: "→";
    font-size: 16px;
  }
  .service-row {
    min-height: 0;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    grid-template-rows: auto auto;
    align-content: center;
  }
  .case-card {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
  }
  .case-card-copy > p br {
    display: initial;
  }
  .home-cases .case-card + .case-card::before {
    display: none;
  }
  .home-services {
    padding-bottom: 32px;
  }
  .footer-company {
    width: auto;
    font-size: 14px;
  }
  .site-footer {
    padding: 20px;
  }
  .case-card-heading small {
    display: none;
  }
  .ai-symbol {
    display: none;
  }
  .capability-rows {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .capability-rows > article,
  .capability-rows > a {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .capability-rows p {
    color: var(--muted);
  }
  .learning-feature {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .learning-feature > div > p {
    margin-top: 20px;
  }
  .inner-chapter.navy-section {
    background: var(--navy);
    color: white;
  }
  .learning-feature .classic-education {
    color: var(--ink);
  }
  .inner-chapter.ice-section {
    background: var(--ice);
  }
}
.case-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.case-feature-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .case-feature-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-feature-list {
    font-size: 20px;
    gap: 16px;
  }
}
@media (min-width: 1301px) {
  .page-home .desktop-nav {
    margin-left: 188px;
  }
}

/* Shared with Figma update 2026-10-09: stronger contact action and centred privacy column. */
.site-header .nav-contact,
body:not(.page-home) .site-header .nav-contact {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
}
.site-header .nav-contact:hover,
body:not(.page-home) .site-header .nav-contact:hover {
  background: #1053cc;
  border-color: #1053cc;
  color: #fff;
}
.privacy-content,
.page-privacy .page-intro {
  max-width: none;
  width: 100%;
  padding-inline: max(24px, calc((100% - 1000px) / 2));
  margin-inline: auto;
}
.privacy-content p {
  max-width: none;
}
@media (max-width: 768px) {
  .privacy-content,
  .page-privacy .page-intro {
    padding-inline: 20px;
  }
  .privacy-content {
    padding-block: 36px;
  }
  .privacy-content p {
    font-size: 16px;
  }
}
