:root {
  color-scheme: light;
  --ink: #142339;
  --muted: #536174;
  --blue: #0871ed;
  --blue-hover: #005aca;
  --line: #dce3eb;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 12px; left: 16px; padding: 12px 20px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 29px; line-height: 1.2; font-weight: 750; letter-spacing: -.045em; }
.brand-symbol { width: 42px; height: 46px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.brand-symbol img { width: 65px; height: 65px; max-width: none; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 16px; font-weight: 550; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-nav a:hover, .footer-links a:hover { color: var(--blue); }
.site-nav .language-link { color: var(--blue); }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 48px; padding-block: 28px 48px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(48px, 5.8vw, 80px); font-weight: 760; line-height: 1.23; letter-spacing: -.055em; }
h1 span { display: block; }
h1 .accent { color: var(--blue); }
.hero-description { margin-top: 19px; color: var(--muted); font-size: 22px; line-height: 1.65; letter-spacing: -.015em; }
.hero-description span { display: block; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 52px; padding: 13px 26px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 17px; line-height: 1.5; font-weight: 600; margin-top: 23px; transition: background .16s ease, transform .16s ease; }
.button:hover { background: var(--blue-hover); transform: translateY(-2px); }
.arrow { width: 21px; height: 21px; flex: 0 0 auto; }
.brand-visual { justify-self: center; width: min(100%, 350px); aspect-ratio: 1; background: #f9f9f9; border-radius: 40px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.brand-visual img { width: 125%; height: auto; max-width: none; flex-shrink: 0; }
.apps { padding-block: 0 30px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 25px; }
h2 { font-size: 31px; font-weight: 720; line-height: 1.3; letter-spacing: -.035em; }
.platforms { color: var(--muted); font-size: 16px; white-space: nowrap; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.app { min-width: 0; display: flex; flex-direction: column; }
.app-preview { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 7px solid #182027; border-radius: 19px; background: #f2f2f7; box-shadow: 0 1px 2px #14233926; transition: transform .2s ease; }
.app-preview:hover { transform: translateY(-4px); }
.app-preview img { width: 100%; height: 100%; object-fit: cover; }
.app-drawing .app-preview img { object-position: center 54%; }
.app-identity { display: flex; align-items: center; gap: 17px; margin-top: 22px; }
.app-icon { width: 72px; height: 72px; border-radius: 17px; flex-shrink: 0; }
h3 { font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -.035em; }
.app-english { color: var(--muted); font-size: 16px; line-height: 1.4; margin-top: 4px; }
.app-description { margin-top: 16px; margin-bottom: 11px; font-size: 16px; line-height: 1.7; letter-spacing: -.015em; }
.app-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: auto; font-size: 16px; line-height: 1.5; }
.app-links a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.app-links a:first-child { color: var(--blue); font-weight: 550; }
.app-links a:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 5px; }
.app-links .arrow { width: 19px; height: 19px; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; padding-block: 23px 27px; }
.about-title { font-size: 16px; line-height: 1.6; font-weight: 600; }
.about-description { margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-meta { text-align: right; }
.footer-links { display: flex; justify-content: flex-end; align-items: center; gap: 24px; font-size: 14px; line-height: 1.6; color: var(--blue); }
.footer-links a { display: inline-flex; min-height: 28px; align-items: center; }
.copyright { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
html[lang='en'] h1 { font-size: clamp(44px, 4.75vw, 66px); letter-spacing: -.055em; line-height: 1.16; }
html[lang='en'] .hero-description { font-size: 19px; }
html[lang='en'] .hero { min-height: 412px; }
html[lang='en'] h3 { font-size: 23px; }
.not-found { min-height: 68vh; display: grid; place-content: center; padding-block: 60px; }
.not-found h1 { font-size: clamp(36px, 5vw, 60px); }
.not-found p { color: var(--muted); margin-top: 20px; font-size: 18px; line-height: 1.7; }
.not-found .button { justify-self: start; }
.not-found [lang='en'] { font-size: 16px; margin-top: 8px; }
@media (min-width: 1600px) { .hero { padding-block: 44px 64px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .hero { gap: 28px; padding-block: 28px 42px; }
  h1 { font-size: 60px; }
  .hero-description { font-size: 19px; }
  .brand-visual { max-width: 280px; border-radius: 32px; }
  .app-grid { gap: 24px; }
  .app-identity { gap: 12px; }
  .app-icon { width: 58px; height: 58px; border-radius: 14px; }
  h3, html[lang='en'] h3 { font-size: 20px; }
  .app-english { font-size: 14px; }
  .app-links { gap: 18px; }
  .app-preview { border-width: 5px; border-radius: 15px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 48px); }
  .site-header { min-height: 76px; }
  .brand { font-size: 25px; gap: 6px; }
  .site-nav { gap: 24px; font-size: 15px; }
  .hero { grid-template-columns: 1.65fr 1fr; gap: 20px; padding-block: 30px 46px; }
  h1 { font-size: 46px; }
  html[lang='en'] h1 { font-size: 40px; }
  .hero-description, html[lang='en'] .hero-description { font-size: 17px; }
  .brand-visual { max-width: 225px; border-radius: 28px; }
  h2 { font-size: 27px; }
  .platforms { font-size: 14px; }
  .app-grid { grid-template-columns: 1fr; gap: 40px; }
  .app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 28px; }
  .app-preview { grid-column: 1; grid-row: 1 / 4; align-self: center; }
  .app-identity { grid-column: 2; margin-top: 0; align-self: end; }
  .app-description { grid-column: 2; margin-block: 12px 4px; }
  .app-links { grid-column: 2; margin-top: 0; align-self: start; gap: 18px; }
  .site-footer { margin-top: 18px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .site-header { min-height: 72px; gap: 16px; }
  .brand { font-size: 23px; gap: 5px; }
  .brand-symbol { width: 30px; height: 38px; }
  .brand-symbol img { width: 51px; height: 51px; }
  .site-nav { gap: 20px; font-size: 14px; }
  .site-nav .nav-about { display: none; }
  .hero, html[lang='en'] .hero { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; padding-block: 18px 44px; min-height: 0; }
  .brand-visual { width: 142px; border-radius: 26px; align-self: flex-start; }
  h1 { font-size: clamp(36px, 10.5vw, 54px); line-height: 1.25; }
  html[lang='en'] h1 { font-size: clamp(32px, 8.8vw, 48px); line-height: 1.2; }
  .hero-description, html[lang='en'] .hero-description { font-size: 16px; line-height: 1.7; margin-top: 17px; }
  .button { min-height: 50px; padding: 12px 23px; font-size: 16px; margin-top: 22px; border-radius: 11px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 20px; }
  h2 { font-size: 27px; }
  .platforms { font-size: 14px; }
  .app-grid { gap: 38px; }
  .app { display: flex; }
  .app-preview { width: 100%; border-width: 6px; border-radius: 17px; }
  .app-identity { align-self: stretch; gap: 15px; margin-top: 19px; }
  .app-icon { width: 62px; height: 62px; border-radius: 15px; }
  h3, html[lang='en'] h3 { font-size: 23px; }
  .app-english { font-size: 15px; }
  .app-description { margin-top: 13px; margin-bottom: 6px; font-size: 16px; }
  .app-links { gap: 28px; font-size: 16px; }
  .site-footer { flex-direction: column; gap: 15px; margin-top: 8px; padding-block: 22px 26px; }
  .footer-meta { text-align: left; }
  .footer-links { justify-content: flex-start; gap: 27px; }
  .footer-links a { min-height: 44px; }
  .copyright { margin-top: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
