:root {
  --blue: #016ff7;
  --blue-2: #58a4ec;
  --navy: #06152d;
  --text: #0b1730;
  --muted: #68758a;
  --line: #dce4ef;
  --surface: #ffffff;
  --bg: #fefefe;
  --soft: #f5f8fc;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow: 0 24px 70px rgba(6, 21, 45, .09);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(1,111,247,.16); color: var(--navy); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }


.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(254,254,254,.9); backdrop-filter: blur(18px); transition: border-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { border-color: #e6ebf2; box-shadow: 0 8px 30px rgba(6,21,45,.045); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 168px; height: auto; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; color: #46546b; font-size: 13px; }
.nav > a:not(.nav-cta) { position: relative; padding-block: 10px; }
.nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav > a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 15px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--text); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.nav-cta:hover { transform: translateY(-1px); border-color: #c9d5e4; box-shadow: 0 8px 24px rgba(6,21,45,.07); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: white; align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { width: 18px; height: 1.5px; background: var(--text); transition: transform .2s ease; }

.hero { position: relative; overflow: hidden; padding: 92px 0 104px; border-bottom: 1px solid #e8edf4; }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .82fr); gap: 78px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(46px, 5.8vw, 78px); line-height: .99; letter-spacing: -.056em; font-weight: 760; }
.hero-title-support { max-width: 720px; margin: 18px 0 0; color: var(--navy); font-size: clamp(25px, 3vw, 39px); font-weight: 680; line-height: 1.15; letter-spacing: -.035em; }
.hero-lead { max-width: 680px; margin: 24px 0 0; color: #526078; font-size: 17px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 18px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font-size: 13px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: white; background: var(--blue); box-shadow: 0 12px 30px rgba(1,111,247,.21); }
.button--primary:hover { box-shadow: 0 16px 36px rgba(1,111,247,.26); }
.button--ghost { background: white; border-color: var(--line); color: var(--text); }
.button--ghost:hover { box-shadow: 0 10px 26px rgba(6,21,45,.07); }
.button--white { background: white; color: var(--navy); }
.button--dark-text { color: var(--text); }

.brand-panel { position: relative; min-width: 0; padding: 30px 0 0 34px; border-left: 1px solid var(--line); }
.brand-panel::before { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--blue); content: ""; }
.brand-panel__label { display: block; color: #005bc9; font: 700 11px/1.2 "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; }
.brand-panel img { width: min(100%, 285px); height: auto; margin: 52px auto 42px; object-fit: contain; }
.brand-panel p { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 10px; margin: 0; color: var(--text); font-size: 14px; font-weight: 700; line-height: 1.5; text-align: center; }
.brand-panel p i { color: var(--blue); font-style: normal; }
.brand-panel small { display: block; margin-top: 20px; color: var(--muted); font: 700 10px/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; text-align: center; text-transform: uppercase; }

.section { padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .7fr); gap: 60px; align-items: end; margin-bottom: 44px; }
.section-heading h2, .process-copy h2, .about-copy h2, .cta-box h2 { margin: 0; font-size: clamp(34px, 4.3vw, 58px); line-height: 1.03; letter-spacing: -.045em; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 15px; }

.section--solutions { background: white; }
.solution-studio { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: white; box-shadow: 0 18px 50px rgba(6,21,45,.055); }
.solution-tabs { padding: 16px; border-right: 1px solid var(--line); background: #f8fafc; display: grid; gap: 7px; }
.solution-tab { width: 100%; min-height: 58px; padding: 10px 13px; border: 1px solid transparent; border-radius: 13px; background: transparent; display: flex; align-items: center; gap: 12px; color: #53627a; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.solution-tab span { width: 26px; color: #91a0b3; font: 10px/1 "SFMono-Regular", Consolas, monospace; }
.solution-tab:hover { background: white; transform: translateX(2px); }
.solution-tab.is-active { background: white; color: var(--text); border-color: #dce5ef; box-shadow: 0 7px 18px rgba(6,21,45,.055); }
.solution-tab.is-active span { color: var(--blue); }
.solution-display { min-height: 370px; padding: clamp(34px, 5vw, 66px); display: flex; flex-direction: column; justify-content: center; }
.display-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.mini-badge { padding: 7px 9px; border: 1px solid #dce6f3; border-radius: 999px; background: #f8fbff; color: #62728a; font-size: 9px; letter-spacing: .08em; }
.solution-display h3 { max-width: 720px; margin: 0; font-size: clamp(29px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.solution-display > p { max-width: 700px; color: #647188; font-size: 15px; line-height: 1.8; margin: 20px 0 0; }
.display-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.display-tags span { padding: 8px 10px; border-radius: 9px; background: #f3f6fa; color: #5f6e84; font-size: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--blue); font-size: 13px; font-weight: 750; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px,-2px); }

.section--process { background: var(--soft); border-block: 1px solid #e4ebf3; }
.process-layout { display: grid; grid-template-columns: .78fr 1.2fr; gap: 100px; align-items: start; }
.process-copy { position: sticky; top: 120px; }
.process-copy > p:not(.eyebrow) { margin: 22px 0 26px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.process-rail { position: relative; }
.process-rail::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 1px; background: #d8e0ea; }
.process-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 0 0 40px; }
.process-item:last-child { padding-bottom: 0; }
.process-item > span { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 13px; border: 1px solid #d7e0ea; background: white; display: grid; place-items: center; color: var(--blue); font: 10px/1 "SFMono-Regular", Consolas, monospace; box-shadow: 0 5px 15px rgba(6,21,45,.035); }
.process-item h3 { margin: 4px 0 8px; font-size: 19px; }
.process-item p { margin: 0; color: #68758a; font-size: 13px; line-height: 1.7; }

.section--quality { color: white; background: var(--navy); overflow: hidden; position: relative; }
.section-heading--light { position: relative; z-index: 1; }
.section-heading--light > p { color: #95a3b8; }
.section-heading--light .eyebrow { color: #76b7ff; }
.quality-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quality-card { min-height: 280px; padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.035); }
.quality-code { display: block; margin-bottom: 74px; color: #77b8ff; font: 10px/1 "SFMono-Regular", Consolas, monospace; letter-spacing: .05em; }
.quality-card h3 { margin: 0 0 12px; font-size: 19px; }
.quality-card p { margin: 0; color: #a5b0c0; line-height: 1.7; font-size: 13px; }
.quality-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 42px; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.1); color: #9ca9bb; font-size: 11px; }
.quality-strip span::before { content: "✓"; color: #76b7ff; margin-right: 7px; }

.section--about { background: white; }
.about-card { position: relative; min-height: 420px; padding: clamp(34px, 6vw, 76px); border-top: 2px solid var(--blue); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 60px; align-items: start; }
.about-logo { padding-top: 8px; }
.about-logo img { width: min(100%, 180px); height: auto; }
.about-copy { position: relative; z-index: 1; max-width: 780px; }
.about-copy > p:not(.eyebrow) { max-width: 680px; margin: 22px 0 28px; color: #66748a; font-size: 15px; line-height: 1.8; }

.section--cta { padding-top: 0; background: white; }
.cta-box { min-height: 300px; padding: clamp(32px, 5vw, 62px); border-radius: var(--radius-xl); background: var(--blue); color: white; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; position: relative; }
.cta-box .eyebrow { color: rgba(255,255,255,.72); }
.cta-box h2 { max-width: 760px; position: relative; z-index: 1; }
.cta-box .button { flex: 0 0 auto; position: relative; z-index: 1; }

.footer { border-top: 1px solid #e5ebf2; background: #fbfcfe; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 70px; }
.brand--footer { margin-bottom: 18px; }
.brand--footer img { width: 168px; }
.footer-grid > div:first-child > p { max-width: 410px; margin: 0; color: #718096; font-size: 12px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 55px; }
.footer-links > div { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links a { color: #69778d; font-size: 12px; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { margin-top: 54px; padding-top: 20px; border-top: 1px solid #e2e8ef; display: flex; justify-content: space-between; gap: 20px; color: #8490a2; font-size: 10px; }

.error-page { min-height: 100vh; display: grid; place-items: center; }
.error-page .box { width: min(620px, calc(100% - 32px)); padding: 44px; border: 1px solid var(--line); }
.error-page .tag { color: var(--blue); font: 700 11px/1.2 "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.error-page h1 { margin: 20px 0; font-size: clamp(38px, 8vw, 68px); line-height: 1; letter-spacing: -.05em; }
.error-page p { color: var(--muted); line-height: 1.7; }
.error-page a { display: inline-flex; margin-top: 16px; padding: 13px 16px; background: var(--blue); color: white; font-size: 13px; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .solution-studio { grid-template-columns: 270px 1fr; }
  .process-layout { grid-template-columns: 1fr; gap: 50px; }
  .process-copy { position: static; }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .about-card { grid-template-columns: 180px 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: 68px; left: 14px; right: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 18px 50px rgba(6,21,45,.12); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 12px 11px !important; border-radius: 10px; }
  .nav > a:not(.nav-cta)::after { display: none; }
  .nav > a:hover { background: #f5f8fc; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { padding: 68px 0 78px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-title-support { font-size: clamp(24px, 7vw, 34px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .solution-studio { display: block; }
  .solution-tabs { border-right: 0; border-bottom: 1px solid var(--line); display: flex; overflow-x: auto; gap: 7px; scrollbar-width: none; }
  .solution-tabs::-webkit-scrollbar { display: none; }
  .solution-tab { min-width: max-content; min-height: 48px; }
  .solution-display { min-height: 390px; padding: 34px 24px; }
  .display-topline { align-items: flex-start; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-card { min-height: 220px; }
  .quality-code { margin-bottom: 54px; }
  .quality-strip { justify-content: flex-start; }
  .brand-panel { width: min(100%, 620px); padding: 24px 0 0; border-left: 0; }
  .brand-panel img { margin: 34px auto 28px; }
  .about-card { min-height: auto; grid-template-columns: 1fr; gap: 32px; padding: 34px 0; }
  .about-logo img { width: 168px; }
  .cta-box { min-height: 330px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 30px; }
  .cta-box .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-links { gap: 28px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 43px; }
  .section-heading h2, .process-copy h2, .about-copy h2, .cta-box h2 { font-size: 36px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
