@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Onest:wght@400;500;600&display=swap');

:root {
  --ink: #18241f;
  --paper: #f2f0e9;
  --paper-soft: #e7e6de;
  --sage: #a9b7a1;
  --lime: #d8ee76;
  --orange: #e67447;
  --line: rgba(24, 36, 31, .2);
  --pad: clamp(20px, 4vw, 68px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Manrope", system-ui, sans-serif; font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
h1 { max-width: 900px; font-size: clamp(3.1rem, 6.8vw, 7.4rem); }
h2 { font-size: clamp(2.15rem, 4.6vw, 5.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }

.header {
  height: 88px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; font-weight: 600; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: -.08em; }
.nav { display: flex; gap: clamp(18px, 3vw, 46px); }
.nav a, .header-contact, footer > a { text-decoration: none; }
.nav a { color: #4c5752; }
.nav a:hover { color: var(--ink); }
.header-contact { justify-self: end; border-bottom: 1px solid currentColor; }

.hero { --mx: 0px; --my: 0px; min-height: calc(100vh - 88px); padding: 34px var(--pad) var(--pad); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 5vw, 84px); align-items: end; }
.cursor-ribbons { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cursor-ribbons span { position: absolute; width: 72px; height: 34px; border-top: 12px solid var(--sage); border-radius: 50%; opacity: .34; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cursor-ribbons span:nth-child(1) { left: 3%; top: 18%; transform: translate(calc(var(--mx) * .35), calc(var(--my) * .35)) rotate(-24deg); }
.cursor-ribbons span:nth-child(2) { left: 46%; top: 11%; width: 54px; border-color: var(--lime); opacity: .55; transform: translate(calc(var(--mx) * -.55), calc(var(--my) * -.55)) rotate(38deg); }
.cursor-ribbons span:nth-child(3) { left: 44%; bottom: 8%; width: 88px; border-color: var(--orange); opacity: .24; transform: translate(calc(var(--mx) * .7), calc(var(--my) * .7)) rotate(-8deg); }
.cursor-ribbons span:nth-child(4) { right: 2%; top: 8%; width: 48px; opacity: .22; transform: translate(calc(var(--mx) * -.85), calc(var(--my) * -.85)) rotate(54deg); }
.hero-copy { padding: 7vh 0 2vh; animation: hero-copy-in .9s cubic-bezier(.2,.7,.2,1) both; }
.eyebrow, .section-number { font-size: .82rem; color: #526059; }
.eyebrow { margin-bottom: clamp(30px, 6vh, 78px); }
.hero h1 { margin-bottom: 30px; }
.hero-lead { max-width: 650px; font-size: clamp(1rem, 1.35vw, 1.28rem); color: #47544e; }
.button { display: inline-flex; gap: 28px; align-items: center; margin-top: 28px; padding: 15px 20px; border-radius: 100px; background: var(--lime); text-decoration: none; font-weight: 500; }
.button span { transition: transform .2s ease; }
.button:hover span { transform: rotate(45deg); }
.hero-media { margin: 0; align-self: stretch; min-height: 560px; position: relative; overflow: hidden; border-radius: var(--radius); animation: hero-media-in 1.1s .08s cubic-bezier(.2,.7,.2,1) both; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.hero-media figcaption { position: absolute; inset: auto 18px 18px 18px; padding: 14px 16px; border-radius: 12px; background: rgba(242,240,233,.92); display: flex; justify-content: space-between; gap: 20px; backdrop-filter: blur(8px); }
.hero-media figcaption span { color: var(--orange); }

.support { padding: clamp(56px, 8vw, 120px) var(--pad); display: grid; grid-template-columns: .65fr 1.35fr; gap: 60px; background: var(--ink); color: var(--paper); }
.support .eyebrow { color: #aab5af; margin-bottom: 18px; }
.support h2 { font-size: clamp(2rem, 3.3vw, 3.8rem); }
.support-content > p { max-width: 880px; margin: 42px 0 0; font-size: clamp(1rem, 1.35vw, 1.25rem); color: #cdd4d0; }
.support-logos { min-height: 118px; display: flex; align-items: center; gap: clamp(38px, 6vw, 96px); }
.support-logos > img { width: 190px; height: 96px; object-fit: contain; }
.platform-logo { display: flex; align-items: center; gap: 20px; }
.platform-logo img { width: 76px; height: 76px; object-fit: contain; filter: brightness(0) invert(1); }
.platform-logo span { max-width: 330px; font-family: "Manrope", sans-serif; font-size: clamp(.9rem, 1.2vw, 1.12rem); line-height: 1.25; }

.about, .product, .principles, .process, .contacts { padding: clamp(80px, 11vw, 170px) var(--pad); }
.about { --mx: 0px; --my: 0px; position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: .5fr 1.3fr .55fr; gap: clamp(28px, 5vw, 84px); }
.about::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(var(--pad) * .45);
  bottom: 10%;
  width: min(24vw, 360px);
  height: min(24vw, 360px);
  opacity: .18;
  background:
    linear-gradient(90deg, transparent 49.7%, var(--orange) 49.7% 50.3%, transparent 50.3%),
    linear-gradient(transparent 49.7%, var(--orange) 49.7% 50.3%, transparent 50.3%),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(24,36,31,.38) 45px 46px),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(24,36,31,.38) 45px 46px);
  clip-path: polygon(0 18%, 84% 0, 100% 82%, 14% 100%);
  transform: translate(var(--mx), var(--my)); transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.about h2 { max-width: 950px; margin-bottom: 42px; }
.about-main p { max-width: 690px; font-size: clamp(1.05rem, 1.45vw, 1.35rem); }
.about-note { align-self: end; padding-top: 20px; border-top: 1px solid var(--ink); color: #536159; }

.product { --mx: 0px; --my: 0px; position: relative; overflow: hidden; background: var(--paper-soft); isolation: isolate; }
.product::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  right: -8vw;
  top: 9%;
  opacity: .22;
  background:
    linear-gradient(90deg, transparent 49.65%, var(--orange) 49.65% 50.35%, transparent 50.35%),
    repeating-radial-gradient(circle at center, transparent 0 34px, rgba(24,36,31,.5) 35px 36px);
  clip-path: polygon(0 18%, 100% 0, 82% 100%, 15% 83%);
  transform: translate(var(--mx), var(--my)) rotate(-2deg); transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.product-intro { display: grid; grid-template-columns: .5fr 1.3fr .55fr; gap: clamp(28px, 5vw, 84px); align-items: start; }
.product-intro h2 { margin: 0; }
.product-intro > p { font-size: clamp(1rem, 1.25vw, 1.2rem); }
.product-specs { margin-top: clamp(70px, 10vw, 150px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.product-specs article { padding: 38px clamp(20px, 3vw, 48px) 0 0; }
.product-specs article + article { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.product-specs strong { display: block; margin-bottom: 55px; color: var(--orange); font-family: "Manrope"; font-size: clamp(4.5rem, 8vw, 9rem); font-weight: 400; line-height: .8; }
.product-specs h3 { margin-bottom: 16px; }
.product-specs p { max-width: 390px; color: #536159; }

.principles { --mx: 0px; --my: 0px; position: relative; overflow: hidden; isolation: isolate; background: var(--sage); }
.principles::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 8%;
  right: 3%;
  width: min(36vw, 520px);
  aspect-ratio: 1.25;
  opacity: .22;
  background-image: radial-gradient(circle, var(--ink) 1.3px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(135deg, transparent 8%, #000 45%, transparent 88%);
  transform: translate(var(--mx), var(--my)); transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.principles > h2 { max-width: 1050px; margin: 42px 0 clamp(60px, 9vw, 125px); }
.principles-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(50px, 9vw, 150px); }
.principles-lead { max-width: 620px; font-size: clamp(1.2rem, 1.8vw, 1.7rem); }
.principles-list { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.principles-list li { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid rgba(24,36,31,.35); }
.principles-list li::before { counter-increment: item; content: "0" counter(item); position: absolute; left: 0; color: #4c5b53; }
.principles-list li span { display: block; margin-bottom: 5px; font-weight: 600; }

.process { --mx: 0px; --my: 0px; position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper); }
.process::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(48vw, 720px);
  aspect-ratio: 1.65;
  right: -7%;
  top: 8%;
  opacity: .16;
  background:
    repeating-linear-gradient(90deg, transparent 0 69px, var(--lime) 70px 71px),
    repeating-linear-gradient(0deg, transparent 0 69px, var(--lime) 70px 71px);
  transform: perspective(600px) rotateX(58deg) rotateZ(-8deg) translate(var(--mx), var(--my));
  transform-origin: center;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.process .section-number { color: #aab5af; }
.process-head { display: grid; grid-template-columns: .5fr 1.85fr; gap: clamp(28px, 5vw, 84px); }
.process-head h2 { max-width: 1120px; margin: 0; }
.steps { margin-top: clamp(75px, 10vw, 150px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #57615c; }
.steps article { padding: 30px clamp(20px, 3vw, 48px) 0 0; }
.steps article + article { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid #57615c; }
.steps span { color: var(--lime); }
.steps h3 { margin: 80px 0 20px; }
.steps p { max-width: 400px; color: #b9c2bd; }

.contacts { --mx: 0px; --my: 0px; position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contacts::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(44vw, 660px);
  aspect-ratio: 1;
  left: -18%;
  bottom: -52%;
  border: 1px solid rgba(24,36,31,.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(24,36,31,.035),
    0 0 0 76px rgba(24,36,31,.035),
    0 0 0 114px rgba(24,36,31,.035);
  transform: translate(var(--mx), var(--my)); transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.contacts h2 { margin: 40px 0 0; }
.contacts address { font-style: normal; padding-top: 5px; }
.contact-group { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-bottom: 60px; }
.contact-group a { font-family: "Manrope"; font-size: clamp(1.8rem, 3.5vw, 4rem); line-height: 1.12; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.contacts address p { color: #526059; font-size: 1.05rem; }
.cookie-notice {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  width: min(410px, calc(100vw - 40px));
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(242,240,233,.22);
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 55px rgba(24,36,31,.22);
  animation: cookie-in .55s cubic-bezier(.2,.7,.2,1) both;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: .92rem; }
.cookie-notice button { padding: 10px 15px; border: 0; border-radius: 100px; background: var(--lime); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.cookie-notice.is-closing { animation: cookie-out .35s ease both; }

footer { padding: 36px var(--pad) 28px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.footer-top p { margin: 0; color: #526059; }
.footer-top > a { text-decoration: none; }
.footer-legal { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1.5fr 1fr 1.35fr; gap: clamp(18px, 3vw, 42px); }
.footer-legal p { margin: 0; color: #69736e; font-size: .72rem; line-height: 1.55; }

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-media-in {
  from { opacity: 0; transform: translateY(18px) scale(.985); clip-path: inset(8% 0 0 0 round var(--radius)); }
  to { opacity: 1; transform: translateY(0) scale(1); clip-path: inset(0 0 0 0 round var(--radius)); }
}
@keyframes section-in {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes process-field {
  from { transform: translate3d(0, -12px, 0) rotate(-3deg); }
  to { transform: translate3d(-28px, 24px, 0) rotate(3deg); }
}
@keyframes coordinate-field {
  from { transform: translate3d(-10px, 8px, 0) rotate(-2deg); }
  to { transform: translate3d(18px, -10px, 0) rotate(2deg); }
}
@keyframes dot-field {
  from { transform: translate3d(0, -8px, 0); background-position: 0 0; }
  to { transform: translate3d(-18px, 14px, 0); background-position: 22px 11px; }
}
@keyframes process-grid {
  from { transform: perspective(600px) rotateX(58deg) rotateZ(-8deg) translate3d(0, -8px, 0); }
  to { transform: perspective(600px) rotateX(58deg) rotateZ(-5deg) translate3d(-18px, 14px, 0); }
}
@keyframes contact-arc {
  from { transform: translate3d(-10px, 0, 0) scale(.98); }
  to { transform: translate3d(18px, -12px, 0) scale(1.03); }
}
@keyframes cookie-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cookie-out { to { opacity: 0; transform: translateY(12px); } }

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity .78s cubic-bezier(.2,.7,.2,1),
    transform .78s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 64vh; }
  .support, .about, .product-intro { grid-template-columns: 1fr; }
  .support { gap: 25px; }
  .about-note { max-width: 520px; }
  .product-intro > p { max-width: 650px; }
  .process-head { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header { height: 72px; }
  .header-contact { font-size: 0; }
  .header-contact span { font-size: 20px; }
  .hero { min-height: auto; padding-top: 46px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { margin-bottom: 38px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-media { min-height: 460px; }
  .support-logos { align-items: flex-start; flex-direction: column; }
  .support-logos > img { width: 165px; }
  .platform-logo img { width: 65px; height: 65px; }
  .product-specs, .steps { grid-template-columns: 1fr; }
  .product-specs article, .steps article { padding: 28px 0 36px; }
  .product-specs article + article, .steps article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .product-specs strong { margin-bottom: 30px; }
  .principles-grid, .contacts { grid-template-columns: 1fr; }
  .steps article + article { border-color: #57615c; }
  .steps h3 { margin-top: 38px; }
  .product::before { width: 94vw; right: -44vw; top: 18%; opacity: .14; }
  .about::before { width: 76vw; height: 76vw; left: -44vw; bottom: 8%; opacity: .12; }
  .principles::before { width: 92vw; right: -48vw; top: 5%; opacity: .14; }
  .process::before { width: 110vw; right: -60vw; top: 9%; opacity: .1; }
  .contacts::before { width: 110vw; left: -70vw; bottom: -20%; opacity: .7; }
  .cookie-notice { right: 20px; bottom: 20px; grid-template-columns: 1fr; gap: 14px; }
  .cookie-notice button { width: 100%; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top p { display: none; }
  .footer-legal { grid-template-columns: 1fr; gap: 8px; margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
