:root {
  --ink: #07131e;
  --ink-2: #0c2030;
  --ink-3: #153247;
  --paper: #f3f1e9;
  --paper-2: #e8e6dc;
  --white: #fffef9;
  --cyan: #43d8df;
  --cyan-soft: #bff8f5;
  --coral: #ff785f;
  --lime: #b7e96b;
  --muted: #64727a;
  --line: rgba(7, 19, 30, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 30px 80px rgba(4, 18, 28, 0.15);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

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

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 19, 30, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 136px;
  height: auto;
}

.primary-nav,
.nav-actions {
  display: flex;
  align-items: center;
}

.primary-nav {
  gap: 26px;
}

.primary-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--white);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  gap: 12px;
}

.client-login {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  transition: color 160ms ease;
}

.client-login::after {
  color: var(--cyan);
  content: "↗";
}

.client-login:hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button:hover {
  box-shadow: 0 12px 30px rgba(255, 120, 95, 0.24);
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.82rem;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
}

.button--light {
  background: var(--white);
  color: var(--ink);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  box-shadow: 0 12px 30px rgba(7, 19, 30, 0.18);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 13px 0 0 var(--cyan);
  content: "";
  margin-right: 13px;
}

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

h1,
h2,
h3 {
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5.3vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.dark .lead,
.page-hero .lead,
.hero .lead {
  color: rgba(255, 255, 255, 0.66);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 42px 0 36px;
  background:
    radial-gradient(circle at 76% 12%, rgba(67, 216, 223, 0.15), transparent 31%),
    radial-gradient(circle at 15% 83%, rgba(255, 120, 95, 0.1), transparent 34%),
    var(--ink);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  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: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  gap: clamp(36px, 5vw, 68px);
}

.hero h1 {
  max-width: 770px;
  margin-bottom: 16px;
  font-size: clamp(3.15rem, 5.6vw, 5.1rem);
}

.hero h1 em {
  color: var(--cyan);
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
}

.hero-copy .lead {
  max-width: 640px;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.hero-note::before {
  width: 34px;
  height: 1px;
  background: var(--line-dark);
  content: "";
}

.cadence-demo {
  position: relative;
  min-height: 410px;
}

.cadence-demo::before {
  position: absolute;
  top: 10%;
  left: 12%;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(67, 216, 223, 0.2);
  border-radius: 50%;
  content: "";
}

.demo-label {
  position: absolute;
  top: -3px;
  right: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-card {
  position: absolute;
  width: min(320px, 76%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(11, 31, 45, 0.86);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.flow-card--contact {
  top: 30px;
  left: 4%;
}

.flow-card--call {
  top: 138px;
  right: 0;
}

.flow-card--decision {
  right: 12%;
  bottom: 16px;
}

.flow-card::after {
  position: absolute;
  z-index: -1;
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  content: "";
}

.flow-card--contact::after {
  right: -68px;
  bottom: -32px;
  transform: rotate(36deg);
}

.flow-card--call::after {
  bottom: -42px;
  left: 0;
  transform: rotate(105deg);
}

.flow-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.flow-card__icon,
.feature-icon,
.number-chip {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--ink);
  font-weight: 850;
}

.flow-card--call .flow-card__icon {
  background: #ffd7d0;
}

.flow-card--decision .flow-card__icon {
  background: #dff5ba;
}

.flow-card .flow-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 0.75rem;
}

.flow-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.7rem;
  font-weight: 750;
}

.flow-card__status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.flow-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.flow-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
}

.signal-line {
  display: flex;
  height: 28px;
  align-items: center;
  gap: 3px;
  margin-top: 9px;
}

.signal-line span {
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--coral);
  animation: signal 1.6s ease-in-out infinite alternate;
}

.signal-line span:nth-child(2) { height: 18px; animation-delay: 100ms; }
.signal-line span:nth-child(3) { height: 25px; animation-delay: 250ms; }
.signal-line span:nth-child(4) { height: 13px; animation-delay: 400ms; }
.signal-line span:nth-child(5) { height: 21px; animation-delay: 150ms; }
.signal-line span:nth-child(6) { height: 9px; animation-delay: 320ms; }
.signal-line span:nth-child(7) { height: 16px; animation-delay: 480ms; }

@keyframes signal {
  to { transform: scaleY(0.45); opacity: 0.65; }
}

.section {
  padding: clamp(84px, 11vw, 150px) 0;
}

.section--tight {
  padding: 80px 0;
}

.section--dark,
.dark {
  background: var(--ink);
  color: var(--white);
}

.section--white {
  background: var(--white);
}

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

.section-head {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 60px;
  margin-bottom: clamp(50px, 8vw, 90px);
}

.section-head h2,
.section-head p {
  margin-bottom: 0;
}

.section-kicker {
  max-width: 320px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section--dark .section-kicker {
  color: rgba(255, 255, 255, 0.56);
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(50px, 10vw, 150px);
}

.manifesto h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.8vw, 5.6rem);
}

.manifesto h2 span {
  color: var(--coral);
}

.manifesto-copy {
  padding-top: 14px;
}

.manifesto-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.63);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 55px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.mini-stat {
  min-height: 150px;
  padding: 24px;
  background: var(--ink);
}

.mini-stat strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 1.7rem;
}

.mini-stat span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.journey::before {
  position: absolute;
  top: 38px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: var(--line);
  content: "";
}

.journey-step {
  position: relative;
  z-index: 1;
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 249, 0.78);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.journey-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.journey-step__dot {
  display: grid;
  width: 22px;
  height: 22px;
  margin: 0 0 72px;
  place-items: center;
  border: 6px solid var(--paper);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--line);
}

.journey-step:nth-child(2) .journey-step__dot { background: var(--coral); }
.journey-step:nth-child(3) .journey-step__dot { background: var(--lime); }
.journey-step:nth-child(4) .journey-step__dot { background: var(--ink); }

.journey-step small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  grid-column: span 7;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  grid-column: span 5;
}

.feature-card--ink {
  border-color: transparent;
  background: var(--ink-2);
  color: var(--white);
}

.feature-card--cyan {
  border-color: transparent;
  background: var(--cyan-soft);
}

.feature-card--coral {
  border-color: transparent;
  background: #ffd8d0;
}

.feature-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.feature-card__number {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.feature-card--ink .feature-card__number {
  color: rgba(255, 255, 255, 0.48);
}

.feature-card h3 {
  max-width: 500px;
  font-size: clamp(1.9rem, 3.5vw, 3.5rem);
}

.feature-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card--ink p {
  color: rgba(255, 255, 255, 0.62);
}

.feature-card__art {
  position: absolute;
  right: -34px;
  bottom: -55px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(7, 19, 30, 0.16);
  border-radius: 50%;
}

.feature-card__art::before,
.feature-card__art::after {
  position: absolute;
  border: 1px solid rgba(7, 19, 30, 0.16);
  border-radius: 50%;
  content: "";
}

.feature-card__art::before { inset: 28px; }
.feature-card__art::after { inset: 58px; background: var(--coral); }

.feature-card--ink .feature-card__art,
.feature-card--ink .feature-card__art::before,
.feature-card--ink .feature-card__art::after {
  border-color: rgba(255, 255, 255, 0.14);
}

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

.stack-card,
.use-card,
.integration-card,
.value-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 254, 249, 0.7);
}

.stack-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
}

.stack-card:nth-child(2) {
  background: var(--cyan-soft);
}

.stack-card:nth-child(3) {
  background: #ffd8d0;
}

.stack-card p,
.use-card p,
.integration-card p,
.value-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

.stack-card ul,
.detail-list,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.stack-card li,
.detail-list li,
.check-list li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.stack-card li::before,
.detail-list li::before,
.check-list li::before {
  position: absolute;
  top: 17px;
  left: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.product-preview-section {
  overflow: hidden;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #e9e9e2;
  color: #263027;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.product-window--builder {
  position: relative;
}

.product-window--builder::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.product-chrome {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid #d7d8cf;
  background: #f6f6f1;
}

.product-chrome > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9cbc1;
}

.product-chrome > span:first-child { background: var(--coral); }
.product-chrome > span:nth-child(2) { background: #e4bb51; }
.product-chrome > span:nth-child(3) { background: #74ad86; }

.product-chrome small {
  margin-left: 8px;
  color: #8c9184;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-app {
  display: grid;
  min-height: 590px;
  grid-template-columns: 164px 1fr;
}

.product-nav {
  padding: 22px 16px;
  border-right: 1px solid #d7d9cf;
  background: #23312b;
  color: white;
}

.product-nav > img {
  width: 28px;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}

.product-nav__group {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}

.product-nav__group > span {
  padding: 0 8px 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-nav__group b {
  padding: 8px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.63rem;
  font-weight: 630;
}

.product-nav__group b.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #f2ca6b;
}

.builder-screen {
  min-width: 0;
  background: #f3f3ed;
}

.screen-head,
.compact-screen__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.screen-head {
  min-height: 80px;
  padding: 16px 22px;
  border-bottom: 1px solid #dcddd4;
  background: #fff;
}

.screen-head small,
.compact-screen__head small,
.operation-stats small,
.call-card small,
.result-kpis small {
  display: block;
  color: #929889;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.screen-head strong,
.compact-screen__head strong {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
}

.screen-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen-state,
.screen-button,
.online-pill,
.period-pill,
.flow-kind {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  white-space: nowrap;
}

.screen-state {
  padding: 7px 10px;
  background: #f2ecdc;
  color: #8a6b2c;
}

.screen-button {
  padding: 8px 11px;
  background: #303a31;
  color: white;
}

.builder-layout {
  display: grid;
  min-height: 510px;
  grid-template-columns: 122px minmax(430px, 1fr) 190px;
}

.node-palette,
.node-inspector {
  background: #fff;
}

.node-palette {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px 13px;
  border-right: 1px solid #ddded5;
}

.node-palette > small,
.node-inspector > small {
  color: #9a9f91;
  font-size: 0.5rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.node-palette > span {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid #e2e3da;
  border-radius: 7px;
  color: #5d655a;
  font-size: 0.58rem;
  font-weight: 700;
}

.node-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #aaa;
}

.node-dot--cyan { background: #56bdc0; }
.node-dot--coral { background: #df7564; }
.node-dot--lime { background: #8caf58; }
.node-dot--violet { background: #867ac4; }

.flow-canvas {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background-color: #eff0ea;
  background-image: radial-gradient(#c8cabf 0.75px, transparent 0.75px);
  background-size: 16px 16px;
}

.flow-canvas::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 48%, rgba(239, 240, 234, 0.72) 100%);
  content: "";
  pointer-events: none;
}

.canvas-node {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 165px;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid #d1d4c9;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 19px rgba(52, 63, 53, 0.09);
}

.canvas-node i {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: #d7f2f0;
  color: #40635d;
  font-size: 0.57rem;
  font-style: normal;
  font-weight: 850;
}

.canvas-node small,
.example-node small {
  display: block;
  color: #979c8e;
  font-size: 0.44rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.canvas-node strong {
  display: block;
  margin-top: 1px;
  font-size: 0.61rem;
}

.canvas-node span {
  display: block;
  margin-top: 2px;
  color: #858c7e;
  font-size: 0.49rem;
}

.canvas-node--entry { top: 26px; left: calc(50% - 83px); }
.canvas-node--call { top: 128px; left: calc(50% - 83px); }
.canvas-node--decision { top: 230px; left: calc(50% - 83px); }
.canvas-node--end { top: 354px; left: 7%; }
.canvas-node--wait { top: 334px; right: 4%; }
.canvas-node--message { top: 425px; right: 4%; }

.canvas-node--call i { background: #ffe0da; color: #9d5146; }
.canvas-node--decision i,
.canvas-node--end i { background: #e2f0cb; color: #5b763c; }
.canvas-node--message i { background: #e2def6; color: #625897; }

.canvas-link {
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 1px;
  height: 42px;
  background: #9ca696;
}

.canvas-link::after {
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 6px;
  height: 6px;
  border-right: 1px solid #7e8b7b;
  border-bottom: 1px solid #7e8b7b;
  content: "";
  transform: rotate(45deg);
}

.canvas-link--one { top: 87px; }
.canvas-link--two { top: 189px; }

.canvas-branch {
  position: absolute;
  z-index: 1;
  top: 306px;
  height: 48px;
  border-top: 1px solid #9ca696;
  color: #7c8477;
  font-size: 0.42rem;
  font-weight: 850;
}

.canvas-branch--yes {
  right: 50%;
  left: 17%;
  padding: 4px 7px;
  border-left: 1px solid #9ca696;
}

.canvas-branch--no {
  right: 17%;
  left: 50%;
  padding: 4px 0 0 calc(50% - 18px);
  border-right: 1px solid #9ca696;
}

.node-inspector {
  padding: 20px 15px;
  border-left: 1px solid #ddded5;
}

.node-inspector > strong {
  display: block;
  margin: 8px 0 18px;
  font-size: 0.72rem;
}

.node-inspector label {
  display: block;
  margin: 10px 0;
  color: #858c7e;
  font-size: 0.52rem;
  font-weight: 700;
}

.node-inspector label span {
  display: block;
  margin-top: 5px;
  padding: 8px;
  border: 1px solid #dcded4;
  border-radius: 7px;
  color: #40483f;
  font-weight: 650;
}

.node-inspector em {
  display: block;
  margin-top: 18px;
  color: #a2a799;
  font-size: 0.47rem;
  font-style: normal;
}

.screen-pair {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-window--small {
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
}

.compact-screen {
  min-height: 300px;
  padding: 24px;
  background: #f5f5f0;
}

.online-pill,
.period-pill {
  padding: 6px 10px;
}

.online-pill {
  background: #dceede;
  color: #4b7556;
}

.online-pill::before {
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.period-pill {
  border: 1px solid #d8dacf;
  background: white;
  color: #70786c;
}

.operation-stats,
.result-kpis {
  display: grid;
  margin: 20px 0;
  gap: 8px;
}

.operation-stats {
  grid-template-columns: 1.45fr 0.65fr 0.8fr;
}

.operation-stats > div,
.result-kpis > div {
  padding: 14px;
  border: 1px solid #dedfd7;
  border-radius: 11px;
  background: white;
}

.operation-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
}

.call-card {
  display: grid;
  align-items: center;
  padding: 16px;
  border-radius: 13px;
  background: #29372f;
  color: white;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
}

.contact-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #f0c968;
  color: #3f3b2b;
  font-size: 0.65rem;
  font-weight: 850;
}

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

.call-card strong { margin: 3px 0 1px; font-size: 0.72rem; }
.call-card span { color: rgba(255, 255, 255, 0.55); font-size: 0.56rem; }
.call-card b { padding: 7px 9px; border-radius: 7px; background: #a95c50; font-size: 0.55rem; }

.fiction-note {
  margin: 13px 0 0;
  color: #969b8f;
  font-size: 0.54rem;
}

.result-kpis {
  grid-template-columns: repeat(3, 1fr);
}

.result-kpis strong {
  display: inline-block;
  margin: 5px 6px 0 0;
  font-size: 1.12rem;
}

.result-kpis span {
  color: #73917a;
  font-size: 0.55rem;
}

.result-chart {
  display: flex;
  height: 92px;
  align-items: end;
  gap: 7px;
  padding: 12px 14px 0;
  border: 1px solid #dedfd7;
  border-radius: 11px;
  background-image: linear-gradient(#e4e5dc 1px, transparent 1px);
  background-color: white;
  background-size: 100% 25%;
}

.result-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #56aa9f;
}

.result-chart span:nth-child(2n) { background: #e07d68; }
.result-chart span:nth-child(1) { height: 38%; }
.result-chart span:nth-child(2) { height: 55%; }
.result-chart span:nth-child(3) { height: 44%; }
.result-chart span:nth-child(4) { height: 72%; }
.result-chart span:nth-child(5) { height: 64%; }
.result-chart span:nth-child(6) { height: 86%; }
.result-chart span:nth-child(7) { height: 74%; }

.preview-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.68rem;
}

.preview-foot > span {
  padding: 7px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
}

.preview-foot .text-link {
  margin-left: auto;
  color: white;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(183, 233, 107, 0.12);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 9vw, 120px);
}

.split--top {
  align-items: start;
}

.quote-panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(36px, 5vw, 68px);
  border-radius: var(--radius-lg);
  background: var(--cyan-soft);
}

.quote-panel::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 330px;
  height: 330px;
  border: 70px solid rgba(7, 19, 30, 0.07);
  border-radius: 50%;
  content: "";
}

.quote-panel blockquote {
  max-width: 600px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.quote-panel cite {
  display: block;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-panel cite::before {
  content: "Exemplo de posicionamento — ";
}

.integration-quote cite::before {
  content: "";
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  padding: 27px 60px 27px 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 26px;
  right: 6px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  line-height: 29px;
  text-align: center;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 800px;
  padding: 0 55px 28px 0;
  color: var(--muted);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--coral);
}

.cta-band::before,
.cta-band::after {
  position: absolute;
  border: 1px solid rgba(7, 19, 30, 0.2);
  border-radius: 50%;
  content: "";
}

.cta-band::before {
  top: -240px;
  right: -80px;
  width: 520px;
  height: 520px;
}

.cta-band::after {
  right: 40px;
  bottom: -260px;
  width: 420px;
  height: 420px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
}

.cta-inner h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.cta-action {
  justify-self: end;
}

.site-footer {
  padding: 72px 0 30px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: 50px;
  padding-bottom: 70px;
}

.footer-about img {
  width: 150px;
  margin-bottom: 26px;
}

.footer-about p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer-nav strong {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.69rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav a {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.74rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 4.8vw, 58px) 0 clamp(36px, 4vw, 50px);
  background:
    radial-gradient(circle at 88% 15%, rgba(67, 216, 223, 0.15), transparent 31%),
    var(--ink);
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  top: -200px;
  right: -120px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 90px rgba(255, 255, 255, 0.015);
  content: "";
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(2.65rem, 4.8vw, 4.5rem);
}

.page-hero .lead {
  max-width: 760px;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-hero__meta span,
.tag {
  padding: 8px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.76rem;
}

.anchor-bar {
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.anchor-bar .shell {
  display: flex;
  gap: 30px;
}

.anchor-bar a {
  flex: 0 0 auto;
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  text-decoration: none;
}

.anchor-bar a:hover {
  color: var(--ink);
}

.flow-examples {
  overflow: hidden;
}

.flow-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.flow-example {
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(7, 19, 30, 0.08);
}

.flow-example--inbound {
  background: var(--cyan-soft);
}

.flow-example > header {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
}

.flow-example header small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.flow-example h3 {
  margin: 3px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.flow-kind {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.example-map {
  position: relative;
  display: grid;
  align-items: stretch;
  margin: 30px -8px 24px;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 7px;
}

.example-node {
  min-width: 0;
  padding: 14px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
}

.example-node::before {
  display: block;
  width: 22px;
  height: 3px;
  margin-bottom: 11px;
  border-radius: 3px;
  background: #58b9bd;
  content: "";
}

.example-node--coral::before { background: var(--coral); }
.example-node--lime::before { background: #7fa34e; }

.example-node strong,
.example-node span {
  display: block;
}

.example-node strong {
  margin-top: 3px;
  font-size: 0.68rem;
}

.example-node span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.55rem;
}

.example-arrow {
  align-self: center;
  color: #92998c;
  font-size: 0.78rem;
  font-style: normal;
}

.example-branches {
  display: grid;
  grid-column: 3 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.example-branches span {
  margin-top: 8px;
  padding: 9px 10px;
  border-left: 2px solid #8aaa5c;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.56rem;
}

.example-branches span:last-child {
  border-left-color: var(--coral);
}

.example-branches b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.flow-example > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.example-disclaimer {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.module {
  display: grid;
  align-items: start;
  grid-template-columns: 0.45fr 1.1fr 0.8fr;
  gap: clamp(28px, 6vw, 90px);
  padding: 50px 0;
  border-top: 1px solid var(--line);
}

.module:first-child {
  border-top: 0;
}

.module-index {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.module h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.module p,
.module aside {
  color: var(--muted);
}

.module aside {
  padding: 22px;
  border-left: 2px solid var(--cyan);
  background: rgba(67, 216, 223, 0.08);
  font-size: 0.86rem;
}

.process-list {
  counter-reset: steps;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.process-list li::before {
  color: var(--coral);
  content: "0" counter(steps);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

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

.use-card {
  min-height: 360px;
}

.use-card__index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 90px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.use-card__index::after {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan-soft);
  content: "";
}

.use-card:nth-child(2) .use-card__index::after { background: #ffd8d0; }
.use-card:nth-child(3) .use-card__index::after { background: #dff5ba; }

.use-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.scenario {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 8vw, 110px);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.scenario:first-child {
  border-top: 0;
}

.scenario-label {
  position: sticky;
  top: 110px;
  align-self: start;
}

.scenario-label span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scenario-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.scenario-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 32px 0;
}

.scenario-flow span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.8rem;
  font-weight: 720;
}

.scenario-flow i {
  color: var(--muted);
  font-style: normal;
}

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

.availability-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.availability-card strong {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 9px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.availability-card strong::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.availability-card--config strong::before { background: var(--coral); }
.availability-card--progress strong::before { background: var(--cyan); }

.availability-card p {
  margin: 0;
  color: var(--muted);
}

.integration-card {
  min-height: 260px;
}

.integration-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

.integration-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--ink);
  color: var(--cyan);
  font-weight: 850;
}

.integration-card h3 {
  margin: 0;
}

.notice {
  padding: 24px;
  border: 1px solid rgba(255, 120, 95, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(255, 120, 95, 0.08);
}

.notice strong {
  display: block;
  margin-bottom: 7px;
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(50px, 9vw, 120px);
}

.contact-aside {
  position: sticky;
  top: 115px;
  align-self: start;
}

.contact-aside h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-aside .lead {
  color: var(--muted);
}

.contact-facts {
  display: grid;
  gap: 0;
  margin-top: 46px;
}

.contact-fact {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-fact span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan-soft);
  font-size: 0.7rem;
  font-weight: 850;
}

.contact-fact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 780;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(67, 216, 223, 0.15);
  outline: 0;
}

.field [aria-invalid="true"] {
  border-color: #c13c2c;
}

.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: #9f3022;
  font-size: 0.75rem;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
}

.checkbox label {
  color: var(--muted);
  font-size: 0.82rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.form-actions .button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 0.88rem;
}

.form-status[data-state="success"] {
  padding: 14px 16px;
  border: 1px solid rgba(75, 130, 35, 0.25);
  border-radius: 10px;
  background: rgba(183, 233, 107, 0.2);
  color: #335d19;
}

.form-status[data-state="error"] {
  padding: 14px 16px;
  border: 1px solid rgba(193, 60, 44, 0.25);
  border-radius: 10px;
  background: rgba(255, 120, 95, 0.12);
  color: #8e2a1f;
}

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: clamp(50px, 10vw, 140px);
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 110px;
}

.legal-nav a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--ink);
}

.legal-content h2 {
  margin-top: 64px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 32px;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: #4c5a61;
}

.legal-content li {
  margin: 8px 0;
}

.pending-data {
  padding: 20px;
  border-left: 3px solid var(--coral);
  background: rgba(255, 120, 95, 0.08);
}

.not-found {
  display: grid;
  min-height: calc(100vh - 78px);
  place-items: center;
  padding: 80px 20px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.not-found span {
  display: block;
  color: var(--cyan);
  font-size: clamp(5rem, 20vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.not-found h1 {
  margin: 28px 0 18px;
  font-size: clamp(2rem, 5vw, 4rem);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .primary-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    padding: 32px 20px 40px;
    border-top: 1px solid var(--line-dark);
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.05rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: 500px;
    padding-top: 40px;
  }

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

  .cadence-demo {
    display: none;
  }

  .section-head,
  .manifesto,
  .cta-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-kicker {
    max-width: 620px;
  }

  .feature-card:nth-child(n) {
    grid-column: span 6;
  }

  .stack-grid,
  .use-grid,
  .integration-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .product-nav,
  .node-inspector {
    display: none;
  }

  .builder-layout {
    grid-template-columns: 116px minmax(430px, 1fr);
  }

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

  .cta-action {
    justify-self: start;
  }

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

  .footer-nav:last-child {
    grid-column: 2;
  }

  .module {
    grid-template-columns: 70px 1fr;
  }

  .module aside {
    grid-column: 2;
  }

  .flow-example-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside,
  .scenario-label {
    position: static;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-wrap {
    min-height: 70px;
    gap: 14px;
  }

  .primary-nav {
    top: 70px;
  }

  .brand img {
    width: 122px;
  }

  .nav-actions {
    gap: 8px;
  }

  .client-login {
    min-height: 40px;
    padding-inline: 2px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding: 34px 0 24px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

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

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

  .cadence-demo {
    min-height: 500px;
  }

  .cadence-demo::before {
    left: 3%;
    width: 94%;
    height: auto;
    aspect-ratio: 1;
  }

  .flow-card {
    width: 88%;
  }

  .flow-card--contact { left: 0; }
  .flow-card--call { top: 180px; }
  .flow-card--decision { right: 2%; bottom: 22px; }

  .mini-stats,
  .journey,
  .stack-grid,
  .use-grid,
  .integration-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .journey::before {
    display: none;
  }

  .journey-step {
    min-height: auto;
  }

  .journey-step__dot {
    margin-bottom: 36px;
  }

  .feature-card:nth-child(n) {
    min-height: 330px;
    grid-column: 1 / -1;
  }

  .screen-pair {
    grid-template-columns: 1fr;
  }

  .product-app {
    min-height: auto;
  }

  .screen-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .node-palette {
    display: none;
  }

  .flow-canvas {
    min-height: 505px;
  }

  .canvas-node--end { left: 3%; }
  .canvas-node--wait,
  .canvas-node--message { right: 3%; }

  .preview-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-foot .text-link {
    margin: 8px 0 0;
  }

  .example-map {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .example-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .example-branches {
    grid-column: auto;
  }

  .flow-example > header {
    align-items: start;
    grid-template-columns: auto 1fr;
  }

  .flow-kind {
    grid-column: 2;
    justify-self: start;
  }

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

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

  .footer-nav:last-child {
    grid-column: auto;
  }

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

  .module {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .module aside {
    grid-column: auto;
  }

  .scenario {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .availability-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-form {
    padding: 26px 18px;
    border-radius: 22px;
  }

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

  .field--full {
    grid-column: auto;
  }

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

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

  .legal-nav {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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