/* ---------- Fonts (self-hosted Inter, latin + latin-ext) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #f5f5f7;
  --ink-2: #fff;
  --paper: #1d1d1f;
  --mute: #6e6e73;
  --rule: rgba(0, 0, 0, 0.12);
  --blue: #0071e3;
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.3));
  --glass-bd: rgba(255, 255, 255, 0.6);
  --glass-sh:
    inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(255, 255, 255, 0.2), 0 10px 34px rgba(20, 24, 40, 0.14);
  --f-display:
    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', Inter, 'Helvetica Neue', Arial, sans-serif;
  --f-ui:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', Inter, 'Helvetica Neue', Arial, sans-serif;
  --out: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
}
a,
button {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: -1px;
  padding: 0;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s var(--out);
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Hero ---------- */
.intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(16px, 2.4vw, 28px) clamp(40px, 7vw, 88px);
}
.intro .me {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mute);
}
.intro h1 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7.6vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin: 0.35em auto;
  text-wrap: balance;
}
.intro p {
  margin: 0 auto;
  max-width: 44ch;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.4;
  color: var(--mute);
  font-weight: 400;
  text-wrap: pretty;
}
.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.jump a {
  padding: 12px 22px;
  border: 1px solid var(--glass-bd);
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-sh);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.16s var(--out);
}
.jump a:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .jump a:hover {
    background: var(--paper);
    color: var(--ink);
  }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(56px, 9vw, 120px) clamp(24px, 3vw, 40px);
}
.contact h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 auto 0.4em;
  max-width: 14ch;
  text-wrap: balance;
}
.contact p {
  color: var(--mute);
  max-width: 52ch;
  margin: 0 auto 24px;
  font-size: 1.1rem;
  text-wrap: pretty;
}
.mail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.mail-addr {
  font-family: var(--f-ui);
  font-size: 1.15rem;
  padding: 12px 24px;
  border: 1px solid var(--glass-bd);
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-sh);
  text-decoration: none;
  user-select: text;
  -webkit-user-select: text;
}
.mail button {
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  transition: transform 0.16s var(--out);
}
.mail button:active {
  transform: scale(0.97);
}

/* Animated colour fields behind the hero and the contact section */
.intro::before,
.contact::before {
  content: '';
  position: absolute;
  inset: -22% -16% -6%;
  z-index: -1;
  will-change: transform;
  background:
    radial-gradient(
      58% 66% at 24% 36%,
      rgba(110, 152, 255, 0.62) 0%,
      rgba(110, 152, 255, 0.577) 10%,
      rgba(110, 152, 255, 0.496) 20%,
      rgba(110, 152, 255, 0.397) 30%,
      rgba(110, 152, 255, 0.291) 40%,
      rgba(110, 152, 255, 0.198) 50%,
      rgba(110, 152, 255, 0.118) 60%,
      rgba(110, 152, 255, 0.062) 70%,
      rgba(110, 152, 255, 0.025) 80%,
      rgba(110, 152, 255, 0) 90%
    ),
    radial-gradient(
      54% 64% at 77% 30%,
      rgba(255, 140, 196, 0.54) 0%,
      rgba(255, 140, 196, 0.502) 10%,
      rgba(255, 140, 196, 0.432) 20%,
      rgba(255, 140, 196, 0.346) 30%,
      rgba(255, 140, 196, 0.254) 40%,
      rgba(255, 140, 196, 0.173) 50%,
      rgba(255, 140, 196, 0.103) 60%,
      rgba(255, 140, 196, 0.054) 70%,
      rgba(255, 140, 196, 0.022) 80%,
      rgba(255, 140, 196, 0) 90%
    ),
    radial-gradient(
      60% 60% at 52% 62%,
      rgba(255, 192, 128, 0.56) 0%,
      rgba(255, 192, 128, 0.521) 10%,
      rgba(255, 192, 128, 0.448) 20%,
      rgba(255, 192, 128, 0.358) 30%,
      rgba(255, 192, 128, 0.263) 40%,
      rgba(255, 192, 128, 0.179) 50%,
      rgba(255, 192, 128, 0.106) 60%,
      rgba(255, 192, 128, 0.056) 70%,
      rgba(255, 192, 128, 0.022) 80%,
      rgba(255, 192, 128, 0) 90%
    );
  animation: mdDriftA 28s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
.intro::after,
.contact::after {
  content: '';
  position: absolute;
  inset: -22% -16% -6%;
  z-index: -1;
  pointer-events: none;
  will-change: transform, opacity;
  background:
    radial-gradient(
      56% 62% at 68% 62%,
      rgba(150, 120, 255, 0.4) 0%,
      rgba(150, 120, 255, 0.372) 10%,
      rgba(150, 120, 255, 0.32) 20%,
      rgba(150, 120, 255, 0.256) 30%,
      rgba(150, 120, 255, 0.188) 40%,
      rgba(150, 120, 255, 0.128) 50%,
      rgba(150, 120, 255, 0.076) 60%,
      rgba(150, 120, 255, 0.04) 70%,
      rgba(150, 120, 255, 0.016) 80%,
      rgba(150, 120, 255, 0) 90%
    ),
    radial-gradient(
      50% 60% at 28% 70%,
      rgba(90, 200, 230, 0.34) 0%,
      rgba(90, 200, 230, 0.316) 10%,
      rgba(90, 200, 230, 0.272) 20%,
      rgba(90, 200, 230, 0.218) 30%,
      rgba(90, 200, 230, 0.16) 40%,
      rgba(90, 200, 230, 0.109) 50%,
      rgba(90, 200, 230, 0.065) 60%,
      rgba(90, 200, 230, 0.034) 70%,
      rgba(90, 200, 230, 0.014) 80%,
      rgba(90, 200, 230, 0) 90%
    ),
    radial-gradient(
      50% 58% at 52% 18%,
      rgba(255, 165, 150, 0.38) 0%,
      rgba(255, 165, 150, 0.353) 10%,
      rgba(255, 165, 150, 0.304) 20%,
      rgba(255, 165, 150, 0.243) 30%,
      rgba(255, 165, 150, 0.179) 40%,
      rgba(255, 165, 150, 0.122) 50%,
      rgba(255, 165, 150, 0.072) 60%,
      rgba(255, 165, 150, 0.038) 70%,
      rgba(255, 165, 150, 0.015) 80%,
      rgba(255, 165, 150, 0) 90%
    );
  animation:
    mdDriftB 37s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate,
    mdBlend 19s ease-in-out infinite alternate;
}
.intro::before,
.intro::after {
  -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 88%);
  mask-image: linear-gradient(180deg, #000 50%, transparent 88%);
}
.contact::before,
.contact::after {
  -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 34%, #000 62%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent 6%, #000 34%, #000 62%, transparent 92%);
}
.pr-req::before {
  will-change: transform;
  animation: mdDriftA 31s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate-reverse;
}
@keyframes mdDriftA {
  0% {
    transform: translate3d(-4%, -3%, 0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translate3d(3%, 2%, 0) rotate(6deg) scale(1.08);
  }
  100% {
    transform: translate3d(-1%, 4%, 0) rotate(-2deg) scale(1.03);
  }
}
@keyframes mdDriftB {
  0% {
    transform: translate3d(5%, 3%, 0) rotate(5deg) scale(1.06);
  }
  50% {
    transform: translate3d(-4%, -2%, 0) rotate(-7deg) scale(1);
  }
  100% {
    transform: translate3d(2%, -4%, 0) rotate(3deg) scale(1.1);
  }
}
@keyframes mdBlend {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.9;
  }
}
.wm-dot {
  width: 0.62em;
  height: 0.62em;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #4f8dff, #ff7ab8, #ffb36b, #4f8dff);
  box-shadow: 0 0 0 0.14em rgba(255, 255, 255, 0.7);
  animation: mdTurn 14s linear infinite;
}
@keyframes mdTurn {
  to {
    transform: rotate(360deg);
  }
}
.is-off::before,
.is-off::after {
  animation-play-state: paused;
}
/* Pause decorative motion while the page scrolls (see js/showcase.js) */
html.is-scrolling .intro::before,
html.is-scrolling .intro::after,
html.is-scrolling .contact::before,
html.is-scrolling .contact::after,
html.is-scrolling .pr-req::before,
html.is-scrolling .wm-dot,
html.is-scrolling .pr-track,
html.is-scrolling .dev-go span::after {
  animation-play-state: paused;
}
html.is-scrolling .dev iframe {
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .intro::before,
  .contact::before,
  .intro::after,
  .contact::after,
  .pr-req::before,
  .wm-dot {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Brand bar, claims, process steps ---------- */
.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(56px, 10vw, 128px);
  text-align: left;
}
.wm {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--paper);
}
.bar-cta {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--glass-sh);
  transition:
    transform 0.16s var(--out),
    background 0.2s,
    color 0.2s;
}
.bar-cta:active {
  transform: scale(0.97);
}
.bar-r {
  display: flex;
  align-items: center;
  gap: 10px;
}
.langsw {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
}
.langsw button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 7px 11px;
  border-radius: 999px;
  font: 600 0.78rem/1 var(--f-ui);
  letter-spacing: 0.06em;
  opacity: 0.7;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}
.langsw button[aria-pressed='true'] {
  background: var(--paper);
  color: var(--ink);
  opacity: 1;
}
@media (max-width: 520px) {
  .bar-cta {
    display: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .bar-cta:hover {
    background: var(--paper);
    color: var(--ink);
  }
}
.claims {
  list-style: none;
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 980px;
  text-align: left;
}
.claims li {
  padding: 20px 22px;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  box-shadow: var(--glass-sh);
  display: grid;
  gap: 6px;
  align-content: start;
}
.claims b {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.claims span {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.4;
}
.solution {
  padding-block: clamp(64px, 10vw, 140px) clamp(16px, 3vw, 40px);
  text-align: center;
}
.sol-kick {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.solution h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 auto 0.45em;
  max-width: 14ch;
  text-wrap: balance;
}
.sol-lead {
  margin: 0 auto;
  max-width: 56ch;
  color: var(--mute);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.sol-steps {
  list-style: none;
  margin: clamp(36px, 6vw, 64px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  max-width: 1100px;
  text-align: left;
}
.sol-steps li {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  display: grid;
  gap: 10px;
  align-content: start;
}
.sol-steps li > span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--mute);
}
.sol-steps h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sol-steps p {
  margin: 0;
  color: var(--mute);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .claims,
  .sol-steps {
    grid-template-columns: 1fr;
  }
  .wm {
    font-size: 1.15rem;
  }
}

/* ---------- Showcase: live examples in a laptop or phone frame ---------- */
.show {
  position: relative;
  margin: clamp(12px, 2.4vw, 28px) clamp(8px, 1.2vw, 16px);
  border-radius: clamp(22px, 3vw, 36px);
  overflow: hidden;
  isolation: isolate;
  background: var(--panel);
  color: var(--fg);
  padding: clamp(40px, 6vw, 88px) clamp(12px, 3vw, 48px) clamp(36px, 5vw, 72px);
  scroll-margin-top: 10px;
}
.show::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glow);
}
/* Dot-halftone background, drawn by js/backgrounds.js; the gradient above is the fallback */
.show-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s var(--out);
}
.show.has-bg .show-bg {
  opacity: 1;
}
.show.has-bg::before {
  display: none;
}
.show.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--panel) 90%, transparent),
    color-mix(in srgb, var(--panel) 80%, transparent) 20%,
    transparent 46%
  );
}
.show-head {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  margin: 0 auto clamp(28px, 4.5vw, 56px);
  max-width: min(100%, 900px);
}
.show-head h2 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.show-head > span {
  max-width: 62ch;
  color: var(--fg2);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.4;
  text-wrap: balance;
}

.dev {
  --vw: 1440;
  --vh: 860;
  --s: 0.7;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.6vw, 28px);
  width: 100%;
}
.dev[data-mode='phone'] {
  --vw: 390;
  --vh: 790;
}
.dev-body {
  position: relative;
  width: 100%;
  max-width: 1120px;
}
.dev[data-mode='phone'] .dev-body {
  max-width: 340px;
}
.dev-lid {
  position: relative;
  background: #0b0b0d;
  border-radius: clamp(14px, 1.9vw, 24px) clamp(14px, 1.9vw, 24px) 5px 5px;
  padding: clamp(8px, 1.1vw, 14px) clamp(8px, 1.1vw, 14px) clamp(10px, 1.4vw, 18px);
  box-shadow:
    inset 0 0 0 1.5px #3b3b41,
    0 50px 90px -34px rgba(0, 0, 24, 0.55),
    0 14px 34px -12px rgba(0, 0, 24, 0.35);
}
.dev-cam {
  position: absolute;
  top: clamp(3px, 0.5vw, 6px);
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: #1f1f25;
  box-shadow: 0 0 0 1px #2c2c33;
}
.dev-screen {
  position: relative;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  color: #1d1d1f;
}
.dev-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 14px;
  background: #f1f1f3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  font: 500 12.5px/1 var(--f-ui);
}
.dev-tl {
  display: flex;
  gap: 7px;
  flex: 0 0 auto;
}
.dev-tl i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.dev-tl i:nth-child(2) {
  background: #febc2e;
}
.dev-tl i:nth-child(3) {
  background: #28c840;
}
.dev-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min(44%, 380px);
  height: 24px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.06);
  color: #55555a;
  white-space: nowrap;
}
.dev-url svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}
.dev-exit {
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--fg);
  color: var(--panel);
  font: 600 0.85rem/1 var(--f-ui);
  transition: transform 0.16s var(--out);
}
.dev-exit:active {
  transform: scale(0.96);
}
.dev-status {
  display: none;
  position: relative;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 22px;
  background: #000;
  color: #fff;
  font: 600 13px/1 var(--f-ui);
}
.dev-isl {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 92px;
  height: 22px;
  margin-left: -46px;
  border-radius: 999px;
  background: #000;
  box-shadow: 0 0 0 1px #1c1c20;
}
.dev-sig {
  display: flex;
  gap: 5px;
  align-items: flex-end;
}
.dev-sig i {
  width: 3px;
  background: #fff;
  border-radius: 1px;
}
.dev-sig i:nth-child(1) {
  height: 4px;
}
.dev-sig i:nth-child(2) {
  height: 6px;
}
.dev-sig i:nth-child(3) {
  height: 8px;
}
.dev-sig i:nth-child(4) {
  height: 10px;
}
.dev-vp {
  position: relative;
  aspect-ratio: var(--vw) / var(--vh);
  overflow: hidden;
  background: var(--poster, #fff);
  container-type: inline-size;
  contain: paint;
}
.dev-vp iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--vw) * 1px);
  height: calc(var(--vh) * 1px);
  border: 0;
  background: transparent;
  transform-origin: 0 0;
  transform: scale(var(--s));
  opacity: 0;
  transition: opacity 0.5s var(--out);
}
.dev.is-ready iframe {
  opacity: 1;
}
.dev.zoom .dev-vp iframe {
  transform: none;
  zoom: var(--s);
}
.dev-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--poster-ink, #1d1d1f);
  background: var(--poster, #fff);
  font: 700 clamp(1.1rem, 3.4cqw, 2.2rem)/1 var(--f-display);
  letter-spacing: -0.02em;
  transition:
    opacity 0.5s var(--out),
    visibility 0s 0.5s;
}
.dev.is-ready .dev-poster {
  opacity: 0;
  visibility: hidden;
}
.dev-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  opacity: 0;
  transition: opacity 0.35s var(--out);
}
.dev-shot.is-in {
  opacity: 1;
}
.dev-go {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
.dev-go span {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 4cqw, 34px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.86);
  color: #fff;
  font: 500 clamp(0.82rem, 1.6cqw, 0.98rem)/1 var(--f-ui);
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s var(--out),
    background 0.2s;
}
.dev-go span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cb0ff;
}
.dev-go span::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #5cb0ff;
  opacity: 0;
  animation: devPulse 2s var(--out) infinite;
  pointer-events: none;
}
@keyframes devPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
.dev:not(.is-on) .dev-go span::after {
  animation: none;
}
@media (hover: hover) and (pointer: fine) {
  .dev-go:hover span {
    transform: translateX(-50%) translateY(-2px);
    background: rgba(20, 20, 24, 0.9);
  }
}
.dev-go:focus-visible span {
  outline: 2px solid #5cb0ff;
  outline-offset: 3px;
}
.dev.is-live .dev-go {
  display: none;
}
.dev-fail {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(20, 20, 24, 0.86);
  color: #fff;
  font: 400 0.9rem/1.4 var(--f-ui);
  z-index: 3;
  text-align: center;
}
.dev-home {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 112px;
  height: 4px;
  margin-left: -56px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 3;
}
.dev-base {
  position: relative;
  height: clamp(10px, 1.5vw, 18px);
  margin: 0 -3.4%;
  border-radius: 0 0 22px 22px/0 0 16px 16px;
  background: linear-gradient(#d4d6db, #a3a6ad);
  box-shadow: 0 22px 34px -14px rgba(0, 0, 24, 0.4);
}
.dev-base::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 15%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 9px 9px;
  background: #8d9097;
}
/* Phone frame */
.dev[data-mode='phone'] .dev-lid {
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    inset 0 0 0 2px #3b3b41,
    0 50px 90px -34px rgba(0, 0, 24, 0.55),
    0 14px 34px -12px rgba(0, 0, 24, 0.35);
}
.dev[data-mode='phone'] .dev-screen {
  border-radius: 36px;
}
.dev[data-mode='phone'] .dev-bar,
.dev[data-mode='phone'] .dev-cam,
.dev[data-mode='phone'] .dev-base {
  display: none;
}
.dev[data-mode='phone'] .dev-status {
  display: flex;
}
.dev[data-mode='phone'] .dev-home {
  display: block;
}
.dev-ctl {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel, #111) 62%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg, #fff) 14%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.seg button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 18px;
  border-radius: 999px;
  font: 500 0.9rem/1 var(--f-ui);
  opacity: 0.85;
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}
.seg button[aria-pressed='true'] {
  background: var(--fg);
  color: var(--panel);
  opacity: 1;
}
@media (max-width: 760px) {
  .show {
    padding-inline: 8px;
  }
  /* Narrow screens: the phone fills the panel width, without a frame */
  .dev[data-mode='phone'] .dev-body {
    max-width: none;
  }
  .dev[data-mode='phone'] .dev-lid {
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.55);
  }
  .dev[data-mode='phone'] .dev-screen {
    border-radius: 20px;
  }
  .dev[data-mode='phone'] .dev-status,
  .dev[data-mode='phone'] .dev-home {
    display: none;
  }
}

.show-link {
  display: table;
  margin: clamp(20px, 2.6vw, 30px) auto 0;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--fg) 34%, transparent);
  background: color-mix(in srgb, var(--panel, #111) 55%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition:
    transform 0.16s var(--out),
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.show-link:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .show-link:hover {
    background: var(--fg);
    color: var(--panel);
    border-color: var(--fg);
  }
}

/* ---------- Pricing ---------- */
.price {
  padding-block: clamp(64px, 10vw, 140px) clamp(24px, 4vw, 48px);
}
.pr-head {
  text-align: center;
}
.price h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 auto 0.45em;
  max-width: 14ch;
  text-wrap: balance;
}
.pr-tabs {
  display: flex;
  justify-content: center;
  margin: clamp(28px, 4vw, 44px) 0 clamp(22px, 3vw, 32px);
}
.pr-seg {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}
.pr-seg button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 11px clamp(14px, 2vw, 22px);
  border-radius: 999px;
  font: 500 0.95rem/1.1 var(--f-ui);
  color: var(--paper);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.pr-seg button[aria-pressed='true'] {
  opacity: 1;
}
.pr-seg i {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 999px;
  background: var(--ink-2);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 4px 14px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s var(--out),
    width 0.35s var(--out);
}
.pr-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.pr-card {
  width: 100%;
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 26px;
  background: var(--ink-2);
  border: 1px solid var(--rule);
  color: var(--paper);
  transition:
    transform 0.16s var(--out),
    border-color 0.2s,
    box-shadow 0.2s;
}
.pr-card:active {
  transform: scale(0.985);
}
.pr-card[aria-pressed='true'] {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.pr-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pr-dot {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.pr-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
  transition: transform 0.25s var(--out);
}
.pr-card[aria-pressed='true'] .pr-dot {
  border-color: var(--blue);
  background: var(--blue);
}
.pr-card[aria-pressed='true'] .pr-dot::after {
  transform: scale(1);
}
.pr-card h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pr-cards > li {
  position: relative;
}
.pr-tag {
  position: absolute;
  top: 0;
  right: clamp(22px, 2.6vw, 32px);
  transform: translateY(-50%);
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: 600 0.76rem/1 var(--f-ui);
  white-space: nowrap;
  pointer-events: none;
}
.pr-fit {
  margin: 10px 0 0;
  color: var(--mute);
  font-size: 0.98rem;
  line-height: 1.4;
}
.pr-amt {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 20px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pr-amt small {
  font: 500 0.9rem/1 var(--f-ui);
  letter-spacing: 0;
  color: var(--mute);
}
.pr-what {
  margin: 10px 0 0;
  font-weight: 600;
}
.pr-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 9px;
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.4;
}
.pr-list li {
  display: flex;
  gap: 10px;
}
.pr-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.pr-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition:
    transform 0.16s var(--out),
    background 0.2s;
}
.pr-go:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .pr-go:hover {
    background-color: #0077ed;
  }
  .pr-card:not([aria-pressed='true']):hover {
    border-color: rgba(0, 0, 0, 0.24);
  }
}
/* Selected package summary */
.pr-sum {
  display: flex;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  margin-top: clamp(12px, 1.6vw, 20px);
  padding: clamp(18px, 2.2vw, 24px) clamp(22px, 2.6vw, 32px);
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
}
.pr-sum-l {
  display: grid;
  gap: 2px;
  min-width: 0;
  margin-right: auto;
}
.pr-sum-l span {
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.62);
}
.pr-sum-l b {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pr-sum-p {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pr-sum-p small {
  font-size: 0.95rem;
  color: rgba(245, 245, 247, 0.62);
}
.pr-sum-p strong {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pr-note {
  margin: 18px auto 0;
  max-width: 64ch;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--mute);
}
.pr-note a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .pr-note a:hover {
    text-decoration: underline;
  }
}
.pr-fine {
  margin: 16px auto 0;
  max-width: 72ch;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--mute);
}
/* Extras available on request (scrolling rows) */
.pr-req {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(12px, 1.6vw, 20px);
  padding: clamp(26px, 3.4vw, 40px) 0 clamp(24px, 3vw, 36px);
  border-radius: 26px;
  background: #eef0f6;
}
.pr-req::before {
  content: '';
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(
      46% 120% at 14% 42%,
      rgba(110, 150, 255, 0.58) 0%,
      rgba(110, 150, 255, 0.539) 10%,
      rgba(110, 150, 255, 0.464) 20%,
      rgba(110, 150, 255, 0.371) 30%,
      rgba(110, 150, 255, 0.273) 40%,
      rgba(110, 150, 255, 0.186) 50%,
      rgba(110, 150, 255, 0.11) 60%,
      rgba(110, 150, 255, 0.058) 70%,
      rgba(110, 150, 255, 0.023) 80%,
      rgba(110, 150, 255, 0) 90%
    ),
    radial-gradient(
      44% 120% at 48% 68%,
      rgba(255, 140, 190, 0.48) 0%,
      rgba(255, 140, 190, 0.446) 10%,
      rgba(255, 140, 190, 0.384) 20%,
      rgba(255, 140, 190, 0.307) 30%,
      rgba(255, 140, 190, 0.226) 40%,
      rgba(255, 140, 190, 0.154) 50%,
      rgba(255, 140, 190, 0.091) 60%,
      rgba(255, 140, 190, 0.048) 70%,
      rgba(255, 140, 190, 0.019) 80%,
      rgba(255, 140, 190, 0) 90%
    ),
    radial-gradient(
      46% 120% at 84% 36%,
      rgba(255, 190, 120, 0.52) 0%,
      rgba(255, 190, 120, 0.484) 10%,
      rgba(255, 190, 120, 0.416) 20%,
      rgba(255, 190, 120, 0.333) 30%,
      rgba(255, 190, 120, 0.244) 40%,
      rgba(255, 190, 120, 0.166) 50%,
      rgba(255, 190, 120, 0.099) 60%,
      rgba(255, 190, 120, 0.052) 70%,
      rgba(255, 190, 120, 0.021) 80%,
      rgba(255, 190, 120, 0) 90%
    );
}
.pr-req-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  flex-wrap: wrap;
  padding: 0 clamp(22px, 2.6vw, 32px);
  margin-bottom: clamp(18px, 2.4vw, 26px);
}
.pr-req h3 {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pr-req-head p {
  margin: 0;
  color: rgba(29, 29, 31, 0.7);
  max-width: 52ch;
}
.pr-mq {
  display: grid;
  gap: 14px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.pr-lane {
  overflow: hidden;
}
.pr-track {
  display: flex;
  width: max-content;
  animation: prMq var(--dur, 40s) linear infinite;
  will-change: transform;
}
.pr-req:not(.is-on) .pr-track {
  animation-play-state: paused;
}
.pr-lane:nth-child(2) .pr-track {
  animation-direction: reverse;
}
.pr-track ul {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 6px 6px 10px;
  list-style: none;
}
@keyframes prMq {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (hover: hover) and (pointer: fine) {
  .pr-mq:hover .pr-track {
    animation-play-state: paused;
  }
}
.pr-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
  color: var(--paper);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.28),
    0 8px 26px rgba(20, 24, 40, 0.12);
}
.pr-pill::before {
  content: '+';
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--blue);
}
@media (prefers-reduced-motion: reduce) {
  .pr-mq {
    -webkit-mask: none;
    mask: none;
  }
  .pr-track {
    animation: none;
    width: auto;
  }
  .pr-track ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .pr-track ul[aria-hidden] {
    display: none;
  }
}
@media (max-width: 900px) {
  .pr-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .pr-sum {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .pr-sum-p {
    margin-top: -4px;
  }
  .pr-go {
    width: 100%;
  }
}
/* ---------- Dark theme ---------- */
.theme {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--glass-bd);
  background: var(--glass-bg);
  box-shadow: var(--glass-sh);
  color: var(--paper);
  cursor: pointer;
  transition:
    transform 0.16s var(--out),
    background 0.2s;
}
.theme:active {
  transform: scale(0.94);
}
.theme svg {
  width: 18px;
  height: 18px;
  display: block;
}
.theme .sun {
  display: none;
}
html[data-theme='dark'] .theme .sun {
  display: block;
}
html[data-theme='dark'] .theme .moon {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .theme:hover {
    background: var(--paper);
    color: var(--ink);
  }
}
html[data-theme='dark'] {
  color-scheme: dark;
  --ink: #000;
  --ink-2: #141416;
  --paper: #f5f5f7;
  --mute: #a1a1a6;
  --rule: rgba(255, 255, 255, 0.12);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  --glass-bd: rgba(255, 255, 255, 0.16);
  --glass-sh:
    inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(255, 255, 255, 0.03), 0 10px 34px rgba(0, 0, 0, 0.5);
}
html[data-theme='dark'] .intro::before,
html[data-theme='dark'] .contact::before {
  opacity: 0.95;
}
html[data-theme='dark'] .intro::after,
html[data-theme='dark'] .contact::after {
  mix-blend-mode: screen;
}
html[data-theme='dark'] .wm-dot {
  box-shadow: 0 0 0 0.14em rgba(255, 255, 255, 0.14);
}
html[data-theme='dark'] .show {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
html[data-theme='dark'] .dev-lid {
  background: #0c0c0d;
  box-shadow:
    inset 0 0 0 1.5px #1d1d20,
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 50px 90px -34px rgba(0, 0, 0, 0.8),
    0 14px 34px -12px rgba(0, 0, 0, 0.6);
}
html[data-theme='dark'] .dev-cam {
  background: #050506;
  box-shadow: 0 0 0 1px #1a1a1d;
}
html[data-theme='dark'] .dev-screen {
  background: #000;
  color: #f5f5f7;
}
html[data-theme='dark'] .dev-bar {
  background: #1c1c1e;
  border-bottom-color: rgba(255, 255, 255, 0.07);
  color: #a1a1a6;
}
html[data-theme='dark'] .dev-url {
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1a6;
}
html[data-theme='dark'] .dev-base {
  background: linear-gradient(#2a2a2d, #141416);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 34px -14px rgba(0, 0, 0, 0.75);
}
html[data-theme='dark'] .dev-base::before {
  background: #0a0a0b;
}
html[data-theme='dark'] .dev[data-mode='phone'] .dev-lid {
  box-shadow:
    inset 0 0 0 2px #1d1d20,
    0 50px 90px -34px rgba(0, 0, 0, 0.8),
    0 14px 34px -12px rgba(0, 0, 0, 0.6);
}
html[data-theme='dark'] .dev-home {
  background: rgba(255, 255, 255, 0.55);
}
html[data-theme='dark'] .pr-seg {
  background: rgba(255, 255, 255, 0.09);
}
html[data-theme='dark'] .pr-seg i {
  background: #2c2c2e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
html[data-theme='dark'] .pr-dot {
  border-color: rgba(255, 255, 255, 0.3);
}
html[data-theme='dark'] .pr-sum {
  background: #1c1c1e;
  color: #f5f5f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
html[data-theme='dark'] .pr-req {
  background: #0e0e11;
}
html[data-theme='dark'] .pr-req::before {
  opacity: 0.6;
}
html[data-theme='dark'] .pr-req-head p {
  color: rgba(245, 245, 247, 0.7);
}
html[data-theme='dark'] .pr-pill {
  color: #f5f5f7;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    inset 0 0 20px rgba(255, 255, 255, 0.04),
    0 8px 26px rgba(0, 0, 0, 0.45);
}
html[data-theme='dark'] .pr-pill::before {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  color: #5cb0ff;
}
@media (hover: hover) and (pointer: fine) {
  html[data-theme='dark'] .pr-card:not([aria-pressed='true']):hover {
    border-color: rgba(255, 255, 255, 0.3);
  }
}
/* Theme switch cross-fade */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.45s;
  animation-timing-function: var(--out);
}
/* ---------- Text animation (js/motion.js) ---------- */
.tx-boot .intro .me,
.tx-boot .intro h1,
.tx-boot .intro p,
.tx-boot .jump,
.tx-boot .claims {
  opacity: 0;
}
.tx-w {
  display: inline-block;
  white-space: nowrap;
}
.tx-c {
  display: inline-block;
  transition: transform 0.45s var(--out);
}
/* Headings: word-by-word reveal */
[data-split='words'] .tx-w {
  overflow: hidden;
  vertical-align: top;
  padding: 0.14em 0.04em 0.16em;
  margin: -0.14em -0.04em -0.16em;
}
.tx-wi {
  display: inline-block;
  transition: transform 1s var(--out) calc(var(--i) * 70ms);
}
.tx-wait .tx-wi {
  transform: translate3d(0, 110%, 0);
}
.tx-wait .tx-c {
  opacity: 0;
}
/* Supporting text: fade up */
.tx-fade {
  transition:
    opacity 0.8s var(--out) 0.25s,
    transform 0.8s var(--out) 0.25s;
}
.tx-fade.tx-wait {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}
/* Paragraph highlighted while scrolling */
.tx-lit .tx-wi {
  transition: none;
  opacity: var(--o, 0.16);
}
@media (prefers-reduced-motion: reduce) {
  .tx-wait .tx-wi {
    transform: none;
  }
  .tx-wait .tx-c {
    opacity: 1;
  }
  .tx-fade.tx-wait {
    opacity: 1;
    transform: none;
  }
  .tx-lit .tx-wi {
    opacity: 1;
  }
}

/* ---------- Enquiry form ---------- */
.enq {
  position: relative;
  max-width: 640px;
  margin: 10px auto 0;
  text-align: left;
  padding: clamp(20px, 3.6vw, 34px);
  border-radius: 28px;
  background: color-mix(in srgb, var(--ink-2) 92%, transparent);
  border: 1px solid var(--rule);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.55);
  scroll-margin-top: 20px;
}
.enq-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 1em;
  margin-bottom: 12px;
  font: 500 0.82rem/1 var(--f-ui);
  color: var(--mute);
}
.enq-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--rule);
  overflow: hidden;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.enq-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.55s var(--out);
}
.enq-body {
  position: relative;
}
.enq-q {
  margin: 0 0 18px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  outline: none;
  text-wrap: balance;
}
.enq-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.enq-tiles.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 560px) {
  .enq-tiles.c3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.enq-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 16px 10px;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.16s var(--out),
    border-color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s;
}
.enq-tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enq-tile b {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.enq-tile small {
  color: var(--mute);
  font-size: 0.86rem;
  line-height: 1.2;
}
.enq-tiles.pk .enq-tile {
  min-height: 86px;
}
.enq-tile:active {
  transform: scale(0.97);
}
.enq-tile[aria-pressed='true'] {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  background: color-mix(in srgb, var(--blue) 9%, transparent);
}
@media (hover: hover) and (pointer: fine) {
  .enq-tile:hover {
    border-color: color-mix(in srgb, var(--blue) 55%, transparent);
  }
}
.enq-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  min-height: 44px;
}
.enq-back {
  border: 0;
  background: none;
  color: var(--mute);
  font: 500 0.95rem/1 var(--f-ui);
  padding: 12px 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.enq-back::before {
  content: '← ';
}
.enq-again::before {
  content: none;
}
@media (hover: hover) {
  .enq-back:hover {
    color: var(--paper);
  }
}
.enq-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font: 500 1rem/1 var(--f-ui);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s var(--out),
    opacity 0.2s;
}
.enq-go:active {
  transform: scale(0.97);
}
.enq-go:disabled {
  opacity: 0.6;
  cursor: default;
}
.contact .enq .enq-l {
  margin: 0 0 10px;
  max-width: none;
  color: var(--mute);
  font-size: 0.92rem;
}
.enq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.enq-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: none;
  color: inherit;
  font: 500 0.9rem/1.2 var(--f-ui);
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.16s var(--out);
}
.enq-chip:active {
  transform: scale(0.97);
}
.enq-chip[aria-pressed='true'] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.enq-f {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.enq-f > span {
  font-size: 0.9rem;
  font-weight: 500;
}
.enq-f em {
  font-style: normal;
  font-weight: 400;
  color: var(--mute);
}
.enq-f input,
.enq-f textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  color: inherit;
  resize: vertical;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.enq-f input:focus,
.enq-f textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent);
}
.enq-f [aria-invalid='true'] {
  border-color: #e5484d;
}
.enq-err {
  color: #e5484d;
  font-size: 0.85rem;
}
.enq-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact .enq .enq-note {
  margin: 2px 0 0;
  max-width: none;
  font-size: 0.82rem;
  color: var(--mute);
}
.enq-end {
  text-align: center;
  padding: 10px 0 4px;
}
.enq-end .enq-q {
  margin-bottom: 10px;
}
.contact .enq-end p {
  margin: 0 auto 22px;
  max-width: 40ch;
  font-size: 1rem;
}
.enq-ok {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 16px;
}
.enq-ok svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.enq-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 26px;
  color: var(--mute);
  font-size: 0.95rem;
}
.enq-alt .mail-addr {
  font-size: 1rem;
  padding: 10px 18px;
}
.enq-alt .mail button {
  padding: 10px 18px;
}
/* ---------- FAQ ---------- */
.faq {
  padding-bottom: 0;
}
.faq-list {
  margin: clamp(28px, 5vw, 52px) auto 0;
  max-width: 820px;
  text-align: left;
  border-top: 1px solid var(--rule);
  interpolate-size: allow-keywords;
}
.faq-list details {
  border-bottom: 1px solid var(--rule);
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary i {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  transition:
    transform 0.3s var(--out),
    background-color 0.2s;
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  margin: -0.8px 0 0 -5.5px;
  background: currentColor;
  border-radius: 2px;
}
.faq-list summary i::after {
  transform: rotate(90deg);
}
.faq-list details[open] summary i {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0;
  padding: 0 48px 24px 4px;
  color: var(--mute);
  line-height: 1.55;
  max-width: 64ch;
}
.faq-list details::details-content {
  block-size: 0;
  overflow: clip;
  transition:
    block-size 0.35s var(--out),
    content-visibility 0.35s allow-discrete;
}
.faq-list details[open]::details-content {
  block-size: auto;
}
@media (prefers-reduced-motion: reduce) {
  .faq-list details::details-content,
  .enq-bar i {
    transition: none;
  }
}

/* ---------- Footer (canvas drawn by js/footer.js) ---------- */
.foot {
  padding: 0;
  color: var(--paper);
  font-size: 0.8rem;
}
.foot-fx {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}
.foot-fx canvas {
  display: block;
  width: 100%;
  height: clamp(140px, 26vw, 420px);
}
.foot-row {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--band-top, 60px) + 14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 clamp(12px, 2vw, 28px);
  font: 500 0.72rem/1.3 var(--f-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
}
.foot-row > span:nth-child(2) {
  text-align: center;
}
.foot-top {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 6px;
  border-radius: 6px;
}
@media (max-width: 640px) {
  .foot-row {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }
  .foot-row > span:nth-child(2) {
    display: none;
  }
}
/* Skip layout and paint of off-screen sections */
.show,
#pricing,
#solution,
#faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}

.foot-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.enq-note a {
  color: inherit;
}

/* ---------- Buttons: lit from above ----------
   Filled buttons get a light top edge, a shaded bottom edge, a tight contact shadow and a soft glow in their own
   colour; pressing flips the light (the highlight goes, the face sinks in). */
.mail button,
.pr-go,
.enq-go,
.enq-chip[aria-pressed='true'] {
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 55%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    inset 0 -2px 0 rgb(0 0 0 / 0.2),
    0 1px 2px rgb(0 0 0 / 0.25),
    0 8px 24px -6px rgb(0 113 227 / 0.6);
  transition:
    transform 0.16s var(--out),
    box-shadow 0.16s var(--out),
    background-color 0.2s,
    opacity 0.2s;
}
.mail button:active,
.pr-go:active,
.enq-go:active:not(:disabled) {
  box-shadow:
    inset 0 2px 4px rgb(0 0 0 / 0.3),
    0 1px 1px rgb(0 0 0 / 0.2);
  background-image: none;
}
.enq-go:disabled {
  box-shadow: none;
}
/* glass buttons: only the light on the top edge and a soft contact shadow */
.show-link {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.3),
    0 1px 2px rgb(0 0 0 / 0.18);
}
.show-link:active {
  box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.25);
}
