@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
  --navy: #0b2d5b;
  --navy-deep: #071f40;
  --navy-soft: #e9eef5;
  --white: #fff;
  --ink: #122033;
  --muted: #5e6b79;
  --gray: #8c959e;
  --line: #d9dee5;
  --surface: #f6f8fa;
  --red: #d6423a;
  --blue: #2563eb;
  --max: 1240px;
  --head: 'Inter', Arial, sans-serif;
  --body: 'Source Sans 3', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 18px; line-height: 1.62; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 100; background: var(--white); color: var(--navy); padding: 10px 14px; font-family: var(--head); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.signature { height: 3px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.signature span:nth-child(1) { background: var(--red); }
.signature span:nth-child(2) { background: var(--white); box-shadow: inset 0 0 0 1px #e8ebef; }
.signature span:nth-child(3) { background: var(--blue); }

.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav-row { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { text-decoration: none; font-family: var(--head); font-size: 1.38rem; letter-spacing: .18em; font-weight: 700; color: var(--navy); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.main-nav a { font-family: var(--head); font-size: .83rem; font-weight: 600; text-decoration: none; color: #2e3b4a; }
.main-nav a:not(.button):hover, .main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.main-nav a.button, .main-nav a.button:visited { color: var(--white); }
.main-nav a.button:hover, .main-nav a.button:focus-visible { color: var(--white); }
.menu-button { display: none; margin-left: auto; border: 0; background: transparent; color: var(--navy); width: 44px; height: 44px; padding: 10px; }
.menu-button span, .menu-button::before, .menu-button::after { content: ''; display: block; height: 2px; background: currentColor; margin: 5px 0; transition: .2s ease; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 19px; border: 1px solid var(--navy); border-radius: 4px; background: var(--navy); color: var(--white); font-family: var(--head); font-size: .82rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; transition: .2s ease; }
.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--navy); }
.button.secondary:hover { background: var(--navy-soft); }
.button.light { background: var(--white); border-color: var(--white); color: var(--navy); }
.button.ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }

h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.14; margin: 0 0 20px; letter-spacing: -.025em; }
h1 { font-size: clamp(2.85rem, 6vw, 5.6rem); max-width: 900px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 780px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 20px; }
.eyebrow { color: var(--blue); font-family: var(--head); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.eyebrow.light { color: #bfcde1; }
.lead { color: var(--muted); font-size: 1.22rem; line-height: 1.55; max-width: 760px; }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 54px; }
.section-intro p { max-width: 520px; color: var(--muted); }
.section { padding: 112px 0; }
.section.compact { padding: 80px 0; }
.section.surface { background: var(--surface); }
.section.navy { background: var(--navy); color: #e9f0f8; }
.section.navy h2, .section.navy h3 { color: var(--white); }
.section.navy p { color: #c9d5e5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero { position: relative; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 70px; align-items: center; }
.hero-content { padding: 100px 0 92px; position: relative; z-index: 1; }
.hero .lead { max-width: 690px; }
.hero-visual { min-height: 520px; position: relative; border: 1px solid #cfd6df; background-color: #f3f6f9; background-image: repeating-linear-gradient(0deg, transparent, transparent 42px, rgba(11,45,91,.07) 43px), repeating-linear-gradient(90deg, transparent, transparent 42px, rgba(11,45,91,.07) 43px); }
.spec-sheet { position: absolute; inset: 10%; padding: 30px; display: flex; flex-direction: column; border: 2px solid var(--navy); background: rgba(255,255,255,.96); box-shadow: 18px 18px 0 rgba(11,45,91,.08); color: var(--navy); }
.spec-head { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font: 600 .62rem/1.4 var(--head); letter-spacing: .12em; }
.spec-core { padding: 34px 0 30px; }
.spec-core span { display: block; margin-bottom: 14px; color: var(--blue); font: 700 .62rem/1.4 var(--head); letter-spacing: .14em; }
.spec-core strong { display: block; font: 700 clamp(1.85rem, 3vw, 2.65rem)/1.12 var(--head); letter-spacing: -.035em; }
.spec-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: auto 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-data div { padding: 15px 10px 14px 0; }
.spec-data div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.spec-data dt { color: var(--gray); font: 600 .58rem/1.3 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.spec-data dd { margin: 5px 0 0; color: var(--ink); font-size: .78rem; line-height: 1.3; }
.spec-signature { height: 4px; display: grid; grid-template-columns: repeat(3, 1fr); }
.spec-signature span:nth-child(1) { background: var(--red); }
.spec-signature span:nth-child(2) { background: #e2e6eb; }
.spec-signature span:nth-child(3) { background: var(--blue); }
.tagline { margin-top: 52px; display: flex; align-items: center; gap: 14px; color: var(--navy); font-family: var(--head); font-size: .82rem; font-weight: 600; }
.tagline::before { content: ''; width: 46px; height: 3px; background: linear-gradient(90deg, var(--red) 0 33%, #dfe3e8 33% 66%, var(--blue) 66%); }

.category-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.category { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 18px; min-height: 118px; padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.category:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 34px; }
.category:nth-child(even) { padding-left: 34px; }
.category .number { color: var(--gray); font-family: var(--head); font-size: .72rem; letter-spacing: .12em; }
.category h3 { margin: 0 0 5px; }
.category p { color: var(--muted); font-size: .96rem; line-height: 1.45; margin: 0; }
.category:hover h3 { color: var(--blue); }

.principles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.principle { min-height: 190px; padding: 28px 20px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); }
.principle--combined { grid-column: span 2; padding-inline: 30px; }
.principle strong { font-family: var(--head); font-size: 2.5rem; line-height: 1; color: var(--navy); }
.principle span { font-family: var(--head); font-size: .78rem; font-weight: 600; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.technical-panel { min-width: 0; padding: 34px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.035); }
.section.navy .panel-label { color: #c1d1e5; font: 600 .75rem/1.5 var(--head); letter-spacing: .12em; margin-bottom: 28px; }
.technical-panel > h3 { font-size: clamp(1.7rem, 2.4vw, 2rem); line-height: 1.2; margin-bottom: 30px; }
.framework-list { list-style: none; padding: 0; margin: 0; }
.framework-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); }
.framework-list li:last-child { padding-bottom: 0; }
.framework-number { color: #a9c3e3; font: 600 .75rem/1.5 var(--head); }
.section.navy .framework-list h4 { color: var(--white); font-size: 1rem; line-height: 1.35; margin-bottom: 7px; }
.section.navy .framework-list p { color: #c9d5e5; font-size: 1rem; line-height: 1.5; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.feature { padding: 34px 30px 28px 0; border-bottom: 1px solid var(--line); }
.feature + .feature { padding-left: 30px; border-left: 1px solid var(--line); }
.feature p { color: var(--muted); font-size: .96rem; }
.feature .index { display: block; font: 600 .7rem var(--head); letter-spacing: .13em; color: var(--red); margin-bottom: 50px; }
.steps { counter-reset: steps; border-top: 1px solid var(--line); }
.step { counter-increment: steps; display: grid; grid-template-columns: 100px 1fr 1.3fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.step::before { content: '0' counter(steps); font: 600 .75rem var(--head); color: var(--gray); letter-spacing: .12em; }
.step h3, .step p { margin: 0; }
.step p { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.why-item { padding: 34px; min-height: 235px; border-right: 1px solid var(--line); }
.why-item:last-child { border-right: 0; }
.why-item p { color: var(--muted); font-size: .94rem; }
.why-item .line { width: 30px; height: 2px; background: var(--blue); margin: 52px 0 22px; }

.page-hero { padding: 112px 0 90px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.65rem); }
.breadcrumbs { display: flex; gap: 10px; color: var(--gray); font-size: .8rem; font-family: var(--head); margin-bottom: 40px; }
.breadcrumbs a { color: var(--navy); text-decoration: none; }
.catalog-row { display: grid; grid-template-columns: 110px .85fr 1.25fr; gap: 40px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.catalog-row:first-child { border-top: 1px solid var(--line); }
.catalog-row .number { color: var(--gray); font: 600 .72rem var(--head); letter-spacing: .14em; }
.catalog-row p { color: var(--muted); }
.catalog-note { margin-top: 60px; padding: 34px; border-left: 3px solid var(--blue); background: var(--surface); }
.catalog-note h3 { margin-bottom: 8px; }
.catalog-note p { margin: 0; }
.content-grid { display: grid; grid-template-columns: minmax(240px, .72fr) 1.35fr; gap: 100px; }
.content-grid .aside { position: sticky; top: 120px; align-self: start; }
.content-grid .aside p { color: var(--muted); font-size: .94rem; }
.prose h2 { margin-top: 72px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #475668; }
.data-list { border-top: 1px solid var(--line); }
.data-list div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.data-list strong { font-family: var(--head); color: var(--navy); }
.data-list span { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.contact-card { min-height: 290px; padding: 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-card:last-child { border-right: 0; }
.contact-card p { color: var(--muted); }
.contact-card a { margin-top: auto; color: var(--navy); font: 600 .84rem var(--head); text-underline-offset: 5px; }

.cta { background: var(--navy); color: var(--white); }
.cta-inner { min-height: 430px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.cta h2 { color: var(--white); }
.cta p { color: #c9d5e5; max-width: 680px; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.site-footer { background: var(--navy-deep); color: #cbd6e4; }
.footer-main { padding: 70px 0 46px; display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 60px; }
.footer-brand { color: var(--white); }
.footer-brand p { color: #aab9cb; font-size: .95rem; margin-top: 12px; }
.footer-col h3 { color: var(--white); font-size: .82rem; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col a { display: block; color: #b9c7d7; font-size: .94rem; text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 30px; font-size: .78rem; color: #91a3b8; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .shell { width: min(calc(100% - 34px), var(--max)); }
  .nav-row { min-height: 70px; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; inset: 73px 0 auto; padding: 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 28px rgba(4,18,37,.08); }
  .main-nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav .button { margin-top: 16px; padding-inline: 18px; }
  .section { padding: 78px 0; }
  .section-intro { display: block; margin-bottom: 40px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 40px; padding: 76px 0; }
  .hero-content { padding: 0; }
  .hero-visual { min-height: 430px; }
  .category-grid, .split, .cta-inner, .content-grid { grid-template-columns: 1fr; }
  .category:nth-child(odd) { border-right: 0; margin-right: 0; }
  .category:nth-child(even) { padding-left: 0; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .principle { min-height: 150px; }
  .principle--combined { grid-column: span 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature + .feature { padding-left: 0; border-left: 0; }
  .feature .index { margin-bottom: 24px; }
  .why-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(2), .contact-card:nth-child(2) { border-right: 0; }
  .why-item { border-bottom: 1px solid var(--line); }
  .contact-card { border-bottom: 1px solid var(--line); }
  .catalog-row { grid-template-columns: 70px 1fr; }
  .catalog-row p { grid-column: 2; }
  .content-grid { gap: 48px; }
  .content-grid .aside { position: static; }
  .cta-inner { padding: 70px 0; min-height: 0; }
  .footer-main { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: clamp(2.55rem, 13vw, 3.6rem); }
  .lead { font-size: 1.08rem; }
  .actions .button { width: 100%; }
  .hero-grid { padding: 60px 0; }
  .hero-visual { min-height: 390px; }
  .spec-sheet { inset: 7%; padding: 22px; box-shadow: 12px 12px 0 rgba(11,45,91,.08); }
  .spec-head span:last-child { display: none; }
  .spec-core { padding: 26px 0 22px; }
  .spec-core strong { font-size: clamp(1.75rem, 10vw, 2.4rem); }
  .spec-data { grid-template-columns: 1fr; margin-bottom: 18px; }
  .spec-data div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
  .spec-data div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .spec-data dd { margin: 0; text-align: right; }
  .category { grid-template-columns: 42px 1fr; padding-right: 0; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle--combined { grid-column: 1 / -1; min-height: 180px; }
  .technical-panel { padding: 26px 22px; }
  .split { gap: 40px; }
  .step { grid-template-columns: 52px 1fr; }
  .step p { grid-column: 2; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .why-item, .contact-card { border-right: 0; }
  .contact-card { min-height: 250px; }
  .catalog-row { display: block; }
  .catalog-row .number { display: block; margin-bottom: 16px; }
  .data-list div { grid-template-columns: 1fr; gap: 6px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { display: block; }
}

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