:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #595959;
  --paper: #f5f4f1;
  --edge: #d0cfca;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
body { min-width: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.shell { width: min(100% - 96px, 1280px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  background: #fff;
  color: #111;
  z-index: 2;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.masthead, .footer { color: #f7f7f7; background: #121212; }
.masthead { border-bottom: 1px solid #3f3f3f; }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.brand strong { font-weight: 800; font-size: 1.3rem; letter-spacing: .03em; }
.brand small { font-weight: 600; font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.brand img { width: 50px; height: 38px; object-fit: cover; display: block; mix-blend-mode: screen; flex: none; }
nav { display: flex; gap: clamp(18px, 3.1vw, 46px); }
nav a, .footer a:not(.brand) { font-size: .9rem; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .35em; }
nav span, .footer span { margin-left: .2em; }

.hero {
  color: #fff;
  position: relative;
  background: #0d0d0d;
}
.hero-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  margin: 0;
  overflow: hidden;
  background: #0d0d0d;
}
.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0d0d, transparent 13%);
  content: "";
  pointer-events: none;
}
.hero-visual img {
  position: absolute;
  top: 50%;
  right: 0;
  width: 163%;
  height: auto;
  transform: translateY(-50%);
}
.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 13px;
  padding: 4px 8px;
  background: #111e;
  color: #eee;
  font-size: .75rem;
}
.hero-inner {
  position: relative;
  z-index: 1;
  pointer-events: none;
  min-height: 600px;
  min-height: clamp(520px, 49vw, 680px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 64px 74px;
}
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(2.9rem, 6.15vw, 6.5rem); line-height: .93; letter-spacing: -.075em; }
h1 span { color: #c9c9c9; }
.hero p { margin-top: 28px; max-width: 31ch; color: #e2e2e2; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.5; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 13px 17px;
  background: #f7f7f7;
  color: #151515;
  text-decoration: none;
  font-size: .925rem;
  font-weight: 650;
  border: 1px solid #fff;
}
.button { pointer-events: auto; } .button:hover { background: #ddd; }
.button:focus-visible { outline-color: #fff; }
.button span { font-size: 1.05rem; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-block: clamp(52px, 7vw, 100px);
}
h2 { font-size: clamp(2.45rem, 4.05vw, 4.5rem); letter-spacing: -.061em; line-height: 1; }
.about p { align-self: center; max-width: 50ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.66; }

.solutions { border-top: 1px solid var(--edge); padding-block: clamp(52px, 7vw, 96px); }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; border: 1px solid var(--edge); }
.solution { padding: clamp(24px, 3.2vw, 46px); min-height: 250px; }
.solution + .solution { border-left: 1px solid var(--edge); }
.solution h3 { margin-top: 29px; font-size: clamp(1.35rem, 2.15vw, 2rem); line-height: 1.13; letter-spacing: -.035em; }
.solution p { margin-top: 13px; color: var(--muted); line-height: 1.62; }

.symbol { position: relative; width: 34px; height: 34px; }
.symbol::before, .symbol::after, .symbol i { position: absolute; display: block; content: ""; }
.symbol-orders::before { inset: 2px 6px; border: 1.5px solid; }
.symbol-orders::after { inset: 9px 11px auto; height: 1.5px; background: currentColor; box-shadow: 0 6px, 0 12px; }
.symbol-automation::before { inset: 5px; border: 1.5px solid; transform: rotate(45deg); }
.symbol-automation::after { inset: 12px; border: 1.5px solid; transform: rotate(45deg); }
.symbol-payments::before { inset: 6px 1px; border: 1.5px solid; border-radius: 3px; }
.symbol-payments::after { inset: 12px 2px auto; height: 1.5px; background: currentColor; }
.symbol-payments i { left: 7px; bottom: 11px; width: 6px; height: 1.5px; background: currentColor; }
.footer-inner { min-height: 106px; }

@media (max-width: 820px) {
  .shell { width: calc(100% - 56px); }
  .hero-inner { min-height: 520px; }
  .solution { padding-inline: 22px; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .masthead-inner { min-height: 68px; gap: 12px; }
  .brand { gap: 5px; }
  .brand strong { font-size: 1.1rem; }
  .brand small { font-size: .56rem; }
  .brand img { width: 35px; height: 28px; }
  nav { gap: 15px; }
  nav a, .footer a:not(.brand) { font-size: .8rem; }
  .hero-visual { position: relative; width: 100%; aspect-ratio: 1.27; }
  .hero-visual::after { background: linear-gradient(#0d0d0d, transparent 15%); }
  .hero-inner { min-height: 0; padding-block: 49px 16px; }
  h1 { font-size: clamp(2.85rem, 10.3vw, 4.5rem); }
  .desktop-break { display: none; }
  .about { grid-template-columns: 1fr; gap: 19px; }
  .solution-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .solution { min-height: 0; padding: 25px 22px; }
  .solution + .solution { border-left: 0; border-top: 1px solid var(--edge); }
  .solution h3 { margin-top: 17px; }
  .footer-inner { min-height: 82px; }
}
