/* Text2Web theme layer: visual tokens and responsive typography. */
html[data-theme="mt-calm-precision"]{--bg:#fff;--soft:#f7f7f8;--ink:#171719;--muted:#6b6b72;--line:#e5e5e9;--accent:#6750f5;--accent2:#5139d9;--dark:#0b0b0d;--radius:26px;--max:1180px}
html[data-theme="mt-product-focus"]{--soft:#f5f5f7;--ink:#1d1d1f;--muted:#6e6e73;--line:#d2d2d7;--accent:#6b4eff;--accent2:#5a3ce0;--radius:30px}
html[data-theme="mt-clarity"]{--soft:#f8f9fa;--ink:#202124;--muted:#5f6368;--line:#e0e3e7;--accent:#5b4ae6;--accent2:#4737bf;--radius:22px}
html[data-theme="mt-precision"]{--soft:#f4f4f5;--ink:#111214;--muted:#686b70;--line:#d9dadd;--accent:#5b45e8;--accent2:#4734c8;--radius:18px}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3{text-wrap:balance}p{text-wrap:pretty}.global-header{border-bottom:1px solid rgba(0,0,0,.055)}.nav-wrap{height:62px}.global-header .menu-btn{touch-action:manipulation;-webkit-tap-highlight-color:transparent;position:relative;z-index:70;border-radius:14px;background:#f3f3f5;font-weight:400}.mobile-menu{z-index:65}.hero h1,.product-hero h1,.page-hero h1{letter-spacing:-.045em;line-height:1.02}.hero h1{font-size:clamp(46px,4.5vw,70px);max-width:820px;line-height:1.06;letter-spacing:-.03em}.product-hero{padding:clamp(62px,7vw,92px) 24px 40px}.product-hero h1{font-size:clamp(48px,5.6vw,78px);max-width:980px;margin-left:auto;margin-right:auto;margin-bottom:24px}.product-hero .hero-en,.product-hero .hero-ja{display:block}.product-hero .hero-ja{font-size:.72em;line-height:1.08;letter-spacing:-.035em;margin-top:.14em}.product-hero p{max-width:720px;font-size:clamp(17px,1.55vw,21px);line-height:1.78}.product-image{margin-top:clamp(44px,6vw,70px);border-radius:28px}.page-hero{padding-top:clamp(64px,8vw,92px);padding-bottom:clamp(56px,7vw,76px)}.page-hero h1{font-size:clamp(42px,5.4vw,66px);max-width:860px}.page-hero p{max-width:760px}.dark-story h2{font-size:clamp(40px,5.4vw,70px);line-height:1.03}.section-head h2{line-height:1.06;letter-spacing:-.035em}.btn{min-height:46px;padding:11px 19px;border-radius:999px;align-items:center;justify-content:center}.card,.feature-card,.link-card,.contact-box{border-color:rgba(0,0,0,.08);box-shadow:0 8px 28px rgba(0,0,0,.03)}
@media(max-width:900px){.nav-wrap{height:60px}.product-hero{padding:58px 20px 28px}.hero h1{font-size:clamp(42px,6.5vw,52px)}.product-hero h1{font-size:clamp(42px,9vw,56px);max-width:680px}.page-hero h1{font-size:clamp(38px,8vw,54px)}}
@media(max-width:520px){.nav-wrap{padding:0 16px}.global-header .menu-btn{width:46px;height:46px;font-size:23px}.mobile-menu{top:62px;left:10px;right:10px;border-radius:18px;padding:12px;box-shadow:0 24px 70px rgba(0,0,0,.18)}.mobile-menu-group{border-radius:13px}.mobile-menu-group a{font-size:15px;padding:11px 10px}.product-hero{padding:52px 18px 24px}.cubit-logo{height:46px;margin-bottom:28px}.hero h1{font-size:clamp(38px,10vw,46px);line-height:1.03}.product-hero h1{font-size:clamp(38px,10vw,46px);line-height:1.02;margin-bottom:22px}.product-hero .hero-ja{font-size:.72em;line-height:1.12;margin-top:.18em}.product-hero p{font-size:17px;line-height:1.75}.product-hero .actions{gap:10px;margin-top:24px}.product-hero .btn{font-size:14px;padding:10px 17px;min-height:44px}.product-image{margin-top:46px;border-radius:24px}.page-hero h1{font-size:clamp(36px,9.2vw,46px);line-height:1.06}.page-hero p{font-size:16px;line-height:1.75}.dark-story h2{font-size:clamp(36px,9vw,44px)}}


/* Text2Web interaction: horizontal-loop */
.loop-shell{position:relative}.loop-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}.loop-toolbar strong{display:block;font-size:18px;letter-spacing:-.02em}.loop-buttons{display:flex;gap:8px}.loop-buttons button{width:42px;height:42px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:20px;cursor:pointer;display:grid;place-items:center}.loop-buttons button:hover{background:var(--soft)}.loop-status{margin-top:12px;text-align:center;color:var(--muted);font-size:12px;min-height:1.3em}
@media(max-width:900px){
 .loop-track{display:flex!important;grid-template-columns:none!important;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:6px;touch-action:pan-y pinch-zoom}
 .loop-track::-webkit-scrollbar{display:none}
 .loop-track>*{flex:0 0 min(84vw,520px);scroll-snap-align:center}
}
@media(max-width:520px){.loop-toolbar{align-items:center}.loop-toolbar strong{font-size:16px}.loop-buttons button{width:40px;height:40px}.loop-track>*{flex-basis:86vw}}
@media(prefers-reduced-motion:reduce){.loop-track{scroll-behavior:auto!important}.loop-buttons button{transition:none!important}}

/* Interaction Preview: horizontal, vertical and book-flip */
.preview-section{overflow:hidden}.preview-shell,.vertical-loop-shell,.book-shell{margin-top:28px}.preview-cards{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 18px}.preview-cards::-webkit-scrollbar{display:none}.preview-card{flex:0 0 min(78vw,360px);scroll-snap-align:center;min-height:220px;padding:30px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 12px 38px rgba(0,0,0,.045)}.preview-card span,.vertical-card span,.book-page span{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--accent)}.preview-card h3,.vertical-card h3,.book-page h3{font-size:30px;letter-spacing:-.035em;margin:30px 0 8px}.preview-card p,.vertical-card p,.book-page p{color:var(--muted);margin:0}.vertical-loop-track{height:330px;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;border-radius:28px}.vertical-loop-track::-webkit-scrollbar{display:none}.vertical-card{height:300px;scroll-snap-align:center;display:flex;flex-direction:column;justify-content:center;padding:36px;border:1px solid var(--line);border-radius:28px;background:#fff;margin-bottom:16px}.book-shell{max-width:720px;margin-left:auto;margin-right:auto}.book-stage{position:relative;min-height:400px;perspective:1600px;transform-style:preserve-3d}.book-page{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,7vw,72px);border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,#fff,#f7f7f9);box-shadow:0 28px 70px rgba(0,0,0,.10);transform-origin:left center;backface-visibility:hidden;opacity:0;pointer-events:none;transform:rotateY(16deg) translateX(24px) scale(.97);transition:transform .62s cubic-bezier(.22,.8,.24,1),opacity .28s ease}.book-page.is-active{opacity:1;pointer-events:auto;z-index:4;transform:rotateY(0) translateX(0) scale(1)}.book-page.is-before{opacity:0;z-index:2;transform:rotateY(-168deg) translateX(-8px) scale(.98)}.book-page.is-after{opacity:0;z-index:1;transform:rotateY(18deg) translateX(24px) scale(.97)}.book-footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.book-status{font-weight:750;color:var(--muted)}.book-shell.reduced-motion .book-page{transition:none;transform:none}.book-shell.reduced-motion .book-page:not(.is-active){display:none}@media(max-width:620px){.preview-card{flex-basis:84vw;min-height:210px}.vertical-loop-track{height:290px}.vertical-card{height:270px;padding:28px}.book-stage{min-height:330px}.book-page{padding:34px 28px}.book-page h3{font-size:28px}}

/* P03 visual refinement: keep mobile hierarchy compact after plain-language rewrite. */
@media(max-width:520px){
  .hero.hero-light{padding-top:42px;padding-bottom:34px;gap:22px}
  .hero h1{font-size:clamp(36px,9.2vw,42px);line-height:1.06;letter-spacing:-.04em;margin-bottom:20px}
  .hero p{font-size:16px;line-height:1.68}
  .hero .actions{margin-top:22px;gap:9px}
  .hero .btn{min-height:42px;padding:9px 16px;font-size:14px}
  .hero-visual img{border-radius:24px;box-shadow:0 18px 50px rgba(0,0,0,.12)}
  .dark-story{padding-top:64px;padding-bottom:64px}
  .dark-story h2{font-size:clamp(34px,8.7vw,40px);line-height:1.08}
  .dark-story p{font-size:16px;line-height:1.72}
  .section-head{margin-bottom:28px}
  .section-head h2{font-size:clamp(32px,8.2vw,38px);line-height:1.1}
  .feature-card{padding:24px}
  .feature-card h3{font-size:22px}
  .feature-card p{font-size:16px;line-height:1.68}
  .ai-ops-banner{padding:20px 0}
}

/* Header brand: compact symbol-first navigation, following small-screen brand patterns. */
.global-header .brand{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px}
.global-header .brand-mark-image{display:block;width:40px;height:auto;max-width:none;object-fit:contain;filter:contrast(1.18)}
.global-header .brand:hover .brand-mark-image{opacity:.88}
.global-header .brand:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:10px}
.global-header .menu-btn{width:48px;height:48px;border:0;border-radius:50%;background:transparent;font-size:0;color:transparent;position:relative;padding:0;flex:0 0 48px}
.global-header .menu-btn::before,.global-header .menu-btn::after{content:"";position:absolute;left:14px;width:20px;height:2px;background:var(--ink);border-radius:999px;transition:transform .2s ease,top .2s ease}
.global-header .menu-btn::before{top:19px}
.global-header .menu-btn::after{top:27px}
.global-header .menu-btn[aria-expanded="true"]::before{top:23px;transform:rotate(45deg)}
.global-header .menu-btn[aria-expanded="true"]::after{top:23px;transform:rotate(-45deg)}
@media(max-width:900px){.global-header .nav-wrap{height:62px}.global-header .brand{width:48px;height:48px;flex-basis:48px}.global-header .menu-btn{display:flex}}

/* 2026-09-10 visual polish: calmer brand navigation and tighter homepage rhythm. */
.global-header .nav-wrap{height:60px;padding-left:22px;padding-right:22px}
.global-header .brand{width:46px;height:46px;flex-basis:46px;border-radius:12px}
.global-header .brand-mark-image{width:40px;height:40px;object-fit:contain}
.global-header .primary-nav{gap:28px;font-size:12.5px;letter-spacing:-.01em}
.global-header .nav-pill{padding:7px 14px;border-radius:999px}
.global-header .secondary-nav{height:38px;gap:28px;font-size:11.5px;border-top-color:rgba(0,0,0,.035)}
.hero.hero-light{min-height:610px;padding-top:54px;padding-bottom:46px;gap:52px}
.hero.hero-light .hero-copy{max-width:620px}
.hero.hero-light .eyebrow{margin-bottom:14px}
.hero.hero-light .actions{margin-top:26px}
.hero.hero-light .btn{border-radius:999px}
.hero.hero-light .hero-visual img{box-shadow:0 18px 50px rgba(0,0,0,.075)}
.feature-card,.case,.resource-tile{box-shadow:0 12px 34px rgba(0,0,0,.035)}
@media(max-width:900px){
  .global-header .nav-wrap{height:58px;padding-left:16px;padding-right:16px}
  .global-header .brand{width:44px;height:44px;flex-basis:44px}
  .global-header .brand-mark-image{width:36px;height:36px}
}
@media(max-width:520px){
  .hero.hero-light{min-height:0;padding-top:34px;padding-bottom:32px;gap:20px}
  .global-header .brand-mark-image{width:35px;height:35px}
}


/* 2026-09-10: use the 3D M&T artwork as the compact global brand mark. */
.global-header .brand-mark-image{width:40px;height:40px;object-fit:contain;border-radius:10px;box-shadow:none}
@media(max-width:900px){.global-header .brand-mark-image{width:36px;height:36px;border-radius:9px}}
@media(max-width:520px){.global-header .brand-mark-image{width:35px;height:35px;border-radius:9px}}

/* Application examples + long-term technology story */
.application-grid{align-items:stretch}.application-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.application-card-media{aspect-ratio:16/10;background:#f4f4f6;overflow:hidden}.application-card-media img{width:100%;height:100%;object-fit:cover}.application-card-body{padding:28px 30px 30px;display:flex;flex:1;flex-direction:column}.application-kicker,.technology-label{margin-bottom:11px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.09em}.application-card .links{margin-top:auto;padding-top:22px}.application-more{display:flex;justify-content:center;margin-top:30px}.technology-ip{padding-top:96px;padding-bottom:96px}.technology-grid{align-items:stretch}.technology-card{min-height:230px}.technology-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:26px;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:var(--line)}.technology-timeline>div{padding:22px 24px;background:#fff}.technology-timeline strong{display:block;margin-bottom:7px;font-size:14px}.technology-timeline span{display:block;color:var(--muted);font-size:13px;line-height:1.7}.patent-story{margin-top:26px;padding:34px 36px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(135deg,#fafafa 0%,#f5f3ff 100%);display:grid;grid-template-columns:minmax(0,1.4fr) auto;gap:34px;align-items:center}.patent-story h3{margin:0 0 12px;font-size:clamp(25px,3vw,34px);letter-spacing:-.025em}.patent-story p{margin:0;color:var(--muted);line-height:1.8}.patent-story .patent-meta{margin-top:16px;color:var(--ink);font-size:13px;font-weight:700}.patent-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch}.patent-actions .btn{justify-content:center;white-space:nowrap}@media(max-width:900px){.patent-story{grid-template-columns:1fr}.patent-actions{flex-direction:row;flex-wrap:wrap}}@media(max-width:650px){.technology-timeline{grid-template-columns:1fr}.application-card-body{padding:24px}.technology-ip{padding-top:72px;padding-bottom:72px}.patent-story{padding:26px 22px;border-radius:24px}.patent-actions{flex-direction:column}.patent-actions .btn{width:100%}}
