/* mtoaster — layered deep navy. #071d36 is the dominant background; translucent blue layers are reserved for diagrams and compact panels. */
:root {
  --paper: #071d36;
  --surface: #0d2947;
  --surface-blue: #153c66;
  --panel: #102e4e;
  --navy: #071d36;
  --navy-deep: #071d36;
  --blue: #1e90ff;
  --blue-strong: #9bd7ff;
  --sky: #87cefa;
  --ink: #f0f7ff;
  --muted: #c2d9f0;
  --line: #2c4b6c;
  --soft-line: #223f5e;
  --shadow: 0 16px 44px rgba(3, 14, 31, .20);
  --heading-font: Georgia, 'Times New Roman', serif;
  --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(22px, 4.4vw, 56px);
  --content-width: 1312px;
}
/* Native system fonts for the Japanese and Traditional Chinese versions. */
html:lang(ja) {
  --body-font: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', 'Noto Sans CJK JP', Meiryo, sans-serif;
  --heading-font: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif CJK JP', serif;
}
html:lang(zh-Hant) {
  --body-font: -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Microsoft JhengHei', 'Noto Sans CJK TC', sans-serif;
  --heading-font: 'Songti TC', 'Noto Serif CJK TC', 'PMingLiU', serif;
}
/* Base typography and accessibility. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body-font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--heading-font); font-weight: 400; line-height: 1.12; letter-spacing: -.045em; }
h1 em, h2 em { color: var(--blue-strong); font-weight: 400; }
html:not(:lang(en)) h1, html:not(:lang(en)) h2 { letter-spacing: -.035em; line-height: 1.35; }
html:not(:lang(en)) h1 em, html:not(:lang(en)) h2 em { font-style: normal; }
.site-wrap { width: 100%; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 50; background: var(--sky); color: var(--navy-deep); padding: 8px 14px; }
.skip-link:focus { top: 12px; }
/* Header and language navigation. */
.header { max-width: var(--content-width); margin: auto; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.wordmark { font-size: 26px; font-weight: 800; letter-spacing: -.07em; line-height: 1.15; text-decoration: none; display: inline-block; white-space: nowrap; color: var(--ink); }
.dot, .accent, .asterisk { color: var(--sky); }
.nav { display: flex; gap: clamp(12px, 2vw, 28px); margin-left: auto; align-items: center; }
.nav a, .header-link { font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.nav a:hover, .text-link:hover, .footer a:hover { color: var(--blue-strong); }
.header-link { border-bottom: 1px solid var(--sky); padding-bottom: 3px; }
.languages { display: inline-flex; flex-shrink: 0; gap: 3px; align-items: center; border: 1px solid var(--line); padding: 3px; border-radius: 6px; margin-left: auto; background: var(--navy); }
.language-link { font-size: 11px; font-weight: 650; text-decoration: none; white-space: nowrap; color: var(--muted); padding: 5px 8px; border-radius: 3px; line-height: 1.5; }
.language-link:hover { color: var(--blue-strong); background: var(--surface-blue); }
.language-link[aria-current="page"] { background: var(--sky); color: var(--navy-deep); }
.mobile-nav { display: none; }
/* Hero: editorial typography and the four-circle capability diagram. */
.hero { max-width: var(--content-width); margin: auto; padding: 80px var(--gutter) 92px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 35px; min-height: 610px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .17em; color: var(--blue-strong); }
.eyebrow-line { width: 28px; height: 1px; flex-shrink: 0; background: var(--blue-strong); }
.hero h1 { font-size: clamp(50px, 5.1vw, 76px); margin-bottom: 26px; line-height: 1.05; letter-spacing: -.055em; }
html:not(:lang(en)) .hero h1 { font-size: clamp(37px, 4.3vw, 61px); line-height: 1.38; letter-spacing: -.055em; }
.lead { max-width: 510px; font-size: 18px; color: var(--muted); line-height: 1.85; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 15px 22px; border-radius: 4px; font-size: 13px; font-weight: 700; text-decoration: none; transition: background-color .18s, transform .18s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--navy-deep); }
.button-primary:hover { background: var(--sky); }
.text-link { font-size: 13px; font-weight: 650; text-decoration: none; border-bottom: 1px solid var(--sky); padding-bottom: 4px; }
.hero-note { margin: 40px 0 0; font-size: 12px; color: var(--muted); }
.asterisk { font-size: 19px; vertical-align: -2px; margin-right: 3px; }
/* Four overlapping areas. The circles are inline SVG, while all labels are real, localized HTML. */
.enterprise-scene {
  position: relative; isolation: isolate; min-width: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 4px 0; background: radial-gradient(ellipse at 50% 50%, rgba(30, 144, 255, .09), transparent 68%);
}
.flow-topline { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.flow-topline span:last-child { flex-shrink: 0; }
.capability-venn { position: relative; isolation: isolate; width: min(100%, 470px); aspect-ratio: 1; container-type: inline-size; }
.venn-geometry { display: block; width: 100%; height: 100%; overflow: visible; }
.venn-circles circle { mix-blend-mode: screen; }
.venn-label { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 40%; transform: translate(-50%, -50%); text-align: center; color: var(--ink); }
.venn-label-data { left: 27%; top: 26%; }
.venn-label-model { left: 73%; top: 26%; }
.venn-label-analysis { left: 73%; top: 74%; }
.venn-label-deploy { left: 27%; top: 74%; }
.venn-number { display: block; margin-bottom: 5px; color: #bae4ff; font-size: clamp(10px, 2.5cqi, 12px); letter-spacing: .13em; font-weight: 800; }
.venn-label strong { font-size: clamp(11px, 3.25cqi, 16px); line-height: 1.4; font-weight: 650; letter-spacing: -.015em; }
html:not(:lang(en)) .venn-label strong { font-size: clamp(11px, 3.35cqi, 16px); }
.venn-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; border: 1px solid #75b9e9; border-radius: 100px; padding: 7px 12px; background: var(--navy-deep); color: var(--sky); font-size: clamp(11px, 3.3cqi, 15px); font-weight: 700; box-shadow: 0 0 20px #071d365e; }
.flow-annotation { align-self: flex-end; max-width: 100%; text-align: right; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.flow-annotation span { color: var(--blue-strong); font-size: 16px; }
.ribbon { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 4vw, 50px); align-items: center; padding: 17px var(--gutter); background: var(--paper); border-block: 1px solid var(--soft-line); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 750; }
.ribbon b { color: var(--blue-strong); font-size: 15px; }
/* Shared section layouts. */
.section { max-width: var(--content-width); margin: auto; padding: 100px var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 42px; }
.section-head h2, .lab-head h2 { font-size: clamp(40px, 4.1vw, 60px); margin: 0; }
html:not(:lang(en)) .section-head h2, html:not(:lang(en)) .lab-head h2 { font-size: clamp(31px, 3.4vw, 49px); }
.section-head > p { max-width: 330px; color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; }
.services-grid, .example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { background: linear-gradient(145deg, #153c66 0%, var(--surface) 52%, #0a233e 100%); border: 1px solid var(--line); padding: 32px 25px 27px; border-radius: 5px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.service-icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #255b8d; color: var(--sky); font-size: 26px; margin-bottom: 27px; }
.service-card:nth-child(2) .service-icon { background: #265f91; color: var(--sky); }
.service-card:nth-child(3) .service-icon { background: #234f7b; color: var(--sky); }
.service-no, .example-category { font-size: 11px; color: var(--blue-strong); font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.service-card h3 { font: 400 27px/1.25 var(--heading-font); margin: 13px 0; min-height: 70px; letter-spacing: -.035em; }
.service-card > p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 18px; }
.service-card ul { padding: 18px 0 0 17px; margin: auto 0 0; border-top: 1px solid var(--soft-line); font-size: 13px; color: var(--ink); line-height: 1.9; }
.service-card li + li { margin-top: 3px; }
.service-card li::marker { color: var(--blue-strong); }
.examples { background: var(--paper); border-top: 1px solid var(--soft-line); max-width: var(--content-width); padding-inline: var(--gutter); }
.example-panel { min-height: 340px; background: linear-gradient(155deg, #14385f, var(--panel) 55%, #0b2845); border: 1px solid var(--line); border-radius: 5px; padding: 27px; display: flex; flex-direction: column; }
.example-glyph { font: 400 61px/1.05 Georgia, serif; color: var(--blue-strong); margin: 19px 0 5px; }
.example-panel h3 { font: 400 26px/1.3 var(--heading-font); letter-spacing: -.025em; margin: 8px 0 12px; }
.example-panel p { font-size: 14px; line-height: 1.85; color: var(--muted); flex: 1; }
.example-outcome { padding-top: 16px; border-top: 1px solid var(--line); color: var(--blue-strong); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.approach { border-top: 1px solid var(--soft-line); padding-bottom: 115px; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin-top: 55px; }
.principles > div { border-top: 2px solid #4e90c7; padding: 20px 18px 9px; background: linear-gradient(180deg, #113456 0%, transparent 72%); }
.principle-number { color: var(--blue-strong); font-size: 11px; font-weight: 750; }
.principles h3 { font: 400 25px/1.35 var(--heading-font); margin: 18px 0 11px; letter-spacing: -.025em; }
.principles p, .lab-head p { color: var(--muted); font-size: 14px; line-height: 1.95; }
.lab-section { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 60px; }
.lab-head { max-width: 670px; }
.lab-head p { margin: 23px 0 0; }
.lab-tags { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: auto; }
.lab-tags span { color: var(--blue-strong); border: 1px solid var(--line); background: #1a4775; padding: 13px 18px; border-radius: 4px; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .12em; }
/* Contact and footer. */
.contact { border-top: 1px solid var(--line); position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: white; padding: 96px max(var(--gutter), calc((100vw - 1200px)/2)) 100px; }
.contact-noise { position: absolute; right: 6%; bottom: -95px; font-size: 270px; line-height: 1; color: rgba(135, 206, 250, .13); z-index: -1; }
.eyebrow-light { color: var(--sky); }
.contact h2 { font-size: clamp(43px, 5.5vw, 70px); margin-bottom: 24px; }
html:not(:lang(en)) .contact h2 { font-size: clamp(34px, 4.6vw, 58px); }
.contact h2 em { color: var(--sky); }
.contact p { color: #d2e4f5; max-width: 590px; font-size: 15px; }
.button-light { background: var(--sky); color: var(--navy-deep); margin-top: 18px; }
.button-light:hover { background: var(--blue-strong); }
.contact .contact-note { color: #bfd5eb; font-size: 12px; margin: 14px 0 0; }
.footer { max-width: var(--content-width); margin: auto; padding: 45px var(--gutter) 24px; display: grid; grid-template-columns: 1fr 1.3fr 1.5fr; gap: 24px; align-items: start; }
.footer > div { font-size: 12px; color: var(--muted); }
.footer small { display: block; margin-top: 5px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px 16px; }
.footer-links a { text-decoration: none; font-size: 12px; }
.footer .copyright { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; font-size: 11px; }
/* Secondary pages. */
.privacy-page { max-width: 850px; margin: 80px auto; padding: 0 var(--gutter) 70px; }
.privacy-page h1 { font-size: clamp(40px, 5.5vw, 60px); }
.privacy-page h2 { font-size: 25px; margin: 38px 0 16px; }
.privacy-page p { color: var(--muted); line-height: 1.9; overflow-wrap: anywhere; }
.privacy-page p a { color: var(--blue-strong); text-underline-offset: .2em; }
.notfound-page { text-align: center; }
.notfound-page .eyebrow { justify-content: center; }
/* Tablet and compact screens. */
@media (max-width: 1130px) {
  .header { gap: 15px; }
  .header-link { display: none; }
  .hero { gap: 18px; padding-top: 65px; padding-bottom: 70px; min-height: 0; }
  .hero h1 { font-size: clamp(44px, 5.5vw, 64px); }
  .enterprise-scene { gap: 12px; }
  .service-card, .example-panel { padding: 23px 20px; }
  .service-card h3 { font-size: 24px; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 880px) {
  .header { flex-wrap: wrap; }
  .header > .nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { list-style: none; cursor: pointer; white-space: nowrap; font-size: 13px; font-weight: 750; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { margin-left: 4px; }
  .mobile-nav nav { position: absolute; top: 30px; right: 0; min-width: 175px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 12px; gap: 5px; z-index: 5; }
  .mobile-nav nav a { padding: 8px; border-radius: 3px; font-size: 13px; text-decoration: none; }
  .mobile-nav nav a:hover { background: var(--surface-blue); }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(41px, 5.5vw, 52px); }
  html:not(:lang(en)) .hero h1 { font-size: clamp(30px, 4.3vw, 42px); }
  .section { padding-block: 75px; }
  .services-grid, .example-grid { gap: 14px; }
  .service-card h3 { font-size: 22px; }
  .service-card, .example-panel { padding: 22px 16px; }
  .example-panel h3 { font-size: 23px; }
  .lab-section { gap: 28px; }
}
@media (max-width: 680px) {
  .header { padding: 18px var(--gutter); gap: 12px 8px; }
  .header .wordmark { font-size: 24px; }
  .languages { gap: 1px; }
  .language-link { padding: 5px 6px; font-size: 10px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-top: 56px; padding-bottom: 40px; gap: 32px; }
  .hero h1 { font-size: clamp(40px, 9.7vw, 60px); }
  html:not(:lang(en)) .hero h1 { font-size: clamp(31px, 7.8vw, 49px); }
  .hero-note { margin-top: 25px; }
  .lead { font-size: 16px; }
  .enterprise-scene { width: 100%; gap: 10px; }
  .ribbon { gap: 8px 14px; padding: 14px var(--gutter); font-size: 10px; letter-spacing: .06em; }
  .section { padding-block: 65px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head > p { margin-top: 18px; max-width: none; }
  .services-grid, .example-grid, .principles { grid-template-columns: 1fr; gap: 17px; }
  .service-card { padding: 26px; }
  .service-card h3 { min-height: 0; font-size: 26px; }
  .example-panel { padding: 26px; min-height: 265px; }
  .example-glyph { font-size: 53px; margin: 9px 0; }
  .principles { margin-top: 30px; }
  .lab-section { display: block; }
  .lab-tags { margin: 25px 0 0; }
  .contact { padding-block: 75px; }
  .footer { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer .wordmark { grid-column: 1/-1; }
  .footer-links { justify-content: flex-start; }
  .privacy-page { margin-top: 50px; }
}
@media (max-width: 420px) {
  /* Put language choice on its own row to keep every label fully visible. */
  .header .languages { order: 3; margin-left: 0; width: 100%; justify-content: center; }
  .header .mobile-nav { margin-left: auto; }
  .language-link { padding: 6px 12px; font-size: 12px; }
  .hero h1 { font-size: clamp(34px, 9.3vw, 43px); }
  html:not(:lang(en)) .hero h1 { font-size: clamp(29px, 7.5vw, 36px); }
  .actions { gap: 13px; }
  .button { padding: 13px 16px; gap: 14px; }
  .venn-center { padding: 5px 9px; }
  .venn-number { margin-bottom: 3px; }
  .flow-annotation { font-size: 9px; }
  .section-head h2, .lab-head h2 { font-size: 37px; }
  html:not(:lang(en)) .section-head h2, html:not(:lang(en)) .lab-head h2 { font-size: 31px; }
  .footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
