/* Visual system: existing near-black / warm white and Helvetica / Baskerville.
   One 1152px content grid. 8/16/24/32/48/64/80 spacing rhythm.
   Type: 12px labels, 15–16px body, 18–22px lead, 28–46px headings.
   Product imagery uses the supplied app icon; no invented interface or artwork. */
:root {
  color-scheme: dark;
  --background: #111111;
  --foreground: #f3f2ee;
  --secondary: #b9b9b5;
  --quiet: #999995;
  --rule: #343433;
  --sans: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Baskerville", "Iowan Old Style", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--foreground); color: var(--background); }
:focus-visible { outline: 1px solid var(--foreground); outline-offset: 5px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 16px; padding: 12px 20px; background: var(--foreground); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-shell { width: min(100% - 112px, 1152px); min-height: 100vh; min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 32px; min-height: 92px; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
html[lang="en"] .brand-name { font-size: 17px; letter-spacing: -.015em; }
.navigation { display: flex; align-items: center; gap: 28px; }
.navigation > a, .product-switch { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--secondary); font-size: 13px; line-height: 1.5; white-space: nowrap; }
.navigation > a::after, .product-switch::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--foreground); transform: scaleX(0); transition: transform 160ms ease; }
.navigation > a[aria-current], .product-switch[data-current], .navigation > a:hover, summary:hover { color: var(--foreground); }
.navigation > a[aria-current]::after, .product-switch[data-current]::after { transform: scaleX(1); }
.dropdown { position: relative; }
.dropdown summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.dropdown summary::-webkit-details-marker { display: none; }
.chevron { width: 5px; height: 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-1px) rotate(45deg); }
.dropdown[open] .chevron { transform: translateY(2px) rotate(225deg); }
.dropdown-panel { position: absolute; top: calc(100% + 12px); z-index: 10; min-width: 144px; padding: 6px; border: 1px solid #454544; background: #191919; box-shadow: 0 12px 32px #0005; }
.dropdown-panel a, .dropdown-panel button { display: flex; min-height: 44px; width: 100%; padding: 12px; border: 0; background: transparent; color: var(--foreground); text-align: left; font-size: 13px; line-height: 1.6; }
.dropdown-panel a:hover, .dropdown-panel button:hover, .dropdown-panel a:focus-visible, .dropdown-panel button:focus-visible { background: #282828; }
.product-options { left: -12px; width: 216px; max-width: calc(100vw - 48px); }
.product-options a[aria-current] { background: #282828; }
.language-switch { min-height: 44px; padding-left: 24px; border-left: 1px solid var(--rule); font-size: 12px; color: var(--secondary); }
.language-options { right: 0; }
.language-options button { align-items: center; justify-content: space-between; gap: 16px; }
.language-options button span { visibility: hidden; }
.language-options button[aria-pressed="true"] span { visibility: visible; }
main { display: flex; flex: 1; min-width: 0; }
.page { width: 100%; min-width: 0; padding: 72px 0 80px; }
.eyebrow { margin: 0; color: var(--quiet); font-size: 12px; line-height: 1.7; font-weight: 400; }
.hero-title, .page-title, .product-title, .feature-heading { margin: 0; font-weight: 400; }
.hero-title { max-width: 900px; margin-top: 24px; font-size: clamp(32px, 3.7vw, 46px); line-height: 1.35; letter-spacing: -.025em; text-wrap: balance; }
html[lang="en"] .hero-title { line-height: 1.2; }
.page-title { font-size: 30px; line-height: 1.35; letter-spacing: -.02em; }
.body-copy { max-width: 40em; margin: 20px 0 0; color: var(--secondary); font-size: 16px; line-height: 1.85; text-wrap: pretty; }
.lead-copy { margin: 0; font-size: 22px; line-height: 1.85; text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 44px; margin-top: 28px; padding: 8px 0; border-bottom: 1px solid #636361; font-size: 13px; line-height: 1.5; }
.text-link:hover { border-color: var(--foreground); }
.text-link span:last-child { transition: transform 160ms ease; }
.text-link:hover span:last-child { transform: translateX(3px); }
.home-page { display: flex; flex-direction: column; justify-content: center; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); align-items: start; padding-bottom: 24px; }
.home-intro, .home-philosophy { min-width: 0; }
.home-actions { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }
.home-actions .text-link { min-width: 144px; margin-top: 0; gap: 24px; }
.page-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.feature-brand { color: var(--quiet); font-size: 12px; line-height: 1.7; }
.feature-heading { font-size: 22px; line-height: 1.5; letter-spacing: -.015em; text-wrap: balance; }
.release-status { margin: 12px 0 0; color: var(--secondary); font-size: 15px; line-height: 1.8; }
.product-card { display: grid; grid-template-columns: 80px minmax(0, 1fr) 24px; gap: 28px; align-items: center; margin-top: 48px; padding: 28px 0; border-block: 1px solid var(--rule); }
.catalog-icon { width: 80px; border-radius: 18px; }
.product-card .release-status { margin-top: 8px; font-size: 14px; }
.catalog-product-copy { min-width: 0; }
.product-card .feature-heading { text-wrap: pretty; }
.card-arrow { font-size: 24px; color: var(--secondary); transition: transform 160ms ease; }
.product-card:hover .card-arrow { color: var(--foreground); transform: translateX(3px); }
.product-card:hover, .product-card:focus-visible { border-color: var(--quiet); }
.back-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; color: var(--secondary); }
.back-link:hover { color: var(--foreground); }
.product-page { display: flex; flex-direction: column; }
.page-topline { padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.product-presentation { display: grid; grid-template-columns: 240px minmax(0, 1fr); max-width: 928px; gap: 64px; align-items: center; padding: 56px 0 24px; }
.product-art { display: flex; align-items: center; justify-content: flex-start; }
.product-icon { width: min(100%, 208px); border-radius: 46px; }
.product-title { font-size: 38px; line-height: 1.3; letter-spacing: -.025em; }
.product-title span { display: block; }
.product-content { min-width: 0; }
.product-content .release-status { margin-top: 24px; }
.editorial-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-content: start; align-items: start; gap: 64px; }
.editorial-content { min-width: 0; max-width: 640px; }
.studio-intro { max-width: 640px; }
.studio-intro h1 { margin: 28px 0 0; }
.studio-wordmark { width: min(100%, 352px); filter: invert(1); }
.studio-intro .body-copy { margin-top: 28px; }
.studio-products { margin-top: 64px; }
.studio-products .product-card { margin-top: 20px; }
.philosophy { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--rule); }
.slogan { margin: 20px 0 0; color: var(--secondary); font-family: var(--serif); font-size: 22px; line-height: 1.7; font-weight: 400; letter-spacing: -.01em; }
.slogan span { display: block; }
.careers-content .body-copy { margin-top: 16px; }
.contact-purpose { max-width: 240px; font-size: 14px; }
.contact-details { margin: 0; }
.contact-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.contact-row:first-child { padding-top: 0; }
.contact-row dt { color: var(--quiet); font-size: 12px; line-height: 1.8; }
.contact-row dd { margin: 0; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.contact-row a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; }
.contact-row a:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact-email { max-width: 100%; font-size: 20px; letter-spacing: -.015em; }
.contact-email span { flex: none; font-size: 16px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; padding: 20px 0; min-height: 84px; border-top: 1px solid var(--rule); color: var(--quiet); font-size: 12px; line-height: 1.8; }
.footer-identity { grid-column: 1; }
.icp-link { grid-column: 2; display: inline-flex; align-items: center; min-height: 44px; }
.icp-link:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1040px) {
  .site-shell { width: calc(100% - 80px); }
  .site-header { gap: 24px; }
  .navigation { gap: 20px; }
  .editorial-page { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 40px; }
  .contact-row { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 800px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0 8px; }
  .brand { grid-column: 1; grid-row: 1; }
  .language-dropdown { grid-column: 2; grid-row: 1; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; }
  .navigation > a, .product-switch { min-height: 48px; }
  .page { padding: 56px 0 64px; }
  .home-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-title { font-size: 38px; }
  .product-presentation { grid-template-columns: 176px minmax(0, 1fr); gap: 40px; padding: 48px 0 24px; }
  .product-icon { width: 176px; border-radius: 38px; }
  .product-title { font-size: 32px; }
  .editorial-page { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .page-title { font-size: 28px; }
  .editorial-content { max-width: 640px; }
  .lead-copy { font-size: 20px; }
  .contact-purpose { max-width: none; margin-top: 16px; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: 24px 0 16px; text-align: center; }
  .footer-identity, .icp-link { grid-column: 1; }
}
@media (max-width: 520px) {
  .site-shell { width: calc(100% - 48px); }
  html[lang="en"] .brand-name { font-size: 16px; }
  .language-switch { padding-left: 16px; }
  .navigation > a, .product-switch { font-size: 13px; }
  .product-options { left: -24px; width: 230px; }
  .page { padding: 44px 0 56px; }
  .hero-title { font-size: 30px; margin-top: 20px; }
  html[lang="en"] .hero-title { font-size: 32px; line-height: 1.25; }
  .body-copy { font-size: 15px; line-height: 1.85; }
  .lead-copy { font-size: 18px; line-height: 1.85; }
  .text-link { margin-top: 20px; gap: 32px; }
  .home-layout { gap: 40px; padding-bottom: 16px; }
  .home-actions { gap: 16px 24px; margin-top: 28px; }
  .home-actions .text-link { min-width: 124px; gap: 16px; }
  .feature-heading { font-size: 18px; }
  .release-status { font-size: 14px; }
  .product-card { grid-template-columns: 64px minmax(0, 1fr) 16px; gap: 16px; margin-top: 32px; padding: 24px 0; }
  .catalog-icon { width: 64px; border-radius: 14px; }
  .card-arrow { font-size: 20px; }
  .product-card .release-status { font-size: 13px; }
  .product-presentation { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0 8px; }
  .product-art { justify-content: flex-start; }
  .product-icon { width: 128px; border-radius: 28px; }
  .product-title { font-size: 28px; }
  .product-content .release-status { margin-top: 16px; }
  .page-topline { padding-bottom: 20px; }
  .page-title { font-size: 26px; }
  .studio-intro h1 { margin-top: 24px; }
  .studio-wordmark { width: min(100%, 280px); }
  .studio-intro .body-copy { margin-top: 24px; }
  .studio-products { margin-top: 40px; }
  .editorial-page { gap: 32px; }
  .philosophy { margin-top: 32px; padding-top: 24px; }
  .slogan { margin-top: 16px; font-size: 18px; line-height: 1.75; }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; }
  .contact-row dd { font-size: 15px; }
  .contact-email { font-size: 18px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
