@font-face {
  font-family: Onest;
  src: url("assets/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  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: Onest;
  src: url("assets/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  color-scheme: light;
  font-size: min(.1172333vw, 1.758499px);
  --paper: #f6f0e8;
  --ink: #101a1a;
  --dark: #111c1c;
  --yellow: #ffcf54;
  --line: #e5dcd1;
  --section-gap: 31rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 520 13rem/1.25 Onest, Arial, sans-serif; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #c48b18; outline-offset: 3px; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.page { max-width: 853rem; margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { margin-bottom: 6rem; font-size: 10.6rem; font-weight: 650; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: 32rem; font-weight: 900; line-height: 1.02; letter-spacing: -.93rem; }
h3 { font-size: 15.5rem; font-weight: 870; line-height: 1.11; letter-spacing: -.35rem; }
.butter { background: linear-gradient(110deg, #ffedb4, #fbe1a0); }
.lilac { background: linear-gradient(110deg, #eee4f6, #e8def6); }
.mint { background: linear-gradient(110deg, #d8eede, #d1e9d9); }
.sand { background: linear-gradient(110deg, #f0e9e0, #f1e8df); }

.hero { overflow: clip; color: #fbf7ef; background: var(--dark); border-radius: 0 0 18rem 18rem; }
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18rem; min-height: 62rem; padding-inline: 49rem 41rem; }
.brand { display: inline-flex; flex: none; align-items: end; font-size: 30rem; font-weight: 900; line-height: .95; letter-spacing: -.75rem; }
.brand span { display: block; width: 6.5rem; height: 6.5rem; margin: 0 0 2rem 3rem; border-radius: 50%; background: var(--yellow); }
.nav-links { display: flex; align-items: center; gap: 34rem; margin-left: auto; margin-right: 50rem; font-size: 11.8rem; font-weight: 615; white-space: nowrap; }
.nav-links > a:hover, .nav-menu summary:hover { color: var(--yellow); }
.nav-menu { position: relative; }
.nav-menu summary { display: flex; align-items: center; gap: 4rem; }
.nav-menu summary .icon { width: 11rem; height: 11rem; }
.nav-dropdown { position: absolute; top: calc(100% + 8rem); left: -9rem; z-index: 10; display: grid; width: max-content; padding: 5rem; border: 1px solid #ffffff38; border-radius: 9rem; background: #1f2b2a; box-shadow: 0 5rem 18rem #0004; }
.nav-dropdown a, .nav-dropdown button { padding: 8rem 9rem; border: 0; border-radius: 5rem; background: transparent; color: inherit; font: inherit; text-align: left; }
.nav-dropdown a:hover, .nav-dropdown button:hover { background: #ffffff16; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8rem; min-height: 39rem; padding: 0 20rem; border: 1rem solid transparent; border-radius: 12rem; font-size: 11.8rem; font-weight: 790; line-height: 1; white-space: nowrap; transition: color .15s ease, background-color .15s ease; }
.button .icon { width: 14rem; height: 14rem; stroke-width: 2; }
.button-light { color: var(--ink); background: #fbf6ed; }
.button-light:hover { background: #ffe09a; }
.button-outline { color: #fffaf0; background: transparent; border-color: #f8f5eb; font-weight: 620; }
.button-outline:hover { color: var(--ink); background: #fff9ed; }
.button-dark { color: #fbf6ed; background: var(--dark); }
.button-dark:hover { background: #31423d; }
.nav-cta { min-height: 34rem; padding-inline: 14rem; font-size: 10.9rem; border-radius: 13rem; }
.actions { display: flex; gap: 16rem; align-items: center; flex-wrap: wrap; }

.hero-main { position: relative; display: grid; grid-template-columns: 406rem minmax(0, 1fr); min-height: 325rem; padding: 18rem 0 0 49rem; }
.hero-copy { position: relative; z-index: 1; padding: 8rem 0 18rem; }
.hero-label { font-size: 12.8rem; font-weight: 550; letter-spacing: .16rem; text-transform: uppercase; }
.hero h1 { margin-top: 10rem; color: #fffaf1; font-size: 44.5rem; font-weight: 900; line-height: .99; letter-spacing: -1.25rem; }
.hero h1 mark { display: inline-block; padding: 0 9rem 3rem; border-radius: 12rem; background: var(--yellow); color: var(--ink); }
.hero-copy > p:not(.hero-label) { max-width: 370rem; margin-top: 16rem; font-size: 13.7rem; line-height: 1.4; }
.hero-copy .actions { margin-top: 18rem; }
.hero-art { position: absolute; right: 0; bottom: 0; width: 469rem; max-width: none; height: auto; pointer-events: none; }
.principles { display: grid; grid-template-columns: 1.16fr .98fr .96fr 1fr; align-items: center; min-height: 81rem; padding: 10rem 28rem 15rem 56rem; list-style: none; }
.principles li { display: flex; align-items: center; gap: 14rem; min-height: 30rem; padding: 0 0 0 31rem; border-left: 1rem solid #42504a; font-size: 11.4rem; font-weight: 570; line-height: 1.28; }
.principles li:first-child { padding-left: 0; border: 0; }
.principles .icon { width: 28rem; height: 28rem; color: #f5d56e; stroke-width: 1.55; }

.content { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--section-gap); padding: 27rem 27rem 0; }
.content section, #projects, #contact { scroll-margin-top: var(--section-gap); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) 265rem; gap: 23rem; align-items: center; margin: 0 14rem 22rem 17rem; }
.section-intro > p { font-size: 12rem; line-height: 1.4; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14rem; }
.product { position: relative; isolation: isolate; min-height: 253rem; overflow: hidden; border-radius: 26rem; }
.product-polka { background: linear-gradient(111deg, #d3edda, #b9e1ca); }
.product-automation { background: linear-gradient(116deg, #ede1f7, #e6d7f6); }
.product::before, .product::after { content: ''; position: absolute; z-index: -1; border-radius: 48% 55% 38% 41%; pointer-events: none; }
.product::before { right: -16rem; bottom: -30rem; width: 250rem; height: 118rem; background: #79c29b; transform: rotate(-17deg); }
.product::after { right: -28rem; bottom: -8rem; width: 158rem; height: 191rem; background: #8bd2a780; transform: rotate(32deg); }
.product-automation::before { background: #bea4ea; }
.product-automation::after { background: #cfb8f2; }
.product-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; min-height: 251rem; width: 208rem; padding: 27rem 0 29rem 24rem; }
.product-copy h3 { font-size: 34rem; line-height: .98; letter-spacing: -.79rem; }
.product-automation h3 { font-size: 29rem; }
.product-label { margin-top: 6rem; padding: 3rem 8rem; border-radius: 6rem; color: #142d22; background: #a7dcbf; font-size: 9rem; font-weight: 800; line-height: 1.08; }
.product-automation .product-label { position: absolute; left: 122rem; top: 23rem; color: #251941; background: #d0b5ef; }
.product-copy p { margin-top: 13rem; font-size: 12.35rem; line-height: 1.35; }
.product-copy .button { min-height: 35rem; margin-top: auto; padding-inline: 14rem; border-radius: 10rem; font-size: 11.1rem; }
.product-rays { position: absolute; top: 17rem; right: 146rem; width: 37rem; height: 43rem; color: #141d1b; transform: scaleX(-1) rotate(13deg); }
.product-automation .product-rays { top: 17rem; right: 41rem; transform: rotate(-11deg); }
.automation-art { position: absolute; right: -26rem; bottom: -4rem; width: 302rem; max-width: none; height: auto; pointer-events: none; }

.phone { position: absolute; bottom: 10rem; right: 35rem; width: 108rem; min-width: 0; transform: rotate(11.6deg); container-type: inline-size; }
.device { position: relative; display: flex; flex-direction: column; width: 100%; aspect-ratio: 9 / 19.5; overflow: hidden; border: 2.2cqi solid #121716; border-radius: 16cqi; padding: 6.5cqi 6cqi 8.5cqi; color: #fffaf0; background: linear-gradient(130deg, #08603f, #06442f 74%); box-shadow: 2.2cqi 1cqi 0 #4d5452, 3.7cqi 1.7cqi 0 #232927, inset 0 0 0 2.15cqi #9ba79b, inset 0 0 0 3.2cqi #151e1b; }
.device::before, .device::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); }
.device::before { top: 3.7cqi; width: 26cqi; height: 6.4cqi; border-radius: 9cqi; background: #101917; }
.device::after { bottom: 3.5cqi; width: 30cqi; height: 1.4cqi; border-radius: 9cqi; background: #fcfff1; }
.device-status { display: flex; align-items: center; justify-content: space-between; padding-inline: 2.1cqi; font-size: 5.15cqi; line-height: 1; font-weight: 800; }
.status-icons { display: flex; align-items: center; gap: .3cqi; }
.status-icons .icon { width: 5cqi; height: 5cqi; stroke-width: 2.35; }
.status-icons .icon:last-child { width: 6cqi; }
.device-brand { display: flex; align-items: center; justify-content: center; gap: 3cqi; margin-top: 10cqi; font-size: 13cqi; font-weight: 900; letter-spacing: -.29cqi; line-height: 1; }
.device-brand .icon { width: 15cqi; height: 15cqi; }
.device-qr { display: grid; justify-items: center; gap: 2.8cqi; margin-top: 9cqi; padding: 5cqi 7cqi 6cqi; border-radius: 7cqi; color: #121b16; background: #fff9ed; }
.device-qr img { width: 60cqi; height: auto; }
.device-qr strong { font-size: 9cqi; font-weight: 880; line-height: 1.03; white-space: nowrap; }
.device-links { display: grid; margin-top: auto; padding: 3cqi 5cqi; border-radius: 7cqi; color: #1a281e; background: #fff9ed; }
.device-links > span { display: grid; grid-template-columns: 12cqi minmax(0, 1fr) 6cqi; gap: 2.45cqi; min-height: 16cqi; align-items: center; border-bottom: .5cqi solid #e6e3d8; font-size: 7.2cqi; font-weight: 800; line-height: 1.05; }
.device-links > span:last-child { border-bottom: 0; }
.device-links .icon { width: 10cqi; height: 10cqi; }
.device-links .icon:last-child { width: 6cqi; height: 6cqi; }
.device-links .icon:first-child { color: #538c4c; }

.advantages .section-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 17rem; }
.advantage-arrows { display: flex; gap: 8rem; align-items: center; }
.advantage-arrows button { display: grid; place-items: center; width: 32rem; height: 32rem; border: 0; border-radius: 50%; color: #fffaf0; background: var(--dark); }
.advantage-arrows button:hover:not(:disabled) { background: #3b4b43; }
.advantage-arrows button:disabled { background: #eee9e1; color: #4f544b; cursor: default; }
.advantage-arrows button:first-child .icon { transform: rotate(180deg); }
.advantage-arrows .icon { width: 15rem; height: 15rem; }
.advantage-list { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 33rem) / 4); gap: 11rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 5rem; padding: 0; list-style: none; }
.advantage-list::-webkit-scrollbar { display: none; }
.advantage { min-height: 139rem; padding: 14rem 12rem 15rem 13rem; border-radius: 19rem; scroll-snap-align: start; }
.advantage[data-active] { box-shadow: inset 0 0 0 2rem #789c74; }
.advantage > .icon { display: block; width: 29rem; height: 29rem; margin-bottom: 7rem; stroke-width: 1.7; }
.advantage p { margin-top: 5rem; font-size: 11.45rem; line-height: 1.25; }

.closing { position: relative; display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: center; gap: 19rem; overflow: hidden; width: calc(100% - 62rem); max-width: 791rem; min-height: 165rem; margin: var(--section-gap) auto 10rem; padding: 10rem 20rem 0 13rem; border-radius: 20rem; color: #fff9ee; background: var(--dark); }
.closing-art { align-self: end; width: 100%; height: 155rem; object-fit: contain; object-position: left bottom; }
.closing-copy { position: relative; z-index: 1; padding-bottom: 10rem; }
.closing .eyebrow { color: inherit; font-weight: 540; }
.closing h2 { margin-top: 5rem; font-size: 24.4rem; line-height: 1.07; letter-spacing: -.61rem; }
.closing .button { margin-top: 13rem; min-height: 35rem; padding-inline: 15rem; font-size: 10.7rem; }
.closing-rays { position: absolute; top: 15rem; right: 17rem; width: 39rem; height: 42rem; color: #f8d461; }

.dialog { width: min(92vw, 475px); max-height: 90dvh; padding: 22px; border: 0; border-radius: 19px; background: var(--paper); color: var(--ink); font-size: 15px; box-shadow: 0 16px 74px #0005; }
.dialog::backdrop { background: #081512b8; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 11px; margin-bottom: 12px; }
.dialog h2 { font-size: 24px; letter-spacing: -.6px; }
.close-button { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: inherit; font-size: 20px; }
.close-button:hover { background: #faeac7; }
.dialog form { display: grid; gap: 10px; margin-top: 14px; }
.dialog label { display: grid; gap: 4px; font-weight: 665; }
.dialog input, .dialog select, .dialog textarea { min-width: 0; padding: 8px 10px; border: 1px solid #bcb7ab; border-radius: 7px; color: var(--ink); background: #fffaf5; font-size: 16px; }
.dialog .button { min-height: 42px; font-size: 13px; padding-inline: 13px; }
.dialog .button:disabled { opacity: .6; cursor: not-allowed; }
.form-status:empty { display: none; }

@media (max-width: 720px) {
  :root { font-size: 1px; --section-gap: 31px; }
  body { font-size: 15px; }
  .page { max-width: 580px; }
  .nav { flex-wrap: wrap; min-height: 0; padding: 10px 16px; gap: 9px; }
  .brand { font-size: 24px; }
  .nav-links { order: 3; width: 100%; margin: 0; gap: 5px; justify-content: space-between; font-size: 11.5px; }
  .nav-cta { min-height: 32px; padding-inline: 8px; gap: 5px; font-size: 10.8px; }
  .nav-cta .icon { width: 12px; height: 12px; }
  .hero-main { display: block; min-height: 0; padding: 8px 16px 0; }
  .hero-copy { padding: 7px 0 5px; }
  .hero-label { font-size: 11px; }
  .hero h1 { font-size: clamp(30px, 8.25vw, 45px); line-height: .99; }
  .hero h1 mark { padding: 0 5px 2px; border-radius: 8px; }
  .hero h1 br { display: none; }
  .hero-copy > p:not(.hero-label) { margin-top: 10px; font-size: 14px; }
  .hero-copy .actions { margin-top: 11px; gap: 7px; }
  .hero-copy .button { min-height: 37px; padding-inline: 11px; font-size: 11.7px; }
  .hero-art { position: static; width: min(100%, 450px); height: auto; margin: 4px auto 0; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; padding: 7px 16px 12px; gap: 5px 8px; }
  .principles li, .principles li:first-child { border: 0; padding: 5px 0; gap: 5px; font-size: 10.75px; }
  .principles .icon { width: 23px; height: 23px; }
  .content { padding: 19px 14px 0; }
  .section-intro { grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 0 0 12px; }
  .section-intro h2 { font-size: 27px; }
  .section-intro > p { font-size: 13px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .product { min-height: 239px; border-radius: 18px; }
  .product-copy { min-height: 239px; width: min(56%, 200px); padding: 18px 0 17px 13px; }
  .product-copy h3 { font-size: 30px; }
  .product-automation h3 { font-size: 24px; }
  .product-automation .product-label { position: static; margin-top: 4px; }
  .product-copy p { font-size: 11.9px; }
  .product-copy .button { min-height: 34px; padding-inline: 10px; font-size: 11px; }
  .phone { width: min(31%, 101px); right: 7%; bottom: 12px; }
  .automation-art { right: -12%; width: 68%; }
  .product-rays { right: 34%; width: 28px; height: 34px; }
  .product-automation .product-rays { right: 9%; }
  .advantages .section-intro { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; margin-bottom: 12px; }
  .advantage-arrows { gap: 5px; }
  .advantage-arrows button { width: 28px; height: 28px; }
  .advantage-list { margin: 0; grid-auto-columns: min(71%, 228px); gap: 8px; }
  .advantage { min-height: 131px; }
  .advantage p { font-size: 12px; }
  .closing { grid-template-columns: minmax(0, 1fr); gap: 5px; width: calc(100% - 28px); max-width: 552px; padding: 13px 13px 0; }
  .closing-copy { padding: 0; }
  .closing h2 { font-size: 22px; }
  .closing h2 br { display: none; }
  .closing-art { grid-row: 2; justify-self: center; width: min(90%, 295px); height: auto; }
  .closing-rays { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
