/* HACKMATICS — institutional website, static and self-contained */
:root {
  --ink: #10272b;
  --ink-strong: #0b1f23;
  --deep: #071c20;
  --deep-2: #0e2d2e;
  --green: #079d41;
  --green-light: #49d88d;
  --green-pale: #ddf5e7;
  --muted: #63747a;
  --line: #dfe8e4;
  --paper: #ffffff;
  --cloud: #f5f8f6;
  --max: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
button { font: inherit; }
img, svg { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #86e9b4; color: var(--ink-strong); }
.container { width: min(calc(100% - 64px), var(--max)); margin: 0 auto; }
.skip-link { position: absolute; left: 24px; top: -100px; padding: 12px 16px; background: #fff; color: #092623; z-index: 999; border: 2px solid var(--green); }
.skip-link:focus { top: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.985); border-bottom: 1px solid rgba(8,43,35,.07); transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(7,25,22,.065); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 35px; }
.brand { display: block; flex: 0 0 auto; width: 267px; line-height: 0; }
.brand img { width: 100%; height: auto; display: block; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(19px, 2.5vw, 36px); flex: 1 1 auto; }
.desktop-nav a { color: #385053; font-size: 13px; font-weight: 700; white-space: nowrap; transition: color .2s; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--green); }
.header-cta { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; padding: 14px 17px; background: var(--ink-strong); color: white; border-radius: 7px; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.header-cta:hover { background: #15533c; transform: translateY(-1px); }
.header-cta span { color: #5be09a; font-size: 18px; line-height: 0; }
.menu-toggle, .mobile-nav { display: none; }

/* Buttons and labels */
.eyebrow { display: flex; align-items: center; gap: 12px; color: #0f8e4a; font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; }
.eyebrow-light { color: #91efba; }
.eyebrow-line { display: inline-block; width: 22px; height: 2px; background: currentColor; }
.signal-dot { width: 7px; height: 7px; display: inline-block; background: #55d889; border-radius: 50%; box-shadow: 0 0 0 5px rgba(70,208,133,.1); flex: 0 0 auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 17px 23px; border-radius: 8px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; transition: transform .24s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.button svg { flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #42d985; color: #0c2f25; box-shadow: 0 12px 28px rgba(4,112,61,.14); }
.button-primary:hover { background: #61eaa0; box-shadow: 0 14px 30px rgba(3,91,49,.24); }
.button-ghost { border: 1px solid rgba(235,255,246,.3); color: #f8fffa; background: rgba(255,255,255,.03); }
.button-ghost:hover { border-color: rgba(235,255,246,.6); background: rgba(255,255,255,.09); }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 14px; font-weight: 800; color: #077e3c; border-bottom: 1px solid #71c696; padding-bottom: 6px; width: fit-content; transition: gap .2s; }
.text-link:hover { gap: 21px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(116deg, #081e22 0%, #0b2628 57%, #082820 100%); color: white; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 500px 330px at 78% 42%, rgba(18,127,77,.16), transparent 75%), radial-gradient(ellipse 700px 480px at -10% 100%, rgba(14,99,75,.11),transparent 74%); }
.hero-noise { position: absolute; inset: 0; z-index: -1; opacity: .075; background-image: linear-gradient(rgba(155,214,194,.2) 1px,transparent 1px), linear-gradient(90deg,rgba(155,214,194,.2) 1px,transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg,transparent 20%,black 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: clamp(38px,5vw,75px); min-height: 632px; padding-top: 78px; padding-bottom: 91px; }
.hero-content { position: relative; z-index: 2; padding-bottom: 6px; }
.hero h1 { font-size: clamp(42px,5.15vw,72px); line-height: 1.095; letter-spacing: -.067em; margin: 24px 0 25px; font-weight: 780; max-width: 710px; }
.hero h1 span { color: #66e59b; font-size: .80em; letter-spacing: -.055em; }
.hero-description { color: #c2d3d0; font-size: clamp(16px,1.45vw,18px); line-height: 1.85; max-width: 630px; margin: 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 35px; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; color: #9eb9b2; margin-top: 42px; font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.hero-tags i { display: inline-block; width: 3px; height: 3px; background: #41a776; border-radius: 50%; }
.hero-corner { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(56,195,116,.12); border-radius: 50%; left: -220px; bottom: -215px; pointer-events: none; }

/* Hero architecture illustration */
.hero-visual { position: relative; width: 100%; max-width: 575px; margin-left: auto; border: 1px solid rgba(173,230,202,.18); border-radius: 17px; background: linear-gradient(140deg,rgba(20,60,55,.7),rgba(8,36,34,.8)); box-shadow: 0 36px 80px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.045); }
.visual-heading, .visual-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 22px; color: #8daea6; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.visual-heading { border-bottom: 1px solid rgba(202,241,222,.11); }
.visual-live { color: #93efb8; white-space: nowrap; display: flex; align-items: center; gap: 7px; }
.visual-live > span { width: 5px; height: 5px; border-radius: 50%; background: #40d386; }
.network-stage { position: relative; aspect-ratio: 520/420; min-height: 340px; }
.network-lines { position: absolute; width: 100%; height: 100%; inset: 0; }
.orbit-line { stroke: rgba(82,183,130,.17); stroke-width: 1; stroke-dasharray: 4 8; fill: none; }
.orbit-line.secondary { stroke: rgba(82,183,130,.21); stroke-dasharray: none; }
.connector-line { stroke: url(#wireGradient); stroke-width: 1.4; fill: none; stroke-dasharray: 3 7; }
.terminal-point { fill: #50df92; }
.network-core { position: absolute; top: 51%; left: 50%; transform: translate(-50%,-50%); width: 136px; height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f9fdf9; border: 6px solid rgba(79,222,143,.19); border-radius: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.core-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 74px; overflow: hidden; }
.core-icon img { width: 63px; height: 70px; object-fit: contain; }
.network-core strong { display: block; color: #123b33; font-weight: 900; font-size: 10px; letter-spacing: .05em; margin-top: 5px; }
.network-core small { display: block; color: #638478; font-size: 6.7px; letter-spacing: .09em; margin-top: 3px; }
.network-node { position: absolute; display: inline-flex; align-items: center; gap: 7px; color: #d2e9df; border: 1px solid rgba(178,239,207,.21); border-radius: 5px; background: #123c37; font-size: 9px; font-weight: 800; letter-spacing: .065em; padding: 11px 13px; box-shadow: 0 8px 16px rgba(0,0,0,.12); white-space: nowrap; }
.node-indicator { display: inline-block; width: 5px; height: 5px; border-radius: 2px; background: #48de8b; }
.node-cloud { left: 50%; top: 5%; transform: translateX(-50%); }
.node-apps { left: 0%; top: 36%; }
.node-id { right: 0%; top: 36%; }
.node-infra { left: 3%; bottom: 11%; }
.node-response { right: 5%; bottom: 11%; }
.visual-footer { border-top: 1px solid rgba(202,241,222,.11); padding: 17px 22px; }
.visual-footer > span:first-child { display: inline-flex; gap: 9px; align-items: center; }
.tiny-square { display: inline-block; width: 6px; height: 6px; border: 1px solid #60e79d; }

/* Thin competency ribbon */
.competence-strip { border-bottom: 1px solid var(--line); background: white; }
.competence-inner { min-height: 92px; display: grid; grid-template-columns: minmax(0,2.1fr) repeat(4,minmax(0,1fr)); align-items: center; gap: 23px; }
.competence-inner p { margin: 0; color: #5b7a73; font-weight: 800; font-size: 10px; letter-spacing: .16em; }
.competence-inner div { display: flex; gap: 10px; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.competence-inner div span { color: #0f9c50; font-size: 10px; }

/* Shared sections */
.section { padding: clamp(82px,8vw,125px) 0; }
.section h2 { font-size: clamp(35px,3.7vw,53px); font-weight: 780; line-height: 1.18; letter-spacing: -.053em; margin: 19px 0 0; }
.section h2 span { color: var(--green); }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 47px; }
.section-intro p { max-width: 380px; margin: 0 4px 3px 0; color: var(--muted); font-size: 16px; line-height: 1.82; }

/* Services */
.services-section { background: var(--cloud); }
.services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.service-card { background: #fff; border: 1px solid #e3eae6; border-radius: 12px; min-height: 335px; padding: 31px 28px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service-card:hover { transform: translateY(-5px); border-color: #9dd7b8; box-shadow: 0 22px 48px rgba(19,64,44,.08); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.service-top > span { color: #a5b7ae; font-weight: 800; font-size: 10px; letter-spacing: .1em; }
.service-icon { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border: 1px solid #d7eede; border-radius: 10px; background: #effaf2; color: #0a9d49; }
.service-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; fill: none; }
.service-card h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.03em; margin: 0 0 13px; }
.service-card > p { margin: 0 0 26px; color: #60737a; font-size: 14px; line-height: 1.77; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.service-tags span { background: #f0f5f2; color: #4a685e; padding: 6px 9px; font-size: 10px; font-weight: 700; border-radius: 4px; }
.services-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 3px 0; }
.services-bottom p { color: #6c7f77; font-size: 14px; margin: 0; }

/* Differentiators */
.differences-section { background: white; }
.differences-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(70px,9vw,150px); }
.differences-left h2 { margin-bottom: 24px; }
.differences-left > p { color: var(--muted); font-size: 16px; line-height: 1.9; max-width: 460px; }
.accent-quote { margin-top: 42px; border-left: 3px solid #11ad53; padding: 4px 0 4px 23px; max-width: 420px; }
.accent-quote > span { color: #169e51; font-family: Georgia,serif; font-size: 40px; line-height: .7; }
.accent-quote p { color: #344c47; font-size: 18px; line-height: 1.55; font-weight: 700; margin: 6px 0 0; letter-spacing: -.022em; }
.differences-list { border-top: 1px solid #e1e9e5; }
.difference-item { display: grid; grid-template-columns: 42px 1fr 20px; gap: 16px; padding: 29px 0; border-bottom: 1px solid #e1e9e5; align-items: start; }
.difference-index { color: #0da952; font-size: 12px; letter-spacing: .08em; font-weight: 800; padding-top: 4px; }
.difference-item h3 { font-size: 19px; margin: 0 0 9px; letter-spacing: -.03em; }
.difference-item p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.7; }
.difference-mark { color: #7fbca0; font-size: 20px; line-height: 1; }

/* Approach */
.method-section { color: white; background: #0c292a; position: relative; overflow: hidden; }
.method-section::after { content: ""; position: absolute; right: -210px; bottom: -450px; width: 760px; height: 760px; border: 1px solid rgba(95,213,140,.13); border-radius: 50%; box-shadow: 0 0 0 90px rgba(65,150,98,.035), 0 0 0 180px rgba(65,150,98,.02); pointer-events: none; }
.method-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 64px; }
.method-head h2 span { color: #75e8a6; }
.method-head p { max-width: 350px; color: #a7bdb7; font-size: 16px; line-height: 1.85; margin: 0 0 3px; }
.method-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 27px; }
.method-step { padding-right: 12px; }
.step-number { font-size: 12px; font-weight: 800; color: #75e8a6; letter-spacing: .08em; }
.step-line { position: relative; height: 1px; margin: 26px 0 30px; background: rgba(177,226,195,.22); }
.step-line::before { content: ""; position: absolute; top: -3px; left: 0; height: 7px; width: 7px; border-radius: 50%; background: #5cdd92; }
.method-step h3 { font-size: 24px; margin: 0 0 14px; letter-spacing: -.035em; }
.method-step p { color: #adc5ba; font-size: 14px; line-height: 1.85; margin: 0; }

/* Risk model */
.intelligence-section { background: #fbfcfb; }
.intelligence-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; gap: clamp(60px,8vw,120px); }
.intelligence-text h2 { margin-bottom: 24px; }
.intelligence-text > p { font-size: 16px; line-height: 1.87; color: var(--muted); max-width: 490px; margin-bottom: 28px; }
.risk-model { background: #fff; border: 1px solid #e0eae3; border-radius: 15px; padding: 32px; box-shadow: 0 20px 65px rgba(15,61,40,.055); }
.model-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid #e5ebe8; }
.model-label, .model-version { font-size: 11px; font-weight: 900; color: #263f37; letter-spacing: .13em; }
.model-version { font-size: 9px; color: #87a097; }
.risk-signals { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; padding-top: 28px; }
.risk-signals span { min-height: 48px; padding: 8px 3px; border-radius: 5px; border: 1px solid #d5eadd; background: #f0faf4; display: flex; justify-content: center; align-items: center; color: #167546; font-size: 9px; font-weight: 900; text-align: center; letter-spacing: .045em; }
.model-path { position: relative; display: flex; justify-content: space-around; padding: 25px 0 20px; height: 94px; }
.model-line { position: absolute; left: 12%; right: 12%; top: 30px; height: 1px; background: #b9dfc9; }
.model-line::before { content: ""; position: absolute; width: 1px; height: 31px; background: #b9dfc9; top: 0; left: 50%; }
.model-node { z-index: 1; display: block; width: 8px; height: 8px; margin-top: 2px; background: #0f9e4d; border: 2px solid white; box-shadow: 0 0 0 2px #a9dbba; border-radius: 50%; }
.model-output { display: flex; align-items: center; gap: 18px; background: #102e2c; border-radius: 10px; padding: 24px; color: white; }
.output-icon { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: #43d787; color: #0c3425; flex: 0 0 auto; }
.output-icon svg { width: 25px; height: 25px; stroke: currentColor; stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.model-output small { display: block; color: #86bdaa; font-size: 9px; font-weight: 900; letter-spacing: .13em; margin-bottom: 6px; }
.model-output strong { font-size: 17px; letter-spacing: -.015em; }
.model-output p { color: #b6d1c2; margin: 4px 0 0; font-size: 12px; line-height: 1.5; }
.model-foot { text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .12em; color: #77978b; margin-top: 23px; }

/* CTA / Contact */
.contact-section { background: #fff; padding: 40px 0 105px; }
.contact-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 65px; background: #0b2929; color: #fff; border-radius: 17px; padding: clamp(35px,6vw,72px); }
.contact-backdrop { position: absolute; pointer-events: none; right: -105px; bottom: -170px; width: 480px; height: 480px; border: 1px solid rgba(91,223,150,.18); border-radius: 50%; box-shadow: 0 0 0 58px rgba(36,146,84,.07), 0 0 0 120px rgba(36,146,84,.035); }
.contact-main { position: relative; z-index: 1; max-width: 720px; }
.contact-main h2 { font-size: clamp(33px,3.3vw,50px); line-height: 1.18; letter-spacing: -.055em; margin: 24px 0 23px; }
.contact-main h2 span { color: #72e9a7; }
.contact-main > p { max-width: 550px; color: #b6cfc4; font-size: 15px; line-height: 1.82; margin: 0; }
.contact-actions { flex: 0 0 auto; display: flex; flex-direction: column; align-items: start; gap: 18px; position: relative; z-index: 1; }
.contact-actions .button { min-width: 245px; }
.contact-email { color: #e8fff0; border-bottom: 1px solid rgba(200,243,219,.42); font-size: 14px; padding-bottom: 7px; }
.contact-email span { margin-left: 4px; color: #74e6a6; }
.contact-actions p { margin: -4px 0 0; color: #8daea0; font-size: 11px; line-height: 1.55; max-width: 260px; }

/* Footer */
.site-footer { background: #f5f8f6; padding: 64px 0 0; border-top: 1px solid #e2ebe5; }
.footer-top { display: flex; justify-content: space-between; gap: 65px; padding-bottom: 70px; }
.footer-wordmark { color: #079d41; font-size: 26px; letter-spacing: -.07em; font-weight: 900; }
.footer-wordmark span { color: #11292c; }
.footer-brand > p { color: #4b6864; letter-spacing: .15em; font-size: 9px; font-weight: 900; margin: 5px 0 20px; }
.footer-brand > small { color: #637d74; font-size: 13px; line-height: 1.7; max-width: 340px; display: block; }
.footer-links { display: flex; gap: clamp(50px,9vw,160px); }
.footer-links > div { display: flex; flex-direction: column; align-items: start; gap: 13px; }
.footer-links h3 { font-size: 10px; font-weight: 900; letter-spacing: .13em; margin: 0 0 10px; color: #2a5850; }
.footer-links a { font-size: 13px; color: #4a6761; transition: color .2s; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid #dce7df; min-height: 70px; display: flex; gap: 20px; align-items: center; justify-content: space-between; color: #82958f; font-size: 11px; }
.footer-bottom a { font-weight: 700; color: #4d6a5f; }

/* Progressive reveal; never used for users asking for reduced motion */
.can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s var(--ease); }
.can-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1140px) {
  .header-inner { gap: 22px; }
  .brand { width: 230px; }
  .desktop-nav { gap: 18px; }
  .header-cta { padding: 13px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(42px,5.1vw,59px); }
  .network-node { font-size: 8px; padding: 9px; }
  .service-card { padding: 27px 24px; }
}
@media (max-width: 940px) {
  .container { width: min(calc(100% - 48px),var(--max)); }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { min-height: 80px; justify-content: space-between; }
  .brand { width: 246px; }
  .menu-toggle { width: 44px; height: 44px; display: flex; justify-content: center; flex-direction: column; gap: 5px; align-items: center; border: 1px solid #dae8df; background: #fff; border-radius: 8px; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #14352d; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { position: absolute; top: 100%; left: 0; right: 0; z-index: 90; display: flex; flex-direction: column; gap: 0; padding: 14px 24px 24px; background: #fff; box-shadow: 0 25px 45px rgba(0,36,28,.11); border-top: 1px solid #e7f0e9; }
  .mobile-nav a { display: block; padding: 16px 4px; border-bottom: 1px solid #e9efeb; color: #18332b; font-size: 14px; font-weight: 700; }
  .mobile-nav .mobile-contact-link { color: #078c40; }
  .hero-grid { grid-template-columns: minmax(0,1fr); padding-top: 76px; padding-bottom: 76px; gap: 60px; }
  .hero-content { max-width: 790px; }
  .hero h1 { font-size: clamp(48px,6vw,72px); }
  .hero-visual { max-width: 680px; width: 100%; margin: 0; }
  .network-stage { min-height: 390px; max-height: 460px; }
  .competence-inner { grid-template-columns: repeat(4,1fr); gap: 15px; padding: 23px 0; }
  .competence-inner p { grid-column: 1 / -1; margin-bottom: 2px; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-intro { align-items: start; flex-direction: column; gap: 21px; }
  .section-intro p { max-width: 700px; }
  .differences-grid { gap: 52px; }
  .method-head { align-items: start; flex-direction: column; gap: 20px; }
  .method-head p { max-width: 620px; }
  .contact-panel { align-items: start; flex-direction: column; gap: 34px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  .container { width: min(calc(100% - 36px),var(--max)); }
  .header-inner { min-height: 73px; }
  .brand { width: 213px; }
  .hero-grid { padding-top: 57px; padding-bottom: 64px; gap: 42px; }
  .hero h1 { font-size: clamp(40px,8.7vw,58px); letter-spacing: -.059em; margin-top: 23px; }
  .hero-description { font-size: 15px; line-height: 1.8; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-tags { margin-top: 31px; gap: 9px; font-size: 10px; }
  .hero-visual { max-width: 580px; }
  .network-stage { min-height: auto; }
  .network-node { font-size: 7px; padding: 8px; }
  .network-core { width: 116px; height: 130px; }
  .core-icon { width: 55px; height: 62px; }
  .core-icon img { width: 54px; height: 60px; }
  .visual-heading, .visual-footer { padding: 15px; font-size: 8px; }
  .competence-inner { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .section { padding: 75px 0; }
  .section h2 { font-size: clamp(34px,8vw,47px); }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 285px; }
  .service-top { margin-bottom: 22px; }
  .services-bottom { display: block; padding-top: 28px; }
  .services-bottom .text-link { margin-top: 18px; }
  .differences-grid, .intelligence-grid { grid-template-columns: 1fr; gap: 43px; }
  .accent-quote { margin-top: 31px; }
  .method-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 27px; }
  .method-head { margin-bottom: 38px; }
  .contact-section { padding: 0 0 73px; }
  .contact-panel { border-radius: 12px; padding: 35px 26px; }
  .contact-main h2 { font-size: clamp(30px,7.6vw,42px); }
  .footer-top { flex-direction: column; gap: 45px; padding-bottom: 43px; }
  .footer-links { gap: 70px; }
  .footer-bottom { align-items: start; flex-direction: column; justify-content: center; gap: 8px; padding: 22px 0; }
}
@media (max-width: 440px) {
  .brand { width: 187px; }
  .hero h1 { font-size: 41px; }
  .eyebrow { font-size: 9px; letter-spacing: .11em; }
  .hero-tags { display: none; }
  .hero-visual { display: none; }
  .hero-grid { min-height: 0; }
  .section h2 { font-size: 35px; }
  .method-steps { grid-template-columns: 1fr; gap: 30px; }
  .method-step { padding-right: 0; }
  .step-line { margin: 17px 0 21px; }
  .risk-model { padding: 21px 16px; }
  .risk-signals { gap: 4px; }
  .risk-signals span { font-size: 8px; }
  .model-output { padding: 17px; }
  .model-output strong { font-size: 15px; }
  .contact-panel { padding: 33px 23px; }
  .contact-actions { width: 100%; }
  .contact-actions .button { width: 100%; }
  .contact-email { font-size: 12px; overflow-wrap: anywhere; }
  .footer-links { justify-content: space-between; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .can-reveal .reveal { opacity: 1; transform: none; }
}
