/* Levant IT Solution — layout modelled on a studio-style one-pager, in Levant branding */
:root {
  --page: #0e0e0e;
  --panel: #171717;
  --panel-2: #1f1f1e;
  --tile: #262625;
  --line: rgba(255, 255, 255, .12);
  --text: #f4f4f1;
  --muted: rgba(244, 244, 241, .64);
  --dim: rgba(244, 244, 241, .38);
  --lime: #dbff67;
  --ink: #171717;
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gap: 12px;
  --r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: var(--lime) var(--page); }
*, *::before, *::after { cursor: url("/assets/cursor.svg") 2 2, auto !important; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--page); }
::-webkit-scrollbar-thumb { background: var(--lime); border-radius: 6px; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.45 var(--body); -webkit-font-smoothing: antialiased; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -.035em; line-height: .96; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--lime); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

.mono { font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.wrap { padding-inline: clamp(20px, 3vw, 44px); }
.panel { position: relative; background: var(--panel); border-radius: var(--r); overflow: hidden; isolation: isolate; }
.panel--lime { background: var(--lime); color: var(--ink); }
.display { font-size: clamp(44px, 7.4vw, 118px); }
.h-xl { font-size: clamp(44px, 5.6vw, 92px); }
.h-lg { font-size: clamp(38px, 4.6vw, 72px); }
.h-md { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1.05; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  height: 34px; padding: 0 14px; border-radius: 7px; border: 1px solid transparent;
  font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pill--line { border-color: rgba(244, 244, 241, .55); color: var(--text); background: rgba(14, 14, 14, .72); }
.pill--line:hover { background: var(--text); color: var(--ink); }
.pill--solid { background: var(--lime); color: var(--ink); }
.pill--solid:hover { background: var(--text); }
.pill--lg { height: 52px; padding: 0 44px; border-radius: 999px; }
.pill--block { width: 100%; height: 44px; }
.panel--lime .pill--line, .plan:not(.plan--dark) .pill--line { border-color: var(--ink); color: var(--ink); background: none; }
.plan:not(.plan--dark) .pill--line:hover { background: var(--ink); color: var(--lime); }

/* Header */
.head { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; padding: clamp(20px, 2.6vw, 36px) clamp(24px, 3.4vw, 48px); pointer-events: none; }
.head > * { pointer-events: auto; }
.head__logo img { width: 38px; height: 38px; border-radius: 9px; transition: transform .3s; }
.head__logo:hover img { transform: rotate(-8deg) scale(1.06); }
.head__nav { display: flex; gap: 8px; }

/* Dotted canvas + corner */
/* Texture is three compositor-only layers: a drifting shade, a cursor glow, and a cover punched with dot holes */
.dots { --hole: var(--panel); --step: 7px; position: absolute; inset: 0; z-index: -1; overflow: hidden; background: rgba(244, 244, 241, .3); contain: strict; }
.dots--fine { --hole: #101010; --step: 5px; }
.dots::before {
  content: ""; position: absolute; inset: -60%; will-change: transform;
  background:
    radial-gradient(38% 34% at 28% 34%, var(--hole), transparent),
    radial-gradient(34% 40% at 70% 62%, var(--hole), transparent),
    radial-gradient(30% 30% at 62% 22%, var(--hole), transparent),
    color-mix(in srgb, var(--hole) 48%, transparent);
  animation: shade 28s ease-in-out infinite alternate;
}
@keyframes shade { from { transform: translate3d(-9%, -6%, 0) rotate(0deg); } to { transform: translate3d(9%, 7%, 0) rotate(24deg); } }
.dots i { position: absolute; left: 0; top: 0; width: 440px; height: 440px; margin: -220px 0 0 -220px; border-radius: 50%; background: radial-gradient(closest-side, var(--lime), transparent); opacity: 0; transition: opacity .4s; will-change: transform; }
.dots.is-hot i { opacity: .85; }
.dots::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at center, transparent 0 .9px, var(--hole) 1.4px); background-size: var(--step) var(--step); }
.paused .dots::before, .paused .art g > * { animation-play-state: paused; }

/* 1. Hero */
.hero { margin: var(--gap); min-height: calc(100svh - var(--gap) * 2); display: grid; place-items: center; padding: 160px 20px 33svh; text-align: center; }
.hero > * { will-change: transform; }
.hero__in { display: grid; justify-items: center; position: relative; z-index: 1; }
.fluid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
/* with the fluid running, the headline is painted by the canvas so it can bend and tint */
.has-fluid .hero__title { color: transparent; }
.has-fluid .dots i { display: none; }
.final > h2, .final > .pill { position: relative; z-index: 1; }
.hero__stats { color: var(--muted); margin-bottom: clamp(28px, 4vw, 54px); }
.hero__title { font-size: clamp(28px, 8.2vw, 140px); max-width: none; line-height: .9; letter-spacing: -.045em; }
.hero__lead { margin-top: clamp(32px, 5vw, 72px); max-width: 34em; text-wrap: balance; font-size: clamp(16px, 1.35vw, 20px); color: var(--text); }
.hero__trust { margin-top: clamp(32px, 4vw, 56px); color: var(--dim); font-size: 10px; }
.hero__parent { height: clamp(44px, 4.5vw, 64px); width: auto; margin-top: 14px; }

/* 2. Pinned stage: statement behind, cards flip up in 3D and stack (driven by script.js) */
.usps { position: relative; height: 490svh; }
.usps__stage { position: sticky; top: 0; height: 100svh; overflow: clip; perspective: 400px; perspective-origin: 50% 50%; }
.usps__title { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 20px; will-change: transform; }
.usps__sharp, .usps__ghost { grid-area: 1 / 1; display: grid; justify-items: center; text-align: center; gap: 26px; will-change: opacity; }
.usps__ghost { opacity: 0; filter: blur(9px); }
.usps__ghost p { visibility: hidden; }
.lime { color: var(--lime); }
.usps__title h2 { font-size: clamp(36px, 6.8vw, 118px); }
.usps__title p { max-width: 32em; text-wrap: balance; font-size: clamp(15px, 1.25vw, 19px); }
.card {
  position: absolute; left: 50%; top: 50%; width: min(420px, calc(100vw - 48px)); padding: 14px 14px 36px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 22px;
  transform: translate3d(-50%, -50%, 0); transform-origin: 50% -20%; will-change: transform; backface-visibility: hidden;
}
.card__art { aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; margin-bottom: 30px;
  background-color: #141414; background-image: radial-gradient(rgba(244, 244, 241, .22) 1px, transparent 1.2px); background-size: 5px 5px; }
.card h3 { font-size: 30px; letter-spacing: -.03em; margin: 0 14px 12px; }
.card p { margin: 0 14px; max-width: 19em; color: var(--muted); }
.art { width: 100%; height: 100%; }
.art g > * { fill: var(--lime); fill-opacity: .34; animation: artPulse 3.2s ease-in-out infinite; }
.art g > *:nth-child(2) { animation-delay: .2s; } .art g > *:nth-child(3) { animation-delay: .4s; }
.art g > *:nth-child(4) { animation-delay: .6s; } .art g > *:nth-child(5) { animation-delay: .8s; }
.art g > *:nth-child(6) { animation-delay: 1s; } .art g > *:nth-child(7) { animation-delay: 1.2s; }
.art g > *:nth-child(8) { animation-delay: 1.4s; }
.art--diamonds g { transform: rotate(45deg); transform-origin: 80px 55px; }
.art--bars g > * { transform-origin: 50% 100%; transform-box: fill-box; animation-name: artGrow; }
@keyframes artPulse { 0%, 100% { fill-opacity: .2; } 50% { fill-opacity: .6; } }
@keyframes artGrow { 0%, 100% { transform: scaleY(.55); fill-opacity: .3; } 50% { transform: scaleY(1); fill-opacity: .6; } }

/* 3. Work: two panels + product strip */
.work { padding: 0 var(--gap); display: grid; gap: var(--gap); }
.work__top { display: grid; grid-template-columns: 1.22fr 1fr; gap: var(--gap); min-height: min(88svh, 760px); }
.work__see { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.demo { position: relative; width: min(280px, 100%); aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #101010; display: grid; place-items: center; isolation: isolate; transition: transform .3s; }
.demo:hover { transform: scale(1.03); }
.work__quote { padding: clamp(26px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.quote-mark { font: 500 54px/.6 var(--display); height: 26px; }
.work__quote blockquote { font: 400 clamp(32px, 4vw, 62px)/.98 var(--display); letter-spacing: -.035em; margin-top: 10px; }
.work__quote figcaption { margin-top: 28px; font-size: 14px; }
.work__quote em { opacity: .6; }
.work__quote .mono { margin-bottom: 26px; opacity: .7; }
.work__quote figcaption { font-size: clamp(15px, 1.2vw, 18px); max-width: 26em; }

/* Client reviews as a drawer of files: back files show their tabs, the front one lies open */
.work__see { gap: 30px; }
.see__head p { color: var(--muted); max-width: 19em; margin-top: 18px; font-size: clamp(15px, 1.15vw, 17px); }
.files { --n: 5; --step: 40px; --tab: 40px; --h: clamp(240px, 30vh, 320px); --interval: 4.2s; width: 100%; }
.files__bar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.files__count { color: var(--muted); min-width: 5.5em; }
.files__count span:first-child { color: var(--lime); }
.files__track { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.files__track i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.files.is-playing .files__track i { animation: fileTimer var(--interval) linear forwards; }
@keyframes fileTimer { to { transform: scaleX(1); } }
.files__nav { display: flex; gap: 6px; }
.files__nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font: 400 17px/1 var(--display); transition: background .2s, color .2s, border-color .2s; }
.files__nav button:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.files__stack { position: relative; height: calc(var(--h) + var(--tab) + var(--step) * (var(--n) - 1)); counter-reset: file; }
.file {
  --pos: 0; --lift: 0px; counter-increment: file;
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); padding: clamp(22px, 2.4vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  /* files get darker the further back they sit */
  background: color-mix(in srgb, #1b1b1a calc(var(--pos) * 17%), #3b3d34); color: var(--text);
  border-radius: 20px; box-shadow: 0 -22px 44px -26px rgba(0, 0, 0, .75);
  z-index: calc(var(--n) - var(--pos));
  transform: translate3d(0, calc(var(--pos) * var(--step) * -1 + var(--lift)), 0) scale(calc(1 - var(--pos) * .03));
  transform-origin: 50% 0; will-change: transform;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1), background-color .45s, color .45s;
}
.file:nth-child(1) { --i: 0; } .file:nth-child(2) { --i: 1; } .file:nth-child(3) { --i: 2; } .file:nth-child(4) { --i: 3; } .file:nth-child(5) { --i: 4; }
.file:first-child { border-top-left-radius: 0; }
.file.is-front { background: var(--lime); color: var(--ink); box-shadow: 0 -22px 44px -26px rgba(0, 0, 0, .75), 0 30px 80px -30px rgba(219, 255, 103, .35); }
.file.is-front::after { background: var(--ink); color: var(--lime); }.file:not(.is-front):has(.file__tab:hover) { --lift: -10px; }
.file.is-leaving { transform: translate3d(0, -72%, 0) rotate(-2.5deg) scale(.97); transition-duration: .38s; transition-timing-function: cubic-bezier(.5, 0, .8, .4); }
.file__tab {
  position: absolute; bottom: calc(100% - 1px); left: calc(var(--i) * (100% / var(--n))); width: calc(100% / var(--n) - 8px); height: var(--tab);
  display: flex; align-items: center; gap: 9px; padding: 0 16px; background: inherit; color: inherit; border-radius: 13px 13px 0 0;
  font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden;
}
.file__tab::before { content: "0" counter(file); color: var(--lime); }
.file.is-front .file__tab::before { color: inherit; opacity: .45; }
.file:not(.is-front) .file__tab { color: var(--muted); }
.file:not(.is-front) .file__tab:hover { color: var(--text); }
/* quote badge on the open file */
.file::after { content: "\201C"; position: absolute; right: clamp(20px, 2.4vw, 34px); top: clamp(20px, 2.4vw, 34px); width: 50px; height: 50px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font: 500 40px/1 var(--display); padding-top: 14px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s cubic-bezier(.2, .8, .2, 1); }
.file.is-front::after { opacity: 1; transform: none; transition-delay: .2s; }
.file > blockquote, .file > .file__who { transition: opacity .25s; }
.file:not(.is-front) > blockquote, .file:not(.is-front) > .file__who { opacity: 0; }
.file.is-front > blockquote, .file.is-front > .file__who { transition: opacity .45s .2s; }
.file blockquote { font: 400 clamp(21px, 2.25vw, 36px)/1.1 var(--display); letter-spacing: -.03em; max-width: 21em; padding-right: 64px; text-wrap: balance; }
.file__who { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: center; font-size: 14px; line-height: 1.3; }
.file__who::before { content: ""; grid-row: 1 / 3; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 11px var(--ink), inset 0 0 0 40px var(--lime); }
.file__who strong { font: 500 16px/1.2 var(--display); align-self: end; }
.file__who span { opacity: .6; align-self: start; }
@media (max-width: 600px) {
  .files { --step: 30px; --tab: 34px; --h: 300px; }
  .file__tab { font-size: 0; gap: 0; padding: 0 12px; }
  .file__tab::before { font-size: 11px; }
  .file blockquote { padding-right: 0; padding-top: 44px; }
}
.work__list { padding: clamp(18px, 2.2vw, 28px); background: var(--panel-2); }
.work__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.work__head p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.prod { background: var(--tile); border-radius: 12px; padding: 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; transition: background .2s; }
.prod:hover { background: #2e2e2d; }
.prod h4 { font: 400 16px/1.3 var(--body); letter-spacing: 0; max-width: 16em; }
.prod--with-screenshot { min-width: 0; gap: 14px; }
.prod--with-screenshot .prod__meta { flex-wrap: wrap; margin-top: auto; }
.prod__screenshot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page);
}
.prod__screenshot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.prod__screenshot-icon {
  position: absolute;
  right: 7px;
  bottom: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 15px;
}
.prod__screenshot:is(:hover, :focus-visible) .prod__screenshot-icon { background: var(--lime); color: var(--ink); }
.prod__meta { display: flex; align-items: center; gap: 6px; }
.tag { padding: 6px 12px; border-radius: 999px; background: rgba(244, 244, 241, .08); font-size: 13px; }
.prod__link { margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--lime); transition: background .2s, color .2s; }
.prod__link:hover { background: var(--lime); color: var(--ink); }
.prod--ph { background: none; border: 1px dashed var(--line); color: var(--dim); }
.prod--ph:hover { background: none; }

/* Team */
.team { padding-top: clamp(90px, 11vw, 160px); padding-bottom: 20px; }
.team__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.team__head h2 { max-width: 8.5em; }
.team__head p { color: var(--muted); max-width: 20em; font-size: clamp(15px, 1.2vw, 18px); }
.team__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); }
.member { position: relative; aspect-ratio: 2 / 3; border-radius: 18px; overflow: hidden; background: var(--panel-2); isolation: isolate; transition: opacity .35s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.02); transition: filter .5s, transform .8s cubic-bezier(.2, .8, .2, 1); }
.member::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(14, 14, 14, .92)); z-index: 0; }
.member__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px; }
.member h3 { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.05; }
.member .mono { color: var(--lime); margin-top: 8px; font-size: 10px; }
@media (hover: hover) {
  .team__grid:hover .member:not(:hover) { opacity: .45; }
  .member:hover { transform: translateY(-8px); }
  .member:hover img { filter: none; transform: scale(1.07); }
}
@media (max-width: 900px) {
  .team__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62%, 280px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .team__grid::-webkit-scrollbar { display: none; }
  .member { scroll-snap-align: start; }
}

/* 4. Catchphrase */
.catch { height: 200svh; }
.catch__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding: 0 20px; }
.catch__text { font: 400 clamp(60px, 12.5vw, 210px)/.9 var(--display); letter-spacing: -.045em; text-align: center; max-width: 6.2em; }
.catch__text span { opacity: .12; transition: opacity .35s; }
.catch__text span.on { opacity: 1; }

/* 5. Pricing */
.pricing { display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px; padding-top: 40px; padding-bottom: 60px; align-items: start; }
.pricing__intro { position: sticky; top: 110px; display: grid; gap: 18px; }
.pricing__intro p { max-width: 17em; color: var(--muted); }
.pricing__intro h2 { margin-bottom: 14px; max-width: 4em; }
.toggle { display: inline-flex; padding: 5px; background: var(--panel-2); border-radius: 999px; margin-bottom: var(--gap); }
.toggle button { height: 40px; padding: 0 28px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .25s, color .25s; }
.toggle button[aria-selected="true"] { background: var(--lime); color: var(--ink); }
.tab { padding: clamp(22px, 2.8vw, 40px); background: var(--panel-2); }
.tab__sub { max-width: 21em; color: var(--muted); margin: 14px 0 34px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan { background: var(--lime); color: var(--ink); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.plan--dark { background: var(--page); color: var(--text); }
.plan__head { font: 400 clamp(40px, 4vw, 60px)/1 var(--display); letter-spacing: -.04em; margin: 26px 0 12px; }
.plan__desc { font-size: 14px; opacity: .78; min-height: 3em; }
.plan ul { margin: 22px 0 28px; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.plan li { padding: 11px 0; font-size: 14px; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.plan__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* 6. FAQ */
.faq { display: grid; grid-template-columns: 1fr 2.1fr; gap: 40px; padding-top: 60px; padding-bottom: 110px; }
.faq__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 44px; padding: 0 clamp(0px, 2vw, 24px); }
.faq__head p { color: var(--muted); font-size: 14px; }
.textlink { text-decoration: underline; text-underline-offset: 3px; color: var(--text); }
.textlink:hover { color: var(--lime); }
.qa { border-top: 1px solid var(--line); padding: 0 clamp(0px, 2vw, 24px); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -52%; font: 300 24px/1 var(--display); transition: rotate .3s; }
.qa[open] summary::after { rotate: 45deg; }
.qa summary:hover, .qa[open] summary { color: var(--lime); }
.qa p { padding: 0 40px 26px 0; max-width: 60ch; color: var(--muted); }

/* 7. Final CTA + footer */
.final { margin: 0 var(--gap); min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 4.6vw, 64px); }
.foot { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding: 22px clamp(24px, 3.4vw, 48px); font-size: 13px; color: var(--muted); }
.foot p:last-child { text-align: right; }
.foot a { margin-right: 20px; }
.foot p:last-child a { margin: 0 0 0 20px; }
.foot p:nth-child(2) a { margin: 0; }
.foot a:hover { color: var(--lime); }

/* Modal */
.modal { border: 0; padding: clamp(24px, 4vw, 56px); margin: var(--gap) var(--gap) var(--gap) auto; width: min(620px, calc(100vw - var(--gap) * 2)); height: calc(100dvh - var(--gap) * 2); max-height: none; border-radius: var(--r); background: var(--lime); color: var(--ink); }
.modal[open] { display: flex; flex-direction: column; animation: modalIn .45s cubic-bezier(.2, .8, .2, 1); }
.modal::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
@keyframes modalIn { from { transform: translateX(40px); opacity: 0; } }
.modal__close { align-self: flex-end; border-color: var(--ink); color: var(--ink); background: none; }
.modal__close:hover { background: var(--ink); color: var(--lime); }
.modal__logo { display: none; }
.modal h2 { margin-top: auto; }
.modal__sub { margin-top: 18px; max-width: 24em; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.modal__btn { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.modal__btn:hover { background: none; color: var(--ink); }
.modal__btn--line { background: none; color: var(--ink); }
.modal__btn--line:hover { background: var(--ink); color: var(--lime); }
.modal__ways { margin-top: 36px; border-top: 1px solid rgba(23, 23, 23, .25); }
.modal__ways li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(23, 23, 23, .25); font: 400 clamp(18px, 2vw, 24px)/1.2 var(--display); }
.modal__ways a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Responsive */
@media (max-width: 900px) {
  .work__top { grid-template-columns: 1fr; min-height: 0; }
  .work__see { min-height: 60svh; }
  .prods { grid-template-columns: 1fr 1fr; }
  .pricing, .faq { grid-template-columns: 1fr; }
  .pricing__intro { position: static; }
  .faq > div:first-child { display: none; }
}
@media (max-width: 600px) {
  .pill--hide-s { display: none; }
  .head { padding: 18px 16px; }
  .head .pill { padding: 0 10px; letter-spacing: .03em; font-size: 10px; }
  .head__nav { gap: 6px; }
  .prods, .plans { grid-template-columns: 1fr; }
  .faq__head, .work__head { flex-direction: column; }
  .toggle { display: flex; }
  .toggle button { flex: 1; padding: 0 12px; }
  .foot { grid-template-columns: 1fr; text-align: center; }
  .foot p:last-child { text-align: center; }
  .foot a, .foot p:last-child a { margin: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .usps { height: auto; padding: 80px 20px; } .usps__stage { position: static; height: auto; perspective: none; }
  .usps__title { position: static; margin-bottom: 48px; }
  .usps__cards { display: grid; gap: 16px; justify-content: center; }
  .card { position: static; transform: none; }
  .catch { height: auto; } .catch__pin { position: static; }
  .catch__text span { opacity: 1; }
}
.modal{overflow-y:auto}

/* Custom ERP process: 20 steps in four phases */
.process { padding-top: clamp(90px, 11vw, 160px); }
.process__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 60px; margin-bottom: clamp(32px, 4vw, 56px); }
.process__eyebrow { grid-column: 1 / -1; color: var(--lime); }
.process__head h2 { max-width: 9em; }
.process__head > p:last-child { max-width: 24em; color: var(--muted); font-size: clamp(15px, 1.2vw, 18px); }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.phase { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2vw, 28px); }
.phase__n { color: var(--dim); }
.phase__goal { color: var(--muted); font-size: 15px; }
.steps { margin-top: 6px; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.steps span { font: 500 11px/1.9 var(--mono); color: var(--lime); }
.phase.panel--lime .phase__n, .phase.panel--lime .phase__goal { color: rgba(23, 23, 23, .68); }
.phase.panel--lime .steps li { border-color: rgba(23, 23, 23, .2); }
.phase.panel--lime .steps span { color: var(--ink); }
.process__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: var(--gap); padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: var(--r); }
.process__cta p { font: 400 clamp(20px, 2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; max-width: 22em; }
@media (max-width: 1100px) { .phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .process__head { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
}
