/* ==========================================================================
   cartixs — design system
   Display: Onder (uppercase only — the face has no lowercase)
   Text:    Manrope, self-hosted (no Google Fonts: GDPR + speed)
   Motif:   the 50° cut taken from the logo's X
   ========================================================================== */

@font-face {
  font-family: 'Onder';
  src: url('fonts/onder.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-cyrillic-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-cyrillic-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-cyrillic-600.woff2') format('woff2');
  font-weight: 600; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin-600.woff2') format('woff2');
  font-weight: 600; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-cyrillic-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F,U+2122,U+2191,U+2193,U+2212,U+2215;
}

/* ---------------------------------------------------------------- tokens */
:root {
  --petrol:    #06211E;
  --petrol-2:  #0A2B26;
  --petrol-3:  #10382F;
  --lime:      #BBE22F;
  --lime-dim:  #9BBF22;
  --chalk:     #EEF5F1;
  --chalk-2:   #E2EBE5;
  --muted:     #8CA8A0;
  --muted-ink: #5A6E68;
  --line:      #1C4038;
  --line-ink:  #D2DED7;

  --cut: 18px;              /* size of the 50° corner cut */
  --rail: clamp(20px, 5vw, 76px);
  --maxw: 1320px;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,.05,.36,1);

  --fs-display: clamp(1.3rem, 5.3vw, 4.05rem);
  --fs-h2:      clamp(1.25rem, 3vw, 2.6rem);
  --fs-h3:      clamp(1.15rem, 1.9vw, 1.5rem);
  --fs-body:    clamp(1rem, 1.05vw, 1.0625rem);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--petrol);
  color: var(--chalk);
  font-family: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--lime); color: var(--petrol); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--lime); color: var(--petrol);
  padding: 12px 20px; font-weight: 700;
}
.skip:focus { left: 8px; top: 8px; }

/* The grain. Kills the flat-gradient look without costing a request. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------ typography */
.display, h1.display, h2.display {
  font-family: Onder, 'Arial Black', sans-serif;
  font-weight: 500;
  text-transform: uppercase;   /* the face is caps-only by design */
  line-height: 1.26;           /* capHeight is 1.172em — below this, lines collide */
  letter-spacing: -.005em;
  hyphens: none;
}
.eyebrow + .display, .eyebrow + * .display { margin-top: 26px; }
.d-1 { font-size: var(--fs-display); }
.d-2 { font-size: var(--fs-h2); }
/* inner-page h1: sized so even a long single word fits a phone */
.d-1s { font-size: clamp(1.15rem, 4.4vw, 4rem); }
.h1sub {
  display: block; margin-top: 18px;
  font-family: Manrope, system-ui, sans-serif; font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.32rem); line-height: 1.45;
  letter-spacing: 0; text-transform: none; color: var(--muted); max-width: 40ch;
}
/* h3 and below are NOT Onder: at 2em per character it is unreadable in a column */
.d-3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: var(--fs-h3); font-weight: 800;
  line-height: 1.22; letter-spacing: -.015em; text-transform: none;
}

.eyebrow {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px; background: var(--lime); flex: none;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--chalk); }
.sub  { color: var(--muted); }
.lime { color: var(--lime); }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--rail); }
.section { position: relative; z-index: 2; padding-block: clamp(64px, 9vw, 132px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--light { background: var(--chalk); color: var(--petrol); }
.section--light .sub { color: var(--muted-ink); }
.section--light .eyebrow { color: var(--muted-ink); }
.section--light .lead { color: var(--petrol); }

.grid { display: grid; gap: clamp(20px, 2.6vw, 40px); }
.g-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
/* inline grid-column values are set per block, so they need !important here */
@media (max-width: 860px) {
  .g-12 { grid-template-columns: 1fr; }
  .g-12 > * { grid-column: 1 / -1 !important; }
}

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { color: var(--lime); opacity: 1; }
.crumbs span[aria-hidden] { opacity: .5; }

/* checklist */
.ticks li { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.section--light .ticks li { border-bottom-color: var(--line-ink); }
.ticks li::before {
  content: ''; flex: none; width: 18px; height: 10px; margin-top: 7px;
  border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}
.ticks b { display: block; font-weight: 800; margin-bottom: 2px; }
.ticks span { color: var(--muted); font-size: .92rem; }
.section--light .ticks span { color: var(--muted-ink); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--light .rule { background: var(--line-ink); }

/* The 50° cut, taken straight off the logo's arm ends. */
.cut-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.cut-tl { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }

/* --------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--petrol);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 0; cursor: pointer; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: color .34s var(--ease);
}
.btn > * { position: relative; z-index: 2; }
/* the fill wipes in along the logo's 50° angle */
.btn::after {
  content: ''; position: absolute; z-index: 1; inset: -2px;
  background: var(--chalk);
  transform: translate3d(-165%, 0, 0) skewX(-40deg) scaleX(1.25);
  transition: transform .44s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { transform: translate3d(0,0,0) skewX(-40deg) scaleX(1.25); }
.btn:hover { color: var(--petrol); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--chalk);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost::after { background: var(--lime); }
.btn--ghost:hover { color: var(--petrol); }
.section--light .btn--ghost { --btn-fg: var(--petrol); box-shadow: inset 0 0 0 1px var(--line-ink); }

.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; color: var(--lime);
  padding-bottom: 3px; background-image: linear-gradient(var(--lime), var(--lime));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .4s var(--ease);
}
.tlink:hover { background-size: 100% 1.5px; }
.section--light .tlink { color: var(--petrol); background-image: linear-gradient(var(--petrol), var(--petrol)); }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(6,33,30,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__in {
  display: flex; align-items: center; gap: 28px;
  height: 76px; transition: height .4s var(--ease);
}
.nav.is-stuck .nav__in { height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__x { width: 30px; height: auto; flex: none; overflow: visible; }
.brand__x path { transition: transform .5s var(--ease); transform-origin: 50% 50%; }
.brand:hover .brand__x .a1 { transform: translate(-3px,-3px); }
.brand:hover .brand__x .a2 { transform: translate(3px,3px); }
.brand__w { font-weight: 800; font-size: 1.22rem; letter-spacing: -.035em; }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > .btn { display: none; }
.nav__links a {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--chalk);
  opacity: .78; transition: opacity .25s, color .25s;
}
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; color: var(--lime); }
.nav__cta { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none; width: 44px; height: 44px; background: none; border: 0;
  color: var(--chalk); cursor: pointer; padding: 0;
}
.burger span { display: block; height: 2px; background: currentColor; margin: 5px auto; width: 22px;
  transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__links, .nav__cta .btn { display: none; }
  .burger { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--petrol-2); border-bottom: 1px solid var(--line);
    padding: 8px var(--rail) 26px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .4s var(--ease), opacity .3s;
  }
  .nav__links.is-open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links .btn { display: inline-flex; margin-top: 18px; align-self: flex-start; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding-top: clamp(118px, 15vw, 172px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero__btm { align-items: end; margin-top: clamp(28px, 4vw, 54px); }
.hero__copy { grid-column: 1 / span 5; }
.hero__art  { grid-column: 7 / span 6; }
@media (max-width: 1040px) {
  .hero__copy, .hero__art { grid-column: 1 / -1; }
  .hero__art { margin-top: 20px; }
}
.hero h1 { margin-bottom: 0; }
.hero__lead { max-width: 46ch; margin-bottom: 30px; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { font-size: .82rem; color: var(--muted); margin-top: 18px; }

/* the X arms fly in along their own axes */
.hero__mark { position: absolute; right: -6%; bottom: -6%; width: min(34vw, 430px); opacity: .04; z-index: 0; pointer-events: none; }

/* --------------------------------------------------- drawn browser / UI  */
.chrome {
  background: var(--petrol-2); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.chrome__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--petrol-3);
}
.chrome__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.chrome__url {
  margin-left: 8px; font-size: .68rem; color: var(--muted); letter-spacing: .04em;
  background: var(--petrol); padding: 4px 12px; border-radius: 20px; border: 1px solid var(--line);
}
.chrome__body { padding: 16px; }

.shop__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.shop__name { font-weight: 800; font-size: .86rem; letter-spacing: -.01em; }
.shop__pills { display: flex; gap: 6px; }
.shop__pill { height: 7px; width: 26px; background: var(--line); border-radius: 4px; }
.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shop__card { background: var(--petrol); border: 1px solid var(--line); border-radius: 7px; padding: 9px; }
.shop__img { aspect-ratio: 1; border-radius: 5px; background: var(--petrol-3); margin-bottom: 8px; position: relative; overflow: hidden; }
.shop__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(118deg, transparent 42%, rgba(187,226,47,.16) 50%, transparent 58%);
}
.shop__ln { height: 6px; background: var(--line); border-radius: 3px; margin-bottom: 5px; }
.shop__ln--s { width: 56%; background: var(--lime-dim); opacity: .55; }
.shop__buy {
  margin-top: 13px; display: flex; align-items: center; justify-content: space-between;
  background: var(--lime); color: var(--petrol); font-weight: 700; font-size: .72rem;
  padding: 9px 13px; border-radius: 6px;
}

/* -------------------------------------------------------------- marquee  */
.ticker {
  border-block: 1px solid var(--line);
  padding-block: 17px; overflow: hidden; position: relative; z-index: 2;
  max-width: 100vw;
}
.ticker__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: flex; align-items: center; gap: 13px; padding-inline: 26px;
  font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.ticker__item::after { content: ''; width: 5px; height: 5px; background: var(--lime); border-radius: 50%; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ------------------------------------------------------------- services  */
.svc { border-top: 1px solid var(--line); }
.section--light .svc { border-top-color: var(--line-ink); }
.svc__row {
  display: grid; grid-template-columns: 72px 1fr minmax(0,.85fr) 48px;
  gap: clamp(14px, 2.4vw, 36px); align-items: start;
  padding-block: clamp(26px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; position: relative;
}
.section--light .svc__row { border-bottom-color: var(--line-ink); }
.svc__row::before {
  content: ''; position: absolute; left: calc(var(--rail) * -1); right: calc(var(--rail) * -1); top: 0; bottom: 0;
  background: var(--petrol-2); opacity: 0; transition: opacity .35s var(--ease); z-index: -1;
}
.section--light .svc__row::before { background: var(--chalk-2); }
.svc__row:hover::before { opacity: 1; }
.svc__no { font-family: Onder, sans-serif; font-size: .82rem; color: var(--lime); padding-top: 5px; }
.section--light .svc__no { color: var(--muted-ink); }
.svc__t { margin-bottom: 9px; }
.svc__d { color: var(--muted); max-width: 48ch; }
.section--light .svc__d { color: var(--muted-ink); }
.svc__meta { color: var(--muted); font-size: .88rem; padding-top: 4px; }
.section--light .svc__meta { color: var(--muted-ink); }
.svc__meta b { color: var(--chalk); font-weight: 700; }
.section--light .svc__meta b { color: var(--petrol); }
.svc__go {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background .35s var(--ease), color .35s, transform .35s var(--ease), border-color .35s;
}
.section--light .svc__go { border-color: var(--line-ink); }
.svc__row:hover .svc__go { background: var(--lime); color: var(--petrol); border-color: var(--lime); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .svc__row { grid-template-columns: 58px 1fr; }
  .svc__meta, .svc__go { grid-column: 2; }
  .svc__go { margin-top: 4px; }
}

/* --------------------------------------------------------- sticky steps  */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.steps__visual { position: sticky; top: 108px; }
.steps__list > li {
  padding-block: clamp(34px, 6vw, 72px); border-top: 1px solid var(--line);
  opacity: .34; transition: opacity .5s var(--ease);
}
.steps__list > li.is-on { opacity: 1; }
.steps__k { font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--lime); font-size: .72rem; margin-bottom: 14px; display: block; }
.steps__h { margin-bottom: 12px; }
.steps__p { color: var(--muted); max-width: 44ch; }
.steps__pane { display: none; }
.steps__pane.is-on { display: block; animation: paneIn .5s var(--ease) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps__visual { position: static; order: -1; }
  .steps__list > li { opacity: 1; }
}

/* ------------------------------------------------------------ integrations */
.int { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-ink); }
@media (max-width: 900px) { .int { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .int { grid-template-columns: 1fr; } }
.int__c {
  padding: clamp(20px, 2.4vw, 30px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.int__c:hover { background: var(--petrol-2); }
.int__n { font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; margin-bottom: 7px; }
.int__r { font-size: .82rem; color: var(--muted); }

/* ------------------------------------------------------------------ cards */
.card {
  background: var(--petrol-2); border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 34px);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.section--light .card { background: #fff; border-color: var(--line-ink); }

.stat__n { font-weight: 800; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; color: var(--lime); }
.stat__l { color: var(--muted); font-size: .88rem; margin-top: 9px; }
.section--light .stat__n { color: var(--petrol); }
.section--light .stat__l { color: var(--muted-ink); }

/* ------------------------------------------------------------------- faq */
.faq__i { border-bottom: 1px solid var(--line); }
.section--light .faq__i { border-bottom-color: var(--line-ink); }
.faq__q {
  width: 100%; display: flex; gap: 20px; align-items: center; justify-content: space-between;
  background: none; border: 0; color: inherit; cursor: pointer;
  padding: 24px 0; text-align: left; font-size: 1.04rem; font-weight: 700;
}
.faq__s { flex: none; width: 26px; height: 26px; position: relative; }
.faq__s::before, .faq__s::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--lime);
  transform: translate(-50%,-50%); transition: transform .4s var(--ease);
}
.section--light .faq__s::before, .section--light .faq__s::after { background: var(--petrol); }
.faq__s::before { width: 15px; height: 2px; }
.faq__s::after  { width: 2px; height: 15px; }
.faq__q[aria-expanded="true"] .faq__s::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); max-width: 70ch; padding-bottom: 24px; }
.section--light .faq__a p { color: var(--muted-ink); }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding-block: clamp(46px, 6vw, 76px) 30px; position: relative; z-index: 2; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 { font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); margin-bottom: 15px; font-weight: 700; }
.foot li { margin-bottom: 10px; }
.foot a { text-decoration: none; color: var(--chalk); opacity: .8; transition: opacity .25s, color .25s; }
.foot a:hover { opacity: 1; color: var(--lime); }
.foot__btm { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  margin-top: clamp(36px, 5vw, 62px); padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); }

/* ----------------------------------------------------------------- forms */
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--petrol); color: var(--chalk);
  border: 1px solid var(--line); border-radius: 0; padding: 14px 16px;
  font: inherit; font-size: .98rem; min-height: 52px;
  transition: border-color .3s, background .3s;
}
.field textarea { min-height: 136px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--lime); background: var(--petrol-2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .62; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--lime); }

/* --------------------------------------------------------------- reveal  */
[data-rv] { opacity: 0; transform: translate3d(0, 22px, 0); }
[data-rv].rv-in {
  opacity: 1; transform: none;
  transition: opacity .72s var(--ease), transform .72s var(--ease);
  transition-delay: var(--d, 0ms);
}
/* the four X arms each enter along their own axis */
.xin .a1 { transform: translate3d(-26px,-26px,0); opacity: 0; }
.xin .a2 { transform: translate3d(26px,26px,0); opacity: 0; }
.xin.rv-in .a1, .xin.rv-in .a2 {
  transform: none; opacity: 1;
  transition: transform .9s var(--ease), opacity .6s ease;
}
.xin.rv-in .a2 { transition-delay: .09s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-rv], .xin .a1, .xin .a2 { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
}

/* ======================================================= pricing plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 860px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--petrol-2); border: 1px solid var(--line);
  padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
}
.plan--hi { border-color: var(--lime); background: var(--petrol-3); }
.plan__n { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.plan--hi .plan__n { color: var(--lime); }
.plan__p { font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.plan__p span { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan--hi .plan__p { color: var(--lime); }
.plan__v { font-size: .84rem; color: var(--muted); margin-top: 9px; }
.plan__for { margin: 22px 0 26px; flex: 1; }
.plan .btn { align-self: flex-start; }

/* ===================================================== animated mockups */
.mock { background: var(--petrol-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-width: 560px; }
.section--light .mock { background: #fff; border-color: var(--line-ink); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--petrol-3); }
.section--light .mock__bar { background: var(--chalk-2); border-bottom-color: var(--line-ink); }
.mock__b { padding: 18px; }

/* store */
.st__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.st__logo { font-weight: 800; font-size: .82rem; letter-spacing: .02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st__cart { position: relative; display: flex; align-items: center; gap: 6px; font-size: .7rem; color: var(--muted); flex: none; white-space: nowrap; }
.st__badge {
  min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--lime); color: var(--petrol);
  font-size: .68rem; font-weight: 800; display: grid; place-items: center;
  transform: scale(1); transition: transform .3s var(--ease);
}
.st__badge.pop { transform: scale(1.38); }
.st__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.st__c { background: var(--petrol); border: 1px solid var(--line); border-radius: 7px; padding: 8px; transition: border-color .3s, transform .3s var(--ease); }
.st__c.hit { border-color: var(--lime); transform: translateY(-3px); }
.st__ph { aspect-ratio: 1; border-radius: 5px; margin-bottom: 8px; position: relative; overflow: hidden; background: var(--petrol-3); }
.st__ph svg { position: absolute; inset: 8%; width: 84%; height: 84%; }
.st__nm { font-size: .68rem; line-height: 1.3; margin-bottom: 5px; }
.st__pr { font-size: .74rem; font-weight: 800; color: var(--lime); }
.st__ft { margin-top: 13px; display: flex; align-items: center; justify-content: space-between; background: var(--lime); color: var(--petrol); font-weight: 700; font-size: .7rem; padding: 9px 13px; border-radius: 6px; }
.st__toast {
  position: absolute; left: 50%; bottom: 62px; transform: translate(-50%, 14px);
  background: var(--petrol); color: var(--chalk); border: 1px solid var(--lime);
  font-size: .7rem; font-weight: 700; padding: 8px 15px; border-radius: 20px;
  opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; white-space: nowrap;
}
.st__toast.on { opacity: 1; transform: translate(-50%, 0); }

/* checkout */
.ck__steps { display: flex; gap: 6px; margin-bottom: 16px; }
.ck__s { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.ck__s i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .7s var(--ease); }
.ck__s.on i { width: 100%; }
.ck__row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 8px; font-size: .78rem; transition: border-color .35s, background .35s; }
.ck__row.on { border-color: var(--lime); background: rgba(187,226,47,.07); }
.ck__dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--line); flex: none; position: relative; transition: border-color .35s; }
.ck__row.on .ck__dot { border-color: var(--lime); }
.ck__row.on .ck__dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--lime); }
.ck__row b { font-weight: 700; }
.ck__row span { color: var(--muted); margin-left: auto; font-size: .72rem; }
.ck__done { display: flex; align-items: center; justify-content: space-between; background: var(--lime); color: var(--petrol); font-weight: 800; font-size: .76rem; padding: 11px 14px; border-radius: 7px; margin-top: 12px; opacity: .25; transition: opacity .5s; }
.ck__done.on { opacity: 1; }

/* ranking chart */
.rk__l { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: 10px; }
.rk svg { width: 100%; height: auto; }
.rk__path { stroke-dasharray: 1000; stroke-dashoffset: 0; }
.rk__path.pre { stroke-dashoffset: 1000; }
.rk__path.on { transition: stroke-dashoffset 2.2s var(--ease); stroke-dashoffset: 0; }
.rk__d { opacity: 1; transition: opacity .4s; }
.rk__d.pre { opacity: 0; }
.rk__d.on { opacity: 1; }
.rk__kw { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.rk__kw span { font-size: .68rem; font-weight: 700; padding: 5px 10px; border-radius: 20px; background: var(--petrol-3); color: var(--muted); }
.rk__kw span.up { background: rgba(187,226,47,.14); color: var(--lime); }

/* change request thread */
.rq__m { display: flex; gap: 11px; margin-bottom: 12px; }
.rq__m.pre { opacity: 0; transform: translateY(8px); }
.rq__m.on { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rq__av { width: 29px; height: 29px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .66rem; font-weight: 800; background: var(--petrol-3); color: var(--muted); }
.rq__m--us .rq__av { background: var(--lime); color: var(--petrol); }
.rq__bb { background: var(--petrol); border: 1px solid var(--line); border-radius: 9px; padding: 10px 13px; font-size: .78rem; line-height: 1.45; max-width: 82%; }
.rq__m--us .rq__bb { border-color: var(--lime); }
.rq__t { font-size: .66rem; color: var(--muted); margin-top: 5px; }

/* ============================================== ambient light on the dark ground
   Not a colour change — just depth, so the petrol doesn't read as flat ink. */
body::after {
  content: ''; position: fixed; inset: -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 80% 4%,  rgba(187,226,47,.085), transparent 62%),
    radial-gradient(50vw 50vw at 4% 62%,  rgba(95,212,196,.062), transparent 64%),
    radial-gradient(36vw 36vw at 94% 86%, rgba(187,226,47,.055), transparent 60%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(1.5%, -1.5%, 0) scale(1.06); }
}
/* a very faint grid, the kind you see on technical paper */
.section:not(.section--light)::before,
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(140,168,160,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,168,160,.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
}
.ticker, .foot { position: relative; }
.ticker { background: rgba(10,43,38,.5); }

/* brand wordmark is now the real logotype, not a web font */
.brand__w { height: 18px; width: auto; display: block; }
.nav.is-stuck .brand__w { height: 17px; }
.foot .brand__w { height: 20px; }

/* ===================================================== website mockup */
.sv { position: relative; }
.sv__win { position: relative; height: 286px; overflow: hidden; border-radius: 6px; background: var(--petrol); border: 1px solid var(--line); }
.sv__screen { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); }
.sv__screen.on { opacity: 1; }
.sv__page { position: absolute; inset: 0 0 auto; transition: transform 5.4s linear; }

/* ---- the demo site: real type, not placeholder bars ---------------- */
.ms__nav { display: flex; align-items: center; gap: 14px; padding: 9px 13px;
  border-bottom: 1px solid var(--line); background: var(--petrol-3); }
.ms__brand { font-size: .5rem; font-weight: 800; letter-spacing: .09em; color: var(--chalk); }
.ms__menu { display: flex; gap: 11px; margin-left: auto; }
.ms__menu b { font-size: .48rem; font-weight: 600; color: var(--muted); }
.ms__cta { font-size: .46rem; font-weight: 800; color: var(--petrol); background: var(--lime);
  padding: 4px 9px; border-radius: 3px; }

.ms__hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 14px;
  align-items: center; padding: 17px 13px 15px; }
.ms__kick { font-size: .44rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 7px; }
.ms__h { font-size: 1.22rem; font-weight: 800; line-height: 1.08; letter-spacing: -.03em;
  color: var(--chalk); margin: 0 0 8px; }
.ms__p { font-size: .5rem; line-height: 1.5; color: var(--muted); margin: 0 0 10px; max-width: 30ch; }
.ms__btn { display: inline-block; font-size: .48rem; font-weight: 800; color: var(--petrol);
  background: var(--lime); padding: 6px 12px; border-radius: 3px; }
.ms__img { border-radius: 5px; overflow: hidden; aspect-ratio: 16/11; }
.ms__img svg { width: 100%; height: 100%; display: block; }

.ms__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 13px 14px; }
.ms__cards > div { border: 1px solid var(--line); border-radius: 5px; padding: 9px;
  background: var(--petrol-2); }
.ms__cards b { display: block; width: 13px; height: 13px; border-radius: 50%;
  background: rgba(187,226,47,.4); margin-bottom: 7px; }
.ms__cards strong { display: block; font-size: .5rem; font-weight: 800; color: var(--chalk); margin-bottom: 3px; }
.ms__cards span { font-size: .45rem; color: var(--muted); line-height: 1.4; }

.ms__quote { margin: 0 13px 14px; padding: 11px 13px; border-radius: 5px;
  background: var(--petrol-3); border-left: 2px solid var(--lime); }
.ms__quote p { font-size: .52rem; color: var(--chalk); margin: 0 0 5px; font-style: italic; }
.ms__quote span { font-size: .44rem; color: var(--muted); }
.ms__foot { display: flex; justify-content: space-between; gap: 10px; padding: 11px 13px;
  border-top: 1px solid var(--line); background: var(--petrol-2); font-size: .44rem; color: var(--muted); }
.ms__shop { padding: 13px; }

/* which view is showing */
.sv__tabs { display: flex; gap: 6px; margin-top: 11px; }
.sv__tabs span {
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 20px; color: var(--muted);
  background: var(--petrol-3); transition: background .4s var(--ease), color .4s;
}
.sv__tabs span.on { background: var(--lime); color: var(--petrol); }

/* cursor that moves over the page */
.sv__cur {
  position: absolute; width: 13px; height: 13px; z-index: 5; pointer-events: none;
  transition: transform 1.1s var(--ease); opacity: .9;
}
.sv__cur svg { width: 100%; height: 100%; }

/* the shop view has to fit the same window as the website view */
.sv__screen--shop .st__ph { aspect-ratio: 1.25; }
.sv__screen--shop .st__hd { margin-bottom: 11px; }
.sv__screen--shop .st__ft { margin-top: 10px; padding: 8px 12px; }
.sv__screen--shop .st__toast { bottom: 54px; }
.sv__screen--shop .st__nm { font-size: .64rem; }

/* ===================================================== report dashboard */
.mock--wide { max-width: 100%; }
.db__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.db__ttl { font-weight: 800; font-size: .92rem; letter-spacing: -.01em; }
.db__pill { font-size: .68rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line);
  padding: 5px 11px; border-radius: 20px; }
.db__tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
@media (max-width: 640px) { .db__tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.db__t { border: 1px solid var(--line); border-radius: 7px; padding: 12px 13px; background: var(--petrol); }
.db__l { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.db__v { display: block; font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.db__d { display: inline-block; margin-top: 7px; font-size: .66rem; font-weight: 800; color: var(--lime); }

.db__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; }
@media (max-width: 760px) { .db__grid { grid-template-columns: 1fr; } }
.db__chart { border: 1px solid var(--line); border-radius: 7px; padding: 12px; background: var(--petrol); }
.db__chart svg { width: 100%; height: 132px; display: block; }
.db__line, .db__area { stroke-dasharray: 1400; stroke-dashoffset: 0; }
.db__line.pre { stroke-dashoffset: 1400; }
.db__line { transition: stroke-dashoffset 1.8s var(--ease); }
.db__area { opacity: 1; transition: opacity .9s ease .5s; }
.db__area.pre { opacity: 0; }
.db__x { display: flex; justify-content: space-between; font-size: .62rem; color: var(--muted); margin-top: 8px; }

.db__side { border: 1px solid var(--line); border-radius: 7px; padding: 12px 13px; background: var(--petrol); }
.db__sh { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px; }
.db__r { display: grid; grid-template-columns: 1fr 78px 34px; align-items: center; gap: 8px;
  font-size: .72rem; margin-bottom: 7px; }
.db__r span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db__r i { display: block; height: 6px; border-radius: 3px; background: var(--lime);
  width: 0; transition: width .8s var(--ease); }
.db__r b { font-weight: 800; font-size: .68rem; text-align: right; color: var(--muted); }
.db__k { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px;
  font-size: .72rem; margin-bottom: 6px; opacity: 0; transform: translateY(5px); }
.db__k.on { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.db__k span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.db__k b { font-weight: 800; }
.db__k i { font-style: normal; font-size: .64rem; font-weight: 800; color: var(--petrol);
  background: var(--lime); border-radius: 20px; padding: 2px 7px; }

/* ============================================== integration logo wall */
.lw { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
@media (max-width: 900px) { .lw { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .lw { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.lw__i {
  border: 1px solid var(--line); border-radius: 9px; background: var(--petrol-2);
  aspect-ratio: 5/3; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 7px; padding: 14px 12px; text-align: center;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.section--light .lw__i { background: #fff; border-color: var(--line-ink); }
.lw__i:hover { border-color: var(--lime); transform: translateY(-3px); }
.lw__i img { max-height: 30px; max-width: 76%; width: auto; object-fit: contain; }
.lw__n { font-weight: 800; font-size: .86rem; letter-spacing: -.01em; }
.lw__r { font-size: .64rem; color: var(--muted); line-height: 1.35; }
.section--light .lw__r { color: var(--muted-ink); }

/* ================================================== language switch */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; flex: none; }
.lang a {
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; text-decoration: none; color: var(--muted); transition: background .3s, color .3s;
}
.lang a[aria-current] { background: var(--lime); color: var(--petrol); }
.lang a:not([aria-current]):hover { color: var(--chalk); }
@media (max-width: 920px) {
  .nav__in .lang { margin-left: auto; margin-right: 4px; }
}
