/* Homepage: local fonts and self-contained visual components. */
:root { --blue: #245eea; --ink: #172440; --muted: #627089; --line: #e4eaf3; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #5685ff; outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 20; padding: 12px 20px; background: white; color: var(--blue); }
.skip-link:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 92%); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.navbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; }
.logo img { width: 204px; height: auto; }
nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; }
nav a { padding: 12px 0; transition: color .2s; }
nav a:hover, nav .active { color: var(--blue); }
nav .nav-contact { padding: 10px 19px; border: 1px solid var(--line); border-radius: 8px; }
.nav-contact span { margin-left: 18px; }
.mobile-toggle { display: none; }
.hero { position: relative; overflow: hidden; padding: 92px 0 94px; background: radial-gradient(ellipse at 85% 35%, #e3ecff 0, transparent 56%), linear-gradient(120deg, #fafcff, #f2f6ff); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#245eea04 1px, transparent 1px), linear-gradient(90deg, #245eea04 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #496184; font-size: 12px; font-weight: 500; letter-spacing: 1px; }
.status-dot { display: inline-block; width: 6px; height: 6px; background: #27ae92; border-radius: 50%; flex-shrink: 0; }
h1 { font-size: clamp(46px, 4.8vw, 68px); line-height: 1.23; letter-spacing: -2px; font-weight: 750; margin: 25px 0; }
h1 > span { color: var(--blue); }
h1 .title-dot { color: #73a0ff; }
.hero-description { font-size: 20px; line-height: 1.85; color: #4e5f7b; }
.hero-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 50px; padding: 13px 23px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 24px #1d4bb51c; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px #245eea22; }
.button-primary:hover { background: #194dcd; }
.button-secondary { background: #ffffffb3; border-color: #dbe3f1; }
.hero-tags { display: flex; gap: 23px; margin-top: 25px; color: #64748c; font-size: 12px; }
.architecture { position: relative; padding: 26px; border: 1px solid #fff; border-radius: 20px; background: #ffffff94; box-shadow: 0 24px 65px #355b9b16, 0 0 0 8px #ffffff30; transform: none; }
.architecture-heading, .architecture-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 1.1px; color: #71809a; }
.architecture-heading .status-dot, .architecture-footer .status-dot { margin-right: 5px; }
.diagram-label { letter-spacing: 0; border: 1px solid #dfe7f4; padding: 2px 8px; border-radius: 4px; }
.workspace-card { display: flex; align-items: center; position: relative; gap: 17px; margin-top: 24px; padding: 27px 22px; background: linear-gradient(110deg, #245eea, #457cf3); color: white; border-radius: 12px; box-shadow: 0 10px 24px #245eea26; }
.buddy-symbol { font-size: 36px; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid #ffffff40; background: #ffffff17; border-radius: 15px; }
.small-label { font-size: 10px; color: #e0eaff; letter-spacing: 1px; }
.workspace-card h2 { font-size: 27px; letter-spacing: -.8px; line-height: 1.4; }
.workspace-card p { font-size: 11px; color: #e0eaff; }
.workspace-badge { position: absolute; right: 12px; top: 10px; font-size: 9px; color: #dce8ff; }
.connector { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 57px; justify-content: center; color: #8493ad; font-size: 9px; letter-spacing: 2px; }
.connector > span:first-child, .connector > span:last-child { width: 1px; height: 13px; background: #bdcee9; }
.platform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.platform-card { background: white; border: 1px solid #e0e8f5; border-radius: 10px; padding: 18px; }
.diagram-icon { color: var(--blue); font-size: 26px; line-height: 1; }
.platform-card h3 { font-size: 15px; margin: 10px 0 3px; }
.platform-card p, .compute-card p { font-size: 10px; color: #6c7d97; }
.short { height: 27px; }
.short > span:first-child { height: 27px; }
.compute-card { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border: 1px solid #dbe5f3; background: #edf3fd; border-radius: 10px; }
.chip-icon { font-size: 32px; color: #5e79a8; }
.compute-card h3 { font-size: 14px; }
.compute-bars { margin-left: auto; display: flex; gap: 3px; align-items: end; height: 22px; }
.compute-bars i { width: 4px; height: 9px; background: #82a5ec; border-radius: 2px; }
.compute-bars i:nth-child(2n) { height: 15px; }
.compute-bars i:last-child { height: 22px; background: var(--blue); }
.architecture-footer { margin-top: 21px; font-size: 9px; }
.stats-section { padding: 35px 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 7px 30px; border-right: 1px solid var(--line); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border: 0; }
.stat-index { display: block; font-size: 9px; letter-spacing: 1.1px; color: #78859b; }
.stat-item strong { display: block; font-size: 43px; line-height: 1.5; letter-spacing: -1.8px; font-weight: 650; }
.stat-item strong span { color: var(--blue); font-size: 25px; margin-left: 4px; }
.stat-item p { font-size: 12px; color: var(--muted); }
.products-section { padding: 92px 0; background: #fbfcfe; scroll-margin-top: 15px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 35px; }
.section-kicker { color: var(--blue); font-size: 10px; font-weight: 650; letter-spacing: 2px; margin-bottom: 14px; }
.section-heading h2 { font-size: 32px; letter-spacing: -.8px; line-height: 1.4; }
.section-heading > p { font-size: 13px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { display: flex; flex-direction: column; padding: 25px; background: white; border: 1px solid var(--line); border-radius: 13px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-5px); border-color: #bacdf7; box-shadow: 0 15px 35px #243d7110; }
.product-card.featured { background: linear-gradient(145deg, #edf3ff, #fff); border-color: #cddcfc; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 30px; }
.product-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--blue); background: #edf3ff; border-radius: 11px; font-size: 26px; }
.featured .product-icon { background: var(--blue); color: white; }
.violet { color: #7c61ce; }
.product-icon.violet { background: #f2effb; }
.teal { color: #278e91; background: #eaf6f5; }
.product-tag { color: #6c7c94; font-size: 10px; }
.product-en { font-size: 8px; letter-spacing: 1.2px; color: #74829a; margin-bottom: 8px; }
.product-card h3 { font-size: 22px; line-height: 1.4; min-height: 62px; }
.product-card h3 span { display: block; font-size: 14px; font-weight: 500; color: #4e6489; }
.product-card > p { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 13px 0 20px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-bottom: 24px; }
.feature-tags span { font-size: 10px; padding: 3px 7px; background: #f3f6fa; border-radius: 4px; color: #65748b; }
.product-link { display: flex; align-items: center; justify-content: space-between; min-height: 45px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--blue); font-weight: 600; font-size: 12px; }
.product-link span { font-size: 18px; }
.contact-section { padding: 0 0 75px; background: #fbfcfe; }
.contact-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 48px 55px; border-radius: 16px; color: white; background: radial-gradient(ellipse at right bottom, #3269d9, transparent 65%), #152f66; }
.contact-banner::after { content: ""; position: absolute; width: 340px; height: 340px; border: 1px solid #ffffff12; border-radius: 50%; right: -70px; top: -130px; box-shadow: 0 0 0 45px #ffffff04, 0 0 0 90px #ffffff03; pointer-events: none; }
.contact-banner .section-kicker { color: #a7c3ff; }
.contact-banner h2 { font-size: 30px; line-height: 1.6; margin-bottom: 14px; }
.contact-banner p:last-child { font-size: 12px; color: #bacbea; }
.button-white { position: relative; z-index: 1; background: white; color: #224d9f; flex-shrink: 0; }
.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-content { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.footer-brand { font-size: 17px; font-weight: 700; }
.footer-brand span { font-size: 11px; color: var(--muted); margin-left: 18px; font-weight: 400; }
.footer p { font-size: 10px; color: #77849a; margin-top: 8px; }
.footer-links { display: flex; gap: 25px; font-size: 12px; color: var(--muted); }
.footer-links a:hover { color: var(--blue); }
@media (max-width: 1100px) {
    .hero-grid { gap: 35px; }
    .container { width: calc(100% - 48px); }
    .architecture { padding: 20px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card h3 { min-height: 0; }
    .product-card h3 span { display: inline; }
}
@media (max-width: 800px) {
    .navbar { min-height: 74px; }
    .logo img { width: 175px; }
    nav { gap: 20px; font-size: 12px; }
    .hero { padding: 55px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 45px; }
    .hero-content { text-align: center; }
    h1 { font-size: 58px; }
    .hero-actions, .hero-tags { justify-content: center; }
    .architecture { width: 100%; max-width: 500px; margin-inline: auto; transform: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 25px; }
    .stat-item, .stat-item:first-child { padding: 0 25px; }
    .stat-item:nth-child(2) { border: 0; }
    .products-section { padding: 60px 0; }
    .section-heading { align-items: start; flex-direction: column; gap: 14px; }
    .section-heading > p br { display: none; }
    .contact-banner { padding: 35px; }
    .contact-banner h2 { font-size: 25px; }
    .footer-content { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
    .container { width: calc(100% - 36px); }
    .navbar { flex-wrap: wrap; gap: 0; }
    .mobile-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
    .mobile-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
    .mobile-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .mobile-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    nav { width: 100%; padding: 10px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 14px; }
    nav a { padding: 10px 12px; }
    .js .mobile-toggle { display: flex; }
    .js nav { display: none; }
    .js nav.is-open { display: grid; }
    .hero { padding: 44px 0; }
    .eyebrow { font-size: 10px; letter-spacing: .3px; }
    h1 { font-size: 49px; margin: 23px 0; }
    .hero-description { font-size: 17px; }
    .hero-note { font-size: 12px; }
    .hero-actions { gap: 10px; }
    .button { font-size: 12px; padding: 12px 16px; gap: 13px; }
    .hero-tags { gap: 17px; font-size: 11px; }
    .architecture { padding: 17px; border-radius: 15px; }
    .architecture-heading { font-size: 8px; }
    .workspace-card { padding: 25px 15px; gap: 12px; }
    .buddy-symbol { width: 45px; height: 48px; font-size: 28px; }
    .workspace-card h2 { font-size: 24px; }
    .workspace-card p { font-size: 10px; }
    .platform-card { padding: 14px; }
    .compute-card { padding: 14px 12px; gap: 10px; }
    .architecture-footer { letter-spacing: .4px; font-size: 8px; }
    .stat-item, .stat-item:first-child { padding: 0 13px; }
    .stat-index { font-size: 8px; letter-spacing: .3px; }
    .stat-item strong { font-size: 36px; }
    .stat-item p { font-size: 10px; }
    .section-heading h2 { font-size: 26px; }
    .product-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-card { padding: 25px; }
    .product-top { margin-bottom: 20px; }
    .product-card > p { font-size: 14px; }
    .contact-banner { flex-direction: column; align-items: start; gap: 24px; padding: 30px 25px; }
    .contact-banner h2 { font-size: 25px; }
    .contact-section { padding-bottom: 45px; }
    .footer-brand span { margin-left: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* Compact homepage hero. */
.hero.hero-compact { padding: 48px 0; }
.hero-compact h1 { margin: 18px 0; }
.hero-compact .hero-description { line-height: 1.65; }
.hero-compact .hero-note { margin-top: 8px; }
.hero-compact .hero-actions { margin-top: 22px; }
.hero-compact .hero-tags { margin-top: 18px; }
.hero-compact .architecture { padding: 20px; }
.hero-compact .workspace-card { margin-top: 16px; padding: 18px 20px; }
.hero-compact .connector { height: 43px; }
.hero-compact .connector > span:first-child,
.hero-compact .connector > span:last-child { height: 9px; }
.hero-compact .connector.short,
.hero-compact .connector.short > span:first-child { height: 20px; }
.hero-compact .platform-card { padding: 14px; }
.hero-compact .platform-card h3 { margin-top: 6px; }
.hero-compact .compute-card { padding: 12px 18px; }
.hero-compact .architecture-footer { margin-top: 14px; }
@media (max-width: 800px) {
    .hero.hero-compact { padding: 36px 0; }
    .hero-compact .hero-grid { gap: 28px; }
}
@media (max-width: 480px) {
    .hero.hero-compact { padding: 28px 0; }
    .hero-compact .architecture { padding: 15px; }
    .hero-compact .workspace-card { padding: 18px 15px; }
    .hero-compact .compute-card { padding: 12px; }
}
