/* ==========================================================================
   Hikify — site styles
   Brand: Manrope · Green #29B673 · Dark #081C18 · Ink #101817 · Off-white #F7FAF8
   ========================================================================== */

:root {
  --green: #29b673;
  --green-deep: #168a54;
  --green-dark: #0d5c3a;
  --green-light: #ddf6ea;
  --green-tint: #f0fbf5;
  --dark: #081c18;
  --dark-2: #0c2520;
  --ink: #101817;
  --off-white: #f7faf8;
  --white: #ffffff;
  --border: #e8efeb;
  --muted: #66736d;
  --purple: #7c5cfc;
  --blue: #2b8ae0;
  --blue-tint: #e8f2fd;
  --orange: #f2902f;
  --orange-tint: #fff1e3;

  --font: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-sm: 0 1px 2px rgba(8, 28, 24, 0.04), 0 2px 8px rgba(8, 28, 24, 0.04);
  --shadow: 0 2px 4px rgba(8, 28, 24, 0.04), 0 12px 32px rgba(8, 28, 24, 0.08);
  --shadow-lg: 0 24px 64px rgba(8, 28, 24, 0.18);

  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

html:not(.lenis) {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}

img,
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;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

::selection {
  background: var(--green);
  color: var(--ink);
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.section--dark .eyebrow {
  color: var(--green);
}

.h1 {
  font-size: clamp(2.5rem, 1.55rem + 4.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.h2 {
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.text-green {
  color: var(--green);
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  background: var(--btn-bg);
  color: var(--btn-fg);
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::before {
  transform: translateX(110%);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(41, 182, 115, 0.35);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .icon--arrow {
  transform: translateX(4px);
}

.btn:hover .icon--up-right {
  transform: translate(2px, -2px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid rgba(16, 24, 23, 0.16);
}

.btn--ghost:hover {
  box-shadow: none;
  border-color: var(--ink);
}

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-fg: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--ghost-light:hover {
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
}

.btn--dark:hover {
  box-shadow: 0 12px 32px rgba(8, 28, 24, 0.35);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 10px;
}

.btn--lg {
  min-height: 60px;
  padding: 0 32px;
  font-size: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-out);
}

.link-arrow:hover .icon {
  transform: translate(3px, -3px);
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 12px;
  transition: transform 0.5s var(--ease-out);
  pointer-events: none;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 12px));
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 8px 0 20px;
  border-radius: 18px;
  background: rgba(8, 28, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  color: var(--white);
  transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled .nav {
  background: rgba(8, 28, 24, 0.86);
  box-shadow: 0 12px 40px rgba(8, 28, 24, 0.22);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  flex: none;
}

.nav__logo img {
  height: 26px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__cta {
  display: none;
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle__bars span:nth-child(1) {
  top: 0;
}

.menu-toggle__bars span:nth-child(2) {
  top: 5px;
}

.menu-toggle__bars span:nth-child(3) {
  top: 10px;
}

.menu-open .menu-toggle__bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle__bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  .nav__links,
  .nav__cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
  background: var(--dark);
  color: var(--white);
  clip-path: circle(0% at calc(100% - 44px) 42px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-in-out), visibility 0s linear 0.7s;
  overflow-y: auto;
}

.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 44px) 42px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-in-out), visibility 0s;
}

.mobile-menu__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mobile-menu__links a span {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0;
}

.mobile-menu__links li,
.mobile-menu__foot {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.6s var(--ease-out);
}

.menu-open .mobile-menu__links li,
.menu-open .mobile-menu__foot {
  opacity: 1;
  transform: none;
}

.menu-open .mobile-menu__links li:nth-child(1) { transition-delay: 0.18s; }
.menu-open .mobile-menu__links li:nth-child(2) { transition-delay: 0.23s; }
.menu-open .mobile-menu__links li:nth-child(3) { transition-delay: 0.28s; }
.menu-open .mobile-menu__links li:nth-child(4) { transition-delay: 0.33s; }
.menu-open .mobile-menu__links li:nth-child(5) { transition-delay: 0.38s; }
.menu-open .mobile-menu__foot { transition-delay: 0.45s; }

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 16px;
}

.mobile-menu__foot .btn {
  width: 100%;
}

.mobile-menu__mail {
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  text-align: center;
}

.mobile-menu__shape {
  position: absolute;
  right: -80px;
  bottom: 120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 36px solid rgba(41, 182, 115, 0.12);
  pointer-events: none;
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(72px, 8vw, 88px);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 182, 115, 0.28), rgba(41, 182, 115, 0) 65%);
  filter: blur(10px);
  animation: glow 12s ease-in-out infinite alternate;
}

@keyframes glow {
  to {
    transform: translate(-80px, 60px) scale(1.1);
  }
}

.hero__inner {
  display: grid;
  gap: clamp(40px, 6vw, 56px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}

.pill__dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(41, 182, 115, 0.18);
  display: grid;
  place-items: center;
  flex: none;
}

.pill__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(41, 182, 115, 0.6);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 8px rgba(41, 182, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(41, 182, 115, 0);
  }
}

.hero__title {
  max-width: 13ch;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.hero__title .line > span {
  display: inline-block;
}

.hero__title em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}

.hero__title em svg {
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
}

.hero__title em svg path {
  fill: none;
  stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}

.hero__lead {
  max-width: 560px;
  text-wrap: pretty;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .hero .pill,
  .hero-visual {
    display: none;
  }
}

@media (max-width: 559px) {
  .hero__ctas {
    width: 100%;
  }

  .hero__ctas .btn {
    flex: 1 1 100%;
  }
}

/* Hero visual — the Hikify mark, assembled from its geometry */
.hero-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
  --px: 0;
  --py: 0;
}

@media (max-width: 959px) {
  .hero-visual {
    width: min(88%, 420px);
  }
}

.hero-visual__layer {
  position: absolute;
  inset: 0;
  transition: transform 0.9s var(--ease-out);
}

.hero-visual__layer--back {
  transform: translate(calc(var(--px) * -10px), calc(var(--py) * -10px));
}

.hero-visual__layer--mid {
  transform: translate(calc(var(--px) * 14px), calc(var(--py) * 14px));
}

.hero-visual__layer--front {
  transform: translate(calc(var(--px) * 26px), calc(var(--py) * 26px));
}

.hv-ring {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 60s linear infinite;
}

.hv-ring--inner {
  inset: 18%;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.06);
  animation-duration: 40s;
  animation-direction: reverse;
}

.hv-ring__dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(41, 182, 115, 0.8);
}

.hv-ring--inner .hv-ring__dot {
  top: auto;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: var(--purple);
  box-shadow: 0 0 16px rgba(124, 92, 252, 0.8);
}

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

.hv-arc {
  position: absolute;
  width: 28%;
  aspect-ratio: 1;
  right: -4%;
  top: -6%;
  border-radius: 50%;
  border: clamp(14px, 3.2vw, 22px) solid var(--green);
  opacity: 0.95;
}

.hv-block {
  position: absolute;
  right: 12%;
  bottom: -2%;
  width: 13%;
  height: 26%;
  border-radius: 999px;
  background: var(--green-deep);
}

.hv-square {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hv-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  transform: translate(-50%, -50%);
  overflow: visible;
  filter: drop-shadow(0 24px 48px rgba(41, 182, 115, 0.25));
}

.hv-mark path {
  fill: var(--green);
}

/* Hero stats */
.hero__stats {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  padding: clamp(20px, 3vw, 32px) clamp(8px, 2vw, 24px) 0 0;
  display: grid;
  gap: 6px;
  align-content: start;
}

.stat + .stat {
  padding-left: clamp(12px, 3vw, 32px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__num {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__num sup {
  font-size: 0.55em;
  vertical-align: top;
  position: relative;
  top: 0.08em;
  color: var(--green);
  margin-left: 2px;
}

.stat__label {
  font-size: clamp(13px, 1.4vw, 15px);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

/* ---------- Marquee ---------- */
.marquee-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-block: 40px;
  margin-block: -52px;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--dark) 50%, var(--off-white) 50%);
}

.marquee {
  position: relative;
  background: var(--green);
  color: var(--ink);
  overflow: hidden;
  padding-block: 18px;
  transform: rotate(-1.5deg) scale(1.02);
  box-shadow: 0 12px 40px rgba(8, 28, 24, 0.15);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding-right: clamp(20px, 3vw, 36px);
  font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.marquee__item::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}

.marquee__item:nth-child(3n + 2)::after {
  border-radius: 3px;
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Services ---------- */
.services {
  padding-top: calc(var(--section) + 24px);
}

.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .bento > :nth-child(1) { grid-column: span 7; }
  .bento > :nth-child(2) { grid-column: span 5; }
  .bento > :nth-child(3) { grid-column: span 5; }
  .bento > :nth-child(4) { grid-column: span 7; }
  .bento > :nth-child(5) { grid-column: span 12; }
}

.svc {
  --accent: var(--green);
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.svc:hover::before {
  opacity: 1;
}

.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.svc__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  transition: transform 0.5s var(--ease-out);
}

.svc:hover .svc__icon {
  transform: rotate(-8deg) scale(1.06);
}

.svc__icon .icon {
  width: 26px;
  height: 26px;
}

.svc__kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 24, 23, 0.06);
}

.svc__title {
  margin-top: auto;
  padding-top: 24px;
}

.svc__text {
  color: var(--muted);
  max-width: 46ch;
}

.svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}

.svc__tags li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 23, 0.12);
}

.svc__link {
  margin-top: 8px;
  align-self: flex-start;
}

.svc__shape {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.9s var(--ease-out);
}

/* Software — green */
.svc--software {
  background: var(--green);
  border-color: transparent;
  color: var(--ink);
}

.svc--software .svc__text {
  color: rgba(16, 24, 23, 0.78);
}

.svc--software .svc__tags li {
  border-color: rgba(16, 24, 23, 0.2);
}

.svc--software .svc__kicker {
  background: rgba(16, 24, 23, 0.1);
}

.svc--software .svc__shape {
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, 0.16);
}

.svc--software:hover .svc__shape {
  transform: scale(1.12) translate(-14px, 14px);
}

/* AI & automation — dark, green-to-purple accent */
.svc--ai {
  --accent: var(--purple);
  background: var(--dark);
  border-color: transparent;
  color: var(--white);
}

.svc--ai::before {
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124, 92, 252, 0.18), transparent 60%);
}

.svc--ai {
  box-shadow: 0 0 0 1px rgba(124, 92, 252, 0.25), 0 24px 60px rgba(124, 92, 252, 0.12);
}

.svc--ai .svc__icon {
  background: linear-gradient(135deg, var(--green), var(--purple));
  color: var(--white);
}

.svc__kicker--glow {
  background: linear-gradient(90deg, rgba(41, 182, 115, 0.22), rgba(124, 92, 252, 0.3)) !important;
  color: var(--white);
}

.svc--ai .svc__kicker {
  background: rgba(255, 255, 255, 0.08);
}

.svc--ai .svc__text {
  color: rgba(255, 255, 255, 0.68);
}

.svc--ai .svc__tags li {
  border-color: rgba(255, 255, 255, 0.16);
}

.svc--ai .svc__shape {
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.55), rgba(41, 182, 115, 0.15));
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  border-radius: 0 0 0 0;
}

.svc--ai:hover .svc__shape {
  transform: translate(-12px, 12px);
}

/* Academy — light blue */
.svc--academy {
  --accent: var(--blue);
  background: var(--blue-tint);
  border-color: transparent;
}

.svc--academy .svc__icon {
  background: var(--white);
}

.svc--academy .svc__kicker {
  background: rgba(43, 138, 224, 0.12);
  color: #1b5f9e;
}

.svc--academy .svc__shape {
  right: -18px;
  bottom: -40px;
  width: 64px;
  height: 140px;
  border-radius: 999px;
  background: rgba(43, 138, 224, 0.16);
  transform-origin: top center;
}

.svc--academy .svc__shape::after {
  content: "";
  position: absolute;
  left: -84px;
  top: 60px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(43, 138, 224, 0.16);
}

.svc--academy:hover .svc__shape {
  transform: translateY(-12px);
}

/* Marketing — warm orange tint */
.svc--marketing {
  --accent: var(--orange);
  background: var(--orange-tint);
  border-color: transparent;
}

.svc--marketing .svc__icon {
  background: var(--ink);
}

.svc--marketing .svc__kicker {
  background: rgba(242, 144, 47, 0.16);
  color: #9a5410;
}

.svc--marketing .svc__shape {
  right: -70px;
  top: -70px;
  width: 200px;
  height: 200px;
  border-radius: 40px;
  background: rgba(242, 144, 47, 0.14);
  transform: rotate(18deg);
}

.svc--marketing:hover .svc__shape {
  transform: rotate(32deg) scale(1.05);
}

/* Products — full-width band */
.svc--products {
  min-height: 0;
  background: var(--white);
}

.svc--products .svc__icon {
  background: var(--green-light);
  color: var(--green-dark);
}

.svc--products .svc__body {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.svc--products .svc__kicker {
  background: var(--green-tint);
  color: var(--green-deep);
  border: 1px solid var(--green-light);
}

.svc--products .svc__shape {
  right: -40px;
  bottom: -90px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 32px solid var(--green-tint);
}

.svc--products:hover .svc__shape {
  transform: scale(1.1);
}

/* Mobile: icon and label share the top row, like the other cards */
@media (max-width: 759px) {
  .svc--products {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .svc--products .svc__body {
    display: contents;
  }

  .svc--products .svc__kicker {
    justify-self: end;
  }

  .svc--products .svc__body > :not(.svc__kicker),
  .svc--products .svc__link {
    grid-column: 1 / -1;
  }

  .svc--products .svc__body h3 {
    margin-top: 8px;
  }
}

@media (min-width: 760px) {
  .svc--products {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .svc--products .svc__body {
    flex: 1;
  }

  .svc--products .svc__link {
    margin: 0 24px 0 0;
    align-self: center;
  }
}

/* ---------- Services catalogue ---------- */
.catalog {
  overflow: hidden;
  isolation: isolate;
}

.catalog__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(600px circle at 85% 15%, rgba(124, 92, 252, 0.14), transparent 60%),
    radial-gradient(700px circle at 5% 85%, rgba(41, 182, 115, 0.14), transparent 60%);
}

.catalog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: 20px 20px 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.catalog__foot p {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 559px) {
  .catalog__foot {
    padding: 20px;
  }

  .catalog__foot .btn {
    width: 100%;
  }
}

.catalog__groups {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.catalog__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog__stack > .catalog__group:last-child {
  flex: 1;
}

@media (min-width: 960px) {
  .catalog__groups {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .catalog__stack {
    gap: 20px;
  }
}

.catalog__group {
  padding: 8px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.catalog__head span {
  color: var(--green);
}

.catalog__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
}

.srv {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  transition: background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.srv:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 479px) {
  .srv {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding-inline: 12px;
  }

  .srv__arrow {
    display: none;
  }
}

.srv__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--green);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.5s var(--ease-out);
}

.srv__icon .icon {
  width: 20px;
  height: 20px;
}

.srv:hover .srv__icon {
  background: var(--green);
  color: var(--ink);
  transform: rotate(-6deg);
}

.srv__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.srv__text strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.srv__text > span {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.srv__arrow {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.4s var(--ease-out), color 0.3s ease;
}

.srv:hover .srv__arrow {
  color: var(--green);
  transform: translate(3px, -3px);
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
}

.faq__inner {
  display: grid;
  gap: 32px;
}

.faq__inner .section-head {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .faq__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: start;
  }

  .faq__inner .section-head {
    position: sticky;
    top: calc(var(--header-h) + 48px);
  }
}

.faq__list {
  border-top: 1px solid var(--border);
}

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

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  -webkit-tap-highlight-color: transparent;
}

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

.faq-item__icon {
  position: relative;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.5s var(--ease-out);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon {
  background: var(--green);
  border-color: var(--green);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: rotate(0deg);
}

.faq-item summary:hover .faq-item__icon {
  border-color: var(--ink);
}

.faq-item__body {
  overflow: hidden;
}

.faq-item__body p {
  margin-top: -6px;
  padding: 0 56px 22px 0;
  color: var(--muted);
  max-width: 62ch;
}

@media (max-width: 559px) {
  .faq-item__body p {
    padding-right: 0;
  }
}

/* ---------- CTA ---------- */
.cta {
  padding-block: var(--section);
}

.cta__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 32px;
  padding: clamp(32px, 7vw, 88px);
  border-radius: var(--radius-xl);
  background: var(--green);
  color: var(--ink);
}

@media (min-width: 960px) {
  .cta__card {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
  }
}

.cta__title {
  font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}

.cta__text {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: rgba(16, 24, 23, 0.78);
  max-width: 46ch;
}

.cta__actions {
  display: grid;
  gap: 14px;
  justify-items: stretch;
}

@media (min-width: 960px) {
  .cta__actions {
    justify-items: end;
  }
}

.cta__actions .btn {
  width: 100%;
}

@media (min-width: 960px) {
  .cta__actions .btn {
    width: auto;
  }
}

.copy-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px dashed rgba(16, 24, 23, 0.35);
  font-weight: 700;
  font-size: 15px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.copy-mail:hover {
  background: rgba(16, 24, 23, 0.06);
  border-color: var(--ink);
}

.copy-mail .icon {
  width: 18px;
  height: 18px;
}

.copy-mail .icon--check {
  display: none;
}

.copy-mail.is-copied .icon--copy {
  display: none;
}

.copy-mail.is-copied .icon--check {
  display: block;
}

.cta__shape-1 {
  position: absolute;
  z-index: -1;
  width: clamp(240px, 36vw, 440px);
  aspect-ratio: 1;
  right: -8%;
  top: -30%;
  border-radius: 50%;
  border: clamp(36px, 5vw, 64px) solid rgba(255, 255, 255, 0.16);
  transition: transform 1.2s var(--ease-out);
}

.cta__shape-2 {
  position: absolute;
  z-index: -1;
  width: clamp(70px, 9vw, 110px);
  height: clamp(150px, 20vw, 240px);
  right: 30%;
  bottom: -60px;
  border-radius: 999px;
  background: rgba(22, 138, 84, 0.45);
}

@media (max-width: 959px) {
  .cta__shape-2 {
    display: none;
  }
}

.cta__card:hover .cta__shape-1 {
  transform: rotate(25deg) scale(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.footer__top {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
  }
}

.footer__brand {
  display: grid;
  gap: 20px;
  align-content: start;
  max-width: 340px;
}

.footer__brand img {
  height: 32px;
  width: auto;
}

.footer__brand p {
  font-size: 15px;
}

.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  transition: color 0.2s ease;
}

.footer__mail:hover {
  color: var(--green);
}

.footer__mail .icon {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.footer__cols {
  display: contents;
}

@media (max-width: 899px) {
  .footer__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .footer__col--office {
    grid-column: 1 / -1;
  }
}

.footer__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__col a,
.footer__col li {
  font-size: 15px;
}

.footer__col a {
  position: relative;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--green);
}

.footer__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom a:hover {
  color: var(--green);
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-to-top .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(8, 28, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(8, 28, 24, 0.3);
  transform: translateY(calc(100% + 32px));
  transition: transform 0.6s var(--ease-out);
}

.sticky-cta.is-visible {
  transform: none;
}

.sticky-cta .btn {
  flex: 1;
  min-height: 48px;
}

.sticky-cta__mail {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.sticky-cta__mail .icon {
  width: 20px;
  height: 20px;
}

@media (min-width: 960px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.5s var(--ease-out);
}

.toast .icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 960px) {
  .toast {
    bottom: 32px;
  }
}

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="left"] {
  transform: translateX(-32px);
}

.js [data-reveal="right"] {
  transform: translateX(32px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Hero intro */
.js .hero__title .line > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .is-loaded .hero__title .line > span {
  transform: none;
}

.js .is-loaded .hero__title em svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s var(--ease-out) 0.9s;
}

.js [data-intro] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.js .is-loaded [data-intro] {
  opacity: 1;
  transform: none;
}

/* Mark assembly */
.js .hv-mark .m-stem {
  transform: translateY(-60%);
  opacity: 0;
}

.js .hv-mark .m-dot {
  transform: scale(0);
  opacity: 0;
}

.js .hv-mark .m-k {
  transform: translateX(40%);
  opacity: 0;
}

.hv-mark .m-stem,
.hv-mark .m-dot,
.hv-mark .m-k {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.1s var(--ease-out), opacity 0.6s ease;
}

.js .is-loaded .hv-mark .m-stem {
  transform: none;
  opacity: 1;
  transition-delay: 0.35s;
}

.js .is-loaded .hv-mark .m-dot {
  transform: none;
  opacity: 1;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s, opacity 0.4s ease 0.75s;
}

.js .is-loaded .hv-mark .m-k {
  transform: none;
  opacity: 1;
  transition-delay: 0.5s;
}

.js .hv-arc,
.js .hv-block,
.js .hv-square,
.js .hv-ring {
  opacity: 0;
}

.js .is-loaded .hv-arc,
.js .is-loaded .hv-block,
.js .is-loaded .hv-square,
.js .is-loaded .hv-ring {
  opacity: 1;
  transition: opacity 1s ease var(--d, 0.6s);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 96px));
  padding-bottom: clamp(48px, 7vw, 80px);
  overflow: hidden;
  isolation: isolate;
}

.legal-hero .hero__grid-bg {
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 0%, #000 10%, transparent 70%);
}

.legal-hero__inner {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.legal-hero__meta {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.legal-hero__shape {
  position: absolute;
  z-index: -1;
  right: -60px;
  top: 40px;
  width: clamp(180px, 30vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(28px, 4vw, 52px) solid var(--green);
  opacity: 0.18;
}

.legal {
  padding-block: clamp(48px, 8vw, 96px);
}

.legal__layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .legal__layout {
    grid-template-columns: 260px 1fr;
    gap: 72px;
    align-items: start;
  }
}

.legal__toc {
  display: none;
}

@media (min-width: 960px) {
  .legal__toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}

.legal__toc h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal__toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--border);
}

.legal__toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal__toc a:hover,
.legal__toc a.is-active {
  color: var(--ink);
  border-left-color: var(--green);
}

.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2.2em;
  padding-top: 0.2em;
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 1.6em;
}

.prose p,
.prose li {
  color: #2d3a36;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 0.4em;
}

.prose li::marker {
  color: var(--green-deep);
}

.prose a {
  color: var(--green-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--green-dark);
}

.prose strong {
  color: var(--ink);
}

.prose .callout {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--green-tint);
  border: 1px solid var(--green-light);
}

.prose .callout p {
  color: var(--ink);
}

.prose .contact-card {
  display: grid;
  gap: 4px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
}

.prose .contact-card p {
  margin: 0;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) var(--gutter) 60px;
}

.notfound__inner {
  display: grid;
  gap: 20px;
  justify-items: center;
  max-width: 520px;
}

.notfound__code {
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--green);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .marquee__track {
    animation: none;
  }
}
