/* Yihui Tech company website. Light theme; colours follow the logo and business cards.
   Pages are generated by site-src/build.py; this file is written by hand. */

:root {
  --bg: #ffffff;
  --soft: #f6f8fb;
  --tint: #edf2fa;
  --line: #e2e8f0;
  --line2: #cbd5e1;
  --ink: #0f1b2d;
  --text: #334155;
  --text2: #475569;
  --muted: #64748b;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-s: #e8f0fe;
  --blue-l: #93c5fd;
  --navy: #0b1526;
  --navy2: #14223a;
  --on-navy: #e2e8f0;
  --on-navy2: #94a3b8;
  --radius: 16px;
  --shadow: 0 18px 40px -18px rgba(15, 27, 45, 0.28);
  --shadow-sm: 0 8px 24px -14px rgba(15, 27, 45, 0.22);
  --hdr: 72px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 64px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.wrap--wide { max-width: 1216px; }

/* ---------- type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
html[lang="zh-Hans"] .eyebrow { letter-spacing: 0.04em; }
.eyebrow--light { color: var(--blue-l); }
.eyebrow--muted { color: var(--muted); }
.h1 { font-size: clamp(2.25rem, 1.35rem + 3vw, 3.5rem); line-height: 1.1; font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.18; font-weight: 650; color: var(--ink); letter-spacing: -0.015em; }
.h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.75rem); line-height: 1.25; font-weight: 650; color: var(--ink); }
.acc { color: var(--blue); }
.lede { font-size: 1.125rem; line-height: 1.65; color: var(--text2); margin-top: 14px; max-width: 46em; }
.lede--lg { font-size: 1.2rem; margin-top: 20px; }
h3 { color: var(--ink); font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
p { color: var(--text2); }
.caption { font-size: 13px; color: var(--muted); margin-top: 12px; }
.caption--center { text-align: center; }

/* ---------- icons ---------- */
.i { width: 24px; height: 24px; flex: none; }
.i--sm { width: 16px; height: 16px; }
.ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-s); color: var(--blue); flex: none; }
.ico--lg { width: 56px; height: 56px; border-radius: 16px; }
.ico--lg .i { width: 28px; height: 28px; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 10px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn--lg { height: 52px; padding: 0 26px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line2); }
.btn--secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btns--center { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; margin-top: 20px; }
.link:hover { color: var(--blue-d); }
.link:hover .i { transform: translateX(2px); }
.link .i { transition: transform .15s; }
.link--sm { margin-top: 0; font-size: 0.9rem; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 1.15rem; flex: none; }
.brand img { width: 30px; height: 30px; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { color: var(--text); font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__links a:hover { color: var(--blue); }
.nav__links a.is-active { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; border: 1px solid var(--line2); border-radius: 999px; padding: 3px; }
.lang a { min-width: 30px; height: 24px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.lang a.is-on { background: var(--tint); color: var(--ink); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: 10px; cursor: pointer; }
.menu-btn__close { display: none; }

/* home: transparent header over the photo, solid once scrolled */
.hdr--overlay { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background-color .2s, border-color .2s; }
.hdr--overlay .brand, .hdr--overlay .menu-btn { color: #fff; }
.hdr--overlay .nav__links a { color: rgba(255, 255, 255, 0.88); }
.hdr--overlay .nav__links a:hover { color: #fff; }
.hdr--overlay .lang { border-color: rgba(255, 255, 255, 0.45); }
.hdr--overlay .lang a { color: rgba(255, 255, 255, 0.7); }
.hdr--overlay .lang a.is-on { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hdr--overlay.is-solid { background: #fff; border-bottom-color: var(--line); }
.hdr--overlay.is-solid .brand, .hdr--overlay.is-solid .menu-btn { color: var(--ink); }
.hdr--overlay.is-solid .nav__links a { color: var(--text); }
.hdr--overlay.is-solid .lang { border-color: var(--line2); }
.hdr--overlay.is-solid .lang a { color: var(--muted); }
.hdr--overlay.is-solid .lang a.is-on { background: var(--tint); color: var(--ink); }

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec--tight { padding: 88px 0 24px; }
.sec--soft { background: var(--soft); }
.sec__head { margin-bottom: 48px; max-width: 860px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__more { margin-top: 8px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }

/* ---------- home hero ---------- */
.hero-home { position: relative; min-height: 760px; display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-home picture { position: absolute; inset: 0; }
.hero-home__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.hero-home::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 28, 0.86) 0%, rgba(8, 14, 28, 0.62) 40%, rgba(8, 14, 28, 0.16) 78%), linear-gradient(180deg, rgba(8, 14, 28, 0.55) 0%, rgba(8, 14, 28, 0) 22%); }
.hero-home__in { position: relative; z-index: 1; padding-top: calc(var(--hdr) + 48px); padding-bottom: 72px; }
.hero-home__h1 { font-size: clamp(2.5rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.08; font-weight: 650; letter-spacing: -0.02em; color: #fff; max-width: 13em; }
.hero-home__h1 .acc { color: var(--blue-l); }
.hero-home__lede { font-size: 1.2rem; line-height: 1.6; color: #e2e8f0; margin-top: 22px; max-width: 34em; }

/* recognition strip */
.awards { border-bottom: 1px solid var(--line); }
.awards__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.award { display: flex; align-items: center; gap: 14px; padding: 30px 0 30px 24px; border-left: 1px solid var(--line); }
.award:first-child { padding-left: 0; border-left: 0; }
.award .ico { width: 44px; height: 44px; border-radius: 12px; }
.award strong { display: block; color: var(--ink); font-size: 0.95rem; line-height: 1.35; }
.award span { color: var(--muted); font-size: 0.875rem; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; align-items: start; }
.pillars li { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line2); }
.pillars li:last-child { border-bottom: 1px solid var(--line2); }
.pillars p { margin-top: 4px; }

/* product cards */
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-card__visual { background: var(--tint); padding: 28px 28px 0; }
.prod-card__visual .browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.prod-card__body { padding: 26px 28px 28px; }
.prod-card__body h3 { font-size: 1.5rem; }
.prod-card__body p { margin-top: 8px; }

/* browser frame */
.browser { background: #fff; border: 1px solid var(--line2); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.browser__bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f1f5f9; border-bottom: 1px solid var(--line); position: relative; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.browser__bar i:nth-child(2) { background: #fbbf24; }
.browser__bar i:nth-child(3) { background: #4ade80; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.browser--lg img { aspect-ratio: 2240 / 1110; }

/* cards */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 6px; font-size: 0.95rem; }
.card--link { transition: border-color .15s, box-shadow .15s; padding-bottom: 56px; }
.card--link:hover { border-color: var(--blue-l); box-shadow: var(--shadow-sm); }
.card__arrow { position: absolute; left: 26px; bottom: 24px; color: var(--blue); width: 20px; height: 20px; }
.card--bar h3 { margin-top: 0; }
.card--bar::before { content: ""; display: block; width: 28px; height: 4px; background: var(--blue); border-radius: 2px; margin-bottom: 18px; }
.feat h3 { margin-top: 18px; }
.feat p { margin-top: 6px; font-size: 0.95rem; }
.feat:hover h3 { color: var(--blue); }

/* news */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.news__feat { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.news__img { width: 100%; height: 100%; max-height: 396px; object-fit: cover; object-position: 50% 45%; border-radius: 12px; }
.news__body { padding: 16px 10px 16px 0; }
.news__body h3 { font-size: 1.45rem; line-height: 1.3; }
.news__body p { margin-top: 10px; }
.news__body .eyebrow, .news__item .eyebrow { color: var(--muted); margin-bottom: 8px; font-size: 12px; }
.news__list { display: grid; gap: 16px; }
.news__item { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.news__item .ico { width: 44px; height: 44px; border-radius: 12px; }
.news__item p { font-size: 0.93rem; margin-top: 2px; }

/* CTA band */
.cta { background: var(--navy); color: #fff; padding: 88px 0; }
.cta__in { text-align: center; }
.cta__h { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.25; font-weight: 650; color: #fff; }
.cta__p { color: var(--on-navy2); margin-top: 12px; font-size: 1.1rem; }

/* footer */
.ftr { background: var(--navy); color: var(--on-navy); border-top: 1px solid var(--navy2); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 64px; padding-bottom: 48px; }
.brand--light { color: #fff; }
.brand--light img { width: 28px; height: 28px; }
.ftr__brand p { color: var(--on-navy2); margin-top: 14px; font-size: 0.95rem; }
.ftr__mail { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--on-navy); }
.ftr__mail:hover { color: #fff; }
.ftr__h { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy2); font-weight: 600; margin-bottom: 14px; }
.ftr__col li { margin-bottom: 9px; }
.ftr__col a { color: var(--on-navy); font-size: 0.93rem; }
.ftr__col a:hover { color: #fff; }
.ftr__bottom { border-top: 1px solid var(--navy2); padding-top: 22px; padding-bottom: 28px; font-size: 13px; }
.ftr__bottom p { color: var(--on-navy2); }

/* ---------- product page ---------- */
.subnav { position: sticky; top: var(--hdr); z-index: 40; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); }
.subnav__in { height: 56px; display: flex; align-items: center; gap: 36px; }
.subnav__name { font-weight: 650; font-size: 1.05rem; color: var(--ink); }
.subnav__links { display: flex; gap: 28px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.subnav__links a { font-size: 0.93rem; color: var(--text); white-space: nowrap; padding: 16px 0; border-bottom: 2px solid transparent; }
.subnav__links a:hover { color: var(--blue); }
.subnav__links a.is-active { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
.hero-product { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); padding: 80px 0 72px; }
.hero-product__in { text-align: center; max-width: 900px; margin-bottom: 56px; }
.hero-product__in .lede { margin-left: auto; margin-right: auto; }
.benefits { border-bottom: 1px solid var(--line); }
.benefits__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 64px; }
.benefits__list li { display: flex; gap: 18px; }
.benefits__list p { margin-top: 4px; font-size: 0.95rem; }
.split { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 64px; align-items: start; }
.split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); }
.split--rev .split__text { order: 2; }
.split--rev .split__media { order: 1; }
.steps { margin-top: 32px; display: grid; gap: 26px; }
.steps li { display: flex; gap: 18px; }
.steps .ico { width: 44px; height: 44px; border-radius: 12px; }
.steps p { margin-top: 2px; font-size: 0.97rem; }
.num { color: var(--blue); margin-right: 10px; font-weight: 600; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.faq__item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq__item summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 1.07rem; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin-top: 10px; }

/* ---------- inner page hero ---------- */
.hero-page { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); padding: 96px 0 88px; }
.hero-page__in--split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.facts li { padding: 4px 0 4px 22px; border-left: 1px solid var(--line2); }
.facts strong { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 650; line-height: 1.3; }
.facts span { color: var(--muted); font-size: 0.93rem; }

/* solutions */
.stack { display: grid; gap: 30px; }
.stack__layer { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); position: relative; }
.stack__layer:nth-child(2) { margin-left: 26px; }
.stack__layer:nth-child(3) { margin-left: 52px; }
.stack__layer:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; height: 18px; border-left: 2px dotted var(--blue-l); }
.stack__layer strong { display: block; color: var(--ink); font-size: 1.1rem; }
.stack__layer span:not(.ico) { color: var(--muted); font-size: 0.93rem; }
.ind { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.ind__head { display: flex; gap: 20px; }
.ind__head h3 { font-size: 1.35rem; }
.ind__head p { margin-top: 4px; }
.checks { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.checks .i { color: var(--blue); width: 20px; height: 20px; margin-top: 3px; }
.ind .checks { margin-left: 76px; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.process::before { content: ""; position: absolute; top: 22px; left: 22px; right: 12%; border-top: 2px solid #bfdbfe; }
.process li { position: relative; }
.process__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; font-size: 0.95rem; position: relative; }
.process h3 { margin-top: 18px; }
.process p { margin-top: 6px; font-size: 0.97rem; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.why li { border-top: 2px solid var(--ink); padding-top: 16px; }
.why p { margin-top: 6px; font-size: 0.95rem; }

/* technology */
.tech { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 64px; align-items: center; margin-bottom: 96px; }
.tech--rev .tech__media { order: 2; }
.tech__text p { margin-top: 14px; font-size: 1.05rem; }
.pub { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 34px; }
.pub h3 { font-size: 1.45rem; margin-top: 4px; }

/* about */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); border: 1px solid var(--line); }
.person h3 { margin-top: 18px; }
.person p { font-size: 0.93rem; margin-top: 2px; }
.person__role { color: var(--blue) !important; font-weight: 600; }
.person__extra { color: var(--muted) !important; font-size: 0.87rem !important; }
.kv { margin-top: 18px; border-top: 1px solid var(--line); }
.kv__row { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { color: var(--ink); font-weight: 600; }
.kv a { color: var(--blue); }

/* contact */
.hero-page--contact { padding-bottom: 104px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 72px; align-items: start; }
.kv--side { margin-top: 36px; border-top: 0; }
.kv--side .kv__row { grid-template-columns: 1fr; gap: 2px; border-bottom: 0; padding: 0 0 20px; }
.kv--side dt { font-size: 13px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow); }
.topics { border: 0; padding: 0; margin: 0 0 24px; }
.topics legend { font-weight: 600; color: var(--ink); font-size: 1.05rem; margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); font-size: 0.93rem; font-weight: 600; color: var(--text); background: #fff; }
.chip input:checked + span { border-color: var(--blue); background: var(--blue-s); color: var(--blue); }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field span { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-s); }
.field textarea { resize: vertical; min-height: 130px; }
.hp { position: absolute; left: -9999px; }
.form__status { margin-top: 14px; font-size: 0.93rem; min-height: 1.4em; }
.form__status.is-ok { color: #15803d; }
.form__status.is-err { color: #b91c1c; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--4, .why, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process::before { display: none; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .news { grid-template-columns: 1fr; }
  .split, .tech, .hero-page__in--split, .contact { grid-template-columns: 1fr; gap: 44px; }
  .split--rev .split__text, .tech--rev .tech__media { order: 0; }
  .split--rev .split__media { order: 1; }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .award:nth-child(3) { padding-left: 0; border-left: 0; }
  .award:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; top: var(--hdr); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 12px 24px 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .hdr.is-open .nav { display: flex; }
  .hdr.is-open .menu-btn__open { display: none; }
  .hdr.is-open .menu-btn__close { display: block; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav__links a.is-active { border-bottom-color: var(--line); }
  .nav__right { flex-wrap: wrap; gap: 16px; }
  .hdr--overlay.is-open { background: #fff; }
  .hdr--overlay.is-open .brand, .hdr--overlay.is-open .menu-btn { color: var(--ink); }
  .hdr--overlay .nav .nav__links a { color: var(--text); }
  .hdr--overlay .nav .lang { border-color: var(--line2); }
  .hdr--overlay .nav .lang a { color: var(--muted); }
  .hdr--overlay .nav .lang a.is-on { background: var(--tint); color: var(--ink); }
  .subnav { top: var(--hdr); }
  .subnav__in { gap: 20px; }
  .subnav__in .btn { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 20px; }
  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 32px; }
  .grid--2, .grid--3, .grid--4, .grid--5, .why, .process, .faq, .benefits__list, .form__row, .facts { grid-template-columns: 1fr; }
  .benefits__list { gap: 24px; padding-top: 44px; padding-bottom: 44px; }
  .hero-home { min-height: 660px; align-items: flex-start; }
  .hero-home::after { background: linear-gradient(180deg, rgba(8, 14, 28, 0.82) 0%, rgba(8, 14, 28, 0.66) 55%, rgba(8, 14, 28, 0.4) 100%); }
  .hero-home__in { padding-top: calc(var(--hdr) + 40px); }
  .hero-home__lede { font-size: 1.05rem; }
  .awards__list { grid-template-columns: 1fr 1fr; }
  .award { padding: 18px 0 18px 14px; gap: 10px; align-items: flex-start; }
  .award .ico { width: 36px; height: 36px; border-radius: 10px; }
  .award .ico .i { width: 20px; height: 20px; }
  .award strong { font-size: 0.85rem; }
  .award span { font-size: 0.8rem; }
  .pillars li { gap: 16px; padding: 20px 0; }
  .prod-card__visual { padding: 18px 18px 0; }
  .prod-card__body { padding: 20px; }
  .news__feat { grid-template-columns: 1fr; gap: 14px; }
  .news__img { max-height: 220px; object-position: 50% 62%; }
  .news__body { padding: 4px 6px 10px; }
  .hero-product { padding: 56px 0 48px; }
  .hero-page { padding: 64px 0 56px; }
  .facts { gap: 16px; margin-top: 36px; }
  .stack__layer:nth-child(n) { margin-left: 0; }
  .ind { padding: 24px; }
  .ind .checks { margin-left: 0; }
  .tech { margin-bottom: 64px; }
  .team { gap: 16px; }
  .kv__row { grid-template-columns: 1fr; gap: 2px; }
  .form { padding: 24px; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .btns .btn { flex: 1 1 auto; }
}
