:root {
    --company-ink: #13231d;
    --company-muted: #58675f;
    --company-line: #dce4df;
    --company-paper: #ffffff;
    --company-soft: #f3f6f4;
    --company-green: #087f5b;
    --company-cyan: #0b7285;
    --company-orange: #d9480f;
    --company-red: #c92a2a;
    --company-yellow: #f4b942;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--company-paper);
    color: var(--company-ink);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    letter-spacing: 0;
}

a { color: inherit; }

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 5;
    color: #fff;
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.brand-mark {
    font-size: 15px;
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    font-size: 14px;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible { text-decoration: underline; }

#products,
#capabilities,
#contact { scroll-margin-top: 24px; }

.company-hero {
    position: relative;
    min-height: min(720px, calc(100svh - 76px));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #13231d url("/images/company/company-hero-abstract.png") center / cover no-repeat;
    color: #fff;
}

.company-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 24, 17, 0.22);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 132px 0 70px;
}

.hero-kicker {
    margin: 0 0 18px;
    color: #b7f4d8;
    font-size: 15px;
    font-weight: 800;
}

.company-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: 56px;
    line-height: 1.16;
    font-weight: 900;
}

.hero-copy {
    max-width: 730px;
    margin: 24px 0 0;
    font-size: 19px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
}

.hero-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.hero-signals span {
    position: relative;
    padding-left: 17px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 800;
}

.hero-signals span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 2px solid #74dcb5;
    transform: translateY(-50%) rotate(45deg);
}

.section {
    padding: 76px 20px;
}

.section.soft { background: var(--company-soft); }

.section-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 38px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--company-green);
    font-size: 13px;
    font-weight: 900;
}

.section h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.3;
}

.section-intro {
    margin: 0;
    color: var(--company-muted);
    font-size: 16px;
    line-height: 1.9;
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--company-line);
    border-bottom: 1px solid var(--company-line);
}

.value-item {
    min-height: 138px;
    padding: 26px 28px;
    border-right: 1px solid var(--company-line);
}

.value-item:last-child { border-right: 0; }

.value-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 22px;
}

.value-item span {
    color: var(--company-muted);
    font-size: 14px;
    line-height: 1.75;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--company-line);
    border-radius: 8px;
    background: var(--company-paper);
}

.product-visual {
    height: 280px;
    overflow: hidden;
    background: #e7ece9;
}

.product-body { padding: 24px; }

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    color: var(--company-muted);
    font-size: 12px;
    font-weight: 800;
}

.product-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
}

.product-card p {
    margin: 0;
    color: var(--company-muted);
    font-size: 14px;
    line-height: 1.85;
}

.watchnav-visual,
.data-visual,
.agent-visual,
.haptic-visual,
.call-visual,
.calligraphy-visual,
.education-visual,
.keyboard-visual {
    height: 100%;
    padding: 28px;
}

.watchnav-visual {
    position: relative;
    overflow: hidden;
    background-color: #dcebe5;
    background-image:
        linear-gradient(rgba(8, 127, 91, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 127, 91, 0.12) 1px, transparent 1px);
    background-size: 34px 34px;
}

.watch-dial {
    position: absolute;
    right: 15%;
    top: 50%;
    width: 154px;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    border: 15px solid #1f2b27;
    border-radius: 50%;
    background: #087f5b;
    color: #fff;
    text-align: center;
    transform: translateY(-50%);
    box-shadow: 0 18px 30px rgba(19, 35, 29, 0.2);
}

.watch-dial::before,
.watch-dial::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 48px;
    height: 26px;
    background: #1f2b27;
    transform: translateX(-50%);
}

.watch-dial::before { top: -36px; border-radius: 8px 8px 0 0; }
.watch-dial::after { bottom: -36px; border-radius: 0 0 8px 8px; }
.watch-dial b { font-size: 28px; line-height: 1; }
.watch-dial small { margin-top: 5px; font-size: 10px; }

.nav-arrow {
    width: 0;
    height: 0;
    margin: 0 auto 10px;
    border-right: 9px solid transparent;
    border-bottom: 22px solid #fff;
    border-left: 9px solid transparent;
    transform: rotate(28deg);
}

.route-segment {
    position: absolute;
    left: 8%;
    height: 4px;
    background: var(--company-orange);
    transform-origin: left center;
}

.route-one { top: 62%; width: 35%; transform: rotate(-22deg); }
.route-two { top: 47%; left: 39%; width: 26%; transform: rotate(14deg); }

.route-node {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--company-orange);
    box-shadow: 0 0 0 2px var(--company-orange);
}

.node-one { left: 7%; top: 58%; }
.node-two { left: 38%; top: 43%; }
.node-three { left: 62%; top: 52%; }

.data-visual {
    background: #e8f7fb;
    color: #0b4f5c;
}

.data-title,
.agent-title,
.education-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 900;
}

.model-row {
    display: grid;
    grid-template-columns: 72px 1fr 42px;
    gap: 12px;
    align-items: center;
    margin: 16px 0;
    font-size: 13px;
}

.model-bar {
    height: 10px;
    background: rgba(11, 114, 133, 0.18);
}

.model-bar span {
    display: block;
    height: 100%;
    background: var(--company-cyan);
}

.agent-visual {
    background: #1d2924;
    color: #dff8ea;
}

.agent-status {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.agent-status div {
    padding: 16px 0;
    border-top: 1px solid rgba(223, 248, 234, 0.24);
}

.agent-status strong,
.agent-status span { display: block; }

.agent-status strong { font-size: 18px; }

.agent-status span {
    margin-top: 5px;
    color: rgba(223, 248, 234, 0.7);
    font-size: 12px;
}

.haptic-visual {
    position: relative;
    display: grid;
    place-items: center;
    background: #fff2df;
}

.haptic-watch {
    width: 150px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 18px solid #2b2a28;
    border-radius: 50%;
    background: var(--company-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.haptic-line {
    position: absolute;
    width: 76%;
    height: 3px;
    background: var(--company-orange);
}

.haptic-dot {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--company-cyan);
}

.haptic-dot.left { left: 12%; }
.haptic-dot.right { right: 12%; background: var(--company-yellow); }

.call-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #e9eef4;
}

.call-device {
    position: relative;
    z-index: 2;
    width: 126px;
    height: 214px;
    padding-top: 34px;
    border: 9px solid #1c2932;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(28, 41, 50, 0.18);
}

.call-device::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 38px;
    height: 5px;
    border-radius: 3px;
    background: #1c2932;
    transform: translateX(-50%);
}

.call-avatar {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--company-cyan);
    box-shadow: inset 0 -15px rgba(255, 255, 255, 0.16);
}

.call-line {
    height: 7px;
    display: block;
    margin: 8px auto;
    border-radius: 4px;
    background: #c4ced5;
}

.call-line.long { width: 62px; }
.call-line.short { width: 40px; }

.call-controls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 22px;
}

.call-controls i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2f9e44;
}

.call-controls i:last-child { background: #e03131; }

.call-wave {
    position: absolute;
    width: 250px;
    aspect-ratio: 1;
    border: 2px solid rgba(11, 114, 133, 0.25);
    border-radius: 50%;
}

.wave-two { width: 330px; border-color: rgba(217, 72, 15, 0.18); }

.brand-node {
    position: absolute;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.samsung-node { left: 14%; top: 34%; background: var(--company-cyan); }
.android-node { right: 14%; bottom: 28%; background: var(--company-orange); }

.calligraphy-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #f4efe4;
}

.practice-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 64px);
    gap: 10px;
}

.practice-grid span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(160, 60, 35, 0.4);
    background-color: rgba(255, 255, 255, 0.55);
    background-image:
        linear-gradient(45deg, transparent 49%, rgba(160, 60, 35, 0.16) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(160, 60, 35, 0.16) 50%, transparent 51%);
    color: #27221c;
    font-family: KaiTi, STKaiti, serif;
    font-size: 38px;
}

.ink-stroke {
    position: absolute;
    right: -32px;
    bottom: 20px;
    width: 220px;
    height: 34px;
    border-radius: 50%;
    background: rgba(28, 29, 27, 0.88);
    transform: rotate(-11deg);
}

.seal-mark {
    position: absolute;
    right: 28px;
    bottom: 25px;
    z-index: 3;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 2px solid #b33c2e;
    color: #b33c2e;
    font-family: KaiTi, serif;
    font-size: 17px;
}

.education-visual {
    background: #f4eeff;
    color: #513785;
}

.education-lines {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: end;
    height: 150px;
}

.education-lines span {
    display: grid;
    place-items: center;
    border-bottom: 2px solid #8b5cf6;
    font-family: KaiTi, serif;
    font-size: 42px;
}

.keyboard-visual {
    background: #f0f1f3;
}

.keyboard-title {
    margin-bottom: 24px;
    font-size: 15px;
    font-weight: 900;
}

.keyboard-keys {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.keyboard-keys span {
    aspect-ratio: 1.35;
    display: grid;
    place-items: center;
    border: 1px solid #cad0d5;
    border-radius: 5px;
    background: #fff;
    color: #39434a;
    font-size: 13px;
    font-weight: 800;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--company-line);
    border: 1px solid var(--company-line);
}

.capability {
    min-height: 190px;
    padding: 28px 24px;
    background: #fff;
}

.capability-index {
    color: var(--company-orange);
    font-size: 13px;
    font-weight: 900;
}

.capability h3 {
    margin: 32px 0 10px;
    font-size: 19px;
}

.capability p {
    margin: 0;
    color: var(--company-muted);
    font-size: 13px;
    line-height: 1.75;
}

.contact-section {
    background: #13231d;
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-grid h2 { color: #fff; }

.contact-grid p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.7;
}

.contact-list span {
    color: #9edbbf;
    font-size: 13px;
    font-weight: 900;
}

.site-footer {
    padding: 22px 20px;
    background: #0c1813;
    color: rgba(255, 255, 255, 0.64);
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 12px;
}

@media (max-width: 820px) {
    .site-nav { gap: 12px; }
    .site-nav a { font-size: 12px; }
    .company-hero h1 { font-size: 38px; }
    .hero-copy { font-size: 16px; }
    .section { padding: 58px 18px; }
    .section-heading,
    .contact-grid { grid-template-columns: 1fr; gap: 22px; }
    .section-heading { margin-bottom: 28px; }
    .section h2 { font-size: 28px; }
    .value-strip,
    .product-grid,
    .capability-grid { grid-template-columns: 1fr; }
    .value-item { border-right: 0; border-bottom: 1px solid var(--company-line); }
    .value-item:last-child { border-bottom: 0; }
    .product-visual { height: 240px; }
    .capability { min-height: 150px; }
    .capability h3 { margin-top: 20px; }
    .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
    .header-inner,
    .hero-inner { width: min(100% - 28px, 1180px); }
    .brand-mark { font-size: 13px; }
    .company-hero { min-height: calc(100svh - 58px); }
    .hero-inner { padding-bottom: 46px; }
    .company-hero h1 { font-size: 34px; }
    .product-body { padding: 20px; }
    .practice-grid { grid-template-columns: repeat(4, minmax(0, 58px)); }
    .data-visual,
    .agent-visual,
    .haptic-visual,
    .education-visual,
    .keyboard-visual { padding: 22px; }
    .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}
