@font-face {
  font-family: 'DM Sans';
  src: url('/assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('/assets/noto-sans-cyrillic.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Noto Sans Hebrew';
  src: url('/assets/noto-sans-hebrew.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0590-05FF, U+20AA, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('/assets/noto-sans-arabic.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08FF, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  color-scheme: dark;
  --ink: #0b0c0e;
  --paper: #efefeb;
  --white: #f5f6f2;
  --muted: #b3b5b1;
  --lime: #dbff69;
  --line: #2a2d2a;
  --display: 'Space Grotesk', sans-serif;
  --body: 'DM Sans', sans-serif;
  --hero-fade: 90deg;
}

html:lang(ru) {
  --display: 'Noto Sans', 'Space Grotesk', sans-serif;
  --body: 'Noto Sans', 'DM Sans', sans-serif;
}
html:lang(he) {
  --display: 'Noto Sans Hebrew', 'Space Grotesk', sans-serif;
  --body: 'Noto Sans Hebrew', 'DM Sans', sans-serif;
}
html:lang(ar) {
  --display: 'Noto Sans Arabic', 'Space Grotesk', sans-serif;
  --body: 'Noto Sans Arabic', 'DM Sans', sans-serif;
}
html[dir="rtl"] { --hero-fade: 270deg; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--ink); color: var(--white); font: 400 1rem/1.6 var(--body); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
p, h1, h2, h3, figure { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.wrap { width: min(100% - 7.5rem, 80rem); margin-inline: auto; }
.section-pad { padding-block: clamp(4.5rem, 8.5vw, 8rem); }
.skip-link { position: fixed; z-index: 10; top: 1rem; inset-inline-start: 1rem; padding: .7rem 1rem; background: var(--lime); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(11 12 14 / 93%);
  border-bottom: 1px solid #252724;
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 4.85rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex: none; align-items: center; gap: .65rem; font: 700 1.43rem/1 'Space Grotesk', sans-serif; letter-spacing: -.045em; }
.brand img { width: auto; height: 2.15rem; object-fit: contain; }
.brand-product { font-weight: 500; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.1vw, 3rem); }
.site-header nav > a:not(.button) { font-size: .93rem; font-weight: 600; color: var(--muted); }
.site-header nav > a:not(.button):hover { color: var(--white); }
.menu-toggle { display: none; }

.button {
  min-height: 3.55rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.button:hover { transform: translateY(-2px); }
.button-outline { min-height: 2.6rem; padding: .55rem 1rem; border-color: #4d5149; font-size: .9rem; }
.button-outline:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #ecffab; }
.button-dark { background: #161913; color: var(--white); }
.button-dark:hover { background: #353d24; }
.plain-link { color: var(--white); border-bottom: 1px solid #666c60; padding-block: .15rem; font-weight: 600; font-size: .95rem; transition: border-color .2s, color .2s; }
.plain-link:hover { color: var(--lime); border-color: var(--lime); }

.hero { overflow: clip; }
.hero-inner { display: grid; align-items: center; position: relative; min-height: clamp(35rem, 52vw, 48rem); isolation: isolate; }
.hero-copy { position: relative; z-index: 2; width: fit-content; padding-block: 5rem; animation: arrive .75s ease-out both; }
.kicker {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--lime);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker-line { flex: none; width: 1.45rem; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 1.4rem 0 1.45rem; font-size: clamp(4rem, 7.5vw, 7.65rem); line-height: .96; font-weight: 700; letter-spacing: -.086em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 26.5rem; color: #c4c7bf; font-size: clamp(1.04rem, 1.5vw, 1.24rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.55rem; margin-top: 2rem; }

.hero-art { position: absolute; z-index: 0; inset-block: 1.6% 2.5%; inset-inline: 32% -6%; overflow: hidden; isolation: isolate; }
.core-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  mask-image: linear-gradient(to right, transparent, #000 21%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 87%, transparent);
  mask-composite: intersect;
  animation: core-arrive 1.2s cubic-bezier(.2,.75,.22,1) both;
}
.hero-art::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(var(--hero-fade), var(--ink), transparent 43%); }
html[dir="rtl"] .core-image { scale: -1 1; }
.core-grid { position: absolute; z-index: -1; inset: auto 8% 5% 20%; height: 70%; opacity: .35; background: radial-gradient(ellipse at 63% 70%, #40541977, transparent 67%); }
.hero-caption {
  position: absolute;
  z-index: 2;
  inset-inline-end: 12%;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgb(17 20 15 / 87%);
  backdrop-filter: blur(14px);
  border: 1px solid #505b3c;
  border-radius: .65rem;
  box-shadow: 0 10px 32px #0008;
  padding: .7rem .95rem .7rem .75rem;
  animation: caption-float 4s ease-in-out .4s;
}
.caption-icon { display: grid; place-items: center; width: 2.35rem; height: 2.35rem; border: 1px solid #455534; border-radius: .35rem; color: var(--lime); background: #242e15; }
.caption-icon svg { width: 1.2rem; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: .85rem; line-height: 1.35; }
.hero-caption small { margin-top: .18rem; font-size: .75rem; color: #c5cbb8; }
.hero-bottom { height: 1px; position: relative; background: var(--line); }
.hero-bottom span { position: absolute; top: 0; inset-inline-start: 0; width: min(8rem, 20vw); height: 1px; background: linear-gradient(var(--hero-fade), var(--lime), transparent); }

.industries { background: #101113; }
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(2.9rem, 5.45vw, 5.25rem); line-height: 1.01; letter-spacing: -.07em; font-weight: 700; text-wrap: balance; }
.section-heading h2, .contact h2 { margin-top: 1.1rem; }
.section-heading > p { max-width: 22rem; justify-self: end; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.17rem); }
.industry-demo { overflow: hidden; border: 1px solid #363a33; border-radius: .9rem; background: #171916; }
.industry-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: #141613; border-bottom: 1px solid #363a33; }
.industry-tabs button {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 4.25rem;
  padding: .75rem .55rem;
  color: #c7cac2;
  border: 0;
  border-inline-end: 1px solid #363a33;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: background .25s, color .25s;
}
.industry-tabs button:last-child { border-inline-end: 0; }
.industry-tabs button:hover { background: #22271c; color: var(--white); }
.industry-tabs button[aria-selected=true] { background: #272e1c; color: var(--lime); border-bottom-color: var(--lime); }
.industry-tabs button:focus-visible, .workflow-panel:focus-visible { outline-offset: -4px; }
.industry-tabs svg { flex: none; width: 1.2rem; }
.workflow-panel { display: grid; grid-template-columns: .94fr 1.06fr; align-items: stretch; min-height: 25.5rem; }
.workflow-copy { padding: clamp(1.6rem, 4.6vw, 4.1rem); }
.workflow-copy h3 { font-size: clamp(2rem, 3.25vw, 3.3rem); letter-spacing: -.055em; line-height: 1.05; max-width: 14ch; }
.workflow-copy p { color: var(--muted); margin-top: 1rem; }
.workflow-benefits { padding: 0; margin: 1.4rem 0 0; display: grid; gap: .55rem; list-style: none; }
.workflow-benefits li { display: flex; align-items: baseline; gap: .6rem; font-weight: 600; }
.workflow-benefits li::before { content: ''; width: .36rem; height: .36rem; flex: none; background: var(--lime); border-radius: 50%; align-self: center; }
.workflow-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.75rem);
  border-inline-start: 1px solid #363a33;
  background:
    radial-gradient(ellipse at 49% 45%, #3b482490, transparent 76%),
    radial-gradient(#6b74514d 1px, transparent 1px) 0 0 / 18px 18px,
    #1a1e16;
}
.workflow-chart { width: min(100%, 30rem); padding: clamp(1rem, 2.5vw, 1.7rem); background: #171a15; border: 1px solid #4e5a3d; border-radius: .7rem; box-shadow: 0 20px 60px #070a06a3; }
.workflow-chart > p { margin-bottom: 1rem; color: #d2d8c9; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.workflow-chart ol { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.workflow-chart li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .7rem .65rem; border: 1px solid #3d4832; border-radius: .36rem; background: #20251c; font-size: .9rem; line-height: 1.35; }
.step-dot { position: relative; z-index: 1; width: .62rem; height: .62rem; border-radius: 50%; border: 1px solid #98b66a; background: #3e492c; }
.workflow-chart li:not(:last-child) .step-dot::after { content: ''; position: absolute; top: .6rem; left: 50%; height: 1.3rem; width: 1px; background: #98b66a70; }
.workflow-chart li:nth-child(2) .step-dot { background: var(--lime); box-shadow: 0 0 12px #dbff6969; }
.workflow-chart small { font-size: .72rem; padding: .2rem .38rem; border-radius: .2rem; background: #333c2b; color: #dce7ce; white-space: nowrap; }
.workflow-chart li:nth-child(2) small { color: var(--lime); }
.workflow-panel.switching .workflow-copy, .workflow-panel.switching .workflow-chart { animation: arrive .28s ease-out both; }

.process { background: var(--paper); color: #171a14; }
.process .kicker { color: #43551c; }
.process .section-heading > p { color: #45483f; }
.process-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #c9cdc2; }
.process-list li { padding: 1.85rem clamp(1rem, 3vw, 2.75rem) 2.1rem; }
.process-list li:first-child { padding-inline-start: 0; }
.process-list li:last-child { padding-inline-end: 0; }
.process-list li + li { border-inline-start: 1px solid #c9cdc2; }
.process-icon { display: grid; place-items: center; width: 3.65rem; height: 3.65rem; margin-bottom: 1.55rem; border: 1px solid #c4cdb7; background: #e4ead9; border-radius: .55rem; color: #40541f; }
.process-icon svg { width: 1.9rem; }
.process-list h3 { margin-bottom: .45rem; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.04em; }
.process-list p { max-width: 25rem; color: #45483f; }

.contact { background: #101113; }
.contact-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 1rem; background: var(--lime); color: #181c10; }
.contact-copy { padding: clamp(1.75rem, 6vw, 5.8rem); position: relative; z-index: 1; }
.contact .kicker { color: #354613; }
.contact-copy p:not(.kicker) { max-width: 28rem; margin-block: 1.15rem 1.55rem; font-size: 1.05rem; color: #303d17; }
.contact .contact-email { display: inline-block; margin-block: .65rem; margin-inline-start: 1rem; border-bottom: 1px solid #6d7f3b; font-weight: 700; }
.contact :focus-visible, .process :focus-visible { outline-color: #344817; }
.contact-art { position: absolute; z-index: 0; width: 62%; aspect-ratio: 1; inset-inline-end: -16%; top: 50%; transform: translateY(-50%) rotate(-17deg); pointer-events: none; opacity: .8; }
.contact-art div { position: absolute; inset: calc(var(--ring) * 6%); border: 1px solid #526e216c; border-radius: 27%; background: linear-gradient(133deg, #c7fa43aa, #edffa30a 58%); box-shadow: inset 0 0 18px #fff9; }
.contact-art div:nth-child(1) { --ring: 0; }
.contact-art div:nth-child(2) { --ring: 1; }
.contact-art div:nth-child(3) { --ring: 2; }
.contact-art div:nth-child(4) { --ring: 3; }
.contact-art div:nth-child(5) { --ring: 4; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; }
.site-footer .brand { font-size: 1.15rem; }
.site-footer .brand img { height: 1.7rem; }
.site-footer p, .site-footer a:not(.brand) { color: var(--muted); font-size: .9rem; }
.site-footer a:not(.brand):hover { color: var(--lime); }

html:not(:lang(en)) h1 { font-size: clamp(3.35rem, 5.5vw, 5.85rem); line-height: 1.04; letter-spacing: -.058em; }
html:not(:lang(en)) h2 { font-size: clamp(2.5rem, 4.9vw, 4.75rem); }
html:not(:lang(en)) .section-heading h2 br,
html:not(:lang(en)) .contact h2 br { display: none; }
html[dir="rtl"] :is(h1, h2, h3, .kicker, .workflow-chart > p) { letter-spacing: 0; }
html:lang(ar) :is(h1, h2, h3) { line-height: 1.25; }

.motion .reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.2,1); }
.motion .reveal.in-view, .motion .reveal:focus-within { opacity: 1; transform: none; }
@keyframes arrive { from { opacity: 0; transform: translateY(.9rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes core-arrive { from { opacity: .15; transform: scale(1.07); } to { opacity: 1; transform: scale(1); } }
@keyframes caption-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.45rem); } }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 4.5rem); }
  .hero-art { inset-inline: 30% -10%; }
  .hero-caption { inset-inline-end: 13%; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 5rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.25rem; gap: .75rem; }
  .brand { font-size: 1.3rem; }
  .brand img { height: 1.85rem; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: auto; padding: 4.15rem 0 0; }
  h1 { font-size: clamp(3.75rem, 11vw, 5.75rem); margin-block: 1.1rem; }
  html:not(:lang(en)) h1 { font-size: clamp(2.55rem, 9vw, 4.5rem); }
  .hero-art { position: relative; inset: auto; width: calc(100% + 2.5rem); height: clamp(17rem, 62vw, 30rem); margin: .1rem -1.25rem 0; }
  .core-image { object-position: center; mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent); mask-composite: add; }
  .hero-art::after { background: none; }
  .hero-caption { inset-inline-end: 6%; bottom: 10%; }
  .hero-caption { max-inline-size: 88%; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading > p { justify-self: start; }
  .industry-tabs { grid-template-columns: 1fr 1fr; }
  .industry-tabs button:nth-child(even) { border-inline-end: 0; }
  .industry-tabs button:nth-child(-n+2) { box-shadow: 0 1px 0 #363a33; }
  .workflow-panel { grid-template-columns: 1fr; }
  .workflow-visual { border-top: 1px solid #363a33; border-inline-start: 0; }
  .contact-art { width: 85%; inset-inline-end: -43%; opacity: .45; }
}

@media (max-width: 530px) {
  .site-header nav { gap: .65rem; flex-wrap: wrap; padding-bottom: .65rem; }
  .header-inner { flex-wrap: wrap; padding-block: .4rem; }
  .has-menu .header-inner { flex-wrap: nowrap; padding-block: 0; }
  .has-menu .menu-toggle {
    display: grid;
    place-content: center;
    gap: .35rem;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: .35rem;
    border: 1px solid #4d5149;
    background: transparent;
    color: var(--white);
    cursor: pointer;
  }
  .menu-toggle span { width: 1.05rem; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .has-menu .site-header nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #101113; border-bottom: 1px solid var(--line); padding: 1.15rem 1.25rem; align-items: stretch; }
  .has-menu .site-header nav.open { display: flex; flex-direction: column; }
  .site-header nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 2.65rem; }
  .hero-copy { padding-top: 3.4rem; }
  h1 { font-size: clamp(2.95rem, 15.25vw, 4rem); }
  .hero-actions { gap: .85rem 1rem; margin-top: 1.45rem; }
  .hero-actions .button { padding-inline: 1.05rem; }
  .industry-tabs button { min-height: 3.75rem; gap: .4rem; font-size: .875rem; }
  .industry-tabs button span { overflow-wrap: anywhere; }
  .industry-tabs svg { width: 1.05rem; }
  .workflow-chart li { gap: .45rem; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li, .process-list li:first-child, .process-list li:last-child { padding: 1.45rem 0; }
  .process-list li + li { border-inline-start: 0; border-top: 1px solid #c9cdc2; }
  .process-icon { width: 3rem; height: 3rem; margin-bottom: .95rem; }
  .process-icon svg { width: 1.65rem; }
  .contact h2 br { display: none; }
  .contact .contact-email { display: table; margin: .75rem 0 0; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 2rem); }
  .workflow-chart li { grid-template-columns: auto 1fr; }
  .workflow-chart small { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion .reveal { opacity: 1; transform: none; }
}
