@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #fff;
  --bg-soft: #f3f5f2;
  --bg-dark: #0b0d0c;
  --text: #101312;
  --muted: #5d6461;
  --line: #dce1dc;
  --line-dark: rgba(255, 255, 255, 0.16);
  --orange: #ff8a00;
  --orange-dark: #8a5300;
  --violet: #7469ff;
  --max: 1480px;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(43px, 5.4vw, 82px);
  font-weight: 650;
  line-height: 0.99;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
h2 {
  margin: 0;
  font-size: clamp(31px, 3.8vw, 56px);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.58;
}

.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;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  min-height: 92px;
  padding: 0 var(--pad);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.text-brand { font-size: 29px; font-weight: 800; letter-spacing: -0.06em; }
.text-brand span { font-weight: 500; }
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
}
.nav a { color: rgba(255, 255, 255, 0.82); transition: color 180ms ease; }
.nav a:hover, .nav a:focus-visible { color: #fff; }
.nav .product-link { color: #fff; font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-cta { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 700; }
.language-switcher { display: flex; gap: 8px; font-size: 11px; font-weight: 800; }
.language-switcher a { color: rgba(255, 255, 255, 0.55); }
.language-switcher a[aria-current="page"] { color: #fff; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 12px 9px; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.45); }
.menu-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: currentColor; transition: transform 180ms ease; }

.section-pad {
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
  padding: clamp(82px, 8vw, 124px) var(--pad);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero {
  position: relative;
  display: flex;
  min-height: min(940px, 100svh);
  overflow: hidden;
  color: #fff;
  background: #0b0d0c;
}
.hero-bg, .hero-bg picture, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 5, 0.86) 0%, rgba(4, 6, 5, 0.56) 52%, rgba(4, 6, 5, 0.16) 100%); }
.fortax-hero .hero-overlay { background: linear-gradient(90deg, rgba(4, 6, 5, 0.88) 0%, rgba(4, 6, 5, 0.6) 54%, rgba(4, 6, 5, 0.32) 100%); }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(36px, 7vw, 110px);
  width: 100%;
  max-width: calc(var(--max) + var(--pad) * 2);
  min-height: inherit;
  margin: 0 auto;
  padding: 150px var(--pad) clamp(52px, 7vw, 94px);
}
.hero-label { margin: 0 0 22px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-panel { max-width: 620px; padding-left: 30px; border-left: 2px solid rgba(255, 255, 255, 0.8); }
.hero-panel p { margin-bottom: 0; color: #fff; font-size: clamp(19px, 2.2vw, 30px); line-height: 1.24; letter-spacing: -0.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid currentColor; font-size: 14px; font-weight: 800; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--text); background: #fff; border-color: #fff; }
.button.secondary { color: #fff; background: transparent; border-color: rgba(255, 255, 255, 0.65); }
.button.dark { margin-top: 30px; color: #fff; background: var(--text); border-color: var(--text); }

.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.value-strip > div { min-height: 150px; padding: 34px clamp(20px, 3vw, 52px); border-right: 1px solid var(--line); }
.value-strip > div:last-child { border-right: 0; }
.value-strip strong { display: block; margin-bottom: 9px; font-size: 17px; }
.value-strip span { color: var(--muted); font-size: 14px; line-height: 1.42; }
.split { display: grid; grid-template-columns: 1.05fr 0.78fr; gap: clamp(58px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.section-text p { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.48; }
.section-text p:last-child { margin-bottom: 0; }
.media-band { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: stretch; color: #fff; background: #111715; }
.media-band > picture, .media-band > img { min-height: 680px; }
.media-band picture img, .media-band > img { width: 100%; height: 100%; object-fit: cover; }
.media-band > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 7vw, 112px) var(--pad); }
.media-band h2, .media-band p { color: #fff; }
.media-band p:not(.eyebrow) { max-width: 650px; }
.media-band--next { background: #090909; }
.media-band--next img { object-position: center top; }
.process-head { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 70px; }
.process-head h2 { max-width: 850px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-grid article { min-height: 210px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid p { margin-bottom: 0; font-size: 15px; }
.showcase { max-width: none; background: var(--bg-soft); }
.showcase > * { max-width: var(--max); margin-right: auto; margin-left: auto; }
.narrow { max-width: 930px; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.showcase-grid img { width: 100%; height: min(720px, 62vw); object-fit: cover; object-position: top; }
.modules { }
.module-list { margin-top: 70px; border-top: 1px solid var(--line); }
.module-list > div { display: grid; grid-template-columns: minmax(230px, 350px) 1fr; gap: 42px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.module-list p { max-width: 790px; margin: 0; font-size: clamp(17px, 1.5vw, 21px); }
.market { display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(54px, 7vw, 100px); }
.map-wrap { overflow: hidden; background: #090909; }
.map-wrap img { width: 100%; height: auto; }
.metric-list { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 46px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-list > div { min-height: 138px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-list strong { display: block; margin-bottom: 8px; font-size: clamp(34px, 3.2vw, 48px); letter-spacing: -0.06em; }
.metric-list span { color: var(--muted); font-size: 14px; }
.fortaxpay-teaser { display: grid; grid-template-columns: 1fr 0.78fr; gap: 80px; max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.fortaxpay-teaser > div:first-child { padding-left: max(var(--pad), calc((100vw - var(--max)) / 2)); }
.fortaxpay-teaser > div:last-child { padding-right: max(var(--pad), calc((100vw - var(--max)) / 2)); }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 800; }
.text-link::after { content: "↗"; }
.team-grid, .partner-grid { display: grid; gap: 1px; margin-top: 62px; background: var(--line); }
.team-grid { grid-template-columns: repeat(5, 1fr); }
.partner-grid { grid-template-columns: repeat(4, 1fr); }
.team-grid article, .partner-grid article { min-height: 255px; padding: 28px; background: #fff; }
.team-grid img { width: 116px; height: 116px; margin-bottom: 26px; object-fit: cover; filter: grayscale(1); }
.team-role { margin-bottom: 16px; color: #6f7774; font-size: 12px; font-weight: 800; line-height: 1.35; letter-spacing: 0.08em; text-transform: uppercase; }
.team-description p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.48; }
.team-description p + p { margin-top: 10px; }
.contact { max-width: none; color: #fff; background: var(--text); }
.contact-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; max-width: var(--max); margin: 0 auto; }
.contact h2 { max-width: 1060px; }
.contact .eyebrow, .contact p { color: #fff; }
.contact .button { white-space: nowrap; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; background: var(--line-dark); }
.proof-row > div { padding: 24px; background: rgba(255, 255, 255, 0.04); }
.proof-row strong { display: block; margin-bottom: 5px; }
.proof-row span { color: rgba(255, 255, 255, 0.65); font-size: 14px; }

.site-footer { position: relative; display: grid; grid-template-columns: 1.2fr 0.55fr 0.8fr; gap: 70px; padding: 80px var(--pad) 110px; color: #fff; background: #090b0a; border-top: 1px solid var(--line-dark); }
.site-footer p, .site-footer a { color: rgba(255, 255, 255, 0.64); font-size: 14px; }
.footer-brand p { max-width: 420px; margin-top: 24px; }
.footer-products { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .footer-label { margin-bottom: 14px; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-company p { line-height: 1.55; }
.footer-copy { position: absolute; right: var(--pad); bottom: 28px; margin: 0; }
.not-found { min-height: 70vh; padding-top: 190px; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 22px; }
  .nav { gap: 18px; }
  .header-cta { display: none; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header-actions {
    grid-column: 3;
    justify-self: end;
  }
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px;
    color: var(--text);
    background: #fff;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .nav a { width: 100%; padding: 18px 0; color: var(--text); border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .product-link { color: var(--text); }
  .menu-open .nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-toggle { display: block; }
  .menu-open .menu-toggle span:nth-last-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .split, .market, .media-band, .fortaxpay-teaser, .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; align-content: end; }
  .hero-panel { padding-top: 28px; padding-left: 0; border-top: 2px solid rgba(255, 255, 255, 0.8); border-left: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-grid img { height: min(780px, 128vw); }
  .module-list > div { grid-template-columns: 1fr; gap: 10px; }
  .media-band > picture, .media-band > img { min-height: 520px; }
  .team-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .fortaxpay-teaser > div:first-child { padding-left: 0; }
  .fortaxpay-teaser > div:last-child { padding-right: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header { position: absolute; min-height: 78px; padding: 0 20px; }
  .text-brand { font-size: 25px; }
  .language-switcher { gap: 6px; }
  .header-actions { gap: 12px; }
  .hero { min-height: 760px; }
  .hero-inner { padding: 120px 20px 42px; }
  .hero-panel p { font-size: 23px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section-pad { padding: 76px 20px; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip > div { min-height: auto; padding: 23px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-head { display: block; }
  .process-grid, .team-grid, .partner-grid, .metric-list, .proof-row { grid-template-columns: 1fr; }
  .process-grid article { min-height: 180px; }
  .showcase-grid img { height: 620px; }
  .media-band > picture, .media-band > img { min-height: 430px; }
  .site-footer { grid-template-columns: 1fr; gap: 42px; padding: 62px 20px 100px; }
  .footer-brand { grid-column: auto; }
  .footer-copy { right: 20px; left: 20px; }
}

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