:root {
  --bg: #080b10;
  --surface: #10151e;
  --text: #f0f2f5;
  --muted: #a4adbc;
  --line: rgba(161, 181, 213, .16);
  --accent: #a5b6ff;
  --gutter: clamp(24px, 5vw, 80px);
  --page-edge: max(var(--gutter), calc((100vw - 1200px) / 2));
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--text); background: var(--bg); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; border: 0; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
svg { display: block; }
[hidden] { display: none !important; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; top: -100px; left: 24px; z-index: 150; padding: 14px 20px; color: var(--bg); background: var(--text); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; gap: 40px; min-height: 88px; padding: 16px var(--page-edge); border-bottom: 1px solid var(--line); position: relative; z-index: 20; background: var(--bg); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 38px; height: 32px; flex-shrink: 0; }
.brand > span { font-size: 1.0625rem; letter-spacing: .1em; font-weight: 650; }
.brand b { font-weight: 300; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .9375rem; color: var(--muted); }
.desktop-nav a { display: block; padding: 12px 0; transition: color .2s; }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 13px 22px; border-radius: 10px; font-size: .9375rem; font-weight: 500; line-height: 1.5; text-align: center; transition: background .2s, transform .25s var(--ease), border-color .2s; }
.button:active { transform: scale(.98); }
.button-header { min-height: 46px; padding: 11px 18px; border: 1px solid #343e4e; background: #161c26; font-size: .875rem; }
.button-header:hover { background: #242d3d; border-color: #6577a0; }
.button-primary { color: #111824; background: #edf1f8; }
.button-primary:hover { background: #fff; transform: translateY(-2px); }
.button-secondary { background: #1e2532; border: 1px solid #394356; }
.button-secondary:hover { background: #293245; }
.menu-toggle, .mobile-nav { display: none; }
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px; padding: clamp(64px, 8vw, 116px) var(--page-edge); }
.hero-content { min-width: 0; }
h1 { font-size: clamp(2.625rem, 5.15vw, 4.625rem); font-weight: 450; line-height: 1.1; letter-spacing: -.045em; margin: 0; overflow-wrap: anywhere; }
h1 span { background: linear-gradient(125deg, #f4f7fc, #a6afbf); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-copy { font-size: 1.125rem; line-height: 1.75; color: var(--muted); max-width: 29em; margin: 28px 0 32px; }
.hero-visual { min-width: 0; }
.logo-stage { display: flex; align-items: center; justify-content: center; }
.hero-logo { width: 100%; max-width: 400px; height: auto; filter: drop-shadow(0 20px 28px #0006); }
.logo-glint { animation: shine 2.4s 1.3s var(--ease) 1 both; }
.section-shell { padding: 80px var(--page-edge); }
.solutions { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { margin-bottom: 36px; }
h2 { margin: 0; font-size: clamp(1.875rem, 3vw, 2.625rem); font-weight: 450; letter-spacing: -.035em; line-height: 1.2; }
.solution-workspace { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.4fr); gap: 36px; align-items: stretch; }
.task-list { display: flex; flex-direction: column; gap: 8px; }
.task { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 72px; padding: 20px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; font-size: 1rem; line-height: 1.5; color: var(--muted); transition: color .2s, background .2s, border-color .2s; }
.task span { min-width: 0; overflow-wrap: anywhere; }
.task .icon { width: 24px; height: 24px; color: #939fb3; stroke-width: 1.55; transition: color .2s, transform .25s var(--ease), filter .25s; }
.task:hover { background: #151c27; color: var(--text); }
.task:hover .icon { color: #c6d1e4; transform: translateY(-1px); }
.task.active { background: #192235; border-color: #50628b; color: #f0f3ff; }
.task.active .icon { color: var(--accent); filter: drop-shadow(0 0 7px #9eb4ff30); }
.solution-panel { min-width: 0; min-height: 370px; display: flex; flex-direction: column; padding: 32px; border: 1px solid #343f51; border-radius: 16px; background: var(--surface); }
.solution-copy { flex: 1; padding-bottom: 28px; }
.expertise-approach { max-width: 76ch; margin: 32px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.solution-copy h3 { margin: 0 0 16px; font-size: clamp(1.625rem, 2.25vw, 2rem); font-weight: 450; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.solution-copy > p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; max-width: 38em; }
.panel-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 54px; padding: 18px 0 0; border-top: 1px solid var(--line); background: transparent; color: #dce4ff; font-size: .9375rem; text-align: left; transition: color .2s; }
.panel-cta:hover { color: #fff; }
.panel-cta .icon { width: 20px; height: 20px; }
.solution-copy.changing { animation: panel-in .24s var(--ease); }
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); align-items: start; gap: clamp(48px, 8vw, 120px); }
.contact-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.contact-band .button { flex-shrink: 0; }
.contact-phones { display: grid; border-top: 1px solid var(--line); font-style: normal; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 84px; border-bottom: 1px solid var(--line); }
.contact-number { display: flex; align-items: center; min-height: 44px; color: #dce4f2; font-size: clamp(1.25rem, 2.2vw, 1.625rem); letter-spacing: -.02em; white-space: nowrap; transition: color .2s; }
.contact-number:hover { color: #fff; }
.contact-messengers { display: flex; gap: 8px; }
.contact-messenger { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color .2s, background .2s, border-color .2s, transform .25s var(--ease); }
.contact-messenger:hover { color: #fff; background: #ffffff0a; border-color: #526078; transform: translateY(-1px); }
.messenger-icon { width: 19px; height: 19px; fill: currentColor; }
.footer { display: flex; align-items: center; gap: 28px; padding: 28px var(--page-edge); border-top: 1px solid var(--line); }
.footer-brand .brand-mark { width: 29px; height: 25px; }
.footer-brand > span { font-size: .875rem; }
.footer-right { margin-left: auto; color: var(--muted); font-size: .875rem; }
.back-top { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #394356; border-radius: 10px; background: transparent; font-size: 1.25rem; }
.back-top:hover { background: #1b2433; }
.welcome { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: var(--bg); pointer-events: none; animation: welcome-out .5s 1s var(--ease) forwards; }
.welcome-logo { width: 94px; height: 77px; animation: welcome-in .75s var(--ease) both; }
.welcome-word { font-size: .875rem; letter-spacing: .2em; animation: welcome-in .7s .1s var(--ease) both; }
.welcome-word span { font-weight: 300; }
.welcome-line { position: relative; overflow: hidden; width: 64px; height: 2px; border-radius: 2px; background: #ffffff13; }
.welcome-line::after { content: ''; position: absolute; inset: 0; background: #a3b7ea; transform: translateX(-100%); animation: load-line .85s .15s var(--ease) forwards; }
.no-welcome .welcome, body:has(:focus-visible) .welcome { display: none; }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 36px; color: var(--text); background: var(--surface); border: 1px solid #44516a; border-radius: 20px; box-shadow: 0 30px 100px #0008; overscroll-behavior: contain; }
dialog::backdrop { background: #02060bc4; backdrop-filter: blur(10px); }
dialog[open] { animation: dialog-in .25s var(--ease); }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #ffffff08; color: #c4cee0; font-size: 1.625rem; line-height: 1; }
.dialog-close:hover { background: #ffffff15; }
dialog h2 { font-size: 2rem; margin: 8px 28px 28px 0; }
form { display: grid; gap: 18px; }
form > label { display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; color: #d5deeb; }
input, textarea, select { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid #39465b; border-radius: 8px; background: #080d15; color: #e0e8f7; font-size: 1rem; line-height: 1.5; transition: border-color .2s; }
input::placeholder, textarea::placeholder { color: #8e9bb0; }
input:focus, textarea:focus, select:focus { border-color: #889eef; }
textarea { resize: vertical; min-height: 108px; max-height: 260px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: #8198ff; flex-shrink: 0; margin: 3px 0 0; }
form > .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: .875rem; line-height: 1.6; }
.form-info { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.7; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 4px; }
.form-error { margin: 0; color: #ffaeb5; font-size: .875rem; }
.success-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 8px 0 24px; border-radius: 50%; background: #607cff20; color: #b0c0ff; }
.success-description { color: var(--muted); font-size: 1rem; }
.request-summary { margin: 24px 0; padding: 20px; border: 1px solid #39465b; border-radius: 10px; }
.request-summary strong { display: block; font-size: 1rem; font-weight: 500; }
.request-summary p { margin: 12px 0 0; color: var(--muted); font-size: .9375rem; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto; }
.success-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.success-actions .button { flex: 1; padding: 12px 16px; }
.draft-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.text-link, .delete-request { min-height: 44px; padding: 10px 0; background: transparent; text-align: left; font-size: .875rem; }
.text-link { color: #b7c9f5; }
.delete-request { color: #a4adbc; }
.text-link:hover, .delete-request:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 150; width: max-content; max-width: calc(100% - 32px); padding: 14px 20px; border: 1px solid #566d91; border-radius: 10px; background: #253047; color: #e1eaff; box-shadow: 0 8px 35px #0008; font-size: .9375rem; text-align: center; pointer-events: none; opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript-note { font-size: 1rem; color: var(--muted); }
@keyframes shine { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(630px) skewX(-18deg); } }
@keyframes welcome-in { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes welcome-out { to { opacity: 0; visibility: hidden; } }
@keyframes load-line { to { transform: translateX(0); } }
@keyframes panel-in { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
@media (max-width: 1050px) {
  .hero { gap: 24px; }
  .solution-workspace { gap: 20px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr); }
  .task { padding: 18px 16px; gap: 12px; }
  .solution-panel { padding: 28px; }
}
@media (max-width: 820px) {
  .site-header { min-height: 72px; padding-top: 12px; padding-bottom: 12px; gap: 16px; }
  .brand { gap: 10px; }
  .brand-mark { width: 32px; height: 28px; }
  .brand > span { font-size: .9375rem; }
  .desktop-nav, .button-header { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 11px; background: transparent; }
  .menu-toggle span { width: 22px; height: 1px; background: #c6d1e3; transition: transform .2s; }
  .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); }
  .mobile-nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; padding: 12px var(--page-edge) 20px; border-bottom: 1px solid var(--line); background: #10151e; box-shadow: 0 16px 30px #0005; }
  .mobile-nav a, .mobile-nav button { padding: 14px 0; background: transparent; text-align: left; font-size: 1rem; }
  .mobile-nav button { color: #bacaff; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
  h1 { font-size: clamp(2.15rem, 7.8vw, 3.875rem); }
  .hero-copy { font-size: 1rem; max-width: 33em; margin: 22px 0 26px; }
  .hero-visual { width: min(58%, 270px); justify-self: center; }
  .section-shell { padding-top: 56px; padding-bottom: 56px; }
  .section-heading { margin-bottom: 28px; }
  .solution-workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .task-list { gap: 4px; }
  .task { min-height: 60px; padding: 14px 16px; }
  .solution-panel { min-height: 370px; padding: 26px; }
  .contact-band { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .footer-right { grid-column: 1 / -1; margin: 0; font-size: .875rem; }
  .back-top { grid-column: 2; grid-row: 1; }
}
@media (max-width: 440px) {
  :root { --gutter: 20px; }
  .hero { gap: 28px; padding-top: 40px; padding-bottom: 40px; }
  .hero-visual { width: 210px; max-width: 75%; }
  .section-shell { padding-top: 44px; padding-bottom: 44px; }
  .solution-panel { min-height: 0; padding: 24px 20px; }
  .solution-copy h3 { font-size: 1.625rem; }
  .task { padding-left: 14px; padding-right: 14px; font-size: .9375rem; }
  .contact-copy { gap: 24px; }
  .contact-row { min-height: 76px; gap: 12px; }
  .contact-number { font-size: 1.1875rem; }
  dialog { padding: 28px 20px; }
  dialog h2 { font-size: 1.75rem; margin-top: 12px; }
  .success-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .welcome, .logo-glint { display: none; }
}

/* The interactive model occupies the existing version 3 logo position. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.logo-viewer { position: relative; width: min(690px, 50vw); max-width: none; flex: 0 0 min(690px, 50vw); aspect-ratio: 315 / 270; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.logo-viewer:focus, .logo-viewer:focus-visible { outline: none; }
.logo-viewer .hero-logo { position: absolute; inset: 0 0 auto; width: 100%; max-width: none; height: calc(100% - 28px); pointer-events: none; }
.logo-canvas { position: absolute; inset: 0 0 auto; width: 100%; height: calc(100% - 28px); opacity: 0; pointer-events: none; }
.logo-viewer.is-ready { cursor: grab; touch-action: pan-y pinch-zoom; }
.logo-viewer.is-dragging { cursor: grabbing; }
.logo-viewer.is-ready .hero-logo { visibility: hidden; }
.logo-viewer.is-ready .logo-canvas { opacity: 1; }
.logo-hint { position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .875rem; line-height: 1.6; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity 160ms ease-out; }
.logo-viewer.is-ready .logo-hint { opacity: .8; }
.logo-viewer.has-interacted .logo-hint, .logo-viewer.is-dragging .logo-hint { opacity: 0; }
.logo-viewer.is-ready:focus-visible:not(.is-pointer-active) .logo-hint { opacity: 1; color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.logo-reset { position: absolute; bottom: -8px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; background: transparent; color: var(--muted); border-radius: 50%; cursor: pointer; }
.logo-reset:hover { background: #ffffff0a; color: var(--text); }
.logo-reset .icon { width: 20px; height: 20px; }
@media (max-width: 820px) {
  .hero-visual:has(.logo-viewer) { width: min(92%, 525px); max-width: none; }
  .logo-viewer { width: 100%; max-width: 525px; flex: 0 1 auto; }
}
@media (max-width: 440px) { .hero-visual:has(.logo-viewer) { width: min(92%, 315px); } }
@media (prefers-reduced-motion: reduce) { .logo-hint { transition: none; } }

h1, h2, h3 { text-wrap: balance; }
button:disabled { cursor: default; opacity: .45; transform: none; }
.contact-copy > p { margin: 0; color: var(--muted); max-width: 34ch; line-height: 1.75; }
.optional-label { color: var(--muted); font-size: .875rem; }
.service-more { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 20px; color: #c4d2f3; font-size: .9375rem; }
.service-more:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.service-more .icon { width: 18px; height: 18px; }
