/* ==========================================================================
   Nexora Tech — site styles
   Built from Figma file "Nexora-Tech" (Web Page canvas, desktop 1440).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --midnight: #0b1f3a;
  --electric: #2f6bff;
  --cyan: #22d3ee;
  --sky: #7fa6ff;
  --mist: #cfdcee;
  --cloud: #f4f7fb;
  --slate: #4b5b73;
  --white: #ffffff;
  --danger: #e5484d;
  --danger-ink: #b42318;
  --danger-bg: #fff5f5;

  --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-logo: "Outfit", var(--font-sans);

  --container: 1200px;
  --gutter: clamp(20px, 8.33vw, 120px);
  --section-y: clamp(72px, 8.33vw, 120px);

  --line: rgba(11, 31, 58, 0.12);
  --shadow-smiley: drop-shadow(0 10px 12px rgba(10, 31, 59, 0.18));
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--midnight);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

[hidden] { display: none !important; }

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

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.01em;
  color: var(--electric);
}
.on-dark .serif,
.serif--cyan { color: var(--cyan); }

.h-section {
  font-weight: 700;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.h-page {
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--slate);
}
.lead--sm { font-size: clamp(16px, 1.32vw, 19px); }
.on-dark .lead { color: rgba(255, 255, 255, 0.75); }

.mono { font-family: var(--font-mono); }

.footnote {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  opacity: 0.8;
  text-align: center;
}
.on-dark .footnote { color: var(--white); opacity: 0.55; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 7.8px;
  color: var(--midnight);
}
.logo__mark {
  position: relative;
  width: 21.6px;
  height: 21.6px;
  flex: none;
}
.logo__mark img {
  position: absolute;
  inset: 0 5%;
  width: 90%;
  height: 100%;
}
.logo__word {
  font-family: var(--font-logo);
  font-weight: 500;
  font-size: 33.6px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.logo--footer { gap: 8.84px; color: var(--white); }
.logo--footer .logo__mark { width: 24.48px; height: 24.48px; }
.logo--footer .logo__word { font-size: 38.08px; }

.mark {
  position: relative;
  flex: none;
}
.mark img { position: absolute; inset: 0 5%; width: 90%; height: 100%; }

/* ---------- Smiley ---------- */
.smiley { flex: none; display: block; }
.smiley--float { filter: var(--shadow-smiley); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  line-height: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .smiley { width: 22px; height: 22px; }

.btn--primary { background: var(--electric); color: var(--white); }
.btn--primary:hover { box-shadow: 0 10px 22px rgba(47, 107, 255, 0.35); }

.btn--secondary {
  background: var(--white);
  color: var(--midnight);
  border-color: rgba(11, 31, 58, 0.18);
}
.btn--secondary:hover { border-color: rgba(11, 31, 58, 0.4); }

.btn--on-dark { background: var(--white); color: var(--midnight); }
.btn--on-dark:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.link-arrow {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--electric);
}
.link-arrow span:last-child { transition: transform 0.2s ease; }
.link-arrow:hover span:last-child { transform: translateX(3px); }

/* ---------- Label pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: normal;
  letter-spacing: 0.06em;
  color: var(--midnight);
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  flex: none;
}
.pill--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}
.pill--dark::before { background: var(--cyan); }

/* Chips & tags */
.chip {
  display: inline-flex;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--cloud);
  border: 1px solid rgba(11, 31, 58, 0.1);
  font-weight: 500;
  font-size: 15px;
  line-height: normal;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cloud);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: normal;
  color: var(--midnight);
  white-space: nowrap;
}
.tag--outline { background: var(--white); border: 1px solid rgba(11, 31, 58, 0.1); }
.tag--soft { border: 1px solid rgba(11, 31, 58, 0.08); }

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

/* ---------- Nav ---------- */
.site-header { position: relative; z-index: 20; }
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 28px;
}
.nav__links {
  display: flex;
  gap: 36px;
  font-weight: 500;
  font-size: 16px;
}
.nav__links a { position: relative; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--electric);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  font-size: 16px;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(11, 31, 58, 0.18);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span:not(.sr-only),
.nav__toggle span:not(.sr-only)::before,
.nav__toggle span:not(.sr-only)::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--midnight);
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.nav__toggle span:not(.sr-only)::before,
.nav__toggle span:not(.sr-only)::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 20px 40px rgba(10, 31, 59, 0.08);
}
.mobile-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--cloud); }
.mobile-menu .btn { justify-content: center; margin-top: 8px; }
.mobile-menu.is-open { display: flex; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--white { background: var(--white); }
.section--cloud { background: var(--cloud); }
.section--midnight { background: var(--midnight); color: var(--white); }

.section__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.section__stack--40 { gap: 40px; }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 860px;
  text-align: center;
}
.section-head--tight { gap: 16px; }

/* ---------- Home hero ---------- */
.hero { padding-block: 64px 96px; overflow: hidden; }
.hero__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 700px;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(54px, 6.67vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero__title .serif {
  display: block;
  font-size: 1.083em;
  letter-spacing: -0.01em;
  line-height: 0.98;
}
.trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust__faces { display: flex; }
.trust__faces .smiley { width: 34px; height: 34px; margin-right: -10px; }
.trust__faces .smiley:last-child { margin-right: 0; }
.trust p { font-weight: 500; font-size: 15px; color: var(--slate); }

.hero__art {
  position: relative;
  width: 500px;
  height: 520px;
  flex: none;
}
.hero-card {
  position: absolute;
  left: 40px;
  top: 40px;
  width: 420px;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
}
.hero-card__field { position: absolute; left: -180px; top: 0; width: 780px; height: 440px; max-width: none; }
.hero-card .mark { position: absolute; left: 32px; top: 32px; width: 56px; height: 56px; }
.hero-card__title {
  position: absolute;
  left: 32px;
  top: 300px;
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-card__code {
  position: absolute;
  left: 32px;
  top: 400px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  white-space: pre;
}
.hero__art .smiley { position: absolute; }

.logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 72px;
}
.logos__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--slate);
}
.logos__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 72px;
  row-gap: 16px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.logos__row span { opacity: 0.45; }

/* ---------- Floating page header (inner pages) ---------- */
.page-header {
  position: relative;
  padding-block: 72px 96px;
  overflow: hidden;
}
.page-header--even { padding-block: 72px; }
.page-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.page-header .smiley--float { position: absolute; filter: drop-shadow(0 10px 12px rgba(10, 31, 59, 0.16)); }

/* ---------- Home: How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--cloud);
  border: 1px solid rgba(11, 31, 58, 0.08);
}
.step-card__top { display: flex; align-items: center; justify-content: space-between; }
.step-card__top .smiley { width: 64px; height: 64px; }
.step-card__num { font-family: var(--font-mono); font-size: 16px; color: var(--slate); }
.step-card h3 { font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: normal; }
.step-card p { font-size: 17px; line-height: 1.55; color: var(--slate); }

.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; }

/* ---------- Home: Services (dark grid) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.svc-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.svc-card__icon { padding: 12px; border-radius: 14px; background: rgba(47, 107, 255, 0.16); }
.svc-card__icon img { width: 26px; height: 26px; }
.svc-card h3 { font-weight: 600; font-size: 21px; letter-spacing: -0.01em; line-height: normal; }
.svc-card p { font-size: 15px; line-height: 1.5; opacity: 0.65; }

/* ---------- Dashed feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  border-radius: 24px;
  border: 1.5px dashed rgba(11, 31, 58, 0.22);
}
.feature-card--14 { gap: 14px; }
.feature-card--28 { padding: 28px; }
.feature-card .smiley { width: 48px; height: 48px; }
.feature-card--28 .smiley { width: 44px; height: 44px; }
.feature-card h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.01em; line-height: normal; }
.feature-card--28 h3 { font-size: 21px; }
.feature-card p { font-size: 16px; line-height: 1.55; color: var(--slate); }
.feature-card--28 p { font-size: 15px; line-height: 1.5; }
.feature-card .price { font-family: var(--font-mono); font-size: 14px; color: var(--electric); }

/* ---------- Product mocks (work thumbnails) ---------- */
.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--midnight);
  isolation: isolate;
}
.thumb__field {
  position: absolute;
  max-width: none;
  left: var(--fx, 0px);
  top: var(--fy, -30px);
  width: var(--fw, 640px);
  height: var(--fh, 360px);
}
.mock { position: absolute; background: var(--white); overflow: hidden; }
.mock i { position: absolute; display: block; }

.mock--web {
  left: 82px; top: 70px; width: 220px; height: 250px;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}
.mock--web i:nth-child(1) { left: 20px; top: 24px; width: 120px; height: 12px; border-radius: 6px; background: var(--midnight); }
.mock--web i:nth-child(2) { left: 20px; top: 54px; width: 180px; height: 8px; border-radius: 4px; background: var(--mist); }
.mock--web i:nth-child(3) { left: 20px; top: 72px; width: 150px; height: 8px; border-radius: 4px; background: var(--mist); }
.mock--web i:nth-child(4) { left: 20px; top: 90px; width: 120px; height: 8px; border-radius: 4px; background: var(--mist); }
.mock--web i:nth-child(5) { left: 20px; top: 120px; width: 180px; height: 90px; border-radius: 12px; background: var(--electric); }
.mock--web i:nth-child(6) { left: 20px; top: 220px; width: 80px; height: 26px; border-radius: 13px; background: var(--cyan); }

.mock--phone {
  left: var(--mx, 230px); top: var(--my, 67px); width: 180px; height: var(--mh, 412.8px);
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.mock--phone i:nth-child(1) { left: 60px; top: 14px; width: 60px; height: 8px; border-radius: 4px; background: var(--mist); }
.mock--phone i:nth-child(2) { left: 16px; top: 40px; width: 148px; height: 90px; border-radius: 16px; background: var(--electric); }
.mock--phone i:nth-child(3) { left: 16px; top: 148px; width: 148px; height: 10px; border-radius: 5px; background: var(--mist); }
.mock--phone i:nth-child(4) { left: 16px; top: 170px; width: 132px; height: 10px; border-radius: 5px; background: var(--mist); }
.mock--phone i:nth-child(5) { left: 16px; top: 192px; width: 116px; height: 10px; border-radius: 5px; background: var(--mist); }
.mock--phone i:nth-child(6) { left: 16px; top: 214px; width: 100px; height: 10px; border-radius: 5px; background: var(--mist); }
.mock--phone i:nth-child(7) { left: 16px; top: 250px; width: 90px; height: 28px; border-radius: 14px; background: var(--cyan); }

.mock--dash {
  left: var(--mx, 340px); top: 84px; width: var(--mw, 520px); height: 296.4px;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
.mock--dash i:nth-child(1) { left: 0; top: 0; width: 22%; height: 100%; background: var(--cloud); }
.mock--dash i:nth-child(n+2):nth-child(-n+6) { left: 4%; width: 14%; height: 8px; border-radius: 4px; background: var(--mist); }
.mock--dash i:nth-child(2) { top: 24px; }
.mock--dash i:nth-child(3) { top: 46px; }
.mock--dash i:nth-child(4) { top: 68px; }
.mock--dash i:nth-child(5) { top: 90px; }
.mock--dash i:nth-child(6) { top: 112px; }
.mock--dash i:nth-child(7) { left: 27%; top: 24px; width: 35%; height: 12px; border-radius: 6px; background: var(--midnight); }
.mock--dash i:nth-child(8),
.mock--dash i:nth-child(9),
.mock--dash i:nth-child(10) { top: 52px; width: 21%; height: 60px; border-radius: 10px; background: var(--cloud); }
.mock--dash i:nth-child(8) { left: 27%; background: var(--electric); }
.mock--dash i:nth-child(9) { left: 50.5%; }
.mock--dash i:nth-child(10) { left: 74%; }
.mock--dash i:nth-child(11) { left: 27%; top: 128px; width: 69%; height: 156.4px; border-radius: 10px; background: var(--cloud); }
.mock--dash img { position: absolute; left: 29%; top: 140px; width: 65%; height: 126px; max-width: none; }

/* ---------- Home: recent work ---------- */
.work-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: wrap;
}
.work-head__title { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.work-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.work-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.work-card .thumb { height: 300px; }
.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.work-card__meta h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: normal; }
.work-card__meta span { font-weight: 500; font-size: 15px; color: var(--slate); }
.work-card .thumb { transition: transform 0.25s ease; }
.work-card:hover .thumb { transform: translateY(-4px); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
}
.quote-card blockquote { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.5; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; }
.quote-card .smiley { width: 44px; height: 44px; }
.quote-card cite { display: flex; flex-direction: column; gap: 2px; font-style: normal; line-height: normal; }
.quote-card cite strong { font-weight: 700; font-size: 16px; }
.quote-card cite span { font-size: 14px; color: var(--slate); }

/* ---------- Plans (engagement models & pricing) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; align-items: start; }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.plan--featured { background: var(--electric); border-color: var(--electric); }
.plan.is-highlighted { box-shadow: 0 0 0 3px var(--cyan); }
.plan__badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--electric);
}
.plan h3 { font-weight: 700; font-size: 28px; letter-spacing: -0.01em; line-height: normal; }
.plan__terms { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); }
.plan--featured .plan__terms { color: var(--white); opacity: 0.9; }
.plan__desc { font-size: 16px; line-height: 1.5; opacity: 0.8; }
.plan__price { display: flex; flex-direction: column; line-height: normal; }
.plan__price small { font-weight: 500; font-size: 14px; opacity: 0.7; }
.plan__price div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price strong { font-weight: 700; font-size: clamp(42px, 3.9vw, 56px); letter-spacing: -0.03em; }
.plan__price span { font-weight: 500; font-size: 17px; opacity: 0.75; }
.plan hr { width: 100%; height: 1px; margin: 0; border: 0; background: rgba(255, 255, 255, 0.18); }
.plan__list { display: flex; flex-direction: column; gap: 20px; }
.plan__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; line-height: normal; }
.plan__list img { width: 22px; height: 22px; flex: none; }

.plans-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; text-align: center; }
.plans-note .smiley { width: 24px; height: 24px; }
.plans-note p { font-weight: 500; font-size: 16px; opacity: 0.8; }

/* ---------- FAQ ---------- */
.faq { width: min(880px, 100%); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
  font-weight: 600;
  font-size: clamp(18px, 1.53vw, 22px);
  letter-spacing: -0.01em;
  line-height: normal;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary img { width: 24px; height: 24px; flex: none; transition: transform 0.2s ease; }
.faq__item summary .faq__up { display: none; }
.faq__item[open] summary .faq__up { display: block; }
.faq__item[open] summary .faq__down { display: none; }
.faq__item[open] summary { padding-bottom: 14px; }
.faq__item p { padding-bottom: 26px; font-size: 17px; line-height: 1.55; color: var(--slate); }

/* ---------- Final CTA ---------- */
.cta-wrap { padding-bottom: var(--section-y); }
.cta-wrap--padded { padding-top: var(--section-y); }
.cta-card {
  position: relative;
  min-height: 460px;
  border-radius: 36px;
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  isolation: isolate;
}
.cta-card__field { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: -1; }
.cta-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  text-align: center;
}
.cta-card .mark { width: 64px; height: 64px; }
.cta-card h2 {
  font-weight: 700;
  font-size: clamp(40px, 4.45vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.cta-card h2 .serif { color: var(--cyan); font-size: 1.094em; letter-spacing: 0; }
.cta-card__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta-card__email { display: inline-flex; gap: 8px; font-weight: 600; font-size: 17px; }
.cta-card__email:hover span:last-child { transform: translateX(3px); }
.cta-card__email span:last-child { transition: transform 0.2s ease; }
.cta-card__smiley { position: absolute; }

/* ---------- Footer ---------- */
.footer { background: var(--midnight); color: var(--white); padding-block: 80px 48px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand p { font-size: 16px; line-height: 1.6; opacity: 0.7; }
.footer__cols { display: flex; gap: 80px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 12px; line-height: normal; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}
.footer__col a { font-weight: 500; font-size: 16px; opacity: 0.85; transition: opacity 0.2s ease; }
.footer__col a:hover { opacity: 1; }
.footer__rule { height: 1px; margin-block: 56px; background: rgba(255, 255, 255, 0.12); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer__bottom > * { opacity: 0.6; }
.footer__legal { display: flex; gap: 12px; }
.footer__legal a:hover { text-decoration: underline; }

/* ==========================================================================
   Services page
   ========================================================================== */
.svc-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; align-items: start; }
.svc-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px;
  border-radius: 28px;
  background: var(--cloud);
  border: 1px solid rgba(11, 31, 58, 0.08);
}
.svc-detail__head { display: flex; align-items: center; gap: 18px; width: 100%; }
.svc-detail__icon { padding: 14px; border-radius: 16px; background: var(--midnight); flex: none; }
.svc-detail__icon img { width: 28px; height: 28px; }
.svc-detail__head h3 { font-weight: 700; font-size: 28px; letter-spacing: -0.01em; line-height: normal; }
.svc-detail__head p { margin-top: 4px; font-size: 16px; color: var(--slate); line-height: normal; }
.svc-detail hr { width: 100%; height: 1px; margin: 0; border: 0; background: rgba(11, 31, 58, 0.1); }
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 17px; line-height: normal; }
.check-list img { width: 20px; height: 20px; flex: none; }

.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.industry {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: normal;
}
.industry .smiley { width: 44px; height: 44px; }
.industry h3 { font-weight: 700; font-size: 20px; }
.industry p { margin-top: 2px; font-size: 15px; opacity: 0.65; }

/* ==========================================================================
   How it works page
   ========================================================================== */
.timeline { display: flex; flex-direction: column; width: 100%; }
.tl-row { display: grid; grid-template-columns: 220px 56px 1fr; column-gap: 40px; padding-bottom: 24px; }
.tl-row__when { display: flex; flex-direction: column; gap: 6px; padding-top: 28px; line-height: normal; }
.tl-row__when span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--electric); }
.tl-row__when strong { font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.tl-row__rail { display: flex; flex-direction: column; align-items: center; }
.tl-row__rail::before,
.tl-row__rail::after { content: ""; width: 2px; background: var(--mist); }
.tl-row__rail::before { height: 24px; flex: none; }
.tl-row__rail::after { flex: 1; }
.tl-row:first-child .tl-row__rail::before,
.tl-row:last-child .tl-row__rail::after { background: transparent; }
.tl-row__rail .smiley { width: 56px; height: 56px; }
.tl-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--cloud);
  border: 1px solid rgba(11, 31, 58, 0.08);
}
.tl-card h3 { font-weight: 700; font-size: 30px; letter-spacing: -0.01em; line-height: normal; }
.tl-card p { font-size: 17px; line-height: 1.55; color: var(--slate); }
.tl-card .tags strong { font-weight: 600; font-size: 14px; }

.week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; width: 100%; align-items: start; }
.day {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.day--hl { background: var(--electric); border-color: var(--electric); }
.day__top { display: flex; align-items: center; justify-content: space-between; }
.day__top span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--cyan); }
.day--hl .day__top span { color: var(--white); }
.day .smiley { width: 32px; height: 32px; }
.day h3 { font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: normal; }
.day p { font-size: 15px; line-height: 1.5; opacity: 0.75; }

.tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tools strong { font-weight: 600; font-size: 15px; }

/* ==========================================================================
   Work page
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.filter {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.filter:hover { border-color: rgba(11, 31, 58, 0.35); }
.filter[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: var(--white); }

.featured-wrap { padding-bottom: 96px; }
.featured {
  display: grid;
  grid-template-columns: 640px 1fr;
  border-radius: 32px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
}
.featured .thumb { height: 480px; border-radius: 0; }
.featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 56px;
}
.featured__body h2 { font-weight: 700; font-size: clamp(36px, 3.33vw, 48px); letter-spacing: -0.03em; line-height: normal; }
.featured__body > p { font-size: 18px; line-height: 1.55; color: var(--slate); }
.stats { display: flex; gap: 32px; flex-wrap: wrap; line-height: normal; }
.stats strong { display: block; font-weight: 700; font-size: 36px; letter-spacing: -0.02em; color: var(--electric); }
.stats span { font-size: 14px; color: var(--slate); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; row-gap: 48px; }
.case { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.case[hidden] { display: none; }
.case .thumb { height: 380px; transition: transform 0.25s ease; }
.case:hover .thumb { transform: translateY(-4px); }
.case__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; line-height: normal; }
.case__meta h3 { font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.case__meta span { font-weight: 500; font-size: 15px; color: var(--slate); }
.case > p { font-size: 17px; line-height: 1.5; color: var(--slate); }
.case-empty { grid-column: 1 / -1; text-align: center; color: var(--slate); }

.impact { padding-block: 96px; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; line-height: normal; }
.impact__grid strong { display: block; font-weight: 700; font-size: clamp(44px, 4.45vw, 64px); letter-spacing: -0.03em; }
.impact__grid span { display: block; margin-top: 6px; font-size: 16px; opacity: 0.7; }

/* ==========================================================================
   Pricing page
   ========================================================================== */
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.1);
}
.segmented button {
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.segmented button[aria-pressed="true"] { background: var(--midnight); color: var(--white); }

.compare-scroll { width: 100%; overflow-x: auto; border-radius: 24px; border: 1px solid rgba(11, 31, 58, 0.1); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; line-height: normal; }
.compare th,
.compare td { padding: 20px 28px; height: 40px; text-align: center; font-size: 16px; }
.compare thead th { background: var(--midnight); color: var(--white); font-weight: 600; font-size: 17px; }
.compare th:first-child,
.compare td:first-child { width: 35%; text-align: left; font-weight: 600; }
.compare tbody tr:nth-child(even) { background: var(--cloud); }
.compare tbody tr:nth-child(odd) { background: var(--white); }
.compare td { font-weight: 500; }
.compare td img { width: 22px; height: 22px; margin-inline: auto; }
.compare .na { font-size: 18px; color: var(--slate); opacity: 0.5; }

/* ==========================================================================
   Start a project page
   ========================================================================== */
.inquiry { padding-block: 72px 120px; }
.inquiry__grid { display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: start; }
.inquiry__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.back-link {
  display: inline-flex;
  gap: 8px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.1);
  font-weight: 600;
  font-size: 15px;
  line-height: normal;
}
.back-link:hover { border-color: rgba(11, 31, 58, 0.3); }
.inquiry__title {
  font-weight: 700;
  font-size: clamp(52px, 5.28vw, 76px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.inquiry__title .serif { display: block; font-size: 1.13em; line-height: 1; }
.inquiry__intro > p:not(.reply-note) { font-size: 18px; line-height: 1.55; color: var(--slate); }
.faces { display: flex; }
.faces .smiley { width: 52px; height: 52px; margin-right: -12px; }
.faces .smiley:last-child { margin-right: 0; }
.alt-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.08);
  line-height: normal;
}
.alt-contact > span { font-size: 14px; color: var(--slate); }
.alt-contact a { display: inline-flex; gap: 6px; font-weight: 700; font-size: 18px; }
.alt-contact a span:last-child { color: var(--electric); transition: transform 0.2s ease; }
.alt-contact a:hover span:last-child { transform: translateX(3px); }
.reply-note { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--slate); }
.reply-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--electric); flex: none; }

.form-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 48px;
  border-radius: 32px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.06);
  box-shadow: 0 20px 25px rgba(10, 31, 59, 0.06);
}
.form-card h2 { font-weight: 700; font-size: 24px; letter-spacing: -0.01em; line-height: normal; }
.form-card hr { width: 100%; height: 1px; margin: 0; border: 0; background: rgba(11, 31, 58, 0.08); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-row--3 { grid-template-columns: repeat(3, 1fr); }

.error-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--danger-bg);
  border: 1px solid rgba(229, 72, 77, 0.4);
  font-weight: 500;
  font-size: 15px;
  color: var(--danger-ink);
  line-height: normal;
}
.error-banner img { width: 20px; height: 20px; flex: none; }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; line-height: normal; }
.field__control {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 18px;
  border-radius: 14px;
  background: var(--cloud);
  border: 1px solid rgba(11, 31, 58, 0.14);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--midnight);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field__control::placeholder { color: var(--slate); opacity: 0.65; }
.field__control:focus { outline: none; border-color: var(--electric); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18); background: var(--white); }
textarea.field__control { height: 132px; padding-block: 16px; resize: vertical; }
select.field__control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("../icons/select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  cursor: pointer;
}
select.field__control:invalid,
select.field__control.is-placeholder { color: rgba(75, 91, 115, 0.65); }
select.field__control option { color: var(--midnight); }
.field__error { display: none; font-weight: 500; font-size: 13px; color: var(--danger); line-height: normal; }
.field.has-error .field__control { background-color: var(--danger-bg); border: 1.5px solid var(--danger); }
.field.has-error .field__error { display: block; }

.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; flex-wrap: wrap; }
.submit-row__note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.submit-row__note img { width: 16px; height: 16px; }
.btn--send { padding: 16px 24px; }
.btn--send img { width: 20px; height: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .hero__art { transform: scale(0.85); transform-origin: right center; margin-left: -75px; }
  .featured { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .nav__links { gap: 24px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .week { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { flex-direction: column; align-items: flex-start; }
  .hero__art { transform: none; margin: 24px 0 0; align-self: center; }
  .inquiry__grid { grid-template-columns: 1fr; }
  .inquiry__intro { max-width: 640px; }
  .page-header .smiley--float { opacity: 0.35; }
}

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .steps, .quotes, .work-row, .plans, .feature-grid, .industries { grid-template-columns: 1fr; }
  .plans { max-width: 560px; margin-inline: auto; }
  .svc-details, .case-grid { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .featured .thumb { height: 420px; }
  .impact__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .tl-row { grid-template-columns: 56px 1fr; column-gap: 20px; }
  .tl-row__when { grid-column: 2; padding-top: 0; padding-bottom: 12px; flex-direction: row; align-items: baseline; gap: 12px; }
  .tl-row__rail { grid-row: 1 / span 2; grid-column: 1; }
  .tl-card { grid-column: 2; }
  .page-header .smiley--float { display: none; }
  .cta-card__smiley { opacity: 0.5; }
}

@media (max-width: 640px) {
  .hero__art { align-self: center; transform: scale(0.64); transform-origin: top center; margin: 16px 0 -187px; }
  .logos__row { column-gap: 36px; font-size: 22px; }
  .svc-grid, .feature-grid--4, .week { grid-template-columns: 1fr; }
  .step-card, .quote-card, .feature-card, .svc-detail, .plan { padding: 24px; }
  .form-card { padding: 28px 20px; }
  .form-row, .form-row--3 { grid-template-columns: 1fr; }
  .submit-row .btn { width: 100%; justify-content: center; }
  .featured__body { padding: 28px 24px; }
  .featured .thumb { height: 380px; }
  .featured .mock--phone { left: 50% !important; margin-left: -90px; }
  .case .thumb { height: 300px; }
  .footer__cols { gap: 40px; }
  .cta-card { border-radius: 28px; padding: 56px 20px 120px; }
  .cta-card__smiley { transform: scale(0.6); }
  .work-card__meta h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   Motion
   Everything below is disabled for prefers-reduced-motion users.
   Scroll reveals only hide content when JS is running (.js on <html>).
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* ---------- Scroll reveal ---------- */
  .js [data-reveal] {
    opacity: 0;
    translate: 0 28px;
    transition:
      opacity 0.7s ease,
      translate 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .js [data-reveal="scale"] { translate: 0 0; scale: 0.96; transition-property: opacity, scale; transition-duration: 0.7s, 0.9s; }
  .js [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; }

  /* ---------- Page entrance (hero + page headers) ---------- */
  @keyframes rise {
    from { opacity: 0; translate: 0 32px; }
    to   { opacity: 1; translate: 0 0; }
  }
  @keyframes pop {
    0%   { opacity: 0; scale: 0.4; }
    70%  { opacity: 1; scale: 1.06; }
    100% { opacity: 1; scale: 1; }
  }
  .hero__copy > *,
  .page-header__inner > *,
  .inquiry__intro > * {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__copy > :nth-child(2), .page-header__inner > :nth-child(2), .inquiry__intro > :nth-child(2) { animation-delay: 0.08s; }
  .hero__copy > :nth-child(3), .page-header__inner > :nth-child(3), .inquiry__intro > :nth-child(3) { animation-delay: 0.16s; }
  .hero__copy > :nth-child(4), .page-header__inner > :nth-child(4), .inquiry__intro > :nth-child(4) { animation-delay: 0.24s; }
  .hero__copy > :nth-child(5), .inquiry__intro > :nth-child(5) { animation-delay: 0.32s; }
  .inquiry__intro > :nth-child(6) { animation-delay: 0.4s; }
  .inquiry__intro > :nth-child(7) { animation-delay: 0.48s; }

  .hero-card { animation: rise 1s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .form-card { animation: rise 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  /* Smileys pop in, then float */
  @keyframes float {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -12px; }
  }
  @keyframes float-alt {
    0%, 100% { translate: 0 0; rotate: 0deg; }
    50%      { translate: 6px -9px; rotate: -6deg; }
  }
  .hero__art .smiley,
  .page-header .smiley--float {
    animation:
      pop 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) both,
      float 6s ease-in-out infinite;
  }
  .hero__art .smiley:nth-of-type(2), .page-header .smiley--float:nth-of-type(2) { animation-delay: 0.45s, 1.2s; animation-name: pop, float-alt; animation-duration: 0.7s, 7s; }
  .hero__art .smiley:nth-of-type(3), .page-header .smiley--float:nth-of-type(3) { animation-delay: 0.55s, 0.4s; animation-duration: 0.7s, 5.5s; }
  .hero__art .smiley:nth-of-type(4), .page-header .smiley--float:nth-of-type(4) { animation-delay: 0.65s, 2s; animation-name: pop, float-alt; animation-duration: 0.7s, 8s; }
  .hero__art .smiley:nth-of-type(5) { animation-delay: 0.75s, 0.9s; animation-duration: 0.7s, 6.5s; }
  .hero__art .smiley:nth-of-type(6) { animation-delay: 0.85s, 1.6s; animation-name: pop, float-alt; animation-duration: 0.7s, 7.5s; }
  .hero__art .smiley:nth-of-type(7) { animation-delay: 0.95s, 0.2s; animation-duration: 0.7s, 5s; }
  .hero__art .smiley:nth-of-type(1), .page-header .smiley--float:nth-of-type(1) { animation-delay: 0.35s, 0s; }

  .cta-card__smiley { animation: float 6s ease-in-out infinite; }
  .cta-card__smiley:nth-of-type(odd) { animation-name: float-alt; animation-duration: 7.5s; animation-delay: -2s; }
  .cta-card__smiley:nth-of-type(3n) { animation-duration: 5s; animation-delay: -3.5s; }

  /* ---------- Living gradients ---------- */
  @keyframes drift {
    0%, 100% { translate: 0 0; scale: 1; }
    50%      { translate: 60px -20px; scale: 1.08; }
  }
  @keyframes breathe {
    0%, 100% { scale: 1; translate: 0 0; }
    50%      { scale: 1.12; translate: -2% 2%; }
  }
  .hero-card__field { animation: drift 14s ease-in-out infinite; }
  .cta-card__field { animation: breathe 16s ease-in-out infinite; }
  .thumb__field { transition: translate 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), scale 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .work-card:hover .thumb__field,
  .case:hover .thumb__field,
  .featured:hover .thumb__field { translate: -40px 10px; scale: 1.06; }
  .mock { transition: translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .work-card:hover .mock,
  .case:hover .mock,
  .featured:hover .mock { translate: 0 -8px; }

  /* Blinking deploy cursor in the hero card */
  @keyframes blink { 50% { opacity: 0; } }
  .hero-card__code::after { content: "▍"; margin-left: 2px; animation: blink 1s steps(1) infinite; }

  /* ---------- Small delights ---------- */
  @keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.45); }
    70%  { box-shadow: 0 0 0 7px rgba(47, 107, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); }
  }
  .pill::before, .reply-note::before { animation: pulse-dot 2.4s ease-out infinite; }
  .pill--dark::before { animation-name: pulse-dot-cyan; }
  @keyframes pulse-dot-cyan {
    0%   { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
  }

  @keyframes wiggle {
    0%, 100% { rotate: 0deg; }
    25% { rotate: -14deg; }
    75% { rotate: 14deg; }
  }
  .btn .smiley { transition: scale 0.2s ease; }
  .btn:hover .smiley { animation: wiggle 0.5s ease-in-out; scale: 1.1; }
  .btn--send:hover img { animation: wiggle 0.5s ease-in-out; }

  .step-card, .feature-card, .quote-card, .svc-detail, .industry, .day, .tl-card {
    transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
  .step-card:hover, .quote-card:hover, .svc-detail:hover, .tl-card:hover {
    translate: 0 -4px;
    box-shadow: 0 18px 40px rgba(10, 31, 59, 0.08);
  }
  .feature-card:hover { translate: 0 -4px; border-color: var(--electric); }
  .industry:hover, .day:not(.day--hl):hover { translate: 0 -4px; border-color: rgba(255, 255, 255, 0.3); }
  .svc-card { transition: background-color 0.2s ease, border-color 0.2s ease, translate 0.25s ease; }
  .svc-card:hover { translate: 0 -4px; }
  .svc-card__icon { transition: background-color 0.25s ease, scale 0.25s ease; }
  .svc-card:hover .svc-card__icon { background: rgba(47, 107, 255, 0.32); scale: 1.08; }

  .step-card .smiley, .feature-card .smiley, .industry .smiley, .day .smiley, .tl-row__rail .smiley {
    transition: rotate 0.4s cubic-bezier(0.3, 1.4, 0.5, 1), scale 0.4s cubic-bezier(0.3, 1.4, 0.5, 1);
  }
  .step-card:hover .smiley, .feature-card:hover .smiley, .industry:hover .smiley, .day:hover .smiley, .tl-row:hover .tl-row__rail .smiley {
    rotate: -12deg;
    scale: 1.1;
  }

  .plan:not(.plan--featured):hover { translate: 0 -6px; border-color: rgba(255, 255, 255, 0.28); }
  .plan--featured:hover { translate: 0 -6px; box-shadow: 0 24px 50px rgba(47, 107, 255, 0.35); }

  .logos__row span { transition: opacity 0.25s ease; }
  .logos__row span:hover { opacity: 0.9; }

  .faq__item p { animation: rise 0.4s ease both; }
  .faq__item summary { transition: color 0.2s ease; }
  .faq__item summary:hover { color: var(--electric); }

  .chip { transition: background-color 0.2s ease, border-color 0.2s ease, translate 0.2s ease; }
  .chip:hover { background: var(--white); border-color: var(--electric); translate: 0 -2px; }

  /* Form error feedback */
  @keyframes shake {
    10%, 90% { translate: -1px 0; }
    20%, 80% { translate: 3px 0; }
    30%, 50%, 70% { translate: -5px 0; }
    40%, 60% { translate: 5px 0; }
  }
  .error-banner:not([hidden]) { animation: shake 0.5s ease both; }
  .field.has-error .field__control { animation: shake 0.45s ease both; }

  /* Timeline rail grows in as rows reveal */
  .js .tl-row[data-reveal] .tl-row__rail::after { transform-origin: top; scale: 1 0; transition: scale 0.9s 0.3s ease; }
  .js .tl-row[data-reveal].is-visible .tl-row__rail::after { scale: 1 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .plan { transition: box-shadow 0.25s ease, translate 0.25s ease, border-color 0.25s ease; }
}
