/* 00-base: tokens, reset, shared primitives, keyframes, state helpers. */
:root {
  --bg: #F6F6F3;
  --ink: #0A0A0A;
  --cyan: #50E3F0;
  --teal: #0B7F8A;
  /* Teal for text on light surfaces: 4.9:1 on --bg, 4.7:1 on --soft (--teal is 4.4:1 and 4.1:1). */
  --teal-text: #09767F;
  --white: #FFFFFF;
  --soft: #EFEFEA;
  --line: #E7E7E2;
  --line-2: #D6D6D0;
  --grey-1: #3A3A3A;
  --grey-2: #4A4A4A;
  --grey-3: #5F5F5F;
  --grey-4: #6B6B6B;
  --grey-5: #8A8A8A;
  --grey-6: #BDBDBD;
  --dark: #161616;
  --dark-line: #262626;
  --red: #FF6B4A;
  --yellow: #FFD23F;
  --green: #9BF6A8;
  --sand: #E9E4DA;
  --cyan-soft: #E6FAFC;
  --font: Manrope, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --out: cubic-bezier(.22, 1, .36, 1);
  /* Append to a component's own transition list so data-reveal keeps working. */
  --rv-t: opacity .9s var(--ease), translate .9s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(a) { color: var(--ink); text-decoration: none; }
:where(a):hover { color: var(--teal-text); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 96px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; color: var(--cyan); }

/* Shared primitives: also used by sections 60-99. */
.wrap {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.label {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-text);
}
.h-xl {
  margin: 0;
  font-size: clamp(34px, 6vw, 96px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  overflow-wrap: break-word;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 18px 28px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .3s var(--ease);
}
.btn--cyan { background: var(--cyan); color: var(--ink); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn:hover, .btn:focus-visible { color: var(--ink); transform: scale(1.04); }
.btn--ink:hover, .btn--ink:focus-visible { color: var(--cyan); }
.btn--tilt-l:hover, .btn--tilt-l:focus-visible { transform: rotate(-2deg) scale(1.04); }
.btn--tilt-r:hover, .btn--tilt-r:focus-visible { transform: rotate(2deg) scale(1.04); }

/* Keyframes, verbatim from the design. */
@keyframes mooreMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes mooreWord{from{transform:translateY(60%) rotate(4deg);opacity:0}to{transform:none;opacity:1}}
@keyframes mooreSpin{to{transform:rotate(360deg)}}
@keyframes stepDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes stepBurst{0%{opacity:0;transform:translate(0,0) scale(.3) rotate(0)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1) rotate(var(--rot))}}
@keyframes stepFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes stepFlash{0%{opacity:0;transform:scale(.4)}25%{opacity:.95}100%{opacity:0;transform:scale(1.4)}}
@keyframes svcDraw{0%{stroke-dashoffset:1;opacity:1}40%,85%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}
@keyframes svcPop{0%,15%{transform:scale(0);opacity:0}30%,85%{transform:scale(1);opacity:1}100%{transform:scale(.6);opacity:0}}
@keyframes svcGrow{0%,10%{transform:scaleY(0)}35%,85%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}
@keyframes svcDrop{0%,10%{transform:translateY(-34px);opacity:0}30%,85%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:0}}
@keyframes svcCursor{0%,20%{transform:translate(30px,26px)}50%,100%{transform:translate(0,0)}}
@keyframes svcClick{0%,48%{transform:scale(1)}54%{transform:scale(.88)}60%,100%{transform:scale(1)}}
@keyframes svcFeed{0%,25%{transform:translateY(0)}45%,70%{transform:translateY(-30px)}90%,100%{transform:translateY(0)}}
@keyframes svcType{0%,8%{transform:scaleX(0)}40%,85%{transform:scaleX(1)}100%{transform:scaleX(1);opacity:0}}
@keyframes ddIn{from{opacity:0;transform:translateY(-10px) scale(.96)}to{opacity:1;transform:none}}
@keyframes ddUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes gaRing{0%{transform:translate(-50%,-50%) scale(.2);opacity:.9}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
@keyframes gaChip{0%,100%{transform:translateY(0) rotate(var(--r))}50%{transform:translateY(-14px) rotate(var(--r))}}
@keyframes gaDash{to{stroke-dashoffset:-40}}
@keyframes serpIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes serpAdUp{0%{transform:translateY(118px)}100%{transform:translateY(0)}}
@keyframes serpCursor{0%{transform:translate(220px,160px);opacity:0}15%{opacity:1}60%,100%{transform:translate(0,0);opacity:1}}
@keyframes serpClick{0%,100%{transform:scale(1)}50%{transform:scale(.97)}}
@keyframes serpToast{0%{opacity:0;transform:translateY(10px) scale(.8)}100%{opacity:1;transform:none}}
@keyframes serpRipple{0%{transform:translate(-50%,-50%) scale(0);opacity:.7}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
@keyframes stepIn{from{opacity:0;transform:translateY(8px) scale(.86)}to{opacity:1;transform:none}}
@keyframes stepTyping{0%{opacity:0}15%,80%{opacity:1}100%{opacity:0}}
@keyframes stepArrow{from{opacity:0;transform:translate(40px,-40px)}to{opacity:1;transform:none}}
@keyframes stepGrowX{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes stepGrowX2{from{transform:scaleX(1)}to{transform:scaleX(2.9)}}
@keyframes stepPlay{from{transform:translateX(0)}to{transform:translateX(156px)}}
@keyframes stepSlide{from{transform:translateX(0)}to{transform:translateX(76px)}}
@keyframes stepGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes stepOrbit{to{transform:rotate(360deg)}}
@keyframes teamImg{from{opacity:0;transform:scale(1.08)}to{opacity:1;transform:none}}
@keyframes teamBar{from{width:0}to{width:100%}}
@keyframes chipFloat{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-8px) rotate(var(--r,0deg))}}
@keyframes feedScroll{0%,15%{transform:translateY(0)}50%,65%{transform:translateY(-38%)}100%{transform:translateY(0)}}
@keyframes pipIn{from{transform:scale(0) rotate(-30deg);opacity:0}to{transform:none;opacity:1}}
@keyframes icoWiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}
@keyframes icoFly{0%,100%{transform:translate(0,0)}50%{transform:translate(3px,-3px)}}
@keyframes gaIn{from{opacity:0;transform:translateX(-16px)}to{opacity:1;transform:none}}
@keyframes codeBounce{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-10px) rotate(-2deg)}60%{transform:translateY(0) rotate(1deg)}}
@keyframes codeGlow{0%{box-shadow:0 0 0 0 rgba(80,227,240,.7)}100%{box-shadow:0 0 0 18px rgba(80,227,240,0)}}
@keyframes codeSpin{to{transform:rotate(360deg)}}
@keyframes mooreMarqueeR{from{transform:translateX(-50%)}to{transform:translateX(0)}}
@keyframes icoSpin{to{transform:rotate(360deg)}}
@keyframes icoPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.4)}}
@keyframes icoRing{0%{transform:scale(.6);opacity:1}100%{transform:scale(1.5);opacity:0}}
@keyframes icoBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes icoBar{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
@keyframes icoClick{0%,60%,100%{transform:translate(0,0)}30%{transform:translate(-4px,-4px)}}
@keyframes icoBlink{0%,100%{opacity:1}50%{opacity:.2}}
@keyframes moorePop{from{transform:translateY(30%);opacity:0}to{transform:none;opacity:1}}
@keyframes mooreFill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes mooreNum{from{transform:translateY(40%) rotate(-6deg);opacity:0}to{transform:none;opacity:1}}
@keyframes mooreText{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

/* State helpers. <html> gets .js inline before paint; inactive states hide only under .js. */
html:not(.js) .js-only { display: none !important; }
.js .nojs-only { display: none !important; }

/* Scroll reveal contract: without JS every data-reveal element is visible.
   With JS it waits hidden until site.js adds .is-in on entering the viewport. */
[data-reveal] { transition: var(--rv-t); }
.js [data-reveal]:not(.is-in) { opacity: 0; translate: 0 48px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal]:not(.is-in) { opacity: 1; translate: none; }
  .marquee-band__track { animation: none !important; }
}
/* 10-header: pill bar, packages dropdown, language pill, CTA, burger and mobile menu. */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 clamp(12px, 3vw, 32px);
}
.site-header__bar {
  max-width: var(--max);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 10px 0 28px;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 26px; width: auto; }

/* Desktop navigation */
.site-nav__list {
  display: flex;
  gap: 2px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--grey-1);
  transition: background .3s, color .3s;
}
.site-nav__link:hover, .site-nav__link:focus-visible { background: var(--line); color: var(--ink); }
.site-nav__link.is-on, .site-nav__link[aria-current] { background: var(--cyan); color: var(--ink); }
.site-nav__caret { font-size: 10px; transition: transform .3s; }
.site-nav__link[aria-expanded="true"] .site-nav__caret,
.is-open > .site-nav__link .site-nav__caret { transform: rotate(180deg); }

/* Packages dropdown */
.pkg-dd {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  padding-top: 14px;
  transform: translateX(-50%);
}
.pkg-dd__panel {
  width: min(620px, 92vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10, 10, 10, .14);
  transform-origin: 50% 0;
  animation: ddIn .45s var(--out) both;
}
.pkg-dd__group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--bg);
  color: var(--ink);
  animation: ddUp .5s var(--out) both;
}
.pkg-dd__group--ads { background: var(--cyan-soft); }
.pkg-dd__head { display: flex; align-items: center; gap: 12px; }
.pkg-dd__ico {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  animation: mooreSpin 8s linear infinite;
}
.pkg-dd__group--ads .pkg-dd__ico { background: var(--ink); color: var(--cyan); animation: icoPulse 1.6s ease-in-out infinite; }
.pkg-dd__titles { display: flex; flex-direction: column; gap: 2px; }
.pkg-dd__title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.pkg-dd__from { font-size: 13px; font-weight: 600; opacity: .7; }
.pkg-dd__items { display: flex; flex-direction: column; gap: 4px; }
.pkg-dd__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition: background .25s, color .25s, transform .35s var(--spring);
  animation: ddUp .45s var(--out) both;
}
.pkg-dd__item:hover, .pkg-dd__item:focus-visible { background: var(--cyan); color: var(--ink); transform: translateX(6px); }
.pkg-dd__price { font-size: 13px; font-weight: 600; opacity: .75; white-space: nowrap; }
.pkg-dd__all {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pkg-dd__all:hover, .pkg-dd__all:focus-visible { color: var(--teal-text); }

/* Actions: language pill, CTA, burger */
.site-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-pill { display: flex; padding: 3px; background: var(--soft); border-radius: 999px; }
.lang-pill__opt {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink);
  transition: background .25s, color .25s;
}
a.lang-pill__opt:hover, a.lang-pill__opt:focus-visible { background: var(--line); color: var(--ink); }
.lang-pill__opt.is-on { background: var(--ink); color: var(--white); }
.lang-pill--lg .lang-pill__opt { padding: 9px 14px; font-size: 13px; }

.btn-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .3s;
}
.btn-cta:hover, .btn-cta:focus-visible { color: var(--ink); transform: scale(1.04); }
.btn-cta__short { display: none; }
.btn-cta__arrow {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-size: 15px;
}

.site-burger {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
}
.site-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s; }
.site-burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mobile menu */
.m-menu {
  max-width: var(--max);
  max-height: calc(100vh - 110px);
  margin: 8px auto 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.m-menu__lang { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 12px; }
.m-menu__lang-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-3); }
.m-menu__item { display: flex; flex-direction: column; gap: 4px; }
.m-menu__link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--grey-1);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-align: left;
}
.m-menu__link:hover, .m-menu__link:focus-visible { background: var(--soft); color: var(--ink); }
.m-menu__link.is-on, .m-menu__link[aria-current] { background: var(--cyan); color: var(--ink); }
.m-menu__arrow { color: var(--teal); transform: rotate(-90deg); transition: transform .3s; }
.m-menu__link.is-open .m-menu__arrow,
.m-menu__link[aria-expanded="true"] .m-menu__arrow { transform: none; }
.m-menu__groups { display: flex; flex-direction: column; gap: 6px; padding: 0 6px 8px; }
.m-menu__group { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 18px; background: var(--bg); color: var(--ink); }
.m-menu__group--ads { background: var(--cyan-soft); }
.m-menu__group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.m-menu__group-head a { font-size: 16px; font-weight: 800; color: var(--ink); }
.m-menu__group-head span { font-size: 12px; font-weight: 600; opacity: .7; }
.m-menu__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-menu__chips a {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  transition: background .25s;
}
.m-menu__chips a:hover, .m-menu__chips a:focus-visible { background: var(--cyan); color: var(--ink); }

@media (min-width: 1000px) {
  .m-menu { display: none !important; }
}
@media (max-width: 999px) {
  .site-nav { display: none; }
  .site-burger { display: flex; }
  /* Without JS the burger cannot open the menu; the footer nav carries the links instead. */
  html:not(.js) .site-burger { display: none; }
}
@media (max-width: 519px) {
  .site-header__bar { gap: 10px; padding-left: 20px; }
  .site-header__bar > .site-header__actions > .lang-pill { display: none; }
  .btn-cta__long { display: none; }
  .btn-cta__short { display: inline; }
}
/* 20-hero: video background, kicker, title with the editing word, code card and client marquee. */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px var(--pad) 0;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .45) 0%, rgba(10, 10, 10, .35) 40%, rgba(10, 10, 10, .75) 100%);
}
.hero__blob {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 227, 240, .55), rgba(80, 227, 240, 0) 65%);
  transform: translate(70vw, 40vh);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 32px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(10, 10, 10, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__kicker-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--cyan); }

.hero__title {
  margin: 0;
  font-size: clamp(34px, 9.6vw, 140px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 800;
  overflow-wrap: break-word;
}
.hero__line { display: block; }
.hero__line--word { min-height: calc(.92em + .2em); padding: .12em 0 .08em; }

/* Editing word: data-phase (type, erase, select, fill, done) and data-word (0-3) come from site.js. */
.wfx { position: relative; display: inline-block; vertical-align: top; transform-origin: left bottom; transition: transform .6s var(--spring); }
.wfx__fill {
  position: absolute;
  inset: 0;
  border-radius: .12em;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.65, 0, .2, 1), box-shadow .4s;
}
.wfx__text {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: .4em;
  padding: 0 .14em;
  color: var(--white);
  transition: color .3s, background .3s;
}
/* A zero-width space keeps the line box steady while the word is empty. */
.wfx__text::before { content: "\200b"; }
.wfx[data-phase="fill"] .wfx__fill, .wfx[data-phase="done"] .wfx__fill { transform: scaleX(1); }
.wfx[data-phase="fill"] .wfx__text, .wfx[data-phase="done"] .wfx__text { color: var(--ink); }
.wfx[data-phase="select"] .wfx__text { background: rgba(11, 127, 138, .18); }
.wfx[data-phase="type"] .wfx__text::after,
.wfx[data-phase="erase"] .wfx__text::after,
.wfx[data-phase="select"] .wfx__text::after {
  content: "";
  width: .05em;
  height: .78em;
  margin-left: .04em;
  background: var(--teal);
}
.wfx[data-phase="type"] .wfx__text::after, .wfx[data-phase="erase"] .wfx__text::after { background: var(--cyan); }
.wfx[data-phase="select"] .wfx__text::after { animation: icoBlink 1s steps(1) infinite; }
.wfx[data-word="1"]:not([data-phase="fill"]):not([data-phase="done"]) { transform: scale(.6); }
.wfx[data-word="2"][data-phase="fill"], .wfx[data-word="2"][data-phase="done"] { transform: rotate(-4deg); }
.wfx[data-word="2"][data-phase="fill"] .wfx__fill, .wfx[data-word="2"][data-phase="done"] .wfx__fill { box-shadow: .05em .06em 0 var(--ink); }
.wfx[data-word="3"]:not([data-phase="fill"]):not([data-phase="done"]) .wfx__text { color: transparent; -webkit-text-stroke: 2px var(--white); }

.hero__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin: 72px 0 48px;
}
.hero__copy { flex: 1 1 360px; max-width: 520px; display: flex; flex-direction: column; gap: 24px; }
.hero__sub { max-width: 480px; margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__code { flex: 0 1 620px; width: 100%; min-width: 0; }

/* Code card */
.code {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(10, 10, 10, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--white);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.code__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.code__dots { display: flex; gap: 6px; flex: none; }
.code__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.code__dots span:nth-child(2) { background: var(--yellow); }
.code__dots span:nth-child(3) { background: var(--green); }
.code__tabs { display: flex; gap: 4px; min-width: 0; font-family: var(--mono); font-size: 12px; }
.code__tab { padding: 4px 10px; border-radius: 6px; color: var(--grey-5); white-space: nowrap; }
.code__tab.is-on { background: rgba(255, 255, 255, .1); color: var(--white); }
.code__repo { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--grey-5); white-space: nowrap; }

.code__body { display: flex; flex-wrap: wrap; }
.code__lines {
  flex: 1.35 1 300px;
  min-width: 0;
  min-height: 248px;
  padding: 14px 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 22px;
}
.code__line { display: flex; gap: 14px; padding: 0 14px; border-left: 2px solid transparent; transition: background .2s; }
.code__line.is-on { background: rgba(80, 227, 240, .09); border-left-color: var(--cyan); }
.code__ln { width: 16px; flex: none; text-align: right; color: var(--grey-2); }
.code__src { white-space: pre; }
.code__caret { display: inline-block; width: 2px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--cyan); animation: icoBlink 1s steps(1) infinite; }
.c-k { color: var(--red); }
.c-t { color: var(--cyan); }
.c-a { color: var(--yellow); }
.c-s { color: var(--green); }
.c-p { color: var(--grey-5); }
.c-w { color: #F4F4F1; }

.code__preview {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.code__url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--grey-6);
}
.code__url-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--grey-5); transition: background .3s; }
.code__url-dot.is-live { background: var(--green); }
.code__stage { flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 4px; }
.code__box {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  overflow: hidden;
  border: 2px dashed rgba(255, 255, 255, .3);
  border-radius: 4px;
  background: transparent;
  color: var(--white);
  transition: background .5s, border-color .5s, border-radius .6s var(--spring), color .4s;
}
.code__box.is-bg { background: var(--cyan); border: 2px solid var(--cyan); color: var(--ink); }
.code__box.is-r { border-radius: 28px; }
.code__box.is-m { animation: codeBounce 1.4s ease-in-out infinite; }
.code__box.is-m.is-live { animation: codeBounce 1.4s ease-in-out infinite, codeGlow 1.2s ease-out infinite; }
.code__box-txt { white-space: nowrap; font-family: var(--font); font-size: 26px; font-weight: 800; letter-spacing: -.04em; line-height: 1; text-align: center; }
.code__box-txt.is-empty { opacity: .5; }

.code__status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 9px 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--grey-6);
}
.code__sdot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--green); }
.code__sdot--type { background: var(--yellow); }
.code__spin { width: 10px; height: 10px; flex: none; border: 2px solid var(--cyan); border-top-color: transparent; border-radius: 50%; animation: codeSpin .7s linear infinite; }
.code__prog { position: relative; flex: 1; max-width: 160px; height: 4px; overflow: hidden; border-radius: 4px; background: var(--dark-line); }
.code__prog-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--cyan); transition: width .1s linear; }

/* Client marquee */
.marquee-band {
  position: relative;
  z-index: 1;
  margin: 0 calc(-1 * var(--pad)) 40px;
  overflow: hidden;
  background: var(--cyan);
  color: var(--ink);
  transform: rotate(-1.5deg);
}
.marquee-band__track { display: flex; width: max-content; animation: mooreMarquee 28s linear infinite; }
.marquee-band__item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 14px;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee-band__star { font-size: .7em; }

@media (max-width: 999px) {
  .hero { padding-top: 120px; }
  .hero__row { margin-top: 48px; }
}
@media (max-width: 519px) {
  .hero__kicker { font-size: 11px; padding: 7px 12px; white-space: normal; }
  .code__preview { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .code__lines { min-height: 0; font-size: 12px; }
  .code__box-txt { font-size: 22px; }
}
/* 30-about-process: about copy with stat tiles and image, then the four-step process card. */
.about { padding-top: var(--sec); padding-bottom: var(--sec); }
.about__title { margin: 0 0 40px; }
.about__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.about__copy { flex: 2 1 520px; min-width: 0; }
.about__lead { margin: 0 0 24px; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.about__text { max-width: 640px; margin: 0; font-size: 18px; line-height: 1.7; color: var(--grey-2); }
.about__stats { flex: 1 1 300px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat {
  aspect-ratio: 1 / 1.2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 16px;
  border-radius: 24px;
  background: var(--cyan);
  color: var(--ink);
  transition: transform .4s var(--spring), var(--rv-t);
}
.stat:hover { transform: rotate(-4deg) translateY(-6px); }
.stat--1 { background: var(--white); }
.stat--2 { background: var(--ink); color: var(--white); }
.stat__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stat__num { font-size: clamp(32px, 3.4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.about__img { margin: clamp(48px, 6vw, 80px) 0 0; overflow: hidden; border-radius: 32px; }
.about__img img { width: 100%; height: auto; }

/* Process */
.process { padding-bottom: var(--sec); }
.process__card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: var(--white);
}
.process__stage {
  flex: 1 1 460px;
  min-width: 0;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(16px, 2vw, 24px);
  background: var(--cyan);
  color: var(--ink);
}
.process__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.process__count { padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--cyan); letter-spacing: .06em; }
.process__art { position: relative; flex: 1; min-height: 230px; }
.process__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.process__slide.is-on { opacity: 1; }
.process__num {
  position: absolute;
  top: -12px;
  right: 0;
  font-size: clamp(130px, 15vw, 220px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  opacity: .9;
}
.process__visual { position: absolute; left: 4px; bottom: 4px; width: min(68%, 330px); aspect-ratio: 1; }
.process__visual svg { width: 100%; height: 100%; display: block; }
.process__text {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 10, 10, .12);
}
.process__copy + .process__copy { margin-top: 20px; }
.js .process__copy:not(.is-on) { display: none; }
.js .process__copy + .process__copy { margin-top: 0; }
.js .process__copy.is-on { animation: mooreText .7s var(--ease); }
.process__h { margin: 0 0 10px; font-size: clamp(28px, 2.8vw, 42px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.process__p { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 600; color: var(--grey-1); }
.process__dots { display: flex; gap: 6px; margin-top: 20px; }
.process__dots span { height: 6px; flex: 1; border-radius: 6px; background: var(--line); transition: flex .5s var(--ease), background .4s; }
.process__dots .is-done { background: var(--ink); }
.process__dots .is-on { flex: 3; background: var(--ink); }
html:not(.js) .process__dots { display: none; }

.process__list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; padding: clamp(12px, 1.5vw, 20px); }
.process__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px 24px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--grey-4);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .35s, color .35s;
}
.process__btn:hover, .process__btn:focus-visible { background: var(--soft); color: var(--ink); }
.process__btn.is-on, .process__btn[aria-pressed="true"] { background: var(--bg); color: var(--ink); }
.process__btn-row { display: flex; align-items: center; gap: 18px; }
.process__btn-n { font-size: 14px; font-weight: 800; color: #5A5A5A; transition: color .35s; }
.process__btn-t { flex: 1; font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.process__btn-arrow { font-size: 22px; color: var(--cyan); transform: rotate(-90deg); transition: transform .4s var(--ease); }
.process__btn.is-on .process__btn-n { color: var(--teal-text); }
.process__btn.is-on .process__btn-arrow { transform: none; color: var(--teal); }
.process__bar { display: block; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
/* site.js sets an inline width and --p on the active fill. */
.process__fill { display: block; width: 0; height: 100%; background: var(--cyan); }
html:not(.js) .process__btn.is-on .process__fill { width: 100%; }

@media (max-width: 519px) {
  .about__stats { gap: 8px; }
  .stat { padding: 16px 12px; border-radius: 20px; }
  .process__card { border-radius: 28px; }
  .process__stage { min-height: 460px; }
  .process__btn { padding: 18px 16px; }
}
/* 40-services: ten cards on a six-column grid, with span, height and colour-kind modifiers. */
.services { padding-bottom: var(--sec); }
.services__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.services__head .label { margin-bottom: 20px; }
.services__title { max-width: 1000px; margin: 0; }
.services__count { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 700; color: var(--grey-3); }
.services__star {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--teal);
  animation: mooreSpin 8s linear infinite;
}
.services__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 14px; }

.svc {
  --chip: rgba(255, 255, 255, .4);
  --dot-bg: var(--cyan);
  --dot-fg: var(--ink);
  position: relative;
  isolation: isolate;
  min-height: var(--h, 340px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: 32px;
  background: var(--dark);
  color: var(--white);
  transition: transform .5s var(--ease), var(--rv-t);
}
.svc--s2 { grid-column: span 2; }
.svc--s3 { grid-column: span 3; }
.svc--s4 { grid-column: span 4; }
.svc--s6 { grid-column: span 6; }
.svc--cyan { --chip: var(--ink); --dot-bg: var(--ink); --dot-fg: var(--cyan); background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.svc--white { --chip: var(--ink); background: var(--white); color: var(--ink); border-color: var(--line); }
/* The design renders the "dark" kind on white with a light chip. */
.svc--dark { --chip: var(--line-2); --dot-bg: var(--ink); --dot-fg: var(--white); background: var(--white); color: var(--ink); border-color: var(--line); }

.svc__media, .svc__shade, .svc__scene { z-index: -1; }
.svc__media { position: absolute; inset: 0; overflow: hidden; }
.svc__img, .svc__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .5s;
}
.svc__img + .svc__video { opacity: 0; }
.svc.is-playing .svc__video { opacity: 1; }
.svc__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, .85)); }
.svc__scene { position: absolute; top: 100px; right: 24px; width: min(42%, 150px); aspect-ratio: 4 / 3; pointer-events: none; }
.svc__scene--wide { width: min(28%, 240px); }
.svc__scene--glass {
  box-sizing: content-box;
  width: min(38%, 132px);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: rgba(10, 10, 10, .42);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.svc__scene svg { width: 100%; height: 100%; display: block; overflow: visible; }

.svc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 24px 24px 0; }
.svc__id { display: flex; align-items: center; gap: 12px; }
.svc__icon { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--chip); border-radius: 22px; }
.svc__icon svg { width: 40px; height: 40px; }
.svc__n { font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.svc__arrow {
  width: 52px;
  height: 52px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dot-bg);
  color: var(--dot-fg);
  font-size: 22px;
  font-weight: 800;
  transition: transform .5s var(--ease);
}
.svc__body { padding: 24px; }
.svc__name { margin: 0 0 10px; font-size: clamp(34px, 3.6vw, 56px); font-weight: 800; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.svc--s2 .svc__name { font-size: clamp(28px, 2.6vw, 38px); }
.svc__link { color: inherit; }
.svc__link:hover { color: inherit; }
.svc__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.svc__link:focus-visible { outline: none; }
.svc:has(.svc__link:focus-visible) { outline: 2px solid var(--teal); outline-offset: 3px; }
.svc__text { max-width: 440px; margin: 0; font-size: 15px; line-height: 1.5; font-weight: 600; opacity: .8; }
.svc__btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .3s var(--spring);
}
.svc__btn:hover, .svc__btn:focus-visible { color: var(--ink); transform: scale(1.04); }
.svc--cyan .svc__btn, .svc--cyan .svc__btn:hover { background: var(--ink); color: var(--white); }
.svc__btn-dot { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: var(--cyan); }
.svc--cyan .svc__btn-dot { background: var(--cyan); color: var(--ink); }

.svc:hover { transform: translateY(-6px); }
.svc:hover .svc__arrow { transform: rotate(45deg); }
.svc:hover .svc__img, .svc:hover .svc__video { transform: scale(1.08); }

@media (max-width: 999px) {
  .services__grid > .svc { grid-column: span 6; min-height: 300px; }
  .svc--s2 .svc__name, .svc__name { font-size: clamp(28px, 2.6vw, 38px); }
}
@media (max-width: 519px) {
  .svc__scene, .svc__scene--wide { width: min(34%, 118px); }
  .svc__scene--glass { width: min(30%, 100px); }
  .svc__top { padding: 20px 20px 0; }
  .svc__body { padding: 20px; }
  .svc__icon { width: 56px; height: 56px; border-radius: 18px; }
  .svc__arrow { width: 44px; height: 44px; }
}
/* 50-cases: case cards with photos or laptop and phone mock-ups, and tag chips. */
.cases { padding-bottom: var(--sec); }
.cases__head { margin-bottom: 40px; }
.cases__head .label { margin-bottom: 20px; }
.cases__title { max-width: 900px; margin: 0; }
.cases__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }

.case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  transition: transform .4s var(--spring), var(--rv-t);
}
.case:hover { transform: rotate(-1deg) scale(1.015); }
.case__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.case__img { width: 100%; height: 100%; object-fit: cover; }

/* Mock-ups: --cd and --cm crop the top of the desktop and phone screenshots. */
.mock { position: absolute; inset: 0; overflow: hidden; background: var(--sand); }
.mock__laptop { position: absolute; top: 9%; left: 7%; width: 72%; display: flex; flex-direction: column; align-items: center; }
.mock__lid { width: 100%; padding: 2.2% 2.2% 0; border-radius: 14px 14px 0 0; background: #1A1A1A; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.mock__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--white); }
.mock__screen img, .mock__pscreen img { position: absolute; left: 0; width: 100%; height: auto; }
.mock__screen img { top: calc(-1 * var(--cd, 0%)); }
.mock__pscreen img { top: calc(-1 * var(--cm, 0%)); }
.mock__base { position: relative; width: 100%; height: 0; padding-bottom: 7%; border-radius: 0 0 14px 14px; background: linear-gradient(#E4E4E1, #C9C9C5); }
.mock__base span { position: absolute; top: 50%; left: 50%; width: 3%; aspect-ratio: 1; border-radius: 50%; background: #B5B5B0; transform: translate(-50%, -50%); }
.mock__neck { width: 18%; height: 0; padding-bottom: 9%; background: linear-gradient(#CFCFCB, #B9B9B4); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.mock__foot { width: 26%; height: 0; padding-bottom: 1.4%; border-radius: 4px; background: #C4C4BF; }
.mock__phone { position: absolute; right: 6%; bottom: 8%; width: 20%; padding: .8%; border-radius: 16% / 7.6%; background: #111; box-shadow: 0 30px 50px rgba(0, 0, 0, .3); }
.mock__pscreen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 14.5% / 6.7%; background: var(--white); }
.mock__notch { position: absolute; top: 1.8%; left: 50%; width: 30%; height: 3%; border-radius: 999px; background: #000; transform: translateX(-50%); }

/* Live sites (site.js): a desktop- or phone-sized frame scaled onto the screen, faded in over the screenshot once loaded. */
.mock__live { position: absolute; top: 0; left: 0; border: 0; background: var(--white); transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.mock__live.is-live { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .mock__live { transition: none; } }

.case__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; }
.case__name { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.case__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--grey-3); }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags li { padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 800; }
/* ==========================================================================
   60 Packages: track switch, tier tabs, tier card, metric tiles, compare
   table, add-on builder and combination summary. Shared bits used again by
   the Google Ads section (track, tabs, tier__*, pill-cta, badge-star) live here.
   ========================================================================== */

.pkgs {
  scroll-margin-top: 96px;
  padding: 0 clamp(12px, 2vw, 24px);
}

.pkgs__box {
  max-width: 1488px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 40px;
  padding: clamp(48px, 7vw, 100px) clamp(20px, 4vw, 48px);
}

/* Track switch: Social & Content / Google Ads ----------------------------- */

.track {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.track__inner {
  display: flex;
  gap: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}

.track--light .track__inner {
  background: var(--white);
  border-color: #C9EEF2;
  box-shadow: 0 10px 30px rgba(11, 127, 138, .08);
}

.track__opt {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey-1);
  text-decoration: none;
  transition: background .3s, color .3s;
}

.track__opt:hover,
.track__opt:focus-visible { color: var(--ink); }

.track__opt.is-on {
  background: var(--cyan);
  color: var(--ink);
}

.track__from {
  font-size: 11px;
  font-weight: 700;
  opacity: .8;
  letter-spacing: 0;
  text-transform: none;
}

/* Section heading ----------------------------------------------------------- */

.pkgs__intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 56px;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.chip-label__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: icoBlink 1.4s ease-in-out infinite;
}

.h-lg {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.5vw, 84px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  text-wrap: balance;
}

.pkgs__sub {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-3);
}

/* Tier tabs with the sliding pill ------------------------------------------ */

.tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 14px;
}

.tabs--light {
  background: var(--white);
  border-color: #C9EEF2;
  box-shadow: 0 10px 30px rgba(11, 127, 138, .08);
}

.tabs__slide {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 3);
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .6s cubic-bezier(.65, 0, .2, 1);
}

/* Without the script the pill cannot follow a click; the selected tab carries it instead. */
html:not(.js) .tabs__slide { display: none; }
html:not(.js) .tabs__tab.is-on { background: var(--cyan); }

.tabs__tab {
  position: relative;
  z-index: 1;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  border-radius: 999px;
  padding: clamp(12px, 1.6vw, 20px) 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color .4s;
}

.tabs--light .tabs__tab { color: var(--grey-1); }
.tabs--light .tabs__tab.is-on,
.tabs--light .tabs__tab:hover { color: var(--ink); }

.tabs__tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -4px;
}

.tabs__name {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.tabs__price {
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  opacity: .75;
}

/* Tier: card with phone visual + metric tiles ----------------------------- */

.tier {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tier + .tier { margin-top: 14px; }

.js .tier:not(.is-on) { display: none; }
.js .tier + .tier { margin-top: 0; }

.tier__card {
  flex: 1 1 380px;
  position: relative;
  overflow: hidden;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 32px;
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 460px;
}

.tier__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 30px;
}

.tier__level {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.badge-star {
  flex: none;
  background: var(--ink);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 11px;
}

.tier__visual {
  position: relative;
  min-height: 230px;
}

.tier__head { animation: moorePop .7s cubic-bezier(.2, .8, .2, 1); }

.tier__name {
  margin: 0;
  font-size: clamp(46px, 7vw, 110px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
}

.tier__name--ga { font-size: clamp(48px, 6vw, 96px); }

.tier__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 0;
}

.tier__from {
  font-size: 14px;
  font-weight: 700;
}

.tier__amount {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -.05em;
}

.tier__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  max-width: 420px;
}

.pill-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.pill-cta:hover,
.pill-cta:focus-visible { transform: scale(1.04); }

.pill-cta__dot {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tier__metrics {
  flex: 1.4 1 480px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.metric {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 190px;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}

.metric:hover { transform: translateY(-6px) rotate(-1deg); }

.metric--hot {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.metric__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.metric__ico {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric--hot .metric__ico { background: var(--cyan); }

.metric__val {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.metric__num {
  display: inline-block;
  font-size: clamp(44px, 4.4vw, 64px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  animation: moorePop .6s cubic-bezier(.2, .8, .2, 1);
}

.metric__unit {
  font-size: 13px;
  font-weight: 700;
  opacity: .7;
}

.metric__label {
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

.metric__pips { min-height: 18px; }

/* Compare ------------------------------------------------------------------- */

.pkgs__cmp-row {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 24px;
  transition: background .25s;
}

.btn-dark:hover,
.btn-dark:focus-visible { background: #2A2A2A; }

/* Without the script the table is always shown and the toggle has nothing to do. */
html:not(.js) .pkgs__cmp-row { display: none; }
.js .cmp:not(.is-open) { display: none; }

.cmp {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--line);
  margin-bottom: 56px;
}

html:not(.js) .cmp { margin-top: 32px; }

.cmp__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}

.cmp__table thead tr { background: var(--bg); }

.cmp__table thead td,
.cmp__col { padding: 18px 20px; }

.cmp__table thead td { width: 26.8%; }

.cmp__col {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  transition: background .3s;
}

.cmp__col.is-on { background: var(--cyan); }

.cmp__table tbody tr { border-top: 1px solid var(--line); }

.cmp__table tbody th,
.cmp__table tbody td {
  padding: 16px 20px;
  vertical-align: top;
}

.cmp__table tbody th {
  font-size: 15px;
  font-weight: 800;
}

.cmp__table tbody td {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey-1);
  transition: background .3s;
}

.cmp__table tbody td.is-on { background: rgba(80, 227, 240, .12); }

/* Add-on builder + summary ------------------------------------------------ */

.combo {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
}

.combo__addons {
  flex: 2 1 520px;
  min-width: 0;
  background: var(--bg);
  border-radius: 32px;
  padding: clamp(24px, 3vw, 40px);
}

.combo__title {
  margin: 0 0 8px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.combo__sub {
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--grey-3);
}

.combo__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.addon {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  font: inherit;
  text-align: left;
  transition: background .25s, color .25s, border-color .25s, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.addon:hover,
.addon:focus-visible { transform: scale(1.05); }

.addon[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: rotate(-2deg);
}

.addon[aria-pressed="true"]:hover,
.addon[aria-pressed="true"]:focus-visible { transform: rotate(-2deg) scale(1.05); }

.addon:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.addon__mark {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  background: var(--soft);
  color: var(--ink);
}

.addon[aria-pressed="true"] .addon__mark {
  font-size: 0;
  background: var(--ink);
  color: var(--cyan);
}

.addon[aria-pressed="true"] .addon__mark::after {
  content: "✓";
  font-size: 16px;
}

.addon__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.addon__name {
  font-size: 15px;
  font-weight: 800;
}

.addon__unit {
  font-size: 12px;
  opacity: .7;
}

.summary {
  flex: 1 1 320px;
  position: sticky;
  top: 100px;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 32px;
  padding: 32px;
}

.summary__label {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.summary__base {
  background: var(--ink);
  color: var(--white);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.summary__small {
  display: block;
  font-size: 12px;
  color: #A3A3A3;
}

.summary__name {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.summary__price {
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.summary__chips {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  padding: 16px 0;
  min-height: 64px;
}

.summary__none {
  font-size: 14px;
  font-weight: 600;
  opacity: .65;
}

.summary__chips > :not(.summary__none) {
  font-size: 13px;
  font-weight: 800;
  background: var(--ink);
  color: var(--cyan);
  border-radius: 999px;
  padding: 8px 12px;
  animation: pipIn .4s cubic-bezier(.34, 1.56, .64, 1) both;
}

.summary__total { padding: 4px 0 22px; }

.summary__tl {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.summary__big {
  display: block;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.summary__pm {
  font-size: 18px;
  letter-spacing: 0;
}

.summary__note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.btn-block {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 18px;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .25s;
}

.btn-block:hover,
.btn-block:focus-visible { transform: scale(1.03); }

.pkgs__flex {
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--grey-4);
  text-align: center;
}

@media (max-width: 519px) {
  .track__opt { padding: 10px 14px; }
  .summary { padding: 24px; }
  .summary__big { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .tier__head,
  .metric__num,
  .chip-label__dot,
  .summary__chips > * { animation: none; }
}
/* ==========================================================================
   70 Google Ads: soft cyan box, ambient rings, live SERP demo, GA tiers
   Shares .track, .tabs, .tier__*, .chip-label, .h-lg, .pill-cta with 60.
   ========================================================================== */

.ads {
  padding: clamp(14px, 2vw, 24px) clamp(12px, 2vw, 24px) 0;
}

.ads__box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1488px;
  margin: 0 auto;
  background: var(--cyan-soft);
  border: 1px solid #C9EEF2;
  border-radius: 40px;
  padding: clamp(48px, 7vw, 100px) clamp(20px, 4vw, 48px);
}

/* Ambient layer ----------------------------------------------------------- */

.ads__ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.ads__ring {
  position: absolute;
  right: -4%;
  top: 6%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  animation: gaRing 6s cubic-bezier(.2, .6, .3, 1) infinite;
}

.ads__path {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  opacity: .5;
}

.ads__path path { animation: gaDash 1.6s linear infinite; }

.ads__chip {
  position: absolute;
  background: var(--white);
  border: 1px solid #C9EEF2;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(11, 127, 138, .14);
  opacity: .95;
  animation: gaChip 5s ease-in-out infinite;
}

.ads__chip--dark {
  background: var(--ink);
  color: var(--cyan);
  border-color: var(--ink);
}

/* Head: intro + SERP demo -------------------------------------------------- */

.ads__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
}

.ads__intro { max-width: 820px; }
.ads__intro .h-lg { margin-bottom: 18px; }

.ads__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--grey-1);
  max-width: 620px;
}

.ads__serp {
  flex: 1 1 380px;
  max-width: 480px;
  min-width: 0;
}

.serp {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  background: var(--white);
  border: 1px solid #C9EEF2;
  border-radius: 26px;
  padding: 14px;
  box-shadow: 0 20px 50px rgba(11, 127, 138, .14);
}

.serp__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F2FAFB;
  border: 1px solid #C9EEF2;
  border-radius: 999px;
  padding: 10px 14px;
}

.serp__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-weight: 800;
}

.serp__q {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
}

.serp__caret {
  display: inline-block;
  width: 2px;
  height: 16px;
  margin-left: 2px;
  vertical-align: -3px;
  background: var(--teal);
  animation: icoBlink 1s steps(2) infinite;
}

.serp__res,
.serp__rows {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Results and the waiting skeleton share one height, so the replay never shifts layout. */
.serp__res,
.serp__wait { min-height: 204px; }

.serp__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  animation: serpIn .5s var(--out) both;
}

.serp__row i {
  display: block;
  height: 7px;
  width: 88%;
  border-radius: 4px;
  background: #E6F4F6;
}

.serp__row i:first-child { background: #D9EEF1; }

.serp__row i:nth-child(2) {
  height: 10px;
  border-radius: 5px;
  background: #BFE3E8;
}

.serp__adwrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.serp__ad {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 16px 30px rgba(10, 10, 10, .22);
  animation:
    serpIn .5s var(--out) .2s both,
    serpAdUp .9s var(--out) 1.1s both,
    serpClick .3s ease 2.6s;
}

.serp__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--grey-6);
}

.serp__tag {
  background: var(--cyan);
  color: var(--ink);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
}

.serp__title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--cyan);
}

.serp__line {
  font-size: 13px;
  font-weight: 600;
  color: #D6D6D6;
}

.serp__ripple {
  position: absolute;
  left: 62%;
  top: 58%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(80, 227, 240, .45);
  pointer-events: none;
  animation: serpRipple .8s ease-out 2.6s both;
}

.serp__cursor {
  position: absolute;
  left: 58%;
  top: 34px;
  z-index: 3;
  pointer-events: none;
  animation: serpCursor 1.4s var(--out) 1.4s both;
}

.serp__toast {
  position: absolute;
  right: -6px;
  top: -18px;
  z-index: 4;
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(10, 10, 10, .18);
  animation: serpToast .5s var(--spring) 2.9s both;
}

.serp__wait {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: .5;
}

.serp__wait i {
  display: block;
  height: 64px;
  border-radius: 14px;
  background: #F2FAFB;
}

/* GA tiers ------------------------------------------------------------------ */

.ga-tier {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ga-tier + .ga-tier { margin-top: 14px; }

.js .ga-tier:not(.is-on) { display: none; }
.js .ga-tier + .ga-tier { margin-top: 0; }

.ga-tier__card {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 460px;
  background: var(--cyan);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 32px;
  padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 24px 50px rgba(11, 127, 138, .22);
}

.ga-tier__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}

.ga-tier__bars span {
  flex: 1 1 0;
  border-radius: 10px;
  background: var(--ink);
  transition: height .7s var(--spring), opacity .5s;
}

.ga-tier__setup {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

.ga-tier__list {
  flex: 1.4 1 480px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 1px solid #C9EEF2;
  border-radius: 32px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 50px rgba(11, 127, 138, .08);
}

.ga-tier__incl {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.ga-tier__list ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ga-tier__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F6FDFE;
  border: 1px solid #C9EEF2;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  animation: gaIn .5s ease forwards;
}

.ga-tier__check {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.ads__note {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-2);
  text-align: center;
}

/* Phone ----------------------------------------------------------------------- */

@media (max-width: 519px) {
  .ads__ring { width: 360px; height: 360px; }
  .ads__chip { display: none; }
  .serp__toast { right: 0; }
  .ga-tier__list li { padding: 14px; font-size: 15px; }
}

/* Reduced motion: show the end state, drop the loops ------------------------ */

@media (prefers-reduced-motion: reduce) {
  .ads__ring,
  .ads__path path,
  .ads__chip,
  .serp__caret,
  .serp__row,
  .serp__ad,
  .serp__ripple,
  .serp__cursor,
  .serp__toast { animation: none; }

  .serp__ripple { opacity: 0; }

  .ga-tier__list li { animation: none; opacity: 1; }
}
/* ==========================================================================
   80 Team: head, photo + white card stage, progress controls, thumb grid
   With JS every member shares one grid cell; only .is-on is visible.
   Without JS each member stacks as its own photo + card pair.
   ========================================================================== */

.team {
  padding-top: var(--sec);
  padding-bottom: var(--sec);
}

.team__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.team__head .label { margin-bottom: 20px; }
.team__title { max-width: 900px; }

.team__text {
  max-width: 420px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey-2);
}

/* Stage --------------------------------------------------------------------- */

.team__stage {
  --team-pad: clamp(28px, 3.4vw, 48px);
  display: grid;
  gap: 14px;
}

.team__card,
.team__controls { display: none; }

.member {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.member__photo {
  position: relative;
  flex: 1 1 340px;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 32px;
  background: var(--cyan);
}

.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.member__idx {
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.member__info {
  flex: 1.3 1 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: var(--team-pad);
}

.member__role {
  background: var(--cyan);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.member__name {
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .95;
}

.member__text {
  max-width: 560px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  font-weight: 600;
  color: var(--grey-1);
  text-wrap: pretty;
}

/* JS stage: one photo, one white card holding info + controls --------------- */

.js .team__stage {
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "photo info"
    "photo ctrl";
  column-gap: 14px;
  row-gap: 0;
}

.js .team__card {
  display: block;
  grid-area: 1 / 2 / 3 / 3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.js .member { display: contents; }

.js .member__photo {
  grid-area: photo;
  max-width: none;
  transition: opacity .5s var(--ease), visibility .5s;
}

.js .member__info {
  grid-area: info;
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  border-radius: 0;
  padding: var(--team-pad) var(--team-pad) 32px;
  transition: opacity .4s var(--ease), visibility .4s;
}

.js .member:not(.is-on) .member__photo,
.js .member:not(.is-on) .member__info {
  opacity: 0;
  visibility: hidden;
}

.js .member.is-on .member__photo img { animation: teamImg .8s ease; }
.js .member.is-on .member__info { animation: moorePop .6s var(--ease); }

.js .team__controls {
  grid-area: ctrl;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 var(--team-pad) var(--team-pad);
}

.team__track {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--soft);
}

.team__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: background .3s;
}

/* Hover or focus pauses the auto-advance; the bar greys out to show it. */
.team__stage.is-paused .team__bar { background: var(--grey-5); }

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

.team__arrows {
  display: flex;
  gap: 10px;
}

.team__prev,
.team__next {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  transition: background .3s, color .3s, transform .3s var(--spring);
}

.team__prev {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.team__prev:hover,
.team__prev:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.team__next {
  background: var(--ink);
  color: var(--cyan);
  border: 0;
}

.team__next:hover,
.team__next:focus-visible { transform: scale(1.06); }

.team__hint {
  font-size: 13px;
  font-weight: 700;
  color: var(--grey-3);
}

/* Thumbs ---------------------------------------------------------------------- */

.team__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr));
  gap: 12px;
  margin-top: 14px;
}

html:not(.js) .team__thumbs { display: none; }

.thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.thumb__img {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: var(--soft);
  outline: 3px solid transparent;
  outline-offset: 3px;
  transition: outline-color .3s;
}

.thumb__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transform-origin: center top;
  transition: filter .4s, transform .6s var(--ease);
}

.thumb:hover .thumb__img img,
.thumb:focus-visible .thumb__img img { filter: none; }

.thumb:focus-visible { outline: 0; }
.thumb:focus-visible .thumb__img { outline-color: var(--teal); }

.thumb.is-on .thumb__img { outline-color: var(--cyan); }

.thumb.is-on .thumb__img img {
  filter: none;
  transform: scale(1.06);
}

.thumb__txt {
  display: flex;
  flex-direction: column;
  padding: 0 2px;
}

.thumb__first {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.thumb__role {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--grey-3);
}

/* Tablet and phone: photo above the card ------------------------------------ */

@media (max-width: 999px) {
  .js .team__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "photo"
      "info"
      "ctrl";
  }

  .js .team__card { grid-area: 2 / 1 / 4 / 2; }

  .js .member__photo {
    width: 100%;
    max-width: 520px;
    margin-bottom: 14px;
  }

  .member__info { flex-basis: 100%; }
}

@media (max-width: 519px) {
  .team__stage { --team-pad: 24px; }
  .member__idx { left: 14px; top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .member.is-on .member__photo img,
  .js .member.is-on .member__info { animation: none; }
}
/* ==========================================================================
   90 Contact + footer: cyan finale with marquees, magnet button, dark
   contact cards, the MOORE letter wall, then the footer bar and strip.
   The footer continues the cyan of the contact section on every page.
   ========================================================================== */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--cyan);
  color: var(--ink);
}

/* Marquees ------------------------------------------------------------------ */

.contact__marquees {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: clamp(56px, 7vw, 96px);
  user-select: none;
}

.contact__row {
  display: flex;
  width: max-content;
  animation: mooreMarquee 30s linear infinite;
}

.contact__row--outline { animation: mooreMarqueeR 36s linear infinite; }

.contact__row span {
  display: flex;
  align-items: center;
  gap: .3em;
  padding-right: .3em;
  font-size: clamp(64px, 10vw, 170px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
}

.contact__row i {
  font-size: .5em;
  font-style: normal;
}

.contact__row--outline span {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

.contact__row--outline i {
  color: var(--ink);
  -webkit-text-stroke: 0;
}

/* Copy + magnet button -------------------------------------------------------- */

.contact__main {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--pad) clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact__copy {
  flex: 1 1 520px;
  max-width: 760px;
}

.contact__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.contact__blink {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  animation: icoBlink 1.6s infinite;
}

.contact__title {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.2vw, 84px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.contact__text {
  max-width: 480px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 600;
}

.mag {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(260px, 26vw, 360px);
  height: clamp(260px, 26vw, 360px);
  margin: 0 auto;
}

.mag__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .3s;
}

.mag__btn:hover,
.mag__btn:focus-visible { color: var(--white); }

.mag__btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px var(--cyan), 0 0 0 7px var(--ink);
}

.mag__ring {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  animation: icoSpin 14s linear infinite;
}

.mag__ring text {
  fill: var(--cyan);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mag__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mag__dot {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  transition: transform .4s var(--spring);
}

.mag__btn:hover .mag__dot,
.mag__btn:focus-visible .mag__dot { transform: scale(1.12) rotate(-12deg); }

.mag__label {
  font-size: 17px;
  font-weight: 800;
}

/* Contact cards ------------------------------------------------------------------ */

.contact__cards-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(40px, 5vw, 64px);
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-radius: 36px;
}

.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 220px;
  padding: clamp(24px, 2.6vw, 36px);
  color: var(--white);
  text-decoration: none;
  border-right: 1px solid var(--dark-line);
  transition: background .4s;
}

.ccard:last-child { border-right: 0; }

a.ccard:hover,
a.ccard:focus-visible {
  background: var(--dark);
  color: var(--white);
}

a.ccard:focus-visible { outline-offset: -4px; outline-color: var(--cyan); }

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

.ccard__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.ccard__n {
  font-size: 12px;
  letter-spacing: 0;
}

.ccard__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--grey-1);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  transition: transform .4s var(--spring);
}

.ccard__ico--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

a.ccard:hover .ccard__ico,
a.ccard:focus-visible .ccard__ico { transform: rotate(-12deg) scale(1.08); }

.ccard__big {
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}

.ccard__big--tel {
  font-size: clamp(26px, 2.6vw, 40px);
  white-space: nowrap;
}

.ccard__stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ccard__sub {
  font-size: 15px;
  font-weight: 600;
  color: #9A9A95;
}

.ccard__live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #9A9A95;
}

.ccard__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: icoBlink 1.6s infinite;
}

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

.ccard__time {
  font-size: clamp(40px, 3.6vw, 56px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ccard__dial {
  flex: none;
  width: 64px;
  height: 64px;
}

.ccard__dial [data-dial-h],
.ccard__dial [data-dial-m] { transition: transform .6s var(--ease); }

.ccard__sec {
  transform-origin: 32px 32px;
  animation: mooreSpin 60s steps(60) infinite;
}

/* MOORE letter wall ----------------------------------------------------------------- */

.moore {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.moore__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 14px);
}

.moore__l {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: clamp(18px, 3vw, 44px);
  cursor: default;
  transition: transform .6s var(--spring), background .4s, color .4s;
}

.moore__l--ink { background: var(--ink); color: var(--cyan); }
.moore__l--cyan { background: var(--cyan); color: var(--ink); }
.moore__l--white { background: var(--white); color: var(--ink); }
.moore__l--paper { background: var(--bg); color: var(--ink); }
.moore__l--ink-w { background: var(--ink); color: var(--white); }

/* Hovered letter: dark tiles turn cyan, light tiles turn dark; tilt and lift.
   site.js sets .is-on; :hover covers the no-JS case. */
.moore__l.is-on,
html:not(.js) .moore__l:hover {
  background: var(--ink);
  color: var(--cyan);
  transform: rotate(-4deg) translateY(-10px);
}

.moore__l:nth-child(even).is-on,
html:not(.js) .moore__l:nth-child(even):hover { transform: rotate(4deg) translateY(-10px); }

.moore__l--ink.is-on,
.moore__l--ink-w.is-on,
html:not(.js) .moore__l--ink:hover,
html:not(.js) .moore__l--ink-w:hover {
  background: var(--cyan);
  color: var(--ink);
}

.moore__ch {
  margin-top: -.06em;
  font-size: clamp(34px, 13vw, 250px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.moore__eye {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  border: clamp(4px, .7vw, 10px) solid var(--ink);
}

.moore__pupil {
  position: relative;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .25s var(--ease);
}

.moore__pupil span {
  position: absolute;
  left: 22%;
  top: 18%;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  background: var(--cyan);
}

.moore__tag {
  position: absolute;
  left: clamp(10px, 1.4vw, 20px);
  bottom: clamp(10px, 1.4vw, 18px);
  font-size: clamp(9px, .9vw, 12px);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}

.moore__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.moore__hint { color: var(--grey-2); }

/* Footer -------------------------------------------------------------------------- */

.site-footer {
  background: var(--cyan);
  color: var(--ink);
  padding-top: clamp(20px, 2.4vw, 32px);
}

.site-footer__bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 2.4vw, 32px) var(--pad) clamp(28px, 3vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 2px solid var(--ink);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background .3s, color .3s;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  background: var(--ink);
  color: var(--cyan);
}

.site-footer__link--outline {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
}

.site-footer__top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.site-footer__top:hover,
.site-footer__top:focus-visible { color: var(--ink); }

.site-footer__top span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-size: 16px;
  transition: transform .4s var(--spring);
}

.site-footer__top:hover span,
.site-footer__top:focus-visible span { transform: translateY(-4px); }

.site-footer__strip {
  background: var(--ink);
  color: #9A9A95;
  font-size: 13px;
}

.site-footer__strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__legal a {
  color: #9A9A95;
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible { color: var(--cyan); }

.site-footer :focus-visible { outline-color: var(--ink); }
.site-footer__strip :focus-visible { outline-color: var(--cyan); }

/* Tablet and phone ------------------------------------------------------------------ */

@media (max-width: 999px) {
  .ccard { border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .ccard:last-child { border-bottom: 0; }
}

@media (max-width: 519px) {
  .contact__row--outline span { -webkit-text-stroke-width: 1.5px; }
  .contact__copy { flex-basis: 100%; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .contact__row,
  .contact__row--outline,
  .contact__blink,
  .ccard__live-dot,
  .mag__ring,
  .ccard__sec { animation: none; }
}
/* ==========================================================================
   95 Intake modal: native <dialog>, blurred backdrop, white card,
   fields with error slots, sending state and success box.
   site.js opens it with showModal(); form.js sets .is-sending on the
   submit button, aria-busy on the form, aria-invalid on bad inputs and
   toggles [hidden] on the error slots, the form and the success box.
   ========================================================================== */

/* Keep the page still behind an open dialog. */
html:has(dialog[open]) { overflow: hidden; }

.modal {
  width: min(560px, 100vw - 40px);
  max-width: min(560px, 100vw - 40px);
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal[open] .modal__box { animation: ddUp .45s var(--out); }

.modal__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overflow-x: clip;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(10, 10, 10, .35);
}

.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal__title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  transition: background .25s, color .25s, transform .35s var(--spring);
}

.modal__close:hover,
.modal__close:focus-visible {
  background: var(--ink);
  color: var(--cyan);
  transform: rotate(90deg);
}

.modal__ctx {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-2);
}

.modal__ctx strong {
  background: var(--cyan);
  color: var(--ink);
  border-radius: 6px;
  padding: 1px 6px;
  font-weight: 800;
}

/* Form ------------------------------------------------------------------------ */

.modal__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey-1);
}

.field__input {
  width: 100%;
  min-height: 52px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.field__input::placeholder { color: var(--grey-5); }

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

.field__input:focus,
.field__input:focus-visible {
  outline: 0;
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(80, 227, 240, .45);
}

.field__input--area {
  min-height: 108px;
  resize: vertical;
  line-height: 1.5;
}

.field__input[readonly] {
  background: var(--cyan-soft);
  border-color: #C9EEF2;
  font-weight: 800;
  cursor: default;
}

.field__input[aria-invalid="true"] {
  border-color: #C0262D;
  background: #FFF5F5;
}

.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192, 38, 45, .18); }

/* Error slots: empty or [hidden] slots take no space. */
.field__err {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #B3261E;
}

.field__err::before {
  content: "!";
  flex: none;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #B3261E;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.field__err:empty { display: none; }

.modal__form .btn-block { margin-top: 6px; }

/* Sending: the label reads "Sending…" (form.js); add a spinner and calm it down. */
.btn-block.is-sending,
.btn-block:disabled {
  cursor: progress;
  transform: none;
  background: var(--grey-1);
}

.btn-block.is-sending::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: mooreSpin .8s linear infinite;
}

.modal__form[aria-busy="true"] .field__input { opacity: .6; }

/* Success box replaces the form. */
.modal__ok {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cyan);
  color: var(--ink);
  border-radius: 20px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  animation: moorePop .5s var(--out);
}

.modal__ok::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}

/* Phone ----------------------------------------------------------------------- */

@media (max-width: 519px) {
  .modal { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .modal__box { padding: 24px 20px; border-radius: 26px; gap: 16px; }
  .modal__title { font-size: 26px; }
  .modal__pair { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .modal[open] .modal__box,
  .modal__ok { animation: none; }
  .modal__close:hover,
  .modal__close:focus-visible { transform: none; }
}
/* 96-page: subpages (services, packages, google ads, contact, legal, thanks, 404). Ported from the AV design. */
.pg-wrap {
  max-width: calc(1200px + 2 * var(--pad));
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Hero: clears the fixed header (16px offset + 64px bar). */
.pg-hero { padding: calc(96px + clamp(24px, 4vw, 48px)) 0 clamp(36px, 5vw, 64px); }
.pg-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
.pg-hero__grid--media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.pg-hero__text { min-width: 0; }

.pg-crumbs { margin-bottom: clamp(20px, 3vw, 32px); }
.pg-crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 14px; font-weight: 700; color: var(--grey-3); }
.pg-crumbs__item { display: inline-flex; align-items: center; }
.pg-crumbs__item + .pg-crumbs__item::before { content: "/"; margin: 0 10px; color: var(--grey-6); }
.pg-crumbs__item a { color: var(--grey-3); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.pg-crumbs__item a:hover { color: var(--ink); text-decoration-color: var(--cyan); }
.pg-crumbs__item [aria-current] { color: var(--ink); }

.pg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pg-h1 {
  margin: 0;
  font-size: clamp(32px, 8.6vw, 96px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  overflow-wrap: break-word;
  hyphens: manual;
}
.pg-hero__grid--media .pg-h1 { font-size: clamp(32px, 8.6vw, 68px); }
@media (min-width: 980px) { .pg-hero__grid--media .pg-h1 { font-size: clamp(40px, 4.4vw, 68px); } }
.pg-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pg-meta li {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}
.pg-lead {
  max-width: 760px;
  margin-top: 26px;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  font-weight: 600;
  color: var(--grey-1);
}
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.pg-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--dark);
  aspect-ratio: 4 / 3;
}
.pg-hero__video, .pg-hero__img { width: 100%; height: 100%; object-fit: cover; }
.pg-hero__media--dark, .pg-hero__media--cyan, .pg-hero__media--white {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 3vw, 36px);
}
.pg-hero__media--dark { background: var(--ink); color: var(--cyan); }
.pg-hero__media--cyan { background: var(--cyan); color: var(--ink); }
.pg-hero__media--white { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.pg-hero__glyph { font-size: clamp(64px, 9vw, 120px); line-height: 1; animation: mooreSpin 24s linear infinite; align-self: flex-end; }
.pg-hero__word { font-size: clamp(28px, 3.4vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -.04em; overflow-wrap: break-word; }
.pg-hero__media--dark .pg-hero__word { color: var(--white); }

/* Sections below the hero. */
.pg-sec { padding: clamp(40px, 6vw, 80px) 0; }
.pg-sec--tight { padding-top: 0; }
.pg-sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.pg-sec__head .label { margin-bottom: 14px; }
.pg-h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 800;
  overflow-wrap: break-word;
}
.pg-h3 { margin: 0; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }

.pg-prose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pg-prose__item { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.pg-prose__item p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: var(--grey-1); }

.pg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pg-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
}
.pg-card p { font-size: 15px; line-height: 1.6; color: var(--grey-1); }
.pg-card__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}
.pg-card--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pg-card--dark p { color: #BDBDB8; }
.pg-card--dark .pg-card__badge { background: var(--cyan); color: var(--ink); }

/* Related cases. */
.pg-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pg-case { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.pg-case__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--soft); }
.pg-case__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; }
.pg-case__body p { font-size: 15px; line-height: 1.55; color: var(--grey-1); }
.pg-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-tags li { padding: 5px 10px; border-radius: 999px; background: var(--cyan-soft); font-size: 12px; font-weight: 800; }
.pg-more { display: inline-flex; margin-top: 20px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* FAQ: native details, works without JS. */
.pg-faq { display: grid; gap: 10px; }
.pg-faq__item { border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.pg-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.pg-faq__item summary::-webkit-details-marker { display: none; }
.pg-faq__item summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cyan-soft);
  font-size: 20px;
  transition: transform .3s var(--ease);
}
.pg-faq__item[open] summary::after { transform: rotate(45deg); background: var(--cyan); }
.pg-faq__item p { padding: 0 24px 22px; font-size: 16px; line-height: 1.65; color: var(--grey-1); }

/* Teaser card (packages / google ads) and other-service links. */
.pg-teaser {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 28px;
  background: var(--cyan);
}
.pg-teaser__text { flex: 1 1 420px; min-width: 0; }
.pg-teaser__text p { margin-top: 10px; max-width: 640px; font-size: 16px; line-height: 1.6; font-weight: 600; }
.pg-teaser .label { margin-bottom: 10px; color: var(--ink); }
.pg-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-links a {
  display: inline-flex;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  transition: background .2s, border-color .2s;
}
.pg-links a:hover, .pg-links a:focus-visible { color: var(--ink); background: var(--cyan-soft); border-color: var(--cyan); }

/* Dark closing card. */
.pg-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
}
.pg-cta__text { flex: 1 1 360px; min-width: 0; }
.pg-cta__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pg-cta__title { margin-top: 10px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.pg-cta__sub { margin-top: 8px; max-width: 560px; font-size: 15px; line-height: 1.55; font-weight: 600; color: #9A9A95; }
.pg-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pg-cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 22px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}
.pg-cta__tel:hover, .pg-cta__tel:focus-visible { color: var(--cyan); border-color: var(--cyan); }
.pg-cta__call { color: #9A9A95; font-weight: 700; }

/* Legal document: sticky contents plus article cards. */
.pg-doc { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(24px, 4vw, 56px); padding-bottom: clamp(56px, 8vw, 112px); }
.pg-toc {
  position: sticky;
  top: 96px;
  flex: 0 1 280px;
  max-height: calc(100vh - 110px);
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
}
.pg-toc__title { margin: 4px 8px 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-3); }
.pg-toc__list { padding-left: 30px; list-style: decimal; font-size: 14px; font-weight: 700; }
.pg-toc__list li::marker { color: var(--grey-5); }
.pg-toc__list a { display: block; padding: 6px 8px; border-radius: 10px; line-height: 1.35; }
.pg-toc__list a:hover, .pg-toc__list a:focus-visible { color: var(--ink); background: var(--cyan-soft); }
.pg-doc__main { display: flex; flex: 1 1 480px; flex-direction: column; gap: 14px; min-width: 0; }
.pg-art {
  scroll-margin-top: 90px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}
.pg-art__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pg-art__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
}
.pg-art__title { font-size: clamp(21px, 2.2vw, 26px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.pg-art__list { display: grid; gap: 10px; padding-left: 22px; list-style: decimal; font-size: 16px; line-height: 1.65; color: var(--grey-1); }
.pg-art__list li::marker { font-weight: 800; color: var(--ink); }
.pg-art__list strong { color: var(--ink); }
.pg-art__sub { display: grid; gap: 6px; margin-top: 10px; padding-left: 20px; list-style: disc; }
.pg-art__sub li::marker { font-weight: 400; }
.pg-art--hl { background: var(--cyan-soft); border: 2px solid var(--ink); }
.pg-art--hl .pg-art__badge { background: var(--cyan); color: var(--ink); border: 2px solid var(--ink); }
.pg-art--hl .pg-art__list { color: #2A2A2A; }
.pg-doc__addr { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--grey-3); text-align: center; }

/* Contact: form card plus info cards. */
.pg-contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 14px; align-items: start; padding-bottom: clamp(56px, 8vw, 112px); }
.pg-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}
.pg-form__sub { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--grey-3); }
.pg-form__form { display: flex; flex-direction: column; gap: 16px; }
.pg-form__form[aria-busy="true"] .field__input { opacity: .6; }
.pg-form__notice {
  padding: 14px 18px;
  border: 1.5px solid #B3261E;
  border-radius: 16px;
  background: #FFF5F5;
  color: #8A1C15;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.pg-form__note { font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--grey-3); }
.pg-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.pg-form .modal__ok { flex-direction: column; gap: 6px; }
.pg-form .modal__ok strong { font-size: 20px; }
.pg-form:has(.pg-form__form[hidden]) :is(.pg-form__sub, .pg-form__notice) { display: none; }
.pg-info { display: grid; gap: 14px; }
.pg-info__card { padding: 22px 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.pg-info__card--dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pg-info__label { margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-3); }
.pg-info__card--dark .pg-info__label { color: var(--cyan); }
.pg-info__value { font-size: 18px; line-height: 1.45; font-weight: 800; font-style: normal; overflow-wrap: anywhere; }
.pg-info__card--dark .pg-info__value a { color: var(--white); }
.pg-info__card--dark .pg-info__value a:hover { color: var(--cyan); }
.pg-info__text { font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--grey-1); }

/* Packages and Google Ads landing pages reuse the home sections. */
.page-packages .pkgs, .page-google-ads .ads { scroll-margin-top: 96px; }
.page-packages .pg-sec--end, .page-google-ads .pg-sec--end { padding-top: clamp(24px, 4vw, 48px); }

/* Thanks and 404: a short, centred message. */
.pg-hero--short { min-height: min(78vh, 760px); display: flex; align-items: center; }
.pg-hero--short > .pg-hero { flex: 1 1 auto; width: 100%; }

@media (max-width: 979px) {
  .pg-toc { position: static; flex: 1 1 100%; max-height: none; }
  .pg-hero__grid--media { grid-template-columns: minmax(0, 1fr); }
  .pg-hero__media { max-height: 440px; }
  .pg-cards, .pg-cards--4, .pg-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 719px) {
  .pg-prose, .pg-cards, .pg-cards--4, .pg-cases { grid-template-columns: minmax(0, 1fr); }
  .pg-hero__media { aspect-ratio: 16 / 11; }
  .pg-form .modal__pair { grid-template-columns: minmax(0, 1fr); }
  .pg-cta__actions, .pg-cta__actions .btn, .pg-cta__tel { width: 100%; justify-content: center; }
  .pg-actions .btn { flex: 1 1 auto; justify-content: center; }
  .pg-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 18px 20px; }
  .pg-card__badge { grid-row: span 2; align-self: start; width: 40px; height: 40px; margin: 0; font-size: 14px; }
  .pg-card p { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  .pg-hero__glyph { animation: none; }
}

/* Utilities for the page templates. */
.pg-stack { display: grid; gap: 14px; }
.pg-other__title { margin-bottom: 16px; }
