:root {
  --ink: #10162f;
  --ink-soft: #4d5672;
  --primary: #2328c9;
  --primary-light: #6674eb;
  --primary-pale: #edf0ff;
  --sky: #dbeaff;
  --mint: #c7f1e8;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --line: #dfe4ef;
  --shadow-sm: 0 12px 40px rgba(16, 22, 47, 0.07);
  --shadow-lg: 0 30px 90px rgba(24, 31, 91, 0.16);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: #fff;
  background: var(--primary);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 140px);
}

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

.section-dark {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 18%, rgba(103, 116, 235, 0.42), transparent 29%),
    radial-gradient(circle at 90% 80%, rgba(32, 178, 170, 0.24), transparent 30%),
    #11152f;
}

.section-dark::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 52px;
}

.section-head.centered {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head.centered .lead {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 20px;
  content: "";
}

.section-dark .eyebrow {
  color: #aeb7ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.3rem, 7.6vw, 7.5rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.7vw, 4.5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.text-gradient {
  color: transparent;
  background: linear-gradient(108deg, var(--primary) 4%, #5563e1 50%, #1d8fa9 104%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
}

.section-dark .lead {
  color: rgba(255, 255, 255, 0.7);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(223, 228, 239, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 7px 14px rgba(35, 40, 201, 0.17));
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.site-nav > a:not(.button) {
  padding: 10px 14px;
  color: var(--ink-soft);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button):focus-visible,
.site-nav > a[aria-current="page"]:not(.button) {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  background: var(--surface-soft);
  border: 0;
  border-radius: 13px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 3px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  margin-block: 4px;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(16, 22, 47, 0.15);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 22, 47, 0.22);
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(35, 40, 201, 0.24);
}

.button-light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
}

.button-arrow::after {
  content: "↗";
  font-size: 1.1rem;
  font-weight: 500;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 8vw, 118px) clamp(80px, 9vw, 130px);
  background:
    radial-gradient(circle at 85% 10%, rgba(164, 179, 255, 0.4), transparent 26%),
    radial-gradient(circle at 94% 65%, rgba(157, 236, 224, 0.26), transparent 22%),
    linear-gradient(180deg, #fbfcff 0%, #f4f6fb 100%);
}

.hero::before {
  position: absolute;
  right: -10vw;
  bottom: -35vw;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(35, 40, 201, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 5vw rgba(35, 40, 201, 0.025),
    0 0 0 11vw rgba(35, 40, 201, 0.02);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3.7rem, 7.3vw, 7.2rem);
}

.hero-copy .lead {
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
  list-style: none;
}

.hero-note li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note li::before {
  width: 7px;
  height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(102, 116, 235, 0.11);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 500px;
  perspective: 1200px;
}

.workflow-card {
  position: absolute;
  inset: 48px 0 34px 40px;
  overflow: hidden;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.workflow-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 32%, rgba(118, 132, 255, 0.09), transparent 64%);
  content: "";
  transform: translateX(-120%);
  animation: sheen 8s ease-in-out infinite;
}

@keyframes sheen {
  0%,
  45% {
    transform: translateX(-120%);
  }
  70%,
  100% {
    transform: translateX(120%);
  }
}

.workflow-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.workflow-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 800;
}

.workflow-title::before {
  width: 10px;
  height: 10px;
  background: #42c9a5;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(66, 201, 165, 0.13);
  content: "";
}

.workflow-status {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-line {
  position: absolute;
  top: 110px;
  bottom: 84px;
  left: 50px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--primary-light), #42c9a5);
  border-radius: 10px;
}

.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding: 18px;
  background: #f8f9fc;
  border: 1px solid #ebedf4;
  border-radius: 18px;
}

.workflow-step strong,
.workflow-step small {
  display: block;
}

.workflow-step strong {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.workflow-step small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.workflow-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid #dfe3f5;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 900;
}

.workflow-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 18px;
}

.workflow-result span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

.workflow-result strong {
  font-size: 0.9rem;
}

.float-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}

.float-badge::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-pale);
  border-radius: 10px;
  content: "✓";
}

.float-badge-one {
  top: 0;
  right: 16px;
}

.float-badge-two {
  bottom: 0;
  left: 0;
  animation-delay: -2.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.proof-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.proof-item {
  min-width: 0;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.proof-item span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  grid-column: span 6;
  overflow: hidden;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(16, 22, 47, 0.03);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: #bcc4ff;
  box-shadow: 0 24px 56px rgba(30, 37, 109, 0.12);
  transform: translateY(-6px);
}

.product-card.featured {
  grid-column: span 8;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(132, 144, 255, 0.48), transparent 30%),
    linear-gradient(135deg, #151943, #2429c9);
  border-color: transparent;
}

.product-card.featured::after {
  position: absolute;
  right: -60px;
  bottom: -140px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(255, 255, 255, 0.04),
    0 0 0 92px rgba(255, 255, 255, 0.025);
  content: "";
}

.product-index {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: auto;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card.featured .product-index {
  color: #bfc6ff;
}

.product-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-pale);
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.product-card.featured .product-icon {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.product-content {
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

.product-content h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.product-content p {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.product-card.featured .product-content p {
  color: rgba(255, 255, 255, 0.68);
}

.product-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.product-card:hover .product-link::after {
  transform: translateX(4px);
}

.product-card.featured .product-link {
  color: #fff;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
}

.principle {
  min-height: 310px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.principle-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 80px;
  place-items: center;
  color: #c8ceff;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.principle p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.scenario {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: start;
}

.scenario-copy {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 22px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 38px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--primary);
  background: #fff;
  border: 1px solid #ced4ff;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #fff;
  font-size: 0.75rem;
  font-weight: 900;
}

.timeline-body {
  padding: 2px 0 0;
}

.timeline-body p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.free-tool {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 34px;
  background: linear-gradient(135deg, #eef1ff, #effbfa);
  border: 1px solid #d7dcf6;
  border-radius: var(--radius-md);
}

.free-tool-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 19px;
  box-shadow: 0 14px 30px rgba(35, 40, 201, 0.24);
  font-size: 1.4rem;
  font-weight: 900;
}

.free-tool h3 {
  margin-bottom: 6px;
}

.free-tool p {
  margin: 0;
  color: var(--ink-soft);
}

.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin-inline: auto;
}

.partner-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(16, 22, 47, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
  border-color: #bec6ff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.partner-logo {
  display: grid;
  min-height: 110px;
  place-items: center;
  padding: 18px;
  background: var(--surface-soft);
  border-radius: 17px;
}

.partner-logo img {
  max-width: 250px;
  max-height: 68px;
}

.partner-card:last-child .partner-logo img {
  max-height: 56px;
}

.partner-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
}

.partner-meta strong {
  font-size: 0.95rem;
}

.partner-meta span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(132, 144, 255, 0.4), transparent 28%),
    linear-gradient(135deg, #11152f, #2328c9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 56px rgba(255, 255, 255, 0.04),
    0 0 0 112px rgba(255, 255, 255, 0.022);
  content: "";
}

.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.cta-content h2 {
  max-width: 720px;
  margin-bottom: 16px;
}

.cta-content p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  padding-block: 48px 30px;
  background: #0d1025;
  color: rgba(255, 255, 255, 0.65);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(140px, 0.4fr));
  gap: 50px;
  padding-bottom: 42px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.47);
}

.footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  font-size: 0.88rem;
}

.footer-group strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-group a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  font-size: 0.86rem;
  transition: color 0.2s ease;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 9vw, 130px);
  background:
    radial-gradient(circle at 90% 16%, rgba(102, 116, 235, 0.2), transparent 28%),
    var(--surface-soft);
}

.page-hero .lead {
  max-width: 760px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.3rem, 7vw, 6.6rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumbs span {
  opacity: 0.5;
}

.catalog {
  display: grid;
  gap: 18px;
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr) auto;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog-card:hover,
.catalog-card:focus-visible {
  border-color: #c2c8ff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.catalog-card h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.catalog-card p {
  margin: 0;
  color: var(--ink-soft);
}

.catalog-tags,
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.catalog-tags li,
.chip-list li {
  padding: 7px 10px;
  color: var(--primary);
  background: var(--primary-pale);
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 800;
}

.catalog-arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-pale);
  border-radius: 15px;
  font-size: 1.3rem;
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 110px);
  background:
    radial-gradient(circle at 85% 0%, rgba(137, 150, 237, 0.28), transparent 28%),
    linear-gradient(180deg, #fafbff, #f4f6fb);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.product-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6.5vw, 6.5rem);
}

.product-hero .hero-actions {
  margin-top: 32px;
}

.product-stage {
  position: relative;
  min-height: 440px;
}

.product-ui {
  position: absolute;
  inset: 20px 0 20px 30px;
  overflow: hidden;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-5deg) rotateX(2deg);
}

.ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.ui-dots {
  display: flex;
  gap: 6px;
}

.ui-dots span {
  width: 7px;
  height: 7px;
  background: #cdd2e0;
  border-radius: 50%;
}

.ui-label {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ui-grid {
  display: grid;
  grid-template-columns: 0.52fr 1.48fr;
  gap: 14px;
  min-height: 315px;
  padding-top: 18px;
}

.ui-sidebar {
  padding: 14px;
  background: var(--ink);
  border-radius: 17px;
}

.ui-sidebar span {
  display: block;
  height: 8px;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
}

.ui-sidebar span:first-child {
  width: 66%;
  background: #aab4ff;
}

.ui-content {
  display: grid;
  align-content: start;
  gap: 12px;
}

.ui-card {
  position: relative;
  min-height: 68px;
  padding: 15px;
  background: var(--surface-soft);
  border: 1px solid #e8ebf3;
  border-radius: 15px;
}

.ui-card::before,
.ui-card::after {
  display: block;
  height: 7px;
  background: #d7dbe7;
  border-radius: 10px;
  content: "";
}

.ui-card::before {
  width: 46%;
  margin-bottom: 10px;
  background: var(--primary-light);
}

.ui-card::after {
  width: 74%;
}

.ui-card-wide {
  min-height: 92px;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 110px);
}

.feature-layout > header {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  align-self: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.feature-check {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-pale);
  border-radius: 15px;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

.info-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.system-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 24px;
  padding: 24px;
  color: #fff;
  background: var(--ink);
  border-radius: 20px;
}

.system-note-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #b8c0ff;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  font-weight: 900;
}

.system-note strong {
  display: block;
  margin-bottom: 4px;
}

.system-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
}

.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-nav a {
  padding: 10px 14px;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-nav a:hover,
.product-nav a:focus-visible,
.product-nav a[aria-current="page"] {
  color: var(--primary);
  border-color: #bfc6ff;
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(72px, 9vw, 120px);
}

.legal-hero::after {
  position: absolute;
  right: -12vw;
  bottom: -55%;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(63, 92, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(63, 92, 255, 0.035),
    0 0 0 108px rgba(63, 92, 255, 0.025);
  content: "";
  pointer-events: none;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero .lead {
  max-width: 720px;
}

.legal-section {
  position: relative;
  padding-top: 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 48px rgba(28, 35, 70, 0.07);
  backdrop-filter: blur(18px);
}

.legal-sidebar > span {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-nav {
  display: grid;
  gap: 5px;
}

.legal-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.legal-nav a::after {
  color: var(--primary);
  content: "↗";
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(63, 92, 255, 0.08);
  transform: translateX(2px);
}

.legal-nav a:hover::after,
.legal-nav a:focus-visible::after,
.legal-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: none;
}

.legal-copy {
  min-width: 0;
  padding: clamp(26px, 5vw, 66px);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 4vw, 38px);
  background: #fff;
  box-shadow: 0 26px 80px rgba(28, 35, 70, 0.09);
}

.legal-copy > :first-child {
  margin-top: 0;
}

.legal-copy .legal-intro {
  margin-bottom: 38px;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.72;
}

.legal-copy h2 {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.035em;
}

.legal-copy h2:first-child,
.legal-copy .legal-intro + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-copy h3 {
  margin-top: 30px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
  line-height: 1.78;
}

.legal-copy p {
  margin-block: 14px;
}

.legal-copy ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.legal-copy a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(63, 92, 255, 0.3);
  text-underline-offset: 0.2em;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.legal-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(63, 92, 255, 0.14);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(63, 92, 255, 0.055);
  font-size: 0.78rem;
  font-weight: 800;
}

.legal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-block: 22px 30px;
}

.legal-fact {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.legal-fact span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-fact strong {
  display: block;
  line-height: 1.5;
}

.legal-note {
  margin-block: 26px !important;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  border-radius: 0 14px 14px 0;
  background: rgba(63, 92, 255, 0.055);
}

@media (max-width: 980px) {
  .hero-grid,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .product-stage {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .product-card,
  .product-card.featured {
    grid-column: span 6;
  }

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

  .principle {
    min-height: auto;
  }

  .principle-number {
    margin-bottom: 42px;
  }

  .catalog-card {
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr) auto;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

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

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    max-height: 0;
    gap: 6px;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid transparent;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.28s ease;
  }

  .nav-open .site-nav {
    max-height: calc(100vh - var(--header-height));
    padding-block: 16px 24px;
    border-bottom-color: var(--line);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav > a:not(.button) {
    padding: 13px 14px;
  }

  .site-nav .button {
    margin-top: 6px;
  }

  .section-head,
  .scenario,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .scenario-copy,
  .feature-layout > header {
    position: static;
  }

  .partners,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .catalog-card {
    grid-template-columns: 1fr auto;
  }

  .catalog-card > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .catalog-arrow {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 620px) {
  .brand-copy small {
    display: none;
  }

  .section {
    padding-block: 76px;
  }

  h1,
  .hero-copy h1,
  .page-hero h1,
  .product-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 455px;
  }

  .workflow-card {
    inset: 35px 0 28px 0;
    padding: 18px;
    border-radius: 26px;
    transform: none;
  }

  .workflow-step {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .workflow-icon {
    width: 34px;
    height: 34px;
  }

  .workflow-line {
    left: 35px;
  }

  .float-badge {
    padding: 9px 11px;
    font-size: 0.68rem;
  }

  .float-badge::before {
    width: 26px;
    height: 26px;
  }

  .proof-strip {
    margin-top: -24px;
  }

  .proof-item {
    padding: 20px;
  }

  .proof-item span {
    white-space: normal;
  }

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

  .product-card,
  .product-card.featured {
    min-height: 300px;
    grid-column: auto;
  }

  .product-content {
    margin-top: 56px;
  }

  .free-tool {
    grid-template-columns: 1fr;
  }

  .free-tool .button {
    width: 100%;
  }

  .partner-meta {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .cta-panel {
    border-radius: 26px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-stage {
    min-height: 380px;
  }

  .product-ui {
    inset: 12px 0;
    padding: 16px;
    transform: none;
  }

  .ui-grid {
    grid-template-columns: 0.42fr 1.58fr;
    min-height: 285px;
  }

  .feature-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
    padding: 22px;
  }

  .feature-check {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 980px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    position: static;
  }

  .legal-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .legal-hero {
    padding-bottom: 74px;
  }

  .legal-nav,
  .legal-facts {
    grid-template-columns: 1fr;
  }

  .legal-copy {
    padding: 25px 21px;
    border-radius: 24px;
  }

  .legal-copy h2 {
    margin-top: 42px;
    padding-top: 30px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

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