@font-face {
  font-family: 'MGLAI Mongolian';
  src: url('/public/fonts/NotoSansMongolian-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #07111d;
  --ink-soft: #1e3143;
  --muted: #738394;
  --line: #dbe3e9;
  --line-dark: rgba(220, 238, 244, 0.2);
  --paper: #ffffff;
  --paper-blue: #f3f7fa;
  --cyan: #a8e3ed;
  --cyan-strong: #6cc8d8;
  --blue: #3e78ad;
  --sage: #dfe8e6;
  --serif: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 86px; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container { width: min(var(--max), calc(100% - 96px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 88px;
  color: #fff;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 0 rgba(7, 17, 29, .08);
  backdrop-filter: blur(16px);
}

.site-header,
.site-header > .brand,
.site-header > .desktop-nav,
.site-header > .header-actions { padding-left: 48px; padding-right: 48px; }
.site-header { display: grid; grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr); align-items: center; gap: 24px; }
.site-header > .brand { padding-right: 0; }
.site-header > .desktop-nav { padding-left: 0; padding-right: 0; }
.site-header > .header-actions { padding-left: 0; }

.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; overflow: visible; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.brand-copy { display: grid; gap: 2px; line-height: 1; }
.brand-copy strong { font-size: 15px; font-weight: 600; letter-spacing: .1em; }
.brand-copy small { font-family: var(--mono); font-size: 8px; letter-spacing: .26em; opacity: .72; }

.desktop-nav { display: flex; align-items: center; gap: 31px; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.desktop-nav a { position: relative; opacity: .82; transition: opacity .2s ease; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.desktop-nav a:hover, .desktop-nav a.is-active { opacity: 1; }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 23px; }
.language-switch { color: inherit; border: 0; background: transparent; padding: 7px 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .8; }
.device-switch { color: inherit; font-size: 11px; letter-spacing: .06em; opacity: .65; }
.device-switch:hover { opacity: 1; }
.header-contact { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: .06em; }
.header-contact span { font-size: 15px; transition: transform .2s ease; }
.header-contact:hover span { transform: translate(2px, -2px); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px 0 10px 12px; color: inherit; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { position: relative; min-height: min(880px, 100vh); height: 880px; overflow: hidden; background: var(--ink); color: #fff; }
.hero-image { position: absolute; inset: 0; background: url('/public/assets/hero-steppe.png') center center / cover no-repeat; transform: scale(1.015); animation: hero-drift 16s ease-out both; }
.hero-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 14, 25, .12), transparent 62%); }
.hero-grain { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero::after { content: ''; position: absolute; z-index: 1; inset: 42% 0 0; background: linear-gradient(180deg, transparent, rgba(3, 12, 22, .3) 55%, #07111d 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 78px; }
.hero-copy { max-width: 650px; margin-top: -28px; }
.hero-script { margin: 0 0 22px; color: var(--cyan); font-family: 'MGLAI Mongolian', sans-serif; font-size: 23px; line-height: 1; writing-mode: vertical-rl; letter-spacing: 0; opacity: .9; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 22px; font-size: clamp(52px, 6vw, 86px); line-height: 1.05; letter-spacing: -.07em; font-weight: 500; }
.hero h1 em, h2 em { font-style: normal; color: var(--cyan); }
.hero-lede { margin-bottom: 34px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.9; letter-spacing: .02em; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid transparent; padding: 14px 20px; min-width: 132px; font-size: 12px; letter-spacing: .08em; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.button span { font-family: var(--mono); font-size: 16px; transition: transform .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(3px, -1px); }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--cyan); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 12px; letter-spacing: .08em; }
.text-link span { font-family: var(--mono); font-size: 16px; transition: transform .25s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.text-link-light { color: rgba(255,255,255,.82); }
.hero-meta { position: absolute; left: 0; bottom: 57px; display: flex; align-items: end; gap: 85px; }
.hero-microcopy { font-family: var(--mono); color: rgba(255,255,255,.54); font-size: 9px; line-height: 1.65; letter-spacing: .1em; }
.hero-progress { display: flex; align-items: center; gap: 11px; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.6); }
.hero-progress i { display: block; width: 80px; height: 1px; background: rgba(255,255,255,.35); }
.hero-progress .arrow { margin-left: 7px; color: #fff; font-size: 18px; }
.scroll-cue { position: absolute; z-index: 3; right: 48px; bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 15px; color: rgba(255,255,255,.55); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 52px; background: linear-gradient(#fff, transparent); }

.section-light, .section-pale { position: relative; overflow: hidden; }
.section-light { background: var(--paper); }
.section-pale { background: var(--paper-blue); }
.intro { padding: 128px 0 132px; }
.section-topline { display: grid; grid-template-columns: 80px max-content 1fr; align-items: center; gap: 20px; margin-bottom: 80px; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.section-mongolian { position: absolute; z-index: 1; margin: 0; font-family: 'MGLAI Mongolian', sans-serif; font-size: 15px; line-height: 1.4; writing-mode: vertical-rl; letter-spacing: 0; pointer-events: none; }
.section-mongolian::before { content: ''; display: block; width: 1px; height: 34px; margin: 0 auto 12px; background: currentColor; opacity: .45; }
.section-mongolian-light { top: 42px; right: 7%; }
.section-mongolian-pale { top: 86px; right: 11%; font-size: 13px; transform: rotate(2deg); }
.section-mongolian-dark { top: 44px; right: 4%; font-size: 14px; }
.section-mongolian-light { color: rgba(62,120,173,.42); }
.section-mongolian-pale { color: rgba(62,120,173,.28); }
.section-mongolian-dark { color: rgba(168,227,237,.5); }
.section-index { color: var(--blue); }
.section-kicker { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--serif); font-size: 12px; letter-spacing: .12em; }
.section-kicker small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.section-rule { height: 1px; background: var(--line); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12%; align-items: start; }
.intro-heading { position: relative; padding-left: 62px; }
.mongolian-vertical { position: absolute; top: 6px; left: 0; margin: 0; color: var(--blue); font-family: 'MGLAI Mongolian', sans-serif; font-size: 18px; line-height: 1.15; writing-mode: vertical-rl; letter-spacing: 0; opacity: .72; }
h2 { margin-bottom: 0; font-size: clamp(38px, 4.2vw, 62px); line-height: 1.16; letter-spacing: -.08em; font-weight: 500; }
.intro-copy { padding-top: 9px; max-width: 460px; }
.lead-copy { margin-bottom: 29px; color: var(--ink-soft); font-size: 18px; line-height: 1.8; letter-spacing: -.02em; }
.body-copy { margin-bottom: 27px; color: var(--muted); font-size: 13px; line-height: 2; }
.signal-line { display: flex; align-items: center; height: 35px; gap: 4px; margin: 6px 0 27px; }
.signal-line span { display: block; width: 2px; background: var(--cyan-strong); opacity: .75; }
.signal-line span:nth-child(1), .signal-line span:nth-child(9) { height: 7px; }
.signal-line span:nth-child(2), .signal-line span:nth-child(8) { height: 14px; }
.signal-line span:nth-child(3), .signal-line span:nth-child(7) { height: 25px; }
.signal-line span:nth-child(4), .signal-line span:nth-child(6) { height: 16px; }
.signal-line span:nth-child(5) { height: 34px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 104px; }
.principle { position: relative; padding: 27px 20px 5px 0; display: flex; align-items: start; gap: 14px; }
.principle + .principle { padding-left: 24px; border-left: 1px solid var(--line); }
.principle-icon { width: 26px; height: 26px; flex: 0 0 26px; color: var(--ink); }
.principle-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principle strong { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; }
.principle small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .03em; }

.products { padding: 116px 0 128px; }
.section-heading-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12%; align-items: end; margin-bottom: 57px; }
.section-heading-row p { max-width: 410px; margin: 0 0 7px; color: var(--muted); font-size: 13px; line-height: 2; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.product-list { border-top: 1px solid var(--line); }
.product-item { width: 100%; display: grid; grid-template-columns: 54px 1fr 30px; gap: 16px; align-items: center; padding: 23px 6px 23px 0; color: var(--ink-soft); text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); transition: color .25s ease, padding .3s var(--ease), background .25s ease; }
.product-item:hover, .product-item.is-active { padding-left: 16px; color: var(--ink); background: rgba(255,255,255,.75); }
.product-number { color: var(--blue); font-family: var(--mono); font-size: 10px; }
.product-info strong { display: block; margin-bottom: 7px; font-size: 18px; font-weight: 500; letter-spacing: -.04em; }
.product-info small { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .04em; }
.product-arrow { font-family: var(--mono); font-size: 22px; color: var(--blue); opacity: 0; transform: translateX(-5px); transition: opacity .25s ease, transform .25s ease; }
.product-item:hover .product-arrow, .product-item.is-active .product-arrow { opacity: 1; transform: translateX(0); }
.product-detail { position: relative; min-height: 437px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 31px 27px; overflow: hidden; background: var(--ink); color: #fff; }
.product-detail::after { content: ''; position: absolute; inset: 50% -20% -45% 35%; border-radius: 50%; background: radial-gradient(circle, rgba(168,227,237,.22), transparent 63%); pointer-events: none; }
.detail-top { position: relative; z-index: 1; display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.detail-status { display: inline-flex; align-items: center; gap: 7px; }
.detail-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan-strong); box-shadow: 0 0 0 4px rgba(108,200,216,.13); }
.detail-art { position: absolute; top: 66px; right: 40px; width: 190px; height: 190px; }
.detail-orbit { position: absolute; border: 1px solid rgba(168,227,237,.32); border-radius: 50%; transform: rotate(-28deg); }
.orbit-one { inset: 27px -4px 27px -4px; }
.orbit-two { inset: 4px 25px 4px 25px; transform: rotate(54deg); }
.detail-core { position: absolute; inset: 52px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 19px; transform: rotate(45deg); border: 1px solid rgba(168,227,237,.65); background: linear-gradient(135deg, rgba(106,194,211,.3), rgba(8,21,34,.3)); box-shadow: 0 0 45px rgba(109,196,216,.25); }
.detail-core span { background: rgba(168,227,237,.55); }
.detail-core span:nth-child(2), .detail-core span:nth-child(3) { background: rgba(255,255,255,.18); }
.detail-copy { position: relative; z-index: 1; margin-top: 189px; max-width: 330px; }
.detail-english { color: var(--cyan); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.detail-copy h3 { margin: 11px 0 10px; font-size: 28px; font-weight: 500; letter-spacing: -.05em; }
.detail-copy p { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.85; }
.detail-link { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; width: 100%; padding-top: 16px; color: #fff; border-top: 1px solid var(--line-dark); font-size: 11px; letter-spacing: .1em; }
.detail-link span { color: var(--cyan); font-family: var(--mono); font-size: 18px; transition: transform .25s ease; }
.detail-link:hover span { transform: translateX(4px); }

.section-dark { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.technology { padding: 116px 0 80px; }
.tech-glow { position: absolute; width: 650px; height: 650px; top: 110px; right: 3%; border-radius: 50%; background: radial-gradient(circle, rgba(52,129,163,.23), transparent 67%); pointer-events: none; }
.section-topline-dark { color: rgba(255,255,255,.45); }
.section-topline-dark .section-index { color: var(--cyan); }
.section-topline-dark .section-kicker { color: #fff; }
.section-topline-dark .section-rule { background: var(--line-dark); }
.tech-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 10%; align-items: center; }
.tech-copy { max-width: 520px; }
.tech-copy h2 { margin-bottom: 25px; font-size: clamp(36px, 4vw, 58px); }
.tech-copy p { max-width: 410px; margin-bottom: 31px; color: rgba(255,255,255,.6); font-size: 13px; line-height: 2; }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.38); background: transparent; }
.button-outline-light:hover { color: var(--ink); border-color: var(--cyan); background: var(--cyan); }
.stack-visual { position: relative; min-height: 508px; }
.stack-cube { position: absolute; display: grid; place-items: center; width: 144px; height: 102px; color: var(--cyan); border: 1px solid rgba(168,227,237,.5); background: linear-gradient(135deg, rgba(95,184,211,.4), rgba(15,35,52,.65)); box-shadow: 0 16px 38px rgba(0,0,0,.25), inset 0 0 26px rgba(168,227,237,.08); transform: skewY(-28deg) rotate(28deg); }
.stack-cube::before, .stack-cube::after { content: ''; position: absolute; border: 1px solid rgba(168,227,237,.24); }
.stack-cube::before { inset: 10px; }
.stack-cube::after { inset: 20px; }
.stack-cube i { position: relative; z-index: 1; font-style: normal; font-family: var(--mono); font-size: 21px; transform: skewY(28deg) rotate(-28deg); }
.cube-mid { top: 48px; left: 23%; transform: skewY(-28deg) rotate(28deg) scale(.86); opacity: .7; }
.cube-low { top: 174px; left: 19%; transform: skewY(-28deg) rotate(28deg) scale(1.02); opacity: .83; }
.cube-base { top: 306px; left: 15%; transform: skewY(-28deg) rotate(28deg) scale(1.18); color: #fff; opacity: 1; }
.stack-labels { position: absolute; z-index: 2; top: 88px; right: 4%; display: grid; gap: 70px; color: rgba(255,255,255,.76); font-size: 12px; }
.stack-labels span { position: relative; display: grid; gap: 5px; padding-left: 20px; }
.stack-labels span::before { content: ''; position: absolute; top: 6px; left: 0; width: 10px; height: 1px; background: var(--cyan); }
.stack-labels small { color: rgba(255,255,255,.4); font-family: var(--mono); font-size: 9px; }
.stack-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(168,227,237,.4), transparent); transform: rotate(-27deg); }
.line-a { width: 280px; top: 152px; right: 0; }
.line-b { width: 310px; top: 288px; right: 2px; }
.line-c { width: 325px; top: 408px; right: 1px; }
.tech-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 680px; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.tech-stats div { padding: 27px 23px 0 0; }
.tech-stats div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.tech-stats strong { display: block; margin-bottom: 10px; color: #fff; font-size: 32px; font-weight: 400; letter-spacing: -.06em; }
.tech-stats span { color: rgba(255,255,255,.5); font-size: 11px; }

.solutions { padding: 120px 0 132px; }
.solution-heading { margin-bottom: 58px; }
.solution-showcase { display: grid; grid-template-columns: 1.17fr .83fr; min-height: 462px; gap: 18px; }
.solution-image { min-height: 462px; background: url('/public/assets/solution-steppe.png') center / cover no-repeat; filter: saturate(.8); }
.solution-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.solution-card { position: relative; min-height: 225px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 20px; overflow: hidden; border: 1px solid #dbe3e9; background: #fff; transition: transform .3s var(--ease), box-shadow .3s ease; }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(27, 57, 79, .1); }
.solution-card::after { content: ''; position: absolute; width: 130px; height: 130px; right: -40px; bottom: -60px; border-radius: 50%; background: var(--card-accent, #dcecf2); opacity: .6; }
.solution-card[data-tone="mist"] { --card-accent: #e4edf1; }
.solution-card[data-tone="sage"] { --card-accent: #e5eee8; }
.solution-card[data-tone="slate"] { --card-accent: #dce2ea; }
.solution-card-number { color: var(--blue); font-family: var(--mono); font-size: 10px; }
.solution-card strong { position: relative; z-index: 1; display: block; margin-bottom: 7px; font-size: 17px; font-weight: 500; }
.solution-card small { position: relative; z-index: 1; color: var(--muted); font-size: 11px; }
.solution-card-arrow { position: relative; z-index: 1; align-self: end; display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-family: var(--mono); font-size: 17px; transition: background .25s ease, color .25s ease; }
.solution-card:hover .solution-card-arrow { background: var(--ink); color: #fff; }

.join { padding: 124px 0 118px; background: #07111d; }
.join::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(7,17,29,0) 45%, rgba(36,94,117,.18)); pointer-events: none; }
.join-orbit { position: absolute; width: 640px; height: 640px; right: -160px; top: -90px; border: 1px solid rgba(168,227,237,.12); border-radius: 50%; box-shadow: 0 0 0 30px rgba(168,227,237,.025), 0 0 0 76px rgba(168,227,237,.018); }
.join-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 12%; align-items: start; }
.join-script { display: block; margin-bottom: 24px; color: var(--cyan); font-family: 'MGLAI Mongolian', sans-serif; font-size: 19px; line-height: 1.2; writing-mode: vertical-rl; letter-spacing: 0; }
.join h2 { margin-bottom: 24px; color: #fff; font-size: clamp(38px, 4.2vw, 60px); }
.join-copy > p { margin-bottom: 37px; color: rgba(255,255,255,.6); font-size: 14px; line-height: 2; }
.join-note { display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.42); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.join-note i { display: block; width: 60px; height: 1px; background: var(--cyan); }
.contact-form { position: relative; z-index: 1; padding: 30px 29px 27px; border: 1px solid rgba(255,255,255,.18); background: rgba(9, 26, 40, .55); backdrop-filter: blur(10px); }
.form-heading { display: grid; gap: 9px; margin-bottom: 26px; }
.form-heading span { color: var(--cyan); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.form-heading strong { color: #fff; font-size: 18px; font-weight: 500; }
.contact-form label { display: grid; gap: 9px; margin-bottom: 17px; color: rgba(255,255,255,.55); font-size: 11px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 0; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.24); border-radius: 0; outline: none; background: transparent; font-size: 13px; resize: vertical; transition: border-color .2s ease; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.27); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); }
.form-submit { margin-top: 6px; border: 0; }
.form-status { min-height: 18px; margin: 15px 0 0; color: var(--cyan); font-size: 11px; line-height: 1.5; }
.form-status.is-error { color: #f4aaa2; }

.site-footer { padding: 67px 0 26px; color: rgba(255,255,255,.65); background: #050d16; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 35px; }
.brand-footer { color: #fff; }
.footer-brand > p { margin: 18px 0 11px; font-size: 12px; }
.footer-mongolian { display: inline-block; color: rgba(168,227,237,.75); font-family: 'MGLAI Mongolian', sans-serif; font-size: 15px; line-height: 1.25; writing-mode: vertical-rl; letter-spacing: 0; }
.footer-links { display: grid; align-content: start; gap: 11px; font-size: 11px; }
.footer-links strong { margin-bottom: 5px; color: #fff; font-size: 12px; font-weight: 500; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 68px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.34); font-family: var(--mono); font-size: 9px; letter-spacing: .02em; }
.toast { position: fixed; z-index: 40; right: 28px; bottom: 28px; max-width: 320px; padding: 13px 17px; color: #fff; border: 1px solid rgba(168,227,237,.25); background: rgba(7,17,29,.92); box-shadow: 0 14px 30px rgba(7,17,29,.18); font-size: 12px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.reveal { opacity: 0; transform: translate3d(0, 22px, 0); will-change: opacity, transform; transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .22s; }
@keyframes hero-drift { from { opacity: .72; transform: scale(1.04); } to { opacity: 1; transform: scale(1.015); } }

@media (max-width: 1060px) {
  .site-header, .site-header > .brand, .site-header > .desktop-nav, .site-header > .header-actions { padding-left: 28px; padding-right: 28px; }
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .desktop-nav { gap: 17px; }
  .header-contact { display: none; }
  .intro-grid, .section-heading-row, .tech-grid, .join-grid { gap: 8%; }
  .product-layout { gap: 32px; }
  .stack-labels { right: -2%; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 560px); }
  .site-header { height: 72px; padding: 0 20px; grid-template-columns: 1fr auto; }
  .site-header > .brand, .site-header > .header-actions { padding: 0; }
  .site-header > .desktop-nav { position: fixed; inset: 72px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 13px 20px 28px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 20px 30px rgba(7,17,29,.1); opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .site-header.menu-open > .desktop-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .desktop-nav a { width: 100%; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14px; opacity: 1; }
  .desktop-nav a::after { display: none; }
  .header-actions { gap: 15px; }
  .device-switch { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 760px; height: 100svh; }
  .hero-inner { padding-top: 70px; }
  .hero-copy { margin-top: -18px; }
  .hero-script { margin-bottom: 18px; font-size: 19px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(46px, 13vw, 66px); }
  .hero-lede { font-size: 13px; line-height: 1.85; }
  .desktop-only { display: none; }
  .hero-actions { gap: 19px; }
  .button { min-width: 120px; padding: 13px 16px; }
  .hero-meta { bottom: 32px; gap: 27px; }
  .hero-microcopy { font-size: 8px; }
  .hero-progress i { width: 40px; }
  .scroll-cue { right: 16px; bottom: 29px; font-size: 8px; }
  .intro, .products, .technology, .solutions, .join { padding: 82px 0 88px; }
  .section-topline { grid-template-columns: 58px max-content 1fr; gap: 12px; margin-bottom: 54px; font-size: 9px; }
  .section-kicker { display: grid; gap: 4px; font-size: 11px; }
  .section-kicker small { font-size: 8px; }
  .intro-grid, .section-heading-row, .tech-grid, .join-grid, .solution-showcase { grid-template-columns: 1fr; gap: 40px; }
  .intro-heading { padding-left: 49px; }
  .mongolian-vertical { font-size: 15px; }
  .section-mongolian-light { top: 30px; right: 20px; }
  .section-mongolian-pale { top: 62px; right: 48px; }
  .section-mongolian-dark { top: 30px; right: 20px; }
  h2 { font-size: clamp(37px, 12vw, 53px); }
  .intro-copy { padding-top: 0; }
  .lead-copy { font-size: 16px; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); margin-top: 63px; }
  .principle { padding: 21px 12px 19px 0; }
  .principle + .principle { padding-left: 13px; }
  .principle:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .principle:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading-row p { margin: -18px 0 0; }
  .product-layout { grid-template-columns: 1fr; gap: 22px; }
  .product-item { grid-template-columns: 42px 1fr 26px; padding-top: 19px; padding-bottom: 19px; }
  .product-info strong { font-size: 16px; }
  .product-detail { min-height: 395px; padding: 23px 22px; }
  .detail-art { top: 57px; right: 18px; transform: scale(.8); transform-origin: top right; }
  .detail-copy { margin-top: 172px; max-width: 275px; }
  .detail-copy h3 { font-size: 25px; }
  .tech-grid { gap: 35px; }
  .tech-copy h2 { font-size: clamp(35px, 11vw, 51px); }
  .stack-visual { min-height: 390px; transform: scale(.83); transform-origin: top center; margin: -22px 0 -50px; }
  .stack-labels { right: -4%; }
  .tech-stats { margin-top: 13px; }
  .tech-stats strong { font-size: 25px; }
  .tech-stats div { padding-right: 10px; }
  .tech-stats div + div { padding-left: 11px; }
  .solution-showcase { gap: 13px; }
  .solution-image { min-height: 280px; }
  .solution-list { min-height: 0; }
  .solution-card { min-height: 175px; padding: 17px 15px; }
  .join-grid { gap: 46px; }
  .join-orbit { width: 400px; height: 400px; right: -200px; top: 80px; }
  .contact-form { padding: 25px 19px 22px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: grid; gap: 9px; margin-top: 47px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  section[id] { scroll-margin-top: 0; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (hover: none), (pointer: coarse) {
  .button:hover { transform: none; }
  .button:hover span, .text-link:hover span, .header-contact:hover span { transform: none; }
  .product-item:hover { padding-left: 0; color: var(--ink-soft); background: transparent; }
  .product-item:hover .product-arrow { opacity: 0; transform: translateX(-5px); }
  .solution-card:hover { transform: none; box-shadow: none; }
  .solution-card:hover .solution-card-arrow { color: var(--ink); background: transparent; }
  a, button, input, textarea { touch-action: manipulation; }
}
