:root {
  --ink: #071b35;
  --ink-soft: #405168;
  --paper: #f7f7f7;
  --paper-bright: #ffffff;
  --cyan: #2bbde0;
  --cyan-dark: #128fb4;
  --navy: #071d38;
  --blue: #1861b4;
  --line: rgba(7, 27, 53, 0.16);
  --shell: min(1240px, calc(100vw - 64px));
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Microsoft YaHei UI", "Noto Sans SC", Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.section-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--navy); color: white; padding: 12px 18px; }
.skip-link:focus { top: 16px; }

.site-header { width: var(--shell); height: 82px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 38px; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; }
.brand strong { font-size: 23px; margin-right: 4px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { text-decoration: none; font-size: 13px; font-weight: 650; padding: 10px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: var(--cyan-dark); }
.language-switch { justify-self: end; display: flex; align-items: center; gap: 7px; font-size: 12px; }
.language-switch button { border: 0; padding: 6px 0; color: var(--ink-soft); background: transparent; cursor: pointer; }
.language-switch button.is-active { color: var(--cyan-dark); font-weight: 700; }
.menu-toggle { display: none; }

.eyebrow, .section-label { margin: 0 0 15px; color: var(--cyan-dark); font-size: 12px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.hero { min-height: 590px; padding: 34px 0 52px; display: grid; grid-template-columns: minmax(390px, .78fr) minmax(560px, 1.22fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; align-self: center; }
.hero h1 { margin: 0; font-size: clamp(46px, 4.1vw, 62px); line-height: 1.1; letter-spacing: -.052em; font-weight: 780; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-lede { max-width: 430px; margin: 22px 0 26px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.download-button { width: min(100%, 360px); min-height: 86px; padding: 17px 22px; color: white; background: var(--navy); text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 6px; transition: transform .2s ease, background .2s ease; }
.download-button:hover, .download-button:focus-visible { background: #0b2d52; transform: translateY(-2px); }
.download-button strong { font-size: 18px; }
.download-button span { color: #c8d6e5; font-size: 12px; }
.hero-meta { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); font-size: 12px; }

.hero-demo { min-width: 0; background: var(--paper-bright); border: 1px solid var(--line); box-shadow: 0 20px 55px rgba(7,27,53,.1); }
.demo-stage { aspect-ratio: 16 / 9; position: relative; overflow: hidden; display: grid; place-items: center; background: #020914; }
.demo-frame { --frame-width: 100%; --frame-height: 100%; position: relative; width: var(--frame-width); height: var(--frame-height); overflow: hidden; transition: width .32s ease, height .32s ease; }
.demo-frame[data-frame="2.39:1"] { --frame-width: 100%; --frame-height: 74.4%; }
.demo-frame[data-frame="1.85:1"] { --frame-width: 100%; --frame-height: 96.1%; }
.demo-frame[data-frame="4:3"] { --frame-width: 75%; --frame-height: 100%; }
.demo-frame[data-frame="1:1"] { --frame-width: 56.25%; --frame-height: 100%; }
.demo-frame[data-frame="9:16"] { --frame-width: 31.65%; --frame-height: 100%; }
.demo-frame > img { width: 100%; height: 100%; object-fit: cover; animation: camera-drift 13s ease-in-out infinite alternate; transform-origin: 62% 50%; }
@keyframes camera-drift { from { transform: scale(1.03) translate3d(0,0,0); } to { transform: scale(1.12) translate3d(-2.2%,-1.2%,0); } }
.demo-badge { position: absolute; left: 12px; top: 12px; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 7px 9px; color: white; background: rgba(2,9,20,.78); font-size: 10px; letter-spacing: .08em; }
.demo-badge b { color: var(--cyan); font-size: 11px; }
.overlay { position: absolute; inset: 0; z-index: 2; display: none; pointer-events: none; }
.overlay.is-visible { display: block; }
.overlay i { position: absolute; display: block; background: var(--cyan); box-shadow: 0 0 10px rgba(43,189,224,.22); }
.overlay .vertical { top: 0; bottom: 0; width: 1px; }
.overlay .horizontal { left: 0; right: 0; height: 1px; }
.overlay-thirds .vertical.one { left: 33.333%; } .overlay-thirds .vertical.two { left: 66.666%; }
.overlay-thirds .horizontal.one { top: 33.333%; } .overlay-thirds .horizontal.two { top: 66.666%; }
.overlay-golden i { background: #ffd166; }
.overlay-golden .vertical.one { left: 38.2%; } .overlay-golden .vertical.two { left: 61.8%; }
.overlay-golden .horizontal.one { top: 38.2%; } .overlay-golden .horizontal.two { top: 61.8%; }
.overlay-center i { background: #ff5964; }
.overlay-center .vertical { left: 50%; } .overlay-center .horizontal { top: 50%; }
.demo-controls { padding: 14px 16px 15px; display: flex; align-items: center; justify-content: space-between; gap: 24px; overflow-x: auto; }
.control-row { flex: 0 0 auto; min-width: 0; margin: 0; padding: 0; border: 0; }
.control-row:last-child { margin-left: auto; }
.control-row legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.control-row > div { min-width: 0; display: flex; flex-wrap: nowrap; gap: 6px; }
.control-row button { min-height: 30px; border: 1px solid var(--line); padding: 5px 9px; color: var(--ink-soft); background: var(--paper); font-size: 11px; cursor: pointer; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.control-row button:hover, .control-row button:focus-visible { border-color: var(--cyan-dark); }
.control-row button.is-selected { border-color: var(--cyan-dark); color: white; background: var(--blue); }

.product-section { padding: 58px 0 62px; background: var(--blue); color: white; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 410px); gap: 60px; align-items: end; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.17; letter-spacing: -.04em; }
.section-heading > p { margin: 0; color: #d1e1f4; line-height: 1.7; font-size: 14px; }
.product-section .section-label { color: #67dcf8; }
.usage-block { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); }
.usage-label { margin: 0; color: #67dcf8; font-size: 12px; font-weight: 750; letter-spacing: .16em; }
.usage-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid rgba(255,255,255,.2); }
.usage-list li { min-height: 124px; padding: 18px; border-right: 1px solid rgba(255,255,255,.2); }
.usage-list li:last-child { border-right: 0; }
.usage-list li > span { display: block; margin-bottom: 10px; color: #67dcf8; font-size: 11px; font-weight: 750; }
.usage-list strong { display: block; font-size: 13px; }
.usage-list p { margin: 8px 0 0; color: #c8daee; font-size: 11px; line-height: 1.55; }
.product-proof { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); gap: 30px; align-items: stretch; }
.interface-frame { margin: 0; padding: 9px; background: white; border: 1px solid rgba(255,255,255,.45); box-shadow: 0 18px 45px rgba(2,9,20,.18); }
.interface-frame img { width: 100%; }
.product-catalog { display: grid; gap: 22px; align-content: center; }
.catalog-group { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.28); }
.catalog-group:last-child { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.28); }
.catalog-group h3 { margin: 0 0 9px; color: white; font-size: 13px; }
.catalog-group p { margin: 0; color: #c8daee; font-size: 11px; line-height: 1.8; }

.site-footer { min-height: 154px; padding: 30px max(32px, calc((100vw - 1240px) / 2)); background: #dedede; display: grid; grid-template-columns: .7fr 1fr 1fr; align-items: center; gap: 36px 54px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-brand strong { font-size: 18px; }
.footer-support strong { display: block; margin-bottom: 7px; font-size: 13px; }
.footer-support p, .footer-meta p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.65; }
.footer-support a { display: inline-block; margin-top: 7px; color: var(--ink); font-size: 11px; font-weight: 650; }
.footer-meta { display: grid; gap: 7px; justify-items: end; text-align: right; }
.site-footer a:hover { color: var(--cyan-dark); }

@media (max-width: 1060px) {
  :root { --shell: min(100% - 40px, 820px); }
  .site-header { height: 78px; grid-template-columns: 1fr auto; gap: 14px; }
  .menu-toggle { display: block; justify-self: end; border: 1px solid var(--line); background: transparent; padding: 8px 12px; cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 16px; background: white; border: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav.is-open { display: flex; }
  .language-switch { position: absolute; right: 72px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding: 44px 0 54px; }
  .hero-copy { max-width: 690px; }
  .hero h1 { font-size: clamp(46px, 8vw, 60px); }
  .hero-demo { width: 100%; }
  .product-proof { grid-template-columns: 1fr; }
  .product-catalog { grid-template-columns: 1fr 1fr; }
  .catalog-group:last-child { border-bottom: 0; }
  .site-footer { grid-template-columns: .7fr 1.3fr; }
  .footer-meta { grid-column: 1 / -1; justify-items: start; text-align: left; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { height: 70px; grid-template-columns: 1fr auto auto; gap: 8px; }
  .brand { gap: 7px; font-size: 15px; }
  .brand img { width: 30px; height: 30px; }
  .brand strong { font-size: 18px; }
  .language-switch { display: flex; position: static; grid-column: 2; grid-row: 1; font-size: 10px; }
  .menu-toggle { grid-column: 3; grid-row: 1; padding: 7px 9px; }
  .site-nav { top: 60px; }
  .hero { padding: 34px 0 42px; }
  .hero h1 { font-size: clamp(36px, 10.8vw, 43px); }
  html[lang="en-US"] .hero h1 { font-size: clamp(32px, 8.8vw, 36px); }
  .hero-lede { margin: 18px 0 22px; font-size: 14px; }
  .download-button { min-height: 80px; }
  .hero-meta { flex-direction: column; gap: 4px; }
  .demo-controls { padding: 12px; }
  .demo-controls { gap: 20px; }
  .control-row button { flex: 0 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-heading h2 { font-size: 34px; }
  .product-section { padding: 44px 0; }
  .usage-list li { min-height: 138px; padding: 14px 10px; }
  .product-catalog { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { grid-template-columns: 1fr; padding: 26px 14px; }
  .footer-meta { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
