/* Homepage presentation only. Shared application styles remain untouched. */
html { scroll-snap-type: y proximity; scroll-padding-top: 88px; }
/* Keep native wheel, keyboard and thumb dragging with a quiet desktop scrollbar. */
@media (hover: hover) and (pointer: fine) {
  html { scrollbar-width: thin; scrollbar-color: #53606b #070d14; }
  @supports selector(::-webkit-scrollbar) {
    html { scrollbar-width: auto; scrollbar-color: auto; }
    html::-webkit-scrollbar { width: 10px; height: 10px; }
    html::-webkit-scrollbar-track { background: #070d14; }
    html::-webkit-scrollbar-thumb { background: #53606b; border: 2px solid #070d14; border-radius: 999px; min-height: 36px; }
    html::-webkit-scrollbar-thumb:hover { background: #748390; }
    html::-webkit-scrollbar-thumb:active { background: #91a1ad; }
    html::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    html::-webkit-scrollbar-corner { background: #070d14; }
  }
}
body.home-refined { --muted: #b1c2cf; overflow-x: clip; }
.home-refined header { padding: 24px 6.6%; background: linear-gradient(#070d14ed, #070d1499 70%, transparent); }
.home-refined header .language-control { display: none !important; }
.home-refined .header-actions { gap: 12px; }
.home-refined section { min-height: max(760px, 100svh); padding: 160px 8% 120px; }
.home-refined .chapter { top: 144px; color: #a2b7c8; font-size: 12px; letter-spacing: .16em; }
.home-refined h1 { font-size: clamp(48px, 5.5vw, 88px); line-height: 1.2; margin: 32px 0 0; font-weight: 400; max-width: 58%; letter-spacing: -.045em; }
.home-refined h1 span, .home-refined h2 span { color: #b4c7d8; }
.home-refined .hero-caption { font-size: 13px; color: #b2c7d6; letter-spacing: .04em; margin-top: 24px; }
.home-refined .hero-summary { max-width: 460px; width: 46%; color: #c1d0dd; font-size: 17px; line-height: 1.85; margin: 18px 0 0; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-actions a { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 24px; border-radius: 10px; font-size: 15px; font-weight: 500; transition: background .2s, border-color .2s, transform .2s; }
.hero-primary { background: #d3f4ff; color: #092133; border: 1px solid #d3f4ff; box-shadow: 0 6px 28px #00b5ef18; }
.hero-primary:hover { background: #fff; transform: translateY(-2px); }
.hero-secondary { border: 1px solid #a0c6df55; background: #0b1927a6; color: #e7f2f9; }
.hero-secondary:hover { background: #172d40; border-color: #a0c6df; }
.home-refined .intro-note { right: 8%; bottom: 13%; max-width: 290px; }
.home-refined .intro-note p { color: #becfdc; font-size: 15px; }
.home-refined .micro { color: #a5c4d7; font-size: 12px; letter-spacing: .1em; }
.home-refined .object-label { left: 61%; top: 68%; color: #9ab8cb; }
.home-refined .object-label span { color: #a6c1d1; }
.home-refined section:not(#intro) { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; align-items: center; }
.home-refined #compute h2, .home-refined #neutrino h2, .home-refined #solutions h2 { font-size: clamp(42px, 5vw, 76px); max-width: 100%; margin: 0; align-self: center; line-height: 1.25; }
.home-refined section .description { position: static; width: 100%; max-width: 480px; margin: 36px 0 0; text-shadow: 0 2px 20px #070d14; }
.home-refined #solutions .description { width: 100%; }
@media (min-width: 768px) {
  .home-refined #solutions .description { max-width: 380px; justify-self: end; }
}
.home-refined .description h3 { font-size: 26px; margin: 20px 0; line-height: 1.6; }
.home-refined .description p { color: #c0d0dc; font-size: 16px; line-height: 1.9; }
.home-refined .tags { color: #b9d6e8; font-size: 13px; gap: 24px; }
.home-refined .model-tabs { gap: 24px; flex-wrap: wrap; }
.home-refined .model-tabs button { min-height: 44px; color: #aebfcf; }
.home-refined .model-tabs button.active { color: #e5f7ff; border-color: #8bdcf3; }
.home-refined .description .model-text { color: #afc6d6; font-size: 15px; }
.home-refined .vignette { background: linear-gradient(90deg, #050b1370, transparent 65%), linear-gradient(0deg, #050b13c9, transparent 30%, transparent 70%, #050b1360); }
.home-refined .scene-tools { position: fixed; inset: auto 6.6% 24px auto; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 9px 14px; border: 1px solid #7796af30; background: #08121ee6; border-radius: 30px; color: #b7cbd9; backdrop-filter: blur(12px); font-size: 12px; }
.home-refined .scene-tools button { min-height: 30px; padding: 0 4px; border: 0; background: none; font-size: 12px; color: #b7cbd9; }
.home-refined .scene-tools .counter { margin: 0; white-space: nowrap; }
.home-refined #next { gap: 10px; }
.home-refined footer { position: relative; inset: auto; margin: 0; padding: 28px 8% 100px; gap: 18px 28px; background: #070d14ed; border-top: 1px solid #7895ae26; font-size: 12px; line-height: 1.8; color: #adc0cf; }
.home-refined .home-mail-links { margin: 0; display: flex !important; flex-wrap: wrap; }
.home-refined .home-mail-links a { color: #adc0cf; opacity: 1; font-size: 12px; }
body.home-refined footer .iuai-home-help-links { display: flex !important; font-size: 12px; gap: 10px 18px; }
body.home-refined footer nav.iuai-home-help-links a { min-height: 32px; align-items: center; }
.home-refined #solutions .google-min-compliance { margin-top: 28px; padding-top: 20px; }
.home-refined #solutions .google-min-link { font-size: 14px; }
.home-refined #solutions .google-min-purpose { font-size: 12px; color: #b0c3d2; line-height: 1.7; margin-top: 8px; }
.home-refined #solutions .google-min-safety { font-size: 11px; color: #98aebe; line-height: 1.7; margin-top: 8px; }
.home-refined :is(a, button, select):focus-visible { outline: 2px solid #8ee2ff; outline-offset: 5px; }
body.home-refined #menu { overflow-y: auto; padding-bottom: 100px !important; }
body.home-refined #menu .menu-legal-links a { font-size: 12px !important; color: #b9cddc !important; }
.home-refined [dir=rtl] .hero-actions { flex-direction: row-reverse; }
@media (max-width: 1100px) {
  .home-refined section { padding-left: 6.6%; padding-right: 6.6%; }
  .home-refined .hero-summary { width: 52%; }
  .home-refined .intro-note { max-width: 230px; }
  .home-refined section:not(#intro) { gap: 6%; }
}
@media (max-width: 767px) {
  html { scroll-snap-type: none; scroll-padding-top: 80px; }
  body.home-refined.iuai-homepage-route header { padding: max(14px, env(safe-area-inset-top)) 20px 12px !important; gap: 12px !important; }
  body.home-refined header .brand img { width: 98px !important; }
  .home-refined .header-actions { margin-left: auto; }
  .home-refined header .free-start-link { display: none; }
  body.home-refined #iuai-home-actions-v3819 { gap: 6px !important; }
  body.home-refined #iuai-home-actions-v3819 .iuai-home-action { height: 44px !important; min-height: 44px !important; max-height: 44px !important; }
  body.home-refined #iuai-home-lang-v3819 .iuai-home-lang-toggle { padding: 0 !important; justify-content: center !important; gap: 0 !important; }
  body.home-refined #iuai-home-lang-v3819 .iuai-home-lang-toggle span { flex: 0 0 26px; width: 26px; text-align: center; overflow: visible !important; }
  body.home-refined #iuai-home-lang-v3819 .iuai-home-lang-toggle span:after { content: '文'; font-size: 15px !important; color: #e3f5ff; }
  body.home-refined #iuai-home-lang-v3819 .iuai-home-lang-toggle i { display: none; }
  body.home-refined.iuai-homepage-route section { padding: 130px 24px 110px !important; min-height: 100svh !important; }
  body.home-refined.iuai-homepage-route #intro { padding-top: max(270px, 37svh) !important; }
  .home-refined .chapter { top: 110px; font-size: 10px; letter-spacing: .14em; }
  .home-refined h1 { font-size: clamp(36px, 10vw, 56px); max-width: 100%; margin: 0; line-height: 1.23; }
  .home-refined .hero-caption { font-size: 12px; line-height: 1.7; letter-spacing: 0; gap: 10px; margin-top: 20px; }
  .home-refined .hero-summary { width: 100%; font-size: 15px; line-height: 1.8; max-width: 35em; margin-top: 12px; }
  .hero-actions { gap: 10px; margin-top: 24px; align-items: stretch; }
  .hero-actions a { min-height: 48px; padding: 12px 17px; font-size: 14px; gap: 12px; }
  .home-refined .intro-note { display: none; }
  .home-refined .object-label { top: 22svh; left: auto; right: 24px; font-size: 9px; }
  .home-refined .object-label span { font-size: 10px; letter-spacing: .1em; }
  .home-refined section:not(#intro) { display: flex; gap: 0; justify-content: center; }
  .home-refined #compute h2, .home-refined #neutrino h2, .home-refined #solutions h2 { font-size: clamp(36px, 9vw, 52px); width: 100%; margin: 0; }
  .home-refined section .description { margin-top: 28px; max-width: 100%; }
  .home-refined #compute .description h3 { display: block; }
  .home-refined .description h3 { font-size: 21px; margin: 14px 0; }
  .home-refined .description p { font-size: 15px; line-height: 1.85; }
  .home-refined .tags { gap: 20px; font-size: 12px; }
  .home-refined .scene-tools { right: 18px; bottom: max(14px, env(safe-area-inset-bottom)); padding: 4px 12px; gap: 16px; }
  .home-refined .scene-tools button { min-height: 36px; }
  .home-refined #next { min-width: 30px; min-height: 36px; justify-content: center; }
  body.home-refined.iuai-homepage-route footer { position: relative !important; inset: auto !important; padding: 28px 24px 100px; gap: 16px; }
  .home-refined footer > span:first-child { width: 100%; }
  body.home-refined footer .iuai-home-help-links { justify-content: flex-start; width: 100%; order: initial; }
  .home-refined .vignette { background: linear-gradient(0deg, #050b13ed, #050b1377 65%, #050b1333); }
}
@media (max-width: 360px) {
  body.home-refined.iuai-homepage-route header { padding-inline: 16px !important; }
  body.home-refined header .brand img { width: 82px !important; }
  .hero-actions a { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-refined *, .home-refined *:before, .home-refined *:after { animation: none !important; transition: none !important; }
}
