/* ==========================================================================
   Elite Ultra Pay — design system
   Palette : abyss navy base, single azure accent, gold reserved for earnings
   Type    : Saira (display) / Manrope (body) / IBM Plex Mono (data + labels)
   Motif   : the "rail" — hairline lines with mono nodes, borrowed from the
             transaction rail the product actually runs on
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* surface */
  --abyss: #04070f;
  --ink: #080d18;
  --panel: #0c1424;
  --panel-2: #111b2e;
  --line: #1a2740;
  --line-2: #24365a;

  /* accent */
  --azure: #2e9bff;
  --azure-lo: #0a5cd6;
  --azure-glow: rgba(46, 155, 255, 0.14);
  --azure-edge: rgba(46, 155, 255, 0.38);
  --gold: #f2b33d;

  /* text */
  --text: #eaf1fb;
  --text-2: #9db0cc;
  --text-3: #64779a;

  /* type */
  --display: "Saira", "Arial Narrow", "Helvetica Neue", sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;

  /* rhythm */
  --gutter: 24px;
  --max: 1200px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;

  /* elevation */
  --lift: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
  --glow: 0 0 0 1px var(--azure-edge), 0 18px 50px -18px rgba(46, 155, 255, 0.45);
}

/* --- 2. Reset & base ----------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--abyss);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

::selection {
  background: var(--azure);
  color: #04070f;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--azure);
  color: #04070f;
  font-family: var(--mono);
  font-size: 12px;
  transition: top 0.2s;
}

.skip:focus {
  top: 16px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- 3. Atmosphere ------------------------------------------------------- */
/* Fixed backdrop: faint engineering grid + two azure orbs, as in the brief's
   reference. Kept behind everything and non-interactive. */

.atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(46, 155, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 155, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 20%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.orb-1 {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(46, 155, 255, 0.5), transparent 66%);
}

.orb-2 {
  width: 540px;
  height: 540px;
  top: 44%;
  left: -220px;
  background: radial-gradient(circle, rgba(10, 92, 214, 0.42), transparent 68%);
}

.orb-3 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  right: -100px;
  background: radial-gradient(circle, rgba(46, 155, 255, 0.24), transparent 70%);
}

/* small "+" tick marks from the reference art direction */
.tick {
  position: absolute;
  z-index: 1;
  color: var(--line-2);
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

/* --- 4. Layout primitives ----------------------------------------------- */

.wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  z-index: 2;
  padding-block: clamp(72px, 9vw, 128px);
}

.section-tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.divider {
  position: relative;
  z-index: 2;
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* --- 5. Section heads ---------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--azure);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.head {
  max-width: 720px;
  margin-bottom: 52px;
}

.head-center {
  margin-inline: auto;
  text-align: center;
}

.head-center .eyebrow {
  justify-content: center;
}

.head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
}

.head p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 17px);
  max-width: 62ch;
}

.head-center p {
  margin-inline: auto;
}

.hl {
  color: var(--azure);
  text-shadow: 0 0 44px rgba(46, 155, 255, 0.35);
}

/* --- 6. Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s,
    background-color 0.22s, border-color 0.22s, color 0.22s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--azure), var(--azure-lo));
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(46, 155, 255, 0.75);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -12px rgba(46, 155, 255, 0.95);
}

.btn-ghost {
  border-color: var(--line-2);
  background: rgba(12, 20, 36, 0.7);
  color: var(--text);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--azure-edge);
  background: rgba(46, 155, 255, 0.1);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* text link with a moving rail underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azure);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tlink::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.24s;
}

.tlink:hover::after {
  width: 30px;
}

/* --- 7. Header ----------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.header.stuck {
  background: rgba(4, 7, 15, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand em {
  color: var(--azure);
  font-style: normal;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(46, 155, 255, 0.08);
}

.nav a[aria-current="page"] {
  color: var(--azure);
}

.header .btn {
  flex: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(12, 20, 36, 0.8);
  place-items: center;
}

.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--text);
  transition: transform 0.25s, opacity 0.2s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.drawer.open {
  display: block;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  padding: 14px 0 22px;
}

.drawer nav a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 16px;
  font-weight: 500;
}

.drawer nav a[aria-current="page"] {
  color: var(--azure);
}

.drawer .btn {
  margin-top: 20px;
  align-self: flex-start;
}

/* --- 8. Hero ------------------------------------------------------------- */

.hero {
  position: relative;
  z-index: 2;
  padding-top: clamp(120px, 15vw, 168px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 6.2vw, 74px);
  letter-spacing: -0.03em;
}

.hero-sub {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--text-2);
  font-size: clamp(15.5px, 1.5vw, 17.5px);
}

/* proof rail under the hero copy */
.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.proof li {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.proof li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.proof b {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.proof span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --- 9. Signature: the counter terminal --------------------------------- */

.terminal {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(17, 27, 46, 0.95), rgba(6, 11, 21, 0.95));
  box-shadow: var(--lift), 0 0 90px -40px rgba(46, 155, 255, 0.55);
  overflow: hidden;
}

.terminal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--azure), transparent);
}

.term-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.term-top .pulse {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgba(53, 208, 127, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 208, 127, 0);
  }
}

.term-top .spacer {
  margin-left: auto;
  color: var(--text-3);
}

.feed {
  padding: 6px 0;
  min-height: 296px;
}

.feed li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(26, 39, 64, 0.6);
  font-family: var(--mono);
  font-size: 12.5px;
}

.feed li:last-child {
  border-bottom: 0;
}

.feed .tag {
  padding: 3px 0;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--azure);
  background: rgba(46, 155, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(46, 155, 255, 0.22);
}

.feed .tag.travel {
  color: var(--gold);
  background: rgba(242, 179, 61, 0.12);
  box-shadow: inset 0 0 0 1px rgba(242, 179, 61, 0.22);
}

.feed .name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-2);
}

.feed .amt {
  font-weight: 600;
  color: var(--text);
}

.feed .ok {
  color: #35d07f;
  font-size: 13px;
}

.feed li.enter {
  animation: rowin 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

@keyframes rowin {
  from {
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(46, 155, 255, 0.09);
  }
  to {
    opacity: 1;
    transform: none;
    background: transparent;
  }
}

.term-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.6);
}

.term-bottom div {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
}

.term-bottom div:last-child {
  border-right: 0;
}

.term-bottom .k {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.term-bottom .v {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.term-note {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-align: right;
}

/* --- 10. Cards ----------------------------------------------------------- */

.card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), rgba(8, 13, 24, 0.9));
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.28s,
    box-shadow 0.28s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--azure-edge);
  box-shadow: 0 22px 50px -26px rgba(46, 155, 255, 0.6);
}

.ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 11px;
  border: 1px solid rgba(46, 155, 255, 0.22);
  background: rgba(46, 155, 255, 0.09);
  color: var(--azure);
}

.ico svg {
  width: 22px;
  height: 22px;
}

.ico-gold {
  border-color: rgba(242, 179, 61, 0.24);
  background: rgba(242, 179, 61, 0.1);
  color: var(--gold);
}

.card h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.62;
}

.grid {
  display: grid;
  gap: 18px;
}

.g-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* --- 11. About: mission / vision --------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-copy p {
  color: var(--text-2);
  font-size: 15.5px;
}

.mv {
  display: grid;
  gap: 18px;
}

/* Three abreast, so mission, vision and how-we-work all sit at the same
   height and reveal together instead of one trailing below the fold. */
.mv-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 5vw, 56px);
}

.about-copy-wide {
  max-width: 72ch;
}

.about-copy-after {
  margin-top: clamp(36px, 5vw, 56px);
}

/* Entrance runs on page load rather than on scroll, so these never sit
   invisible below the fold waiting for the observer to fire. Same easing
   and travel as the hero, so the motion still reads as one system. */
.load-in > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.load-in > *:nth-child(1) {
  animation-delay: 0.05s;
}

.load-in > *:nth-child(2) {
  animation-delay: 0.15s;
}

.load-in > *:nth-child(3) {
  animation-delay: 0.25s;
}

.mv article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), rgba(8, 13, 24, 0.9));
}

.mv h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azure);
}

/* the vision card carries the gold accent on every page that uses this block */
.mv article:nth-child(2) h3 {
  color: var(--gold);
}

.mv p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 15px;
}

/* --- 12. Why choose us — a set, not a sequence ------------------------- */

.why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.why li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.why svg {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  flex: none;
  color: var(--azure);
}

.why b {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.why span {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

/* --- 13. Service category panels (home) -------------------------------- */

.cat {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), rgba(8, 13, 24, 0.9));
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.28s,
    box-shadow 0.28s;
}

.cat:hover {
  transform: translateY(-4px);
  border-color: var(--azure-edge);
  box-shadow: 0 22px 50px -26px rgba(46, 155, 255, 0.6);
}

.cat-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cat-top .ico {
  margin-bottom: 0;
}

.cat h3 {
  font-size: 20px;
}

.cat .count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.cat > p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 14.5px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.chips li {
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

.cat .tlink {
  margin-top: 22px;
  align-self: flex-start;
}

/* --- 14. Feature split blocks ------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-flip .split-art {
  order: -1;
}

.split h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.split > div > p {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 15.5px;
  max-width: 54ch;
}

.ticks {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--text-2);
  font-size: 15px;
}

.ticks svg {
  width: 17px;
  height: 17px;
  margin-top: 4px;
  flex: none;
  color: var(--azure);
}

/* art panel: a stack of service tiles */
.split-art {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 80% 0%, rgba(46, 155, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--ink));
  box-shadow: var(--lift);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tile {
  display: grid;
  place-items: center;
  gap: 9px;
  padding: 18px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(4, 7, 15, 0.6);
  text-align: center;
  transition: border-color 0.24s, background-color 0.24s, transform 0.24s;
}

.tile:hover {
  transform: translateY(-3px);
  border-color: var(--azure-edge);
  background: rgba(46, 155, 255, 0.08);
}

.tile svg {
  width: 22px;
  height: 22px;
  color: var(--azure);
}

.tile span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.art-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.art-foot b {
  margin-left: auto;
  color: var(--azure);
  font-weight: 600;
}

/* --- 15. Tabs + full catalogue (services page) ------------------------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 20, 36, 0.7);
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.22s, border-color 0.22s, background-color 0.22s;
}

.tab i {
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  color: var(--text-3);
}

.tab:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.tab[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, var(--azure), var(--azure-lo));
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(46, 155, 255, 0.8);
}

.tab[aria-selected="true"] i {
  color: rgba(255, 255, 255, 0.72);
}

.panel[hidden] {
  display: none;
}

.panel > .lead {
  max-width: 66ch;
  margin-bottom: 26px;
  color: var(--text-2);
  font-size: 15.5px;
}

/* compact catalogue card */
.svc {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), rgba(8, 13, 24, 0.9));
  transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.26s,
    box-shadow 0.26s;
}

.svc:hover {
  transform: translateY(-4px);
  border-color: var(--azure-edge);
  box-shadow: 0 20px 46px -24px rgba(46, 155, 255, 0.55);
}

.svc-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-top svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--azure);
}

.svc h3 {
  font-size: 16.5px;
  letter-spacing: -0.005em;
}

.svc p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

.svc-wide {
  grid-column: 1 / -1;
  background: radial-gradient(110% 100% at 100% 0%, rgba(46, 155, 255, 0.14), transparent 58%),
    linear-gradient(180deg, var(--panel-2), var(--ink));
}

/* --- 19. Security ------------------------------------------------------- */

.secure {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(90% 120% at 12% 50%, rgba(46, 155, 255, 0.15), transparent 62%),
    linear-gradient(180deg, var(--panel-2), var(--ink));
  box-shadow: var(--lift);
  overflow: hidden;
}

.shield {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 300px;
  margin-inline: auto;
}

.shield svg {
  width: 100%;
  height: auto;
  color: var(--azure);
  filter: drop-shadow(0 0 34px rgba(46, 155, 255, 0.55));
}

.shield .ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}

.shield .ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--azure);
  box-shadow: 0 0 14px var(--azure);
}

.shield .ring-2 {
  inset: 14%;
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.secure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 28px;
}

.secure-list li {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.secure-list b {
  display: block;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
}

.secure-list span {
  display: block;
  margin-top: 4px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.55;
}

/* --- 22. Statistics ----------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--panel), rgba(4, 7, 15, 0.7));
  overflow: hidden;
}

.stats li {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}

.stats li:last-child {
  border-right: 0;
}

.stats b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.stats li:nth-child(3) b {
  color: var(--gold);
}

.stats span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.stats-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-align: center;
}

/* --- 23. FAQ ------------------------------------------------------------ */

.faq {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--azure);
}

.faq summary .plus {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex: none;
}

.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  transform: translate(-50%, -50%);
  background: var(--azure);
  transition: transform 0.28s;
}

.faq summary .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] summary .plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq .ans {
  padding: 0 46px 24px 4px;
  color: var(--text-2);
  font-size: 15px;
}

.faq details[open] .ans {
  animation: fadein 0.32s ease both;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* --- 24. CTA ------------------------------------------------------------ */

.cta {
  position: relative;
  z-index: 2;
  padding: clamp(38px, 5vw, 68px);
  border: 1px solid rgba(46, 155, 255, 0.28);
  border-radius: var(--r-lg);
  background: radial-gradient(100% 140% at 50% 0%, rgba(46, 155, 255, 0.2), transparent 62%),
    linear-gradient(180deg, var(--panel-2), var(--ink));
  box-shadow: var(--lift);
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--azure), transparent);
}

.cta h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.cta p {
  max-width: 56ch;
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: clamp(15px, 1.4vw, 17px);
}

.cta .btn-row {
  justify-content: center;
}

.cta-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* --- 25. Footer --------------------------------------------------------- */

.footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 15, 0.72);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-block: clamp(44px, 6vw, 68px);
}

.foot-brand p {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--text-2);
  font-size: 14px;
}

.foot-contact {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.foot-contact a,
.foot-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-2);
  transition: color 0.2s;
}

.foot-contact a:hover {
  color: var(--azure);
}

.foot-contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--azure);
}

.foot-col h4 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.foot-col li + li {
  margin-top: 11px;
}

.foot-col a {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.2s, padding-left 0.2s;
}

.foot-col a:hover {
  color: var(--azure);
  padding-left: 4px;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
}

.foot-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}

.foot-bottom a:hover {
  color: var(--azure);
}

.foot-note {
  padding-bottom: 30px;
  max-width: 92ch;
  color: var(--text-3);
  font-size: 12.5px;
  line-height: 1.7;
}

/* --- 26. Inner page hero ----------------------------------------------- */

.phero {
  position: relative;
  z-index: 2;
  padding-top: clamp(126px, 14vw, 160px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.crumbs a:hover {
  color: var(--azure);
}

.phero h1 {
  max-width: 20ch;
  font-size: clamp(34px, 5.4vw, 62px);
  letter-spacing: -0.03em;
}

.phero p {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--text-2);
  font-size: clamp(15px, 1.5vw, 17.5px);
}

/* --- 27. Contact page --------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), rgba(8, 13, 24, 0.9));
}

.info-card + .info-card {
  margin-top: 16px;
}

.info-card svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  color: var(--azure);
}

.info-card h3 {
  font-size: 16px;
}

.info-card p,
.info-card a {
  display: block;
  margin-top: 6px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.info-card a:hover {
  color: var(--azure);
}

.form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(110% 90% at 90% 0%, rgba(46, 155, 255, 0.13), transparent 58%),
    linear-gradient(180deg, var(--panel-2), var(--ink));
  box-shadow: var(--lift);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 7, 15, 0.7);
  font-size: 15px;
  transition: border-color 0.22s, box-shadow 0.22s;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

/* native dropdowns render on the OS surface, so restate the dark palette */
.field select option {
  background: var(--panel);
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--azure-edge);
  box-shadow: 0 0 0 3px rgba(46, 155, 255, 0.14);
}

.field-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-msg {
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(46, 155, 255, 0.07);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.form-msg[hidden] {
  display: none;
}

/* --- Partners & integrations ------------------------------------------- */
/* Light tiles on purpose: partner marks are drawn for white backgrounds. */

.partners {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin-inline: auto;
}

.partners li {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.22s;
}

.partners li:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--azure-edge), 0 20px 44px -18px rgba(46, 155, 255, 0.55);
}

.partners li.partner-dark {
  background: #2b1260;
}

.partners li > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--body);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.pl-razorpay {
  color: #072654;
  font-size: 19px;
  font-style: italic;
  letter-spacing: -0.02em;
}

.pl-razorpay b {
  color: #3395ff;
  font-size: 15px;
  font-style: normal;
}

.partners .pl-payu {
  gap: 0;
  color: #7aab2c;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.pl-payu b {
  font-weight: 800;
}

.pl-cashfree {
  padding: 8px 12px;
  background: #1a0a3d;
  color: #fff;
  font-size: 13.5px;
}

.pl-cashfree b {
  width: 14px;
  height: 22px;
  border-left: 4px solid #1bc47d;
  border-top: 4px solid #f5a623;
}

.pl-bharat {
  color: #f26b3a;
  font-size: 14px;
}

.pl-bharat b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 26px;
  border-radius: 4px;
  background: #3a8bd8;
  color: #fff;
  font-size: 16px;
}

/* --- Login popup -------------------------------------------------------- */

.login {
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 36px 32px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: radial-gradient(110% 70% at 50% 0%, rgba(46, 155, 255, 0.16), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--ink));
  color: var(--text);
  box-shadow: var(--lift), 0 0 0 1px rgba(46, 155, 255, 0.08);
  text-align: center;
  overflow-y: auto;
}

.login::backdrop {
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(6px);
}

.login[open] {
  animation: login-in 0.26s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes login-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.login-x {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s;
}

.login-x:hover {
  background: rgba(46, 155, 255, 0.1);
  color: var(--text);
}

.login-x svg {
  width: 18px;
  height: 18px;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.login-brand em {
  color: var(--azure);
  font-style: normal;
}

.login h2 {
  margin: 0;
  font-size: 26px;
}

.login-sub {
  margin: 4px 0 24px;
  font-size: 14.5px;
  color: var(--text-2);
}

.login-form {
  text-align: left;
}

.login-input {
  position: relative;
}

.login-input > svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: var(--text-3);
  pointer-events: none;
}

.field .login-input input {
  padding-left: 44px;
}

.field .login-input input[type="password"],
.field .login-input input[name="password"] {
  padding-right: 48px;
}

.login-eye {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border-radius: 8px;
  color: var(--text-3);
  transition: color 0.2s;
}

.login-eye:hover,
.login-eye[aria-pressed="true"] {
  color: var(--azure);
}

.login-eye svg {
  width: 18px;
  height: 18px;
}

.login-go {
  width: 100%;
  margin-top: 8px;
  padding: 14px 26px;
  font-size: 15px;
}

.login-forgot {
  display: block;
  width: max-content;
  margin: 18px auto 0;
  font-size: 13.5px;
  color: var(--text-2);
  transition: color 0.2s;
}

.login-forgot:hover {
  color: var(--azure);
}


/* --- 28. Prose / legal pages ------------------------------------------- */

.doc {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 104px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel), rgba(8, 13, 24, 0.9));
}

.toc h4 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.toc li + li {
  margin-top: 3px;
}

.toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.4;
  transition: color 0.2s, background-color 0.2s;
}

.toc a:hover,
.toc a.active {
  color: var(--azure);
  background: rgba(46, 155, 255, 0.09);
}

.prose {
  max-width: 74ch;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 20, 36, 0.8);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}

.prose h2 {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(21px, 2.4vw, 27px);
  scroll-margin-top: 108px;
}

.prose h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h3 {
  margin-top: 30px;
  font-size: 17px;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.75;
}

.prose p {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.prose li {
  position: relative;
  padding-left: 24px;
}

.prose li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 7px;
  height: 1.5px;
  background: var(--azure);
}

.prose ol {
  counter-reset: n;
}

.prose ol li::before {
  counter-increment: n;
  content: counter(n) ".";
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  background: none;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--azure);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a:not(.btn) {
  color: var(--azure);
  border-bottom: 1px solid rgba(46, 155, 255, 0.35);
}

.callout {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--azure);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: rgba(46, 155, 255, 0.06);
}

.callout p {
  margin-top: 0;
  font-size: 14.5px;
}

/* --- 29. Reveal on scroll ----------------------------------------------
   Scoped to .js, which an inline script in <head> adds to <html>. If the
   script never runs, the hidden state is never applied and the whole page
   stays readable instead of blank. */

.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.js .rv.in {
  opacity: 1;
  transform: none;
}

/* hero load sequence */
.hero-anim > * {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-anim > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-anim > *:nth-child(2) {
  animation-delay: 0.15s;
}
.hero-anim > *:nth-child(3) {
  animation-delay: 0.25s;
}
.hero-anim > *:nth-child(4) {
  animation-delay: 0.35s;
}
.hero-anim > *:nth-child(5) {
  animation-delay: 0.45s;
}

.hero-art {
  animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* --- 30. Responsive ---------------------------------------------------- */

@media (max-width: 1080px) {
  .foot-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stats li:nth-child(3) {
    border-right: 0;
  }
  .stats li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 940px) {
  .nav,
  .header-in > .btn {
    display: none;
  }
  .burger {
    display: grid;
  }
  .hero-grid,
  .about-grid,
  .split,
  .secure,
  .contact-grid,
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-flip .split-art {
    order: 0;
  }
  .g-4,
  .g-3,
  .mv-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toc {
    position: static;
  }
  .toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .toc li + li {
    margin-top: 0;
  }
  .shield {
    max-width: 220px;
  }
}

@media (max-width: 720px) {
  .partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  :root {
    --gutter: 18px;
  }
  .why,
  .g-2,
  .g-3,
  .g-4,
  .mv-3,
  .secure-list,
  .field-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats li {
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
  }
  .stats li:nth-child(2n) {
    border-right: 0;
  }
  .stats li:nth-child(-n + 2) {
    border-top: 0;
  }
  .stats li:last-child {
    grid-column: 1 / -1;
  }
  .term-bottom {
    grid-template-columns: 1fr;
  }
  .term-bottom div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .term-bottom div:last-child {
    border-bottom: 0;
  }
  .proof li {
    padding-right: 18px;
    margin-right: 18px;
  }
  .tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot-bottom nav {
    margin-left: 0;
  }
  .feed li {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    font-size: 11.5px;
  }
  .feed .ok {
    display: none;
  }
  .tick {
    display: none;
  }
}

/* --- 31. Motion & print ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .rv {
    opacity: 1;
    transform: none;
  }

}

@media print {
  .atmos,
  .header,
  .footer,
  .cta,
  .terminal {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
