/* static/css/main.css */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-border: #e3e7ec;
  --color-text: #10192b;
  --color-text-muted: #5b6472;
  --color-accent: #1d7fe0;
  --color-accent-dark: #14589e;
  --color-accent-contrast: #ffffff;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-2);
}

h1 {
  font-size: clamp(40px, 6vw, 76px);
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 var(--space-2);
  color: var(--color-text-muted);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--space-2);
}

.section {
  padding: var(--space-6) 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

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

/* Header */

.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand__logo {
  height: 32px;
  width: auto;
}

.brand__identity {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

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

.brand__tagline {
  color: var(--color-text-muted);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.brand__logo--small {
  height: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color 150ms ease;
}

.site-nav a:hover {
  color: var(--color-text);
}

.site-nav a.site-nav__marketplace {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(29, 127, 224, 0.24);
  border-radius: 999px;
  background: rgba(29, 127, 224, 0.08);
  color: var(--color-accent-dark);
  font-weight: 700;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.site-nav__marketplace::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(29, 127, 224, 0.1);
  content: "";
  animation: marketplace-nav-pulse 2.2s ease-in-out infinite;
}

@keyframes marketplace-nav-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(29, 127, 224, 0.1);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(29, 127, 224, 0.04);
    transform: scale(1.18);
  }
}

.site-nav a.site-nav__marketplace:hover,
.site-nav a.site-nav__marketplace[aria-current="page"] {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
  transform: translateY(-1px);
}

.site-nav__marketplace:hover::before,
.site-nav__marketplace[aria-current="page"]::before {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

.lang-switch {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

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

.client-login {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid rgba(29, 127, 224, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(29, 127, 224, 0.07);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.client-login:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.lang-switch:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav[open] summary {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.mobile-nav__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(300px, calc(100vw - 32px));
  display: grid;
  padding: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: 0 20px 50px rgba(16, 25, 43, 0.14);
}

.mobile-nav__panel a {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav__panel a:last-child {
  border-bottom: 0;
}

.mobile-nav__panel a.mobile-nav__marketplace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  border: 1px solid rgba(29, 127, 224, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(29, 127, 224, 0.08);
  color: var(--color-accent-dark);
}

.mobile-nav__marketplace::after {
  content: "→";
  color: var(--color-accent);
  font-size: 17px;
}

.mobile-nav__panel a.mobile-nav__marketplace[aria-current="page"] {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.mobile-nav__marketplace[aria-current="page"]::after {
  color: var(--color-accent-contrast);
}

.mobile-nav__panel a.mobile-nav__client-login {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-accent-dark);
}


/* Hero */

.hero {
  padding: var(--space-6) 0 var(--space-5);
}

.hero__lead {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 640px;
  margin: var(--space-2) 0 var(--space-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-3);
  background: var(--color-bg);
}

.product-card__logo-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 148px;
  margin-bottom: var(--space-3);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) - 4px);
  background: #f7f9fb;
}

.product-card__logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.product-card__logo-frame--crm {
  background: #fff;
}

.product-card__logo-frame--crm .product-card__logo {
  width: 148px;
  height: 148px;
  max-width: none;
  transform: scale(1.32);
}

.product-card__logo-frame--marketplace {
  background: #f3f8f3;
}

.product-card__logo-frame--marketplace .product-card__logo {
  width: 82px;
  height: 98px;
}

.product-card__logo-frame--booking {
  background: #f7f4fa;
}

.product-card--featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.product-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-contrast);
  background: var(--color-accent);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: var(--space-2);
}

.product-card__logo-frame + .product-card__badge {
  position: absolute;
  top: calc(var(--space-3) + 10px);
  right: calc(var(--space-3) + 10px);
  z-index: 1;
  margin: 0;
  box-shadow: 0 2px 8px rgba(18, 31, 48, 0.14);
}

.product-card__badge--muted {
  color: #52606d;
  background: rgba(82, 96, 109, 0.1);
  box-shadow: none;
  letter-spacing: 0.045em;
}

.product-card__title {
  margin: 0 0 var(--space-1);
}

.product-card__description {
  flex: 1;
  margin: 0 0 var(--space-2);
  font-size: 15px;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
}

.product-card__link span {
  transition: transform 150ms ease;
}

.product-card__link:hover span {
  transform: translateX(4px);
}

/* Choice grid (e.g. terms document selector) */

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* Reference list (custom development case studies) */

.reference-list {
  list-style: none;
  margin: var(--space-3) 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}

.reference-list li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.reference-list strong {
  color: var(--color-text);
}

.reference-list--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.reference-list--cards .reference-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text-muted);
}

.reference-card__logo-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 104px;
  margin-bottom: var(--space-2);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) - 4px);
  background: #f7f9fb;
}

.reference-card__logo-frame--dark {
  border-color: #26334a;
  background: #10192b;
}

.reference-card__logo {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.reference-card__logo-frame--dark .reference-card__logo {
  width: 76px;
  height: 76px;
}

.reference-card__content h3 {
  margin: 0 0 6px;
  color: var(--color-text);
  font-size: 18px;
}

.reference-card__status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2cf;
  color: #7a5000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reference-card__link {
  color: inherit;
  text-decoration: none;
}

.reference-card__link::after {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  content: "";
}

.reference-card:has(.reference-card__link) {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.reference-card:has(.reference-card__link):hover {
  border-color: rgba(29, 127, 224, 0.42);
  box-shadow: 0 10px 26px rgba(18, 31, 48, 0.09);
  transform: translateY(-2px);
}

.reference-card:has(.reference-card__link):focus-within {
  outline: 3px solid rgba(29, 127, 224, 0.24);
  outline-offset: 3px;
}

.reference-card__content p {
  margin: 0;
  font-size: 14px;
}

/* Client testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: 0 12px 32px rgba(16, 25, 43, 0.06);
}

.testimonial-card::before {
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(29, 127, 224, 0.13);
  font-family: Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  content: "“";
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0;
}

.testimonial-card blockquote p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}

.testimonial-card figcaption strong {
  color: var(--color-text);
  font-size: 16px;
}

.testimonial-card figcaption span {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* About / CEO */

.about-ceo {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.about-ceo__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
  object-fit: cover;
  object-position: 50% 28%;
}

.about-ceo__bio p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
}

.about-ceo__bio p:last-child {
  margin-bottom: 0;
}

/* Founder / about page */

.about-founder-page {
  --about-section-space: clamp(88px, 10vw, 132px);
  overflow: hidden;
}

.about-founder-page .container {
  width: min(100% - 48px, 1320px);
}

.about-founder-page h2 {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about-founder-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 11vw, 148px) 0;
  background:
    radial-gradient(circle at 86% 22%, rgba(29, 127, 224, 0.13), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.about-founder-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(29, 127, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 127, 224, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000, transparent 76%);
  content: "";
}

.about-founder-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.about-founder-hero__copy {
  min-width: 0;
  animation: founder-enter 600ms ease both;
}

.about-founder-hero h1 {
  max-width: 790px;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.about-founder-hero__lead {
  max-width: 720px;
  margin: 30px 0 36px;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.58;
}

.about-founder-portrait {
  position: relative;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(29, 127, 224, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 90px rgba(20, 88, 158, 0.15);
  animation: founder-enter 600ms 120ms ease both;
}

.about-founder-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
}

.about-founder-portrait figcaption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8px 6px;
}

.about-founder-portrait strong,
.about-founder-portrait span {
  display: block;
}

.about-founder-portrait strong {
  font-size: 18px;
}

.about-founder-portrait span {
  color: var(--color-text-muted);
  font-size: 14px;
}

.about-founder-story {
  padding: var(--about-section-space) 0;
  background: var(--color-text);
}

.about-founder-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 9vw, 128px);
}

.about-founder-story h2 {
  color: #ffffff;
}

.about-founder-story__copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.about-founder-story__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.about-founder-section {
  padding: var(--about-section-space) 0;
}

.about-founder-section__intro {
  max-width: 930px;
  margin-bottom: clamp(50px, 7vw, 82px);
}

.about-founder-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-founder-principles article {
  min-height: 390px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid rgba(29, 127, 224, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(20, 88, 158, 0.12);
}

.about-founder-principles article > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 70px;
  border: 1px solid rgba(29, 127, 224, 0.18);
  border-radius: 50%;
  color: var(--color-accent);
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-founder-principles h3 {
  font-size: clamp(24px, 2.5vw, 32px);
}

.about-founder-work {
  padding: var(--about-section-space) 0;
  background: var(--color-bg-alt);
}

.about-founder-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(56px, 9vw, 128px);
}

.about-founder-work__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.about-founder-work__intro > p:last-child {
  max-width: 610px;
  margin-top: 26px;
  font-size: 18px;
}

.about-founder-steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-founder-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: #ffffff;
}

.about-founder-steps li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(29, 127, 224, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.about-founder-steps h3 {
  margin-bottom: 6px;
}

.about-founder-steps p {
  margin: 0;
}

.about-founder-mission {
  display: flex;
  min-height: 72svh;
  align-items: center;
  padding: var(--about-section-space) 0;
  background:
    radial-gradient(circle at 78% 50%, rgba(29, 127, 224, 0.15), transparent 26%),
    linear-gradient(145deg, #eef7ff, #ffffff 58%);
}

.about-founder-mission__inner {
  max-width: none;
}

.about-founder-mission blockquote {
  max-width: 1120px;
  margin: 24px 0 30px;
  color: var(--color-text);
  font-size: clamp(36px, 5.1vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-founder-mission__name {
  color: var(--color-text);
  font-weight: 800;
}

.about-founder-cta {
  padding: 88px 0;
}

.about-founder-cta__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(38px, 7vw, 82px);
  border-radius: 34px;
  color: #ffffff;
  background: var(--color-text);
  box-shadow: 0 30px 80px rgba(16, 25, 43, 0.18);
}

.about-founder-cta h2 {
  max-width: 820px;
  color: #ffffff;
}

.about-founder-cta p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.about-founder-cta .btn {
  flex-shrink: 0;
  background: #ffffff;
  color: var(--color-text);
}

.about-founder-section--alt {
  background: var(--color-bg-alt);
}

.about-timeline {
  position: relative;
  display: grid;
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 0;
  width: 2px;
  background: var(--color-border);
  content: "";
  transform: translateX(-50%);
}

.about-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 24px 64px 24px 1fr;
  align-items: center;
  gap: 0;
}

.about-timeline__marker {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 1;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.about-timeline__connector {
  grid-row: 1;
  align-self: center;
  width: 100%;
  height: 2px;
  background: var(--color-border);
}

.about-timeline__content {
  position: relative;
  grid-row: 1;
  padding: 28px 30px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 25, 43, 0.06);
}

.about-timeline__item:nth-child(odd) .about-timeline__connector {
  grid-column: 2;
}

.about-timeline__item:nth-child(odd) .about-timeline__content {
  grid-column: 1;
}

.about-timeline__item:nth-child(even) .about-timeline__connector {
  grid-column: 4;
}

.about-timeline__item:nth-child(even) .about-timeline__content {
  grid-column: 5;
}

.about-timeline__content h3 {
  margin-bottom: 10px;
}

.about-timeline__content p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
}

.about-timeline__content p:last-child {
  margin-bottom: 0;
}

@keyframes founder-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal documents */

.legal-document__inner {
  max-width: 900px;
}

.legal-document__body :is(h2, h3) {
  margin-top: var(--space-4);
}

.legal-document__body :is(p, li) {
  color: var(--color-text);
}

/* Generated legal content (verbatim legal text, ported from the previous site) */

.generated-content {
  margin-top: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  line-height: 1.72;
}

.generated-content h1,
.generated-content h2,
.generated-content h3 {
  color: var(--color-text);
  letter-spacing: 0;
}

.generated-content h1 {
  font-size: 2rem;
}

.generated-content h2 {
  margin-top: var(--space-4);
  font-size: 1.35rem;
}

.generated-content ul,
.generated-content ol {
  margin: 1rem 0 1.3rem;
  padding-left: 1.35rem;
}

.generated-content li {
  margin: 0.45rem 0;
  padding-left: 0.2rem;
  color: var(--color-text);
}

.generated-content li::marker {
  color: var(--color-accent);
}

.generated-content code {
  display: inline-block;
  max-width: 100%;
  padding: 0.08rem 0.3rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  background: rgba(29, 127, 224, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.generated-content .legal-numbered {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  margin: 0.85rem 0;
}

.generated-content .legal-numbered__number {
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: nowrap;
}

.generated-content .legal-numbered__text {
  min-width: 0;
}

.generated-content .legal-numbered--level-0 {
  margin-top: 1.35rem;
  color: var(--color-text);
}

.generated-content .legal-numbered--level-0 .legal-numbered__number,
.generated-content .legal-numbered--level-0 .legal-numbered__text {
  font-weight: 800;
}

.generated-content table {
  display: table;
  width: 100%;
  max-width: 100%;
  margin: 1.6rem 0;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--color-bg);
  table-layout: fixed;
}

.generated-content thead {
  background: rgba(29, 127, 224, 0.08);
}

.generated-content th,
.generated-content td {
  padding: 0.9rem 1rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: normal;
}

.generated-content th {
  color: var(--color-text);
  font-weight: 800;
}

.generated-content td {
  color: var(--color-text-muted);
}

.generated-content tr > :last-child {
  border-right: 0;
}

.generated-content tbody tr:last-child td {
  border-bottom: 0;
}

.generated-content a {
  color: var(--color-accent);
  font-weight: 700;
}

/* Cookie settings panel */

.cookie-settings {
  margin-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.cookie-settings--dialog {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.cookie-settings > h2 {
  margin-bottom: var(--space-3);
  font-size: clamp(24px, 3vw, 32px);
}

.cookie-settings__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.cookie-settings__copy p {
  max-width: 390px;
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-settings__row form {
  margin: 0;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-height: 44px;
  border: 0;
  padding: 4px;
  font-size: 13px;
  font-weight: 700;
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
}

.cookie-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 3px;
}

.cookie-toggle__track {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #d7dce4;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.cookie-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 25, 43, 0.25);
  transition: transform 150ms ease;
}

.cookie-toggle.is-on .cookie-toggle__track,
.cookie-toggle--locked .cookie-toggle__track {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.cookie-toggle.is-on .cookie-toggle__thumb,
.cookie-toggle--locked .cookie-toggle__thumb {
  transform: translateX(18px);
}

.cookie-toggle.is-on .cookie-toggle__label,
.cookie-toggle--locked .cookie-toggle__label {
  color: var(--color-accent-dark);
}

.cookie-toggle--locked {
  cursor: default;
}

.cookie-toggle--locked .cookie-toggle__label::before {
  content: "\1f512";
  margin-right: 5px;
  font-size: 11px;
}

.cookie-settings__feedback {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #eaf7ef;
  color: #176438;
  font-size: 13px;
  font-weight: 700;
}

.cookie-settings__feedback.is-error {
  background: #fff0f0;
  color: #a12222;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
  width: min(100%, 1180px);
  max-width: 1180px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
  box-shadow: 0 14px 42px rgba(16, 25, 43, 0.14);
}

.cookie-banner__text p {
  max-width: 600px;
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-banner__links {
  color: var(--color-text-muted);
}

.cookie-banner__links a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.cookie-banner__buttons {
  display: flex;
  gap: 8px;
}

.cookie-banner__buttons form {
  margin: 0;
}

.cookie-banner__button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.cookie-banner__button:focus-visible,
.cookie-settings-dialog__close:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  outline-offset: 2px;
}

.cookie-banner__button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.cookie-banner__button--primary {
  background: var(--color-accent);
  color: var(--color-accent-contrast);
}

.cookie-banner__button--primary:hover {
  background: var(--color-accent-dark);
}

.cookie-banner__button--secondary,
.cookie-banner__button--settings {
  border-color: var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
}

.cookie-banner__button--secondary:hover,
.cookie-banner__button--settings:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cookie-settings-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: min(80dvh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: 0 24px 70px rgba(16, 25, 43, 0.24);
  overflow: hidden;
}

.cookie-settings-dialog::backdrop {
  background: rgba(16, 25, 43, 0.48);
  backdrop-filter: blur(2px);
}

.cookie-settings-dialog__surface {
  display: flex;
  max-height: min(80dvh, 720px);
  flex-direction: column;
}

.cookie-settings-dialog__header,
.cookie-settings-dialog__footer {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 16px 20px;
}

.cookie-settings-dialog__header {
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
}

.cookie-settings-dialog__header h2 {
  margin: 0;
  font-size: 24px;
}

.cookie-settings-dialog__close {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.cookie-settings-dialog__body {
  min-height: 0;
  overflow-y: auto;
  padding: 4px 20px 18px;
}

.cookie-settings-dialog__footer {
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--color-border);
}

body:has(.cookie-settings-dialog[open]) {
  overflow: hidden;
}

/* Trust badge — small verification pill, reusable outside the cookie banner too */

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.trust-badge svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding-top: var(--space-5);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-muted);
  font-size: 14px;
}

.about-ceo__social {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
}

.about-ceo__social:hover {
  opacity: 0.75;
}

.about-ceo__social:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .about-ceo__social {
    transition: opacity 150ms ease;
  }
}

.site-footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}

.site-footer__col a {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  margin: var(--space-1) 0;
}

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

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Footer social channel links (LinkedIn, YouTube) */

.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.social-links__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.social-links__item:hover {
  opacity: 0.75;
}

.social-links__item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.social-links__icon {
  display: block;
  width: auto;
  height: 22px;
}

@media (prefers-reduced-motion: no-preference) {
  .social-links__item {
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .social-links__item:hover {
    transform: translateY(-1px);
  }
}

/* Shared media disclosure */

.media-image {
  margin: 0;
}

.media-image__frame {
  overflow: hidden;
}

.media-image__image {
  display: block;
  max-width: 100%;
}

.media-image__caption {
  margin-top: 12px;
  color: #4d5a6e;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.media-image__caption--compact {
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
}

/* Home page */

.home-page {
  --home-section-space: clamp(80px, 10vw, 128px);
  overflow: hidden;
}

.home-page .container {
  width: min(100% - 48px, 1320px);
}

.home-page h2 {
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 10vw, 136px) 0;
  background:
    radial-gradient(circle at 84% 28%, rgba(29, 127, 224, 0.13), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(29, 127, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 127, 224, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000, transparent 76%);
  content: "";
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(48px, 6vw, 84px);
}

.home-hero__copy {
  min-width: 0;
  animation: home-enter 600ms ease both;
}

.home-hero h1 {
  max-width: 730px;
  font-size: clamp(52px, 5.4vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.home-hero h1 span {
  color: var(--color-accent);
}

.home-hero__lead {
  max-width: 720px;
  margin: 28px 0 34px;
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.6;
}

.home-hero__audience {
  max-width: 650px;
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 2px solid rgba(29, 127, 224, 0.28);
  color: var(--color-text-muted);
  font-size: 14px;
}

.home-system-visual {
  position: relative;
  min-height: 510px;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(29, 127, 224, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 90px rgba(20, 88, 158, 0.15);
  animation: home-enter 600ms 120ms ease both;
  transform: rotate(0.6deg);
}

.home-system-visual::before {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(29, 127, 224, 0.1);
  border-radius: 23px;
  content: "";
}

.home-system-visual__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-system-status {
  padding: 7px 12px;
  border-radius: 999px;
  color: #08783f;
  background: #e7f6ed;
  font-size: 11px;
}

.home-product-showcase {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 350px;
  padding: 32px 0 54px;
}

.home-product-showcase__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 5px 18px;
  padding: 18px 20px;
  border: 1px solid rgba(29, 127, 224, 0.12);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 88, 158, 0.07);
}

.home-product-showcase__item > span {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-product-showcase__item strong {
  color: var(--color-text);
  font-size: 18px;
}

.home-product-showcase__item small {
  color: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-product-showcase__item--featured {
  padding: 24px;
  border-color: rgba(29, 127, 224, 0.36);
  background: linear-gradient(135deg, #ffffff, #eef7ff);
  box-shadow: 0 18px 42px rgba(29, 127, 224, 0.13);
}

.home-product-showcase__item--featured strong {
  font-size: 23px;
}

.home-system-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) 34px minmax(0, 1.22fr);
  align-items: center;
  gap: 16px;
  min-height: 330px;
  padding: 32px 0 48px;
}

.home-system-source,
.home-system-result {
  display: grid;
  gap: 12px;
}

.home-system-label {
  margin-bottom: 2px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-system-source > span:not(.home-system-label) {
  padding: 13px 15px;
  border: 1px dashed #cfd6df;
  border-radius: 13px;
  color: var(--color-text-muted);
  background: #fafbfc;
  font-size: 14px;
}

.home-system-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(29, 127, 224, 0.09);
  font-weight: 900;
}

.home-system-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(29, 127, 224, 0.13);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(20, 88, 158, 0.07);
}

.home-system-result strong,
.home-system-result small {
  display: block;
}

.home-system-result strong {
  color: var(--color-text);
  font-size: 14px;
}

.home-system-result small {
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.home-system-note {
  position: absolute;
  right: clamp(22px, 3vw, 42px);
  bottom: -26px;
  width: min(330px, calc(100% - 44px));
  padding: 18px 20px;
  border: 1px solid rgba(29, 127, 224, 0.22);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(20, 88, 158, 0.14);
}

.home-system-note span,
.home-system-note strong {
  display: block;
}

.home-system-note span {
  margin-bottom: 4px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-system-note strong {
  color: var(--color-text);
  font-size: 16px;
}

.home-principles,
.home-section {
  padding: var(--home-section-space) 0;
}

.home-principles {
  background: #f7faff;
}

.home-regret {
  padding: var(--home-section-space) 0;
  background:
    radial-gradient(circle at 82% 42%, rgba(29, 127, 224, 0.13), transparent 26%),
    linear-gradient(145deg, #eef7ff, #ffffff 62%);
}

.home-regret__inner {
  text-align: center;
}

.home-regret h2 {
  max-width: 1050px;
  margin-right: auto;
  margin-left: auto;
}

.home-regret__inner > p:not(.eyebrow) {
  max-width: 720px;
  margin: 26px auto 0;
  font-size: 20px;
}

.home-regret__promise {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.home-regret__promise span {
  padding: 10px 16px;
  border: 1px solid rgba(29, 127, 224, 0.15);
  border-radius: 999px;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(20, 88, 158, 0.08);
}

.home-section-intro {
  max-width: 960px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.home-section-intro > p:last-child {
  max-width: 760px;
  margin-top: 24px;
  font-size: 18px;
}

.home-principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-principle-grid article {
  min-height: 320px;
  padding: clamp(28px, 3.5vw, 42px);
  border: 1px solid rgba(29, 127, 224, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 62px rgba(20, 88, 158, 0.1);
}

.home-principle-grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 54px;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(29, 127, 224, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.home-principle-grid h3 {
  font-size: clamp(23px, 2.4vw, 30px);
}

.home-page .product-grid,
.home-page .reference-list--cards,
.home-page .testimonial-grid {
  gap: 24px;
  margin-top: 0;
}

.home-products .product-grid {
  grid-template-columns: 1.25fr 0.875fr 0.875fr;
}

.home-page .product-card,
.home-page .reference-card,
.home-page .testimonial-card {
  border-color: rgba(29, 127, 224, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(20, 88, 158, 0.09);
}

.home-page .product-card {
  padding: 26px;
}

.home-page .product-card--featured {
  border-color: var(--color-accent);
  box-shadow: 0 24px 64px rgba(29, 127, 224, 0.15);
}

.home-page .product-card__logo-frame,
.home-page .reference-card__logo-frame {
  border-radius: 17px;
}

.home-references {
  background: var(--color-bg-alt);
}

.home-space-membership {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--home-section-space) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 77% 42%, rgba(44, 117, 255, 0.24), transparent 24%),
    radial-gradient(circle at 12% 18%, rgba(105, 170, 255, 0.1), transparent 22%),
    linear-gradient(145deg, #050b18 0%, #0a1730 55%, #07101f 100%);
}

.home-space-membership::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.72;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(120, 181, 255, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.46) 0 0.8px, transparent 1.2px);
  background-position: 17px 31px, 83px 109px, 151px 53px;
  background-size: 173px 191px, 233px 269px, 127px 149px;
  content: "";
}

.home-space-membership::after {
  position: absolute;
  top: 50%;
  right: -16vw;
  z-index: -1;
  width: min(68vw, 980px);
  aspect-ratio: 1.8 / 1;
  border: 1px solid rgba(104, 169, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(104, 169, 255, 0.025),
    0 0 0 180px rgba(104, 169, 255, 0.018);
  content: "";
  transform: translateY(-50%) rotate(-12deg);
}

.home-space-membership__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
}

.home-space-membership__copy {
  max-width: 850px;
}

.home-space-membership .eyebrow {
  color: #78b4ff;
}

.home-space-membership h2 {
  max-width: 920px;
  color: #ffffff;
}

.home-space-membership__copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.8vw, 22px);
}

.home-space-membership__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 13px 18px;
  border: 1px solid rgba(120, 180, 255, 0.38);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(120, 180, 255, 0.08);
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.home-space-membership__link:hover {
  border-color: rgba(120, 180, 255, 0.72);
  background: rgba(120, 180, 255, 0.16);
  transform: translateY(-2px);
}

.home-space-membership__esa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 720px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.home-space-membership__esa span,
.home-space-membership__esa p {
  display: block;
}

.home-space-membership__esa div > span {
  margin-bottom: 4px;
  color: #78b4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-space-membership__esa p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.home-space-membership__esa > a {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.home-space-membership__esa > a:hover {
  color: #9bc8ff;
}

.home-space-membership__visual {
  position: relative;
  display: grid;
  min-height: 340px;
  place-items: center;
}

.home-space-membership__visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 260px);
  height: auto;
  filter: drop-shadow(0 22px 46px rgba(26, 92, 224, 0.34));
}

.home-space-membership__orbit,
.home-space-membership__orbit::before,
.home-space-membership__orbit::after {
  position: absolute;
  border: 1px solid rgba(116, 177, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.home-space-membership__orbit {
  width: min(100%, 410px);
  aspect-ratio: 1;
}

.home-space-membership__orbit::before {
  inset: 12%;
  transform: rotate(58deg) scaleY(0.38);
}

.home-space-membership__orbit::after {
  inset: 22%;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 48px rgba(61, 131, 255, 0.2);
}

.home-human-support {
  background: var(--color-bg-alt);
  margin-bottom: clamp(56px, 6vw, 88px);
}

.home-human-support__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.home-human-support .home-section-intro {
  margin-bottom: 0;
}

.home-human-support__visual {
  margin: 0;
}

.home-human-support__frame {
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  border-radius: clamp(26px, 3vw, 42px);
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(16, 25, 43, 0.12);
}

.home-human-support__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: none;
}

.home-text-link span {
  transition: transform 160ms ease;
}

.home-text-link:hover span {
  transform: translateX(4px);
}

.home-testimonials {
  background: #ffffff;
}

.home-cta {
  padding: 0 0 clamp(72px, 9vw, 112px);
}

.home-cta__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(38px, 7vw, 78px);
  border-radius: 32px;
  color: #ffffff;
  background: var(--color-text);
  box-shadow: 0 30px 80px rgba(16, 25, 43, 0.18);
}

.home-cta h2 {
  max-width: 830px;
  color: #ffffff;
}

.home-cta p:not(.eyebrow) {
  max-width: 730px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.home-cta .btn {
  flex-shrink: 0;
  background: #ffffff;
  color: var(--color-text);
}

.home-cta__fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-cta__fallback:hover {
  color: #ffffff;
}

.home-cta__actions {
  display: grid;
  flex-shrink: 0;
  gap: 12px;
}

.home-cta__actions .btn {
  justify-content: center;
}

.home-cta__actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #ffffff;
}

@keyframes home-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }

  .home-system-visual {
    width: min(100%, 680px);
    transform: none;
  }

  .home-principle-grid {
    grid-template-columns: 1fr;
  }

  .home-human-support__inner {
    grid-template-columns: 1fr;
  }

  .home-space-membership__inner {
    grid-template-columns: 1fr;
  }

  .home-space-membership__visual {
    min-height: 280px;
  }

  .home-products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-principle-grid article {
    min-height: auto;
  }

  .home-principle-grid article > span {
    margin-bottom: 36px;
  }

  .home-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 560px) {
  .home-page {
    --home-section-space: 72px;
  }

  .home-page .container {
    width: min(100% - 32px, 1320px);
  }

  .home-hero {
    padding: 72px 0 92px;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.5vw, 48px);
  }

  .home-hero__actions {
    display: grid;
  }

  .home-hero .btn,
  .home-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .home-system-visual {
    min-height: 470px;
    padding: 22px;
    border-radius: 24px;
  }

  .home-system-visual::before {
    display: none;
  }

  .home-system-flow {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 24px 0 78px;
  }

  .home-product-showcase {
    min-height: 0;
    padding: 24px 0 76px;
  }

  .home-product-showcase__item,
  .home-product-showcase__item--featured {
    padding: 16px;
  }

  .home-product-showcase__item strong,
  .home-product-showcase__item--featured strong {
    font-size: 16px;
  }

  .home-product-showcase__item small {
    font-size: 9px;
  }

  .home-system-source {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .home-system-source .home-system-label {
    grid-column: 1 / -1;
  }

  .home-system-source > span:not(.home-system-label) {
    padding: 9px 6px;
    font-size: 10px;
    text-align: center;
  }

  .home-system-arrow {
    transform: rotate(90deg);
  }

  .home-system-result > div {
    padding: 12px 14px;
  }

  .home-system-note {
    right: 16px;
    bottom: -24px;
    width: calc(100% - 32px);
  }

  .home-section-intro {
    margin-bottom: 40px;
  }

  .home-human-support .home-section-intro {
    margin-bottom: 0;
  }

  .home-human-support__inner {
    gap: 40px;
  }

  .home-space-membership__inner {
    gap: 40px;
  }

  .home-space-membership__visual {
    min-height: 240px;
  }

  .home-space-membership__visual img {
    width: 210px;
  }

  .home-space-membership__esa {
    display: grid;
    gap: 14px;
    padding: 16px;
  }

  .home-human-support__frame {
    aspect-ratio: 1.12 / 1;
  }

  .home-human-support__visual img {
    object-position: 68% center;
  }

  .home-regret__inner {
    text-align: left;
  }

  .home-regret__inner > p:not(.eyebrow) {
    margin-left: 0;
    font-size: 18px;
  }

  .home-regret__promise {
    display: grid;
    justify-content: stretch;
  }

  .home-regret__promise span {
    text-align: center;
  }

  .home-principle-grid article {
    padding: 28px 24px;
  }

  .home-page .product-card {
    padding: 22px;
  }

  .home-products .product-grid {
    grid-template-columns: 1fr;
  }

  .home-cta {
    padding-bottom: 72px;
  }

  .home-cta__inner {
    padding: 32px 24px;
    border-radius: 26px;
  }

}

/* Marketplace product page */

.marketplace-page {
  --marketplace-section-space: clamp(80px, 10vw, 128px);
  overflow: hidden;
}

.marketplace-page .container {
  width: min(100% - 48px, 1320px);
}

.marketplace-page h2 {
  font-size: clamp(36px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.marketplace-page h3 {
  line-height: 1.15;
}

.marketplace-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 11vw, 148px) 0 clamp(84px, 10vw, 132px);
  background:
    radial-gradient(circle at 84% 28%, rgba(29, 127, 224, 0.13), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.marketplace-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(29, 127, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 127, 224, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000 0%, transparent 74%);
}

.marketplace-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 5vw, 68px);
}

.marketplace-hero__copy {
  min-width: 0;
}

.marketplace-hero h1 {
  max-width: 630px;
  font-size: clamp(52px, 5.2vw, 80px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.marketplace-hero__lead {
  max-width: 650px;
  margin: 28px 0 32px;
  color: var(--color-text-muted);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.55;
}

.marketplace-hero__audience {
  max-width: 620px;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

.marketplace-visual {
  position: relative;
  min-height: 500px;
  padding: 0;
  border: 1px solid rgba(29, 127, 224, 0.2);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 36px 90px rgba(20, 88, 158, 0.14);
  transform: perspective(1100px) rotateY(-4deg);
}

.marketplace-visual-shell {
  min-width: 0;
  margin: 0;
}

.marketplace-visual__slide {
  position: absolute;
  inset: 0;
  padding: clamp(24px, 4vw, 44px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 450ms ease,
    visibility 450ms ease,
    transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.marketplace-visual__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.marketplace-visual::before {
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(29, 127, 224, 0.08);
  border-radius: 20px;
  content: "";
}

.marketplace-visual__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-status {
  padding: 6px 10px;
  border-radius: 999px;
  color: #116a43;
  background: #e8f8ef;
  font-size: 11px;
}

.marketplace-status--ready {
  color: var(--color-accent-dark);
  background: rgba(29, 127, 224, 0.09);
}

.marketplace-offer-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: var(--color-bg);
}

.marketplace-offer-row__image {
  width: 64px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--color-bg-alt);
}

.marketplace-offer-row strong,
.marketplace-offer-row small {
  display: block;
}

.marketplace-offer-row small {
  margin-top: 4px;
  color: var(--color-text-muted);
}

.marketplace-customer-avatar {
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent-dark);
  background: rgba(29, 127, 224, 0.09);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.marketplace-order-card {
  position: absolute;
  right: -28px;
  bottom: 38px;
  width: min(310px, 70%);
  padding: 18px 20px;
  border: 1px solid rgba(29, 127, 224, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(16, 25, 43, 0.15);
}

.marketplace-order-card span,
.marketplace-order-card strong {
  display: block;
}

.marketplace-order-card span {
  margin-bottom: 4px;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-visual__controls {
  position: absolute;
  bottom: 20px;
  left: clamp(24px, 4vw, 44px);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.marketplace-visual__controls button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(29, 127, 224, 0.24);
  cursor: pointer;
  transition:
    width 200ms ease,
    background-color 200ms ease;
}

.marketplace-visual__controls button.is-active {
  width: 28px;
  background: var(--color-accent);
}

.marketplace-question {
  padding: var(--marketplace-section-space) 0;
  color: #ffffff;
  background: var(--color-text);
}

.marketplace-question__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.marketplace-question h2 {
  color: #ffffff;
}

.marketplace-question p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px auto;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
}

.marketplace-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.marketplace-section {
  padding: var(--marketplace-section-space) 0;
}

.marketplace-section--soft {
  background: var(--color-bg-alt);
}

.marketplace-section__intro {
  max-width: 920px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.marketplace-section__intro > p:last-child {
  max-width: 650px;
  margin-top: 24px;
  font-size: 18px;
}

.marketplace-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.marketplace-benefit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 400px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(29, 127, 224, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(20, 88, 158, 0.13);
}

.marketplace-benefit__number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 72px;
  border: 1px solid rgba(29, 127, 224, 0.18);
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(20, 88, 158, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.marketplace-benefit h3 {
  font-size: clamp(24px, 2.5vw, 32px);
}

.marketplace-benefit strong {
  display: block;
  margin-top: 28px;
  color: var(--color-text);
  font-size: 12px;
  line-height: 1.45;
}

.marketplace-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.marketplace-process::before {
  position: absolute;
  top: 24px;
  right: 16.666%;
  left: 16.666%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(29, 127, 224, 0.18),
    var(--color-accent),
    rgba(29, 127, 224, 0.18)
  );
  content: "";
}

.marketplace-process li {
  position: relative;
  display: block;
  padding: 0;
  text-align: center;
}

.marketplace-process li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto;
  border: 2px solid rgba(29, 127, 224, 0.26);
  border-radius: 50%;
  color: var(--color-accent);
  background: var(--color-bg-alt);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.marketplace-process li > div {
  max-width: 340px;
  margin: 30px auto 0;
}

.marketplace-process h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.marketplace-process p {
  max-width: 660px;
  margin: 0;
}

.marketplace-relief {
  position: relative;
  display: flex;
  min-height: 72svh;
  align-items: center;
  padding: var(--marketplace-section-space) 0;
  background:
    radial-gradient(circle at 72% 50%, rgba(29, 127, 224, 0.16), transparent 24%),
    linear-gradient(145deg, #eef7ff, #ffffff 55%);
}

.marketplace-relief__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  max-width: none;
}

.marketplace-relief h2 {
  max-width: 850px;
}

.marketplace-relief p:last-child {
  max-width: 700px;
  margin-top: 28px;
  font-size: clamp(18px, 2vw, 23px);
}

.marketplace-relief__media {
  margin: 0;
}

.marketplace-relief__frame {
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(29, 127, 224, 0.12);
  border-radius: 32px;
  background: var(--color-bg);
  box-shadow: 0 30px 80px rgba(20, 88, 158, 0.15);
}

.marketplace-relief__media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: 72% center;
}

.marketplace-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.marketplace-fit {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
}

.marketplace-fit--muted {
  background: var(--color-bg-alt);
}

.marketplace-fit h2 {
  font-size: clamp(34px, 4.5vw, 56px);
}

.marketplace-fit ul {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.marketplace-fit li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text-muted);
}

.marketplace-fit li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  content: "";
  transform: translateY(-50%);
}

.marketplace-fit--muted li::before {
  background: var(--color-text-muted);
}

.marketplace-offer {
  padding: var(--marketplace-section-space) 0;
  color: #ffffff;
  background: var(--color-text);
}

.marketplace-offer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.marketplace-offer h2 {
  color: #ffffff;
}

.marketplace-offer p {
  max-width: 700px;
  margin: 26px 0 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.marketplace-offer .btn-primary {
  background: #ffffff;
  color: var(--color-text);
}

.marketplace-offer .btn-primary:hover {
  background: #dfeeff;
}

.marketplace-offer .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.marketplace-price {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.marketplace-price span,
.marketplace-price strong,
.marketplace-price small {
  display: block;
}

.marketplace-price span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marketplace-price strong {
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.marketplace-price p {
  margin: 16px 0;
  font-size: 15px;
}

.marketplace-price small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.marketplace-motion .marketplace-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* Responsive */

@media (max-width: 890px) {
  .site-nav,
  .site-header__actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

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

  .product-grid,
  .reference-list--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-founder-hero__grid,
  .about-founder-story__grid,
  .about-founder-work__grid {
    grid-template-columns: 1fr;
  }

  .about-founder-portrait {
    width: min(100%, 560px);
  }

  .about-founder-principles {
    grid-template-columns: 1fr;
  }

  .about-founder-principles article {
    min-height: auto;
  }

  .about-founder-work__intro {
    position: static;
  }

  .about-founder-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-timeline {
    gap: 40px;
  }

  .about-timeline::before {
    left: 23px;
  }

  .about-timeline__item {
    grid-template-columns: 48px 16px 1fr;
  }

  .about-timeline__marker {
    grid-column: 1;
    width: 48px;
    height: 48px;
    font-size: 11px;
  }

  .about-timeline__connector,
  .about-timeline__item:nth-child(odd) .about-timeline__connector,
  .about-timeline__item:nth-child(even) .about-timeline__connector {
    grid-column: 2;
  }

  .about-timeline__content,
  .about-timeline__item:nth-child(odd) .about-timeline__content,
  .about-timeline__item:nth-child(even) .about-timeline__content {
    grid-column: 3;
    padding: 22px;
  }

  .site-nav {
    display: none;
  }

  .site-header__actions {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .marketplace-hero__grid,
  .marketplace-offer__grid {
    grid-template-columns: 1fr;
  }

  .marketplace-visual {
    width: min(100%, 680px);
    min-height: 460px;
    transform: none;
  }

  .marketplace-benefits {
    grid-template-columns: 1fr;
  }

  .marketplace-benefit {
    min-height: auto;
  }

  .marketplace-benefit__number {
    margin-bottom: 38px;
  }

  .marketplace-fit-grid {
    grid-template-columns: 1fr;
  }

  .marketplace-relief__inner {
    grid-template-columns: 1fr;
  }

  .marketplace-relief__frame,
  .marketplace-relief__media img {
    min-height: 360px;
  }

  .marketplace-process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .marketplace-process::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(29, 127, 224, 0.18),
      var(--color-accent),
      rgba(29, 127, 224, 0.18)
    );
  }

  .marketplace-process li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding-bottom: 44px;
    text-align: left;
  }

  .marketplace-process li:last-child {
    padding-bottom: 0;
  }

  .marketplace-process li > div {
    max-width: none;
    margin-top: 5px;
  }

  .marketplace-process li > span {
    margin: 0;
  }

  .generated-content {
    padding: 20px;
  }

  .generated-content .legal-numbered {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    column-gap: 0.75rem;
  }
}

@media (max-width: 720px) {
  .cookie-banner {
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
  }

  .cookie-banner__inner {
    display: block;
    width: 100%;
    max-height: 58dvh;
    overflow-y: auto;
    padding: 13px 14px;
    border-radius: 14px;
  }

  .cookie-banner__text strong {
    font-size: 14px;
  }

  .cookie-banner__text p {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .cookie-banner__actions {
    margin-top: 11px;
    align-items: stretch;
    gap: 8px;
  }

  .cookie-banner__buttons {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
  }

  .cookie-banner__buttons form,
  .cookie-banner__buttons form .cookie-banner__button {
    width: 100%;
  }

  .cookie-banner__button {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12.5px;
  }

  .cookie-banner__button--settings {
    grid-column: 1 / -1;
  }

  .cookie-banner__actions > .trust-badge {
    align-self: center;
    padding: 4px 9px;
    font-size: 11px;
  }

  .cookie-settings-dialog {
    inset: auto 8px max(8px, env(safe-area-inset-bottom)) 8px;
    width: auto;
    max-width: none;
    max-height: 76dvh;
    margin: 0;
    border-radius: 18px;
  }

  .cookie-settings-dialog__surface {
    max-height: 76dvh;
  }

  .cookie-settings-dialog__header,
  .cookie-settings-dialog__footer {
    padding: 13px 15px;
  }

  .cookie-settings-dialog__header h2 {
    font-size: 21px;
  }

  .cookie-settings-dialog__body {
    padding: 2px 15px 14px;
  }

  .cookie-settings__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px 0;
  }

  .cookie-settings__row form,
  .cookie-settings__row form .cookie-toggle {
    width: 100%;
  }

  .cookie-toggle {
    justify-content: flex-start;
  }

  .cookie-settings-dialog__footer .trust-badge {
    padding: 4px 8px;
    font-size: 10.5px;
  }
}

@media (max-width: 560px) {
  .product-grid,
  .reference-list--cards {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .testimonial-card {
    padding: 22px;
  }

  .product-card__logo-frame {
    height: 124px;
  }

  .product-card__logo-frame--crm .product-card__logo {
    width: 124px;
    height: 124px;
  }

  .reference-list--cards .reference-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .reference-card__logo-frame {
    width: 72px;
    height: 72px;
    margin: 0;
  }

  .reference-card__logo,
  .reference-card__logo-frame--dark .reference-card__logo {
    width: 54px;
    height: 54px;
  }

  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .about-ceo {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-founder-page {
    --about-section-space: 72px;
  }

  .about-founder-page .container {
    width: min(100% - 32px, 1320px);
  }

  .about-founder-hero {
    padding: 72px 0 80px;
  }

  .about-founder-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.5vw, 50px);
  }

  .about-founder-portrait {
    padding: 10px;
    border-radius: 26px;
  }

  .about-founder-portrait img {
    border-radius: 18px;
  }

  .about-founder-portrait figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .about-founder-principles article > span {
    margin-bottom: 38px;
  }

  .about-founder-steps li {
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .about-founder-mission {
    min-height: auto;
  }

  .about-founder-mission blockquote {
    font-size: clamp(34px, 10vw, 48px);
  }

  .about-founder-cta {
    padding: 64px 0;
  }

  .about-founder-cta__inner {
    padding: 30px 24px;
    border-radius: 26px;
  }

  .about-founder-cta .btn {
    width: 100%;
  }

  .marketplace-page {
    --marketplace-section-space: 72px;
  }

  .marketplace-page .container {
    width: min(100% - 32px, 1320px);
  }

  .marketplace-hero {
    padding: 72px 0 80px;
  }

  .marketplace-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 11.5vw, 48px);
  }

  .marketplace-hero .hero__actions,
  .marketplace-offer .hero__actions {
    display: grid;
  }

  .marketplace-hero .btn,
  .marketplace-offer .btn {
    width: 100%;
  }

  .marketplace-visual {
    min-height: 430px;
  }

  .marketplace-visual::before {
    display: none;
  }

  .marketplace-visual__slide {
    padding: 20px;
  }

  .marketplace-offer-row {
    grid-template-columns: 50px 1fr;
  }

  .marketplace-offer-row > :last-child {
    display: none;
  }

  .marketplace-offer-row__image {
    width: 50px;
  }

  .marketplace-order-card {
    right: 16px;
    bottom: 52px;
    width: calc(100% - 32px);
  }

  .marketplace-visual__controls {
    bottom: 20px;
    left: 20px;
  }

  .marketplace-fit {
    padding: 28px 24px;
  }

  .marketplace-relief {
    min-height: auto;
  }

  .marketplace-relief__frame,
  .marketplace-relief__media img {
    min-height: 280px;
    border-radius: 24px;
  }
}

/* Booking product page */

.booking-page {
  --booking-accent: #7059d9;
  --booking-accent-dark: #4934af;
  --booking-accent-soft: #f0edff;
  --booking-section-space: clamp(80px, 10vw, 128px);
  overflow: hidden;
}

.booking-page .container {
  width: min(100% - 48px, 1320px);
}

.booking-page h2 {
  font-size: clamp(36px, 5.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.booking-page h3 {
  line-height: 1.15;
}

.booking-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 11vw, 148px) 0 clamp(84px, 10vw, 132px);
  background:
    radial-gradient(circle at 84% 24%, rgba(112, 89, 217, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
}

.booking-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(112, 89, 217, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 89, 217, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000 0%, transparent 74%);
}

.booking-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(42px, 6vw, 78px);
}

.booking-hero__copy {
  min-width: 0;
}

.booking-hero h1 {
  max-width: 700px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.booking-hero__lead {
  max-width: 690px;
  margin: 28px 0 32px;
  color: var(--color-text-muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.55;
}

.booking-hero__audience {
  max-width: 660px;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
}

.booking-showcase {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(112, 89, 217, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 38px 90px rgba(47, 31, 112, 0.16);
  transform: perspective(1100px) rotateY(-3deg);
}

.booking-showcase__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 16px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.booking-showcase__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  font-weight: 800;
}

.booking-showcase__brand i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--booking-accent);
  box-shadow: 0 0 0 5px rgba(112, 89, 217, 0.12);
}

.booking-showcase__body {
  min-height: 430px;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid rgba(112, 89, 217, 0.1);
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff, #f8f6ff);
}

.booking-showcase__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.booking-showcase__heading span,
.booking-showcase__heading strong {
  display: block;
}

.booking-showcase__heading span {
  margin-bottom: 3px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.booking-showcase__heading strong {
  font-size: clamp(20px, 2vw, 27px);
  letter-spacing: -0.025em;
}

.booking-showcase__new-appointment {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--booking-accent);
  font-size: 12px;
  font-weight: 800;
}

.booking-showcase__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.booking-showcase__stats div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(112, 89, 217, 0.1);
  border-radius: 14px;
  background: #ffffff;
}

.booking-showcase__stats span,
.booking-showcase__stats strong {
  display: block;
}

.booking-showcase__stats span {
  min-height: 34px;
  color: var(--color-text-muted);
  font-size: 10px;
  line-height: 1.35;
}

.booking-showcase__stats strong {
  margin-top: 5px;
  font-size: 21px;
}

.booking-showcase__appointment {
  display: grid;
  grid-template-columns: 46px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 11px;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: 15px;
  background: #ffffff;
}

.booking-showcase__appointment time {
  font-size: 13px;
  font-weight: 800;
}

.booking-showcase__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #175c48;
  background: #dcf5ec;
  font-size: 11px;
  font-weight: 800;
}

.booking-showcase__avatar--violet {
  color: var(--booking-accent-dark);
  background: var(--booking-accent-soft);
}

.booking-showcase__appointment span strong,
.booking-showcase__appointment span small {
  display: block;
}

.booking-showcase__appointment span small {
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 11px;
}

.booking-showcase__appointment em {
  padding: 6px 9px;
  border-radius: 999px;
  color: #17684d;
  background: #e8f8ef;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.booking-showcase__appointment .booking-showcase__status--waiting {
  color: #715713;
  background: #fff4d3;
}

.booking-showcase__confirmation {
  position: absolute;
  right: -30px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  width: min(330px, 72%);
  padding: 16px 18px;
  border: 1px solid rgba(112, 89, 217, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(34, 24, 83, 0.16);
}

.booking-showcase__check {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--booking-accent);
  font-weight: 900;
}

.booking-showcase__confirmation small,
.booking-showcase__confirmation strong {
  display: block;
}

.booking-showcase__confirmation small {
  margin-bottom: 3px;
  color: var(--booking-accent-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-showcase__confirmation strong {
  font-size: 12px;
  line-height: 1.4;
}

.booking-question {
  padding: var(--booking-section-space) 0;
  color: #ffffff;
  background: #151426;
}

.booking-question__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.booking-question h2 {
  color: #ffffff;
}

.booking-question p:not(.eyebrow) {
  max-width: 730px;
  margin: 26px auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
}

.booking-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.booking-statement,
.booking-section {
  padding: var(--booking-section-space) 0;
}

.booking-statement__grid {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: start;
  gap: clamp(40px, 8vw, 120px);
}

.booking-statement h2 {
  max-width: 980px;
}

.booking-statement p:last-child {
  max-width: 780px;
  margin-top: 30px;
  color: var(--color-text-muted);
  font-size: clamp(18px, 2vw, 23px);
}

.booking-section--soft {
  background: #f7f6fc;
}

.booking-section__intro {
  max-width: 980px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.booking-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.booking-benefit {
  min-height: 390px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(112, 89, 217, 0.13);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(46, 34, 106, 0.1);
}

.booking-benefit__number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 68px;
  border: 1px solid rgba(112, 89, 217, 0.2);
  border-radius: 50%;
  color: var(--booking-accent-dark);
  background: var(--booking-accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.booking-benefit h3 {
  font-size: clamp(24px, 2.5vw, 32px);
}

.booking-benefit p {
  margin-top: 18px;
  color: var(--color-text-muted);
}

.booking-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking-process::before {
  position: absolute;
  top: 24px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(112, 89, 217, 0.16), var(--booking-accent), rgba(112, 89, 217, 0.16));
  content: "";
}

.booking-process li {
  position: relative;
  padding: 0;
  text-align: center;
}

.booking-process li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin: 0 auto;
  border: 2px solid rgba(112, 89, 217, 0.26);
  border-radius: 50%;
  color: var(--booking-accent-dark);
  background: #f7f6fc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.booking-process li > div {
  max-width: 290px;
  margin: 30px auto 0;
}

.booking-process h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.3vw, 30px);
}

.booking-process p {
  margin: 0;
  color: var(--color-text-muted);
}

.booking-trust {
  padding: var(--booking-section-space) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 50%, rgba(112, 89, 217, 0.28), transparent 25%),
    #151426;
}

.booking-trust__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.booking-trust h2 {
  color: #ffffff;
}

.booking-trust__copy > p:last-child {
  max-width: 690px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.booking-trust__card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.booking-trust__lock {
  display: inline-block;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(112, 89, 217, 0.36);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.booking-trust__card small,
.booking-trust__card strong {
  display: block;
}

.booking-trust__card small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-trust__card strong {
  margin-top: 5px;
  font-size: clamp(22px, 3vw, 32px);
}

.booking-trust__card ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.booking-trust__card li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.booking-trust__card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a796ff;
  content: "";
  transform: translateY(-50%);
}

.booking-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.booking-fit {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--color-border);
  border-radius: 24px;
}

.booking-fit--muted {
  background: var(--color-bg-alt);
}

.booking-fit h2 {
  font-size: clamp(34px, 4.5vw, 56px);
}

.booking-fit ul {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.booking-fit li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text-muted);
}

.booking-fit li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--booking-accent);
  content: "";
  transform: translateY(-50%);
}

.booking-fit--muted li::before {
  background: var(--color-text-muted);
}

.booking-offer {
  padding: var(--booking-section-space) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 30%, rgba(112, 89, 217, 0.36), transparent 28%),
    #151426;
}

.booking-offer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.booking-offer h2 {
  color: #ffffff;
}

.booking-offer p:not(.eyebrow) {
  max-width: 720px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.booking-offer .btn-primary {
  color: #151426;
  background: #ffffff;
}

.booking-offer .btn-primary:hover {
  background: var(--booking-accent-soft);
}

.booking-offer .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.booking-price {
  padding: 32px;
  border: 1px solid rgba(112, 89, 217, 0.35);
  border-radius: 20px;
  background: rgba(112, 89, 217, 0.14);
}

.booking-price span,
.booking-price strong,
.booking-price p {
  display: block;
}

.booking-price span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.booking-price strong {
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  color: #ffffff;
}

.booking-price p {
  margin: 16px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.booking-motion .booking-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

@media (max-width: 980px) {
  .booking-showcase__appointment {
    grid-template-columns: 42px 1fr auto;
  }

  .booking-showcase__appointment time {
    display: none;
  }
}

@media (max-width: 860px) {
  .booking-hero__grid,
  .booking-statement__grid,
  .booking-trust__grid,
  .booking-offer__grid {
    grid-template-columns: 1fr;
  }

  .booking-showcase {
    width: min(100%, 720px);
    transform: none;
  }

  .booking-benefits,
  .booking-fit-grid {
    grid-template-columns: 1fr;
  }

  .booking-benefit {
    min-height: auto;
  }

  .booking-benefit__number {
    margin-bottom: 38px;
  }

  .booking-process {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .booking-process::before {
    top: 24px;
    bottom: 24px;
    left: 23px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(112, 89, 217, 0.16), var(--booking-accent), rgba(112, 89, 217, 0.16));
  }

  .booking-process li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding-bottom: 44px;
    text-align: left;
  }

  .booking-process li:last-child {
    padding-bottom: 0;
  }

  .booking-process li > span {
    margin: 0;
  }

  .booking-process li > div {
    max-width: none;
    margin-top: 5px;
  }
}

@media (max-width: 560px) {
  .booking-page {
    --booking-section-space: 72px;
  }

  .booking-page .container {
    width: min(100% - 32px, 1320px);
  }

  .booking-hero {
    padding: 72px 0 80px;
  }

  .booking-hero h1 {
    max-width: 100%;
    font-size: clamp(40px, 11vw, 48px);
  }

  .booking-hero .hero__actions,
  .booking-offer .hero__actions {
    display: grid;
  }

  .booking-hero .btn,
  .booking-offer .btn {
    width: 100%;
  }

  .booking-showcase {
    padding: 10px;
    border-radius: 23px;
  }

  .booking-showcase__date {
    display: none;
  }

  .booking-showcase__body {
    min-height: 470px;
    padding: 20px;
  }

  .booking-showcase__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-showcase__new-appointment {
    align-self: flex-start;
  }

  .booking-page h1,
  .booking-page h2,
  .booking-page h3 {
    overflow-wrap: anywhere;
  }

  .booking-showcase__stats {
    grid-template-columns: 1fr 1fr;
  }

  .booking-showcase__stats div:last-child {
    display: none;
  }

  .booking-showcase__appointment {
    grid-template-columns: 38px 1fr;
  }

  .booking-showcase__avatar {
    width: 38px;
    height: 38px;
  }

  .booking-showcase__appointment em {
    grid-column: 2;
    justify-self: start;
  }

  .booking-showcase__confirmation {
    right: 20px;
    bottom: 22px;
    width: calc(100% - 40px);
  }

  .booking-fit {
    padding: 28px 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marketplace-motion .marketplace-reveal {
    opacity: 1;
    transform: none;
  }

  .booking-motion .booking-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Contact page */

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

.contact-page {
  overflow: hidden;
  background: var(--color-bg);
}

.contact-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(88px, 11vw, 144px) 0 clamp(76px, 9vw, 116px);
  border-bottom: 1px solid rgba(29, 127, 224, 0.1);
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 127, 224, 0.18), transparent 32%),
    linear-gradient(145deg, #ffffff 15%, #f3f8fd 100%);
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(29, 127, 224, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 127, 224, 0.12) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 48%, #000 100%);
}

.contact-hero__inner {
  max-width: 1050px;
}

.contact-hero h1 {
  max-width: 950px;
  font-size: clamp(48px, 7.2vw, 88px);
}

.contact-hero__lead {
  max-width: 760px;
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.55;
}

.contact-hero__steps {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid rgba(29, 127, 224, 0.16);
  border-radius: 999px;
  color: var(--color-accent-dark);
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 10px 30px rgba(16, 25, 43, 0.06);
}

.contact-hero__steps span[aria-hidden="true"] {
  color: rgba(29, 127, 224, 0.5);
}

.contact-topics {
  padding: clamp(76px, 9vw, 112px) 0 clamp(64px, 8vw, 96px);
}

.contact-section-intro {
  max-width: 720px;
  margin-bottom: var(--space-4);
}

.contact-section-intro h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.contact-section-intro > p:last-child {
  max-width: 630px;
  font-size: 17px;
}

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

.contact-topic {
  --topic-accent: var(--color-accent);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  color: var(--color-text);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--topic-accent) 11%, transparent), transparent 38%),
    var(--color-bg);
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(16, 25, 43, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.contact-topic::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  content: "";
  background: var(--topic-accent);
  opacity: 0.7;
}

.contact-topic--crm { --topic-accent: #1976c9; }
.contact-topic--marketplace { --topic-accent: #4f8f68; }
.contact-topic--booking { --topic-accent: #c2571b; }
.contact-topic--custom { --topic-accent: #7059d9; }
.contact-topic--partnership { --topic-accent: #237f88; }
.contact-topic--investor { --topic-accent: #a06d27; }
.contact-topic--formal { --topic-accent: #64748b; }

.contact-topic:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--topic-accent) 55%, var(--color-border));
  box-shadow: 0 20px 46px rgba(16, 25, 43, 0.12);
}

.contact-topic.is-selected {
  border-color: var(--topic-accent);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--topic-accent) 17%, transparent), transparent 42%),
    color-mix(in srgb, var(--topic-accent) 4%, #fff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--topic-accent) 20%, transparent);
}

.contact-topic__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.contact-topic__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--topic-accent);
  background: color-mix(in srgb, var(--topic-accent) 11%, #fff);
  font-size: 13px;
  font-weight: 850;
}

.contact-topic.is-selected .contact-topic__number {
  color: #fff;
  background: var(--topic-accent);
}

.contact-topic__arrow {
  color: var(--topic-accent);
  font-size: 20px;
}

.contact-topic__title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.contact-topic__description {
  flex: 1;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.contact-topic__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--topic-accent);
  font-size: 14px;
  font-weight: 800;
}

.contact-topic__action span {
  transition: transform 180ms ease;
}

.contact-topic:hover .contact-topic__action span {
  transform: translateX(4px);
}

.contact-formal {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: var(--space-4);
  align-items: start;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.contact-formal__intro h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.contact-topic-grid--formal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-topic-grid--formal .contact-topic {
  min-height: 230px;
}

/* Contact form */

.contact-form-section {
  padding-bottom: var(--space-4);
  scroll-margin-top: 104px;
}

.contact-form-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(29, 127, 224, 0.18);
  border-radius: clamp(22px, 3vw, 32px);
  background:
    radial-gradient(circle at 8% 8%, rgba(29, 127, 224, 0.15), transparent 31%),
    linear-gradient(145deg, #f2f7fc, #f8fafc);
  box-shadow: 0 24px 70px rgba(16, 25, 43, 0.1);
}

.contact-form-panel__layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}

.contact-form-panel__intro h2 {
  font-size: clamp(34px, 4.5vw, 54px);
}

.contact-form-panel__intro > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
}

.contact-form-panel__selection {
  margin-top: var(--space-4);
  padding: 16px 18px;
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 255, 255, 0.72);
}

.contact-form-panel__selection span,
.contact-form-panel__selection strong {
  display: block;
}

.contact-form-panel__selection span {
  margin-bottom: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-panel__selection strong {
  color: var(--color-accent-dark);
  font-size: 17px;
}

.contact-form-panel__body {
  min-width: 0;
}

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

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

.contact-form__field {
  display: grid;
  gap: 7px;
}

.contact-form__field label {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}

.contact-form__field label span {
  color: var(--color-accent);
}

.contact-form__control {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #ccd4df;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  background: var(--color-bg);
  font: inherit;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.contact-form__control:hover {
  border-color: #9eabb9;
}

.contact-form__control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(29, 127, 224, 0.14);
}

textarea.contact-form__control {
  min-height: 150px;
  resize: vertical;
}

.contact-form__privacy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--color-text-muted);
  font-size: 14px;
}

.contact-form__privacy a {
  color: var(--color-accent);
  font-weight: 700;
}

.contact-form__privacy .contact-form__error {
  grid-column: 2;
}

.contact-form__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-accent);
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__error,
.contact-form__errors,
.contact-form__errors .errorlist {
  margin: 0;
  color: #b42318;
  font-size: 14px;
}

.contact-form__errors .errorlist {
  padding-left: 20px;
}

.contact-form__messages {
  margin-bottom: var(--space-3);
  padding: 14px 16px;
  border: 1px solid rgba(29, 127, 224, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(29, 127, 224, 0.08);
}

.contact-form__message {
  margin: 0;
  color: var(--color-accent-dark);
  font-weight: 650;
}

.contact-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-legal-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 15px;
}

.contact-legal-note a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .contact-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-formal,
  .contact-form-panel__layout {
    grid-template-columns: 1fr;
  }

  .contact-formal {
    gap: var(--space-3);
  }

  .contact-form-panel__intro {
    max-width: 680px;
  }

  .contact-form-panel__selection {
    margin-top: var(--space-3);
  }
}

@media (max-width: 620px) {
  .contact-hero {
    padding: 70px 0 64px;
  }

  .contact-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    overflow-wrap: anywhere;
  }

  .contact-hero__steps {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: var(--radius);
  }

  .contact-hero__steps span[aria-hidden="true"] {
    display: none;
  }

  .contact-topics {
    padding: 64px 0 52px;
  }

  .contact-topic-grid,
  .contact-topic-grid--formal {
    grid-template-columns: 1fr;
  }

  .contact-topic {
    min-height: 0;
    padding: 21px;
    border-radius: 20px;
  }

  .contact-topic__top {
    margin-bottom: 20px;
  }

  .contact-topic__action {
    margin-top: 18px;
  }

  .contact-formal {
    margin-top: var(--space-4);
  }

  .contact-form-section {
    scroll-margin-top: 88px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__submit {
    width: 100%;
    justify-content: center;
  }

  .contact-legal-note {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: var(--space-4);
  }
}

:focus-visible {
  outline: 3px solid rgba(29, 127, 224, 0.5);
  outline-offset: 4px;
}

/* Custom development sales page */

.site-nav a[aria-current="page"]:not(.site-nav__marketplace) {
  color: var(--color-text);
}

.mobile-nav__panel a[aria-current="page"]:not(.mobile-nav__marketplace) {
  color: var(--color-accent-dark);
  background: rgba(29, 127, 224, 0.07);
}

.custom-development-page {
  --custom-section-space: clamp(84px, 10vw, 132px);
  overflow: hidden;
}

.custom-development-page .container {
  width: min(100% - 48px, 1320px);
}

.custom-development-page h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.custom-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(84px, 10vw, 138px) 0 clamp(92px, 11vw, 148px);
  background:
    radial-gradient(circle at 85% 24%, rgba(29, 127, 224, 0.16), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
}

.custom-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.58;
  background-image:
    linear-gradient(rgba(29, 127, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 127, 224, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000, transparent 78%);
  content: "";
}

.custom-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
  gap: clamp(50px, 7vw, 104px);
}

.custom-hero__copy {
  min-width: 0;
  animation: custom-enter 600ms ease both;
}

.custom-hero h1 {
  max-width: 820px;
  font-size: clamp(50px, 5.7vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.custom-hero h1 span {
  color: var(--color-accent);
}

.custom-hero__lead {
  max-width: 730px;
  margin: 28px 0 34px;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.6;
}

.custom-hero__note {
  max-width: 720px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 2px solid rgba(29, 127, 224, 0.32);
  font-size: 14px;
  line-height: 1.6;
}

.custom-project-map {
  position: relative;
  padding: 15px;
  border: 1px solid rgba(29, 127, 224, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 90px rgba(20, 88, 158, 0.15);
  animation: custom-enter 600ms 120ms ease both;
}

.custom-project-map__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 18px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.custom-project-map__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.custom-project-map__status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a66f;
  box-shadow: 0 0 0 5px rgba(40, 166, 111, 0.1);
  content: "";
}

.custom-project-map__core {
  padding: 26px;
  border-radius: 18px;
  color: #ffffff;
  background: var(--color-text);
}

.custom-project-map small,
.custom-project-map strong {
  display: block;
}

.custom-project-map__core small,
.custom-project-map__result small {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.custom-project-map__core strong {
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.2;
}

.custom-project-map__tracks {
  display: grid;
  gap: 9px;
  padding: 14px 0;
}

.custom-project-map__tracks > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #ffffff;
}

.custom-project-map__tracks > div > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(29, 127, 224, 0.08);
  font-size: 11px;
  font-weight: 900;
}

.custom-project-map__tracks p,
.custom-project-map__result p {
  margin: 0;
}

.custom-project-map__tracks strong {
  color: var(--color-text);
  font-size: 15px;
}

.custom-project-map__tracks small {
  color: var(--color-text-muted);
  font-size: 12px;
}

.custom-project-map__result {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
}

.custom-project-map__result > span {
  font-size: 29px;
}

.custom-project-map__result strong {
  font-size: 18px;
}

.custom-decision {
  padding: var(--custom-section-space) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 35%, rgba(29, 127, 224, 0.24), transparent 28%),
    var(--color-text);
}

.custom-decision__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(56px, 9vw, 130px);
}

.custom-decision h2 {
  color: #ffffff;
}

.custom-decision__copy {
  display: grid;
  align-content: start;
  gap: 20px;
}

.custom-decision__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.72;
}

.custom-situation-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: clamp(54px, 7vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}

.custom-situation-list li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.custom-situation-list span,
.custom-situation-list strong {
  display: block;
}

.custom-situation-list span {
  margin-bottom: 46px;
  color: #69b6ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.custom-situation-list strong {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.45;
}

.custom-capabilities,
.custom-references,
.custom-fit {
  padding: var(--custom-section-space) 0;
}

.custom-section-intro {
  max-width: 900px;
  margin-bottom: clamp(50px, 7vw, 82px);
}

.custom-section-intro > p:last-child {
  max-width: 720px;
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.7;
}

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

.custom-capability-card {
  position: relative;
  min-width: 0;
  min-height: 600px;
  padding: clamp(28px, 3.6vw, 44px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(16, 25, 43, 0.07);
}

.custom-capability-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--card-accent, var(--color-accent));
  content: "";
}

.custom-capability-card--business {
  --card-accent: #1d7fe0;
}

.custom-capability-card--iot {
  --card-accent: #18a879;
}

.custom-capability-card--hardware {
  --card-accent: #7657d5;
}

.custom-capability-card__number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 64px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-radius: 50%;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 8%, white);
  font-size: 12px;
  font-weight: 900;
}

.custom-capability-card .eyebrow {
  color: var(--card-accent);
}

.custom-capability-card h3 {
  font-size: clamp(27px, 2.8vw, 36px);
  letter-spacing: -0.035em;
}

.custom-capability-card > p:not(.eyebrow) {
  min-height: 86px;
  line-height: 1.65;
}

.custom-capability-card ul,
.custom-fit ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
}

.custom-capability-card li,
.custom-fit li {
  position: relative;
  padding-left: 23px;
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.custom-capability-card li::before,
.custom-fit li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-accent, var(--color-accent));
  content: "";
  transform: translateY(-50%);
}

.custom-process {
  padding: var(--custom-section-space) 0;
  background: var(--color-bg-alt);
}

.custom-process__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(56px, 9vw, 130px);
}

.custom-process__intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.custom-process__intro > p:last-child {
  max-width: 600px;
  margin-top: 25px;
  font-size: 18px;
  line-height: 1.7;
}

.custom-process__steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-process__steps li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 21px;
  background: #ffffff;
}

.custom-process__steps li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-accent);
  background: rgba(29, 127, 224, 0.08);
  font-size: 11px;
  font-weight: 900;
}

.custom-process__steps h3 {
  margin: 3px 0 7px;
}

.custom-process__steps p {
  margin: 0;
}

.custom-references .reference-list--cards {
  margin-bottom: 0;
}

.custom-references .reference-card {
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(16, 25, 43, 0.065);
}

.custom-references .reference-card__logo-frame {
  height: 132px;
  margin-bottom: 24px;
}

.custom-references .reference-card__content h3 {
  font-size: 23px;
}

.custom-references .reference-card__content p {
  font-size: 15px;
  line-height: 1.62;
}

.custom-proof {
  padding: var(--custom-section-space) 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 74%, rgba(29, 127, 224, 0.22), transparent 28%),
    var(--color-text);
}

.custom-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 0.85fr);
  align-items: center;
  gap: clamp(54px, 9vw, 130px);
}

.custom-proof h2 {
  color: #ffffff;
}

.custom-proof .testimonial-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.custom-proof .testimonial-card blockquote p,
.custom-proof .testimonial-card figcaption strong {
  color: #ffffff;
}

.custom-proof .testimonial-card figcaption {
  border-color: rgba(255, 255, 255, 0.14);
}

.custom-proof .testimonial-card figcaption span {
  color: rgba(255, 255, 255, 0.62);
}

.custom-fit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.custom-fit article {
  min-height: 460px;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--color-border);
  border-radius: 26px;
}

.custom-fit__muted {
  background: var(--color-bg-alt);
}

.custom-fit h2 {
  font-size: clamp(34px, 4.2vw, 54px);
}

.custom-fit li {
  font-size: 15px;
}

.custom-fit__muted li::before {
  background: var(--color-text-muted);
}

.custom-cta {
  padding: 0 0 var(--custom-section-space);
}

.custom-cta__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  padding: clamp(40px, 7vw, 84px);
  border-radius: 32px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 30%, rgba(29, 127, 224, 0.36), transparent 30%),
    var(--color-text);
  box-shadow: 0 30px 80px rgba(16, 25, 43, 0.18);
}

.custom-cta h2 {
  max-width: 890px;
  color: #ffffff;
}

.custom-cta p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.7;
}

.custom-cta .btn {
  flex-shrink: 0;
  color: var(--color-text);
  background: #ffffff;
}

.custom-cta .btn:hover {
  background: #eaf4ff;
}

@keyframes custom-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .custom-capability-grid {
    grid-template-columns: 1fr;
  }

  .custom-capability-card {
    min-height: auto;
  }

  .custom-capability-card__number {
    margin-bottom: 38px;
  }

  .custom-capability-card > p:not(.eyebrow) {
    min-height: 0;
  }

  .custom-situation-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .custom-hero__grid,
  .custom-decision__grid,
  .custom-process__grid,
  .custom-proof__grid {
    grid-template-columns: 1fr;
  }

  .custom-project-map {
    width: min(100%, 680px);
  }

  .custom-process__intro {
    position: static;
  }

  .custom-fit__grid {
    grid-template-columns: 1fr;
  }

  .custom-fit article {
    min-height: auto;
  }

  .custom-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .custom-development-page {
    --custom-section-space: 74px;
  }

  .custom-development-page .container {
    width: min(100% - 32px, 1320px);
  }

  .custom-hero {
    padding: 70px 0 80px;
  }

  .custom-hero h1 {
    font-size: clamp(40px, 11.5vw, 50px);
  }

  .custom-hero .hero__actions {
    display: grid;
  }

  .custom-hero .btn,
  .custom-cta .btn {
    width: 100%;
  }

  .custom-project-map {
    padding: 10px;
    border-radius: 23px;
  }

  .custom-project-map__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .custom-project-map__core,
  .custom-project-map__result {
    padding: 20px;
  }

  .custom-situation-list {
    grid-template-columns: 1fr;
  }

  .custom-situation-list li {
    min-height: 150px;
  }

  .custom-situation-list span {
    margin-bottom: 30px;
  }

  .custom-capability-card,
  .custom-process__steps li,
  .custom-references .reference-card,
  .custom-fit article {
    padding: 26px 22px;
  }

  .custom-process__steps li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 15px;
  }

  .custom-process__steps li > span {
    width: 42px;
    height: 42px;
  }

  .custom-proof__grid {
    gap: 38px;
  }

  .custom-cta__inner {
    padding: 38px 26px;
    border-radius: 24px;
  }

  .custom-development-page h1,
  .custom-development-page h2,
  .custom-development-page h3 {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-hero__copy,
  .custom-project-map {
    animation: none;
  }
}
