/* DK Theme — design system tokens & components */

:root {
  --blue: #0A73ED;
  --blue-violet: #4E6BFF;
  --green: #1FD6A6;
  --gold: #F9B94A;
  --ink: #111214;
  --body-copy: #4b4b4f;
  --muted: #828282;
  --paper: #ffffff;
  --paper-soft: #F5F7FC;
  --line: #e9ebf2;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-btn: 12px;
  --wrap: 1320px;
  --font: "Poppins", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --header-h: 76px;
  --grad-text: linear-gradient(100deg, var(--blue), var(--green) 85%);
  --grad-btn: linear-gradient(120deg, var(--blue-violet), var(--blue));
}

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

html {
  scroll-behavior: smooth;
}

@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  @view-transition {
    navigation: none;
  }

  .site-logo {
    animation: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-copy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-violet);
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0; }

.wrap {
  width: min(100% - 64px, var(--wrap));
  margin-inline: auto;
}

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

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Brandmark */
.brandmark {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.brandmark.row {
  flex-direction: row;
  gap: 5px;
}

.brandmark i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
}

.brandmark i:nth-child(1) { background: var(--blue); }
.brandmark i:nth-child(2) { background: var(--green); }

.brandmark--duo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.brandmark__glyph {
  display: block;
  width: 10px;
  height: 14px;
}

.brandmark i.pulse {
  box-shadow: 0 0 0 4px rgba(31, 214, 166, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31, 214, 166, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(31, 214, 166, 0.08); }
}

.brandmark.corner {
  position: absolute;
  bottom: 14px;
  right: 14px;
  flex-direction: row;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.brandmark.corner i {
  width: 7px;
  height: 7px;
}

/* Eyebrow — dots chase on a circle, then merge into figure-8 beside label */
.eyebrow {
  --dot-size: 6px;
  --orbit-r: 7px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  line-height: 1.3;
  vertical-align: top;
}

.eyebrow__label {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.eyebrow > a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow__mark {
  position: relative;
  width: 14px;
  height: 18px;
  flex-shrink: 0;
}

.eyebrow__spin {
  position: absolute;
  inset: 0;
  display: block;
}

.eyebrow__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--dot-size);
  height: var(--dot-size);
  margin: calc(var(--dot-size) / -2) 0 0 calc(var(--dot-size) / -2);
  border-radius: 50%;
  display: block;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.eyebrow__dot--a {
  background: var(--blue);
  transform: translate(calc(var(--orbit-r) * -1), 0);
}

.eyebrow__dot--b {
  background: var(--green);
  transform: translate(var(--orbit-r), 0);
}

.eyebrow__duo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 14px;
  margin: -7px 0 0 -5px;
  opacity: 0;
  transform: scale(0.55);
  transition:
    opacity 0.35s ease 0.05s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
  pointer-events: none;
}

/* Chase around the center */
.eyebrow.is-orbiting .eyebrow__spin {
  animation: eyebrow-chase 1.35s cubic-bezier(0.45, 0.05, 0.25, 1) forwards;
}

/* Pull together, then show duo */
.eyebrow.is-merging .eyebrow__dot--a,
.eyebrow.is-merging .eyebrow__dot--b {
  transform: translate(0, 0) scale(0.7);
  opacity: 0;
}

.eyebrow.is-merging .eyebrow__duo,
.eyebrow.is-merged .eyebrow__duo {
  opacity: 1;
  transform: scale(1);
}

.eyebrow.is-merged .eyebrow__spin {
  visibility: hidden;
}

@keyframes eyebrow-chase {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(400deg); }
}

/* Centered sections: mark above the eyebrow label */
.cta-band .eyebrow,
.page-hero--center .eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .eyebrow > a,
.page-hero--center .eyebrow > a {
  flex-direction: column;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(78, 107, 255, 0.6);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(78, 107, 255, 0.75);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--muted);
}

.btn-magnet {
  will-change: transform;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(17, 18, 20, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  animation: logo-enter 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo__mark {
  display: flex;
  flex-shrink: 0;
}

.site-logo__mark .brandmark {
  gap: 0;
}

.site-logo__mark .brandmark__glyph {
  width: 13px;
  height: 18px;
}

.site-logo__mark .brandmark i {
  width: 9px;
  height: 9px;
}

.site-logo__word {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--ink);
}

@keyframes logo-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  --dot-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dot-size: 6px;
  --nav-line: 1.2;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: var(--nav-line);
  padding: 0 14px;
  transition: color 0.2s ease;
}

.site-nav__text {
  position: relative;
  z-index: 1;
  display: block;
  line-height: var(--nav-line);
  padding-bottom: 12px;
}

.site-nav__link .brandmark--nav {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.site-nav__link .brandmark--nav i {
  position: absolute;
  width: var(--dot-size);
  height: var(--dot-size);
  top: calc(100% - var(--dot-size));
  right: auto;
  opacity: 0;
  transition:
    left 0.45s var(--dot-ease),
    top 0.45s var(--dot-ease),
    opacity 0.3s ease;
}

.site-nav__link .brandmark--nav i:nth-child(1) {
  left: calc(50% - 5px);
}

.site-nav__link .brandmark--nav i:nth-child(2) {
  left: calc(50% - 1px);
}

.site-nav__link .brandmark__duo-h {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 10px;
  margin-left: -7px;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.3s ease,
    transform 0.4s var(--dot-ease);
  pointer-events: none;
}

/* Active: gradient figure-8 under text */
.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__link.is-active .brandmark--nav i {
  opacity: 0;
}

.site-nav__link.is-active .brandmark__duo-h {
  opacity: 1;
  transform: scale(1);
}

/* Hover: ● TEXT ● — split dots beside the label */
.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--ink);
}

.site-nav__link:hover .brandmark__duo-h,
.site-nav__link:focus-visible .brandmark__duo-h {
  opacity: 0;
  transform: scale(0.7);
}

.site-nav__link:hover .brandmark--nav i,
.site-nav__link:focus-visible .brandmark--nav i {
  opacity: 1;
  top: calc((1em * var(--nav-line) - var(--dot-size)) / 2);
}

.site-nav__link:hover .brandmark--nav i:nth-child(1),
.site-nav__link:focus-visible .brandmark--nav i:nth-child(1) {
  left: 0;
}

.site-nav__link:hover .brandmark--nav i:nth-child(2),
.site-nav__link:focus-visible .brandmark--nav i:nth-child(2) {
  left: calc(100% - var(--dot-size));
}

.site-nav__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav__link {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 0;
  }

  .site-nav__cta {
    width: 100%;
    text-align: center;
  }
}

/* Sections */
.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--paper-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section-divider .line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 100px;
  overflow: visible;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 850px);
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 22px;
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
}

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

@media (max-width: 820px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 48px;
  }
}

/* Hero photo — SVG goo mask reveals/hides the photo */
.blob-frame {
  position: relative;
  width: min(100%, 850px);
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 22px 44px rgba(10, 45, 90, 0.28));
}

@media (min-width: 821px) {
  .blob-frame {
    margin-right: 0;
  }
}

.blob-frame__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.blob-frame .bm,
.blob-frame .bw {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
}

.blob-frame .bm1 { animation: mask-a 12s ease-in-out infinite; }
.blob-frame .bm2 { animation: mask-b 14s ease-in-out infinite; }
.blob-frame .bm3 { animation: mask-c 10s ease-in-out infinite; }
.blob-frame .bm4 { animation: mask-d 16s ease-in-out infinite; }
.blob-frame .bm5 { animation: mask-e 11s ease-in-out infinite; }

.blob-frame .bw1 { animation: wash-a 11s ease-in-out infinite; }
.blob-frame .bw2 { animation: wash-b 13s ease-in-out infinite; }
.blob-frame .bw3 { animation: wash-c 9s ease-in-out infinite; }
.blob-frame .bw4 { animation: wash-d 15s ease-in-out infinite; }
.blob-frame .bw5 { animation: wash-e 12s ease-in-out infinite; }

@keyframes wash-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, 14px) scale(1.08); }
}
@keyframes wash-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, -14px) scale(1.1); }
}
@keyframes wash-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 16px) scale(1.06); }
}
@keyframes wash-d {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -14px) scale(1.08); }
}
@keyframes wash-e {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-12px, 10px) scale(1.12); }
}

@keyframes mask-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(14px, 12px) scale(1.08); }
  66% { transform: translate(8px, 18px) scale(0.96); }
}
@keyframes mask-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-16px, -14px) scale(1.1); }
  70% { transform: translate(-8px, -18px) scale(0.95); }
}
@keyframes mask-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 14px) scale(1.1); }
}
@keyframes mask-d {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35% { transform: translate(16px, -12px) scale(1.08); }
  65% { transform: translate(10px, -16px) scale(1.02); }
}
@keyframes mask-e {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10px, -8px) scale(1.1); }
}

/* CTA mesh: organic wander → meet → blend → split (asymmetric paths) */
@keyframes cta-move-a {
  0% {
    left: -16%;
    bottom: -24%;
    transform: scale(1);
  }
  14% {
    left: -2%;
    bottom: -6%;
    transform: scale(1.08);
  }
  28% {
    left: 10%;
    bottom: -28%;
    transform: scale(0.94);
  }
  42% {
    left: 22%;
    bottom: -10%;
    transform: scale(1.05);
  }
  50% {
    left: 32%;
    bottom: -14%;
    transform: scale(1.16);
  }
  58% {
    left: 18%;
    bottom: -22%;
    transform: scale(1.04);
  }
  74% {
    left: 4%;
    bottom: -4%;
    transform: scale(1.1);
  }
  88% {
    left: -10%;
    bottom: -18%;
    transform: scale(0.97);
  }
  100% {
    left: -16%;
    bottom: -24%;
    transform: scale(1);
  }
}
@keyframes cta-move-b {
  0% {
    right: -14%;
    bottom: -10%;
    transform: scale(1.02);
  }
  12% {
    right: -4%;
    bottom: -26%;
    transform: scale(0.95);
  }
  26% {
    right: 8%;
    bottom: -8%;
    transform: scale(1.1);
  }
  40% {
    right: 20%;
    bottom: -20%;
    transform: scale(1.02);
  }
  50% {
    right: 32%;
    bottom: -14%;
    transform: scale(1.16);
  }
  62% {
    right: 16%;
    bottom: -4%;
    transform: scale(1.06);
  }
  78% {
    right: 2%;
    bottom: -22%;
    transform: scale(0.96);
  }
  90% {
    right: -8%;
    bottom: -12%;
    transform: scale(1.05);
  }
  100% {
    right: -14%;
    bottom: -10%;
    transform: scale(1.02);
  }
}
@keyframes cta-mix {
  0%, 42%, 58%, 100% { opacity: 0; }
  46% { opacity: 0.35; }
  50% { opacity: 1; }
  54% { opacity: 0.35; }
}

/* About / content blocks */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Counters */
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.counter {
  padding: 28px;
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.counter__num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}

.counter__num span {
  color: var(--blue);
}

.counter__label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .counters { grid-template-columns: 1fr; }
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(10, 45, 90, 0.35);
}

.price-card.is-featured {
  border-color: transparent;
  background: linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, var(--blue), var(--green)) border-box;
  border: 2px solid transparent;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.price-card__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 2.8em;
}

.price-card__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.price-card__price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.price-card li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14.5px;
  border-top: 1px solid var(--line);
  color: var(--body-copy);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.price-card .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* Values / icon boxes */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-card {
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--body-copy);
}

@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* Process steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step {
  margin: 0;
  padding: 0;
}

.step__num {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 14.5px;
  color: var(--body-copy);
  max-width: 32ch;
}

@media (max-width: 800px) {
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .step p { max-width: none; }
}

/* Scope list (what's on the site) */
.scope-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.scope-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.scope-list__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  padding-top: 3px;
}

.scope-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.scope-list span {
  display: block;
  font-size: 14.5px;
  color: var(--body-copy);
  line-height: 1.6;
}

@media (max-width: 700px) {
  .scope-list { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list {
  max-width: 720px;
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
  color: var(--ink);
}

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

.faq-item p {
  padding: 0 40px 22px 0;
  font-size: 14.5px;
  color: var(--body-copy);
  max-width: 58ch;
}

/* Projects */
.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #eef3fc, #e4ecfb);
  border: 1px solid var(--line);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -24px rgba(10, 45, 90, 0.4);
  color: inherit;
}

.project-card:hover .brandmark.corner {
  opacity: 1;
}

.project-card:hover .project-card__media img {
  transform: scale(1.04);
}

.project-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0A2A57;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card__body {
  padding: 20px 22px 24px;
}

.project-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.project-card__excerpt {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
  background: #08213f;
  color: #fff;
  isolation: isolate;
}

.cta-band .wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.cta-band__accent {
  color: var(--gold);
}

.cta-band p {
  margin: 18px auto 32px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 480px;
}

.cta-band__mesh {
  position: absolute;
  inset: 0;
  filter: url(#goo);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.cta-band__mesh .blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: left, right, bottom, transform;
}

.cta-band__mesh .blob__mix {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, #0A73ED, #1FD6A6);
  opacity: 0;
  animation: cta-mix 14s cubic-bezier(0.42, 0.05, 0.4, 1) infinite;
  pointer-events: none;
}

.cta-band__mesh .m1 {
  width: 50%;
  min-width: 280px;
  aspect-ratio: 1;
  left: -16%;
  bottom: -24%;
  background: radial-gradient(circle at 35% 35%, #47B9FF, #0A73ED 72%);
  animation: cta-move-a 14s cubic-bezier(0.42, 0.05, 0.4, 1) infinite;
}

.cta-band__mesh .m2 {
  width: 50%;
  min-width: 280px;
  aspect-ratio: 1;
  right: -14%;
  bottom: -10%;
  background: radial-gradient(circle at 35% 35%, #7CFFDB, #1FD6A6 72%);
  animation: cta-move-b 14s cubic-bezier(0.42, 0.05, 0.4, 1) infinite;
}

/* Footer */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  color: var(--body-copy);
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col a {
  color: var(--body-copy);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-whatsapp:hover,
.footer-col a.footer-whatsapp:hover {
  color: var(--ink);
}

.footer-whatsapp__icon {
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--ink);
  transition: background 0.3s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%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 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.footer-whatsapp:hover .footer-whatsapp__icon {
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.contact-card h3 {
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 8px 0;
  font-size: 15px;
}

.contact-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10, 115, 237, 0.12);
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  margin-bottom: 8px;
}

.form-alert--ok {
  background: rgba(31, 214, 166, 0.12);
  color: #0a7a5c;
}

.form-alert--err {
  background: rgba(254, 104, 139, 0.12);
  color: #b4234a;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Blog */
.posts-grid {
  display: grid;
  gap: 28px;
}

.post-card {
  display: grid;
  gap: 10px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.post-card a {
  text-decoration: none;
}

.post-card h2 {
  font-size: 1.5rem;
}

.post-card h2:hover {
  color: var(--blue);
}

.post-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.entry-content {
  max-width: 720px;
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.75em;
}

.single-hero {
  padding: 64px 0 40px;
}

.page-hero {
  padding: 64px 0 24px;
}

.page-hero--center {
  text-align: center;
}

.page-hero--center h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 18em;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .blob-frame .bm,
  .blob-frame .bw,
  .cta-band__mesh .blob,
  .brandmark i.pulse {
    animation: none !important;
  }

  .eyebrow.is-orbiting .eyebrow__spin {
    animation: none !important;
  }

  .eyebrow .eyebrow__dot {
    opacity: 0 !important;
  }

  .eyebrow .eyebrow__duo {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary:hover,
  .price-card:hover,
  .project-card:hover {
    transform: none;
  }

  .project-card:hover .project-card__media img {
    transform: none;
  }
}

/* A11y */
.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
}

/* 404 */
.error-page {
  padding: 120px 0;
  text-align: center;
}

.error-page h1 {
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
}