:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #10100e;
  --ink: #f7f4ea;
  --muted: #aaa393;
  --line: rgba(247, 244, 234, 0.14);
  --accent: #ffae08;
  --accent-strong: #ffc247;
  --assistant: #15140f;
  --user: #33290e;
  --shadow: rgba(0, 0, 0, 0.34);
  --section-base: #070707;
  --section-low: #0c0b08;
  --section-mid: #12110c;
  --section-high: #17150f;
  --section-warm: #1b1509;
  --section-glow: rgba(255, 174, 8, 0.1);
  --section-thread: rgba(255, 174, 8, 0.075);
  --cool-accent: #39d6c4;
  --content-width: 1200px;
  --section-padding-y: clamp(72px, 9vw, 112px);
  --section-padding-x: clamp(14px, 3vw, 30px);
  --pill-radius: 999px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f3e7;
  --surface: #fffdf7;
  --ink: #17140c;
  --muted: #746d5d;
  --line: rgba(23, 20, 12, 0.14);
  --accent: #ffae08;
  --accent-strong: #a45f00;
  --assistant: #ffffff;
  --user: #fff0d0;
  --shadow: rgba(47, 39, 16, 0.12);
  --section-base: #f7f3e7;
  --section-low: #f2ead7;
  --section-mid: #fff9ea;
  --section-high: #ffffff;
  --section-warm: #fff0cb;
  --section-glow: rgba(255, 174, 8, 0.12);
  --section-thread: rgba(164, 95, 0, 0.075);
  --cool-accent: #087f73;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family:
    Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, var(--section-base) 0%, var(--section-low) 18%, var(--section-high) 36%, var(--section-base) 58%, var(--section-low) 76%, var(--section-warm) 100%);
  color: var(--ink);
  text-rendering: geometricPrecision;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line));
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
  box-shadow: 0 16px 44px var(--shadow);
  transition: transform 160ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid color-mix(in srgb, var(--accent) 58%, transparent);
  outline-offset: 2px;
}

.chat-shell {
  position: relative;
  z-index: 30;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  padding: clamp(96px, 12vh, 118px) clamp(14px, 3vw, 30px) 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--section-base)) 0%, var(--section-base) 46%, var(--section-low) 100%),
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 34%),
    radial-gradient(circle at 86% 72%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 32%),
    var(--section-base);
}

.node-flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  pointer-events: none;
}

:root[data-theme="light"] .node-flow {
  opacity: 0.52;
}

.section-node-flow {
  position: absolute;
  top: var(--flow-top, 12%);
  right: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: min(var(--flow-height, 300px), calc(100% - 48px));
  opacity: 0.56;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

:root[data-theme="light"] .section-node-flow {
  opacity: 0.34;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(calc(100vw - clamp(28px, 6vw, 60px)), var(--content-width));
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  box-shadow: 0 14px 48px color-mix(in srgb, var(--shadow) 70%, transparent);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 220ms ease;
}

.chat-home,
.source-note {
  position: relative;
  z-index: 1;
}

.brand,
.topbar-nav,
.topbar-utilities {
  display: flex;
  align-items: center;
}

.topbar-menu-button {
  display: none;
}

.brand {
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  font-weight: 780;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: clamp(156px, 17vw, 220px);
  height: clamp(38px, 4.3vw, 58px);
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
}

.logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-image-light {
  display: none;
}

:root[data-theme="light"] .logo-image-dark {
  display: none;
}

:root[data-theme="light"] .logo-image-light {
  display: block;
}

.topbar-nav {
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 4px;
  border-radius: 999px;
}

.topbar-utilities {
  justify-content: flex-end;
  gap: 8px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

@media (min-width: 861px) {
  .chat-shell.is-chat-active,
  .chat-shell:not(.is-chat-active) {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .chat-shell.is-chat-active .chat-home,
  .chat-shell:not(.is-chat-active) .chat-home {
    grid-row: 1;
    align-self: stretch;
  }

  .chat-shell.is-chat-active .source-note,
  .chat-shell:not(.is-chat-active) .source-note {
    grid-row: 2;
  }

  .chat-home.is-chat-active {
    justify-content: flex-start;
    padding-top: clamp(14px, 3vh, 32px);
    padding-bottom: clamp(14px, 2.4vh, 26px);
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .brand {
    justify-self: start;
  }

  .topbar-nav {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
  }

  .topbar-utilities {
    grid-column: 3;
    justify-self: end;
  }

  .chat-home.is-chat-active .chat-composer {
    margin-top: var(--chat-flow-shift);
    transition: margin-top 420ms cubic-bezier(0.22, 1, 0.36, 1);
  }

}

@media (min-width: 861px) and (max-height: 820px) {
  .chat-home.is-chat-active .messages {
    max-height: clamp(150px, 26svh, 204px);
  }
}

.topbar-link,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
}

.topbar-link {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 760;
}

.secondary-link {
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  color: var(--muted);
}

.topbar-link:hover,
.topbar-link:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--ink);
}

.topbar-cta {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  background: var(--accent);
  color: #17140c;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 18%, var(--shadow));
}

.topbar-cta:hover,
.topbar-cta:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 86%, var(--line));
  background: color-mix(in srgb, var(--accent) 88%, white);
  color: #17140c;
}

.topbar-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 52%, transparent);
  outline-offset: 2px;
}

.theme-toggle {
  position: relative;
  justify-content: center;
  gap: 6px;
  width: 78px;
  min-height: 40px;
  padding: 5px;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  border-radius: 999px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 52%),
    color-mix(in srgb, var(--surface) 88%, var(--accent) 12%);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 10%, transparent),
    inset 0 -10px 18px color-mix(in srgb, var(--shadow) 18%, transparent),
    0 10px 26px color-mix(in srgb, var(--shadow) 42%, transparent);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 76%, var(--line));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--ink) 13%, transparent),
    inset 0 -10px 18px color-mix(in srgb, var(--shadow) 14%, transparent),
    0 12px 30px color-mix(in srgb, var(--accent) 18%, var(--shadow));
}

.theme-toggle:active {
  transform: scale(0.98);
}

.theme-toggle::before {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 7px 18px color-mix(in srgb, var(--accent) 34%, var(--shadow));
  content: "";
  transform: translateX(38px);
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.theme-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
  opacity: 0.82;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.theme-icon-sun {
  transform-origin: center;
}

.theme-icon-sun circle {
  fill: currentColor;
  stroke: currentColor;
}

.theme-icon-sun path {
  stroke: currentColor;
}

.theme-icon-moon {
  fill: currentColor;
  stroke: none;
}

.theme-icon-moon path {
  transform: scale(1.08);
  transform-origin: center;
}

:root[data-theme="light"] .theme-toggle {
  border-color: color-mix(in srgb, var(--accent) 58%, rgba(23, 20, 12, 0.18));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), transparent 54%),
    color-mix(in srgb, var(--surface) 90%, var(--accent) 10%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -10px 18px rgba(47, 39, 16, 0.06),
    0 8px 18px rgba(47, 39, 16, 0.12);
}

:root[data-theme="light"] .theme-toggle::before {
  transform: translateX(0);
}

:root:not([data-theme="light"]) .theme-icon-moon,
:root[data-theme="light"] .theme-icon-sun {
  color: #17140c;
  opacity: 1;
  transform: scale(1);
}

:root:not([data-theme="light"]) .theme-icon-sun {
  color: #b5ab90;
  opacity: 0.78;
  transform: scale(0.92);
}

:root[data-theme="light"] .theme-icon-moon {
  color: #3f382d;
  opacity: 0.92;
  transform: scale(0.98);
}

.chat-home {
  --chat-flow-shift: 0px;
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(14px, 4vh, 36px) 0;
}

.intro-copy {
  width: min(100%, 840px);
  margin-bottom: 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

:root[data-theme="light"] .eyebrow {
  color: var(--accent-strong);
}

h1,
p {
  margin-top: 0;
}

h1 {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(26px, 4.2vw, 46px);
  font-weight: 820;
  line-height: 1.04;
}

#headlineLead {
  display: block;
  white-space: nowrap;
}

.headline-highlight-row {
  display: block;
  min-height: 1.12em;
  white-space: nowrap;
}

.expertise-word {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  color: #ffae08;
  min-height: 1.08em;
  vertical-align: bottom;
  transition: width 840ms cubic-bezier(0.11, 0.72, 0, 1);
}

.expertise-layer {
  display: inline;
  white-space: nowrap;
}

.expertise-layer.is-active {
  position: relative;
}

.expertise-layer.is-entering,
.expertise-layer.is-exiting {
  position: absolute;
  inset: 0 auto auto 0;
}

.expertise-layer .expertise-letter {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.expertise-word-group {
  display: inline-block;
  white-space: nowrap;
}

.hero-proof-line {
  max-width: 760px;
  margin: 16px auto 0;
  color: color-mix(in srgb, var(--ink) 76%, var(--muted));
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 650;
  line-height: 1.5;
}

.hero-proof-line-top {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  max-width: min(100%, 1040px);
  padding: 7px 11px;
  border-radius: var(--pill-radius);
  color: var(--accent-strong);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 820;
  line-height: 1.35;
  white-space: normal;
}

.expertise-layer.is-entering .expertise-letter {
  animation: stagger-in 1120ms cubic-bezier(0.11, 0.72, 0, 1) forwards;
  animation-delay: calc(var(--letter-index) * 68ms);
  opacity: 0;
  transform: translate3d(0, 150%, 0);
}

.expertise-layer.is-exiting .expertise-letter {
  animation: stagger-out 1120ms cubic-bezier(0.11, 0.72, 0, 1) forwards;
  animation-delay: calc(var(--letter-index) * 68ms);
}

@keyframes stagger-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 150%, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes stagger-out {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, -150%, 0);
  }
}

.chat-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  width: min(100%, 840px);
  margin-top: clamp(12px, 2.5vw, 28px);
  scroll-margin-top: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 840px);
  margin: 14px auto 0;
}

.hero-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  font-size: 13px;
  font-weight: 820;
  line-height: 1.15;
  box-shadow: 0 14px 34px color-mix(in srgb, var(--shadow) 22%, transparent);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero-action-primary {
  border-color: color-mix(in srgb, var(--accent) 76%, var(--line));
  background: var(--accent);
  color: #17140c;
}

.hero-action-secondary {
  border-color: color-mix(in srgb, var(--cool-accent) 44%, var(--line));
}

.hero-action:hover,
.hero-action:focus-visible {
  transform: translateY(-1px);
}

.hero-action-primary:hover,
.hero-action-primary:focus-visible {
  background: color-mix(in srgb, var(--accent) 88%, white);
  color: #17140c;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--accent) 22%, var(--shadow));
}

.hero-action-secondary:hover,
.hero-action-secondary:focus-visible {
  border-color: color-mix(in srgb, var(--cool-accent) 68%, var(--line));
  background: color-mix(in srgb, var(--cool-accent) 12%, var(--surface));
  color: var(--ink);
}

.messages {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  max-height: clamp(140px, 24svh, 300px);
  overflow-y: auto;
  margin-top: -18px;
  margin-bottom: 12px;
  padding: 18px 4px 0 0;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.messages.is-top-faded {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 26px, #000 100%);
}

.messages:empty {
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.messages::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.message {
  width: min(100%, 680px);
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(14px, 1.45vw, 15px);
  line-height: 1.5;
  white-space: pre-wrap;
}

.message.assistant {
  align-self: flex-start;
  line-height: 1.58;
  white-space: normal;
}

.message.user {
  align-self: flex-end;
  width: fit-content;
  max-width: min(86%, 680px);
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 18px;
  background: var(--user);
  font-size: clamp(13.5px, 1.35vw, 14.5px);
}

.message strong {
  color: var(--accent-strong);
  font-weight: 830;
}

:root[data-theme="light"] .message strong {
  color: var(--accent-strong);
}

.message a {
  color: var(--accent-strong);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.answer-paragraph {
  margin: 0;
}

.answer-paragraph + .answer-paragraph,
.answer-list + .answer-paragraph,
.answer-paragraph + .answer-list {
  margin-top: 10px;
}

.answer-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.answer-list li {
  position: relative;
  padding-left: 18px;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
}

.answer-list li::before {
  position: absolute;
  top: 0.74em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
  content: "";
}

.answer-list li strong {
  color: var(--accent-strong);
}

.answer-detail {
  color: color-mix(in srgb, var(--ink) 76%, var(--muted));
}

.answer-list li a {
  color: #ffae08;
  font-weight: 830;
  overflow-wrap: anywhere;
}

.message.thinking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.thinking-label {
  font-weight: 650;
}

.typing-dots {
  display: inline-flex;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  animation: typing-pulse 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typing-pulse {
  0%,
  80%,
  100% {
    opacity: 0.34;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.fallback-note {
  color: var(--muted);
  font-size: 13px;
}

.trust-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: min(100%, 1040px);
  max-width: 1040px;
  margin: 0 auto 16px;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
}

.trust-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  min-width: max-content;
  min-height: 32px;
  padding: 5px 8px 5px 7px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 720;
  white-space: nowrap;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.trust-action:hover,
.trust-action:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 56%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  color: var(--ink);
  transform: translateY(-1px);
}

.trust-action:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 52%, transparent);
  outline-offset: 2px;
}

.trust-logo,
.trust-svg,
.trust-plus {
  display: block;
  flex: 0 0 auto;
}

.trust-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.trust-logo-wide {
  width: 42px;
  height: 18px;
}

.trust-logo-ghl {
  width: 62px;
  height: 20px;
}

.trust-logo-seo {
  width: 22px;
  height: 22px;
}

.trust-svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--accent-strong);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-plus {
  width: 17px;
  height: 17px;
  margin-left: 2px;
  padding: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  stroke: var(--accent-strong);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-action:hover .trust-plus,
.trust-action:focus-visible .trust-plus {
  background: var(--accent);
  stroke: #161003;
}

.theme-logo-light {
  display: none;
}

:root[data-theme="light"] .theme-logo-dark {
  display: none;
}

:root[data-theme="light"] .theme-logo-light {
  display: block;
}

.chat-composer {
  position: relative;
}

.suggestion-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  left: 0;
  z-index: 4;
  display: grid;
  gap: 4px;
  max-height: min(46vh, 260px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 18px 70px var(--shadow);
  backdrop-filter: blur(16px);
}

.suggestion-menu[hidden] {
  display: none;
}

.suggestion-option {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.suggestion-option:hover,
.suggestion-option[aria-selected="true"] {
  background: color-mix(in srgb, var(--accent) 13%, var(--surface));
}

.suggestion-title {
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
}

.suggestion-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.chat-form {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 8px 6px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 18px 70px var(--shadow);
}

.chat-form:focus-within {
  border-color: color-mix(in srgb, var(--accent) 70%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent), 0 18px 70px var(--shadow);
}

.chat-form.is-attention {
  animation: composer-attention 1.35s ease both;
}

.chat-form textarea {
  width: 100%;
  height: 24px;
  min-height: 24px;
  max-height: 150px;
  padding: 0;
  resize: none;
  overflow-y: auto;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  line-height: 24px;
  scrollbar-width: none;
}

.chat-form textarea::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.chat-form textarea::placeholder {
  color: var(--muted);
}

.chat-form button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #161003;
  font-weight: 820;
}

.chat-form button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.button-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-form.is-responding button {
  border-color: color-mix(in srgb, #ef4444 46%, var(--line));
  background: color-mix(in srgb, #ef4444 14%, var(--surface));
  color: var(--ink);
}

.chat-form.is-responding .button-icon {
  width: 22px;
  height: 22px;
}

@keyframes composer-attention {
  0%,
  100% {
    border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
    box-shadow: 0 18px 70px var(--shadow);
  }

  35%,
  72% {
    border-color: color-mix(in srgb, var(--accent) 82%, var(--line));
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent),
      0 20px 74px color-mix(in srgb, var(--accent) 14%, var(--shadow));
  }
}

.source-note {
  align-self: end;
  justify-self: center;
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding-bottom: max(18px, env(safe-area-inset-bottom, 0));
  color: color-mix(in srgb, var(--ink) 74%, var(--muted));
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

.section-header {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto 34px;
  text-align: center;
}

.section-header h2 {
  max-width: 840px;
  margin: 0 auto 14px;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 820;
  line-height: 0.98;
}

.section-header h2,
.seo-copy h2,
.custom-tools-header h2,
.portfolio-showcase-header h2,
.testimonials-header h2,
.growth-review-copy h2 {
  text-wrap: balance;
}

.section-header p:last-child {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.diagnosis-section,
.seo-spotlight,
.custom-tools-section,
.process-section,
.growth-review-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding-y) var(--section-padding-x);
  background: var(--section-base);
  color: var(--ink);
}

.diagnosis-section::before,
.seo-spotlight::before,
.custom-tools-section::before,
.process-section::before,
.growth-review-section::before,
.portfolio-showcase::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0%, var(--section-thread) 34%, transparent 66%),
    linear-gradient(245deg, transparent 8%, var(--section-glow) 46%, transparent 84%),
    repeating-linear-gradient(90deg, transparent 0 95px, color-mix(in srgb, var(--ink) 3%, transparent) 96px 97px);
  content: "";
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}

.diagnosis-section > :not(.section-node-flow),
.seo-spotlight > :not(.section-node-flow),
.custom-tools-section > :not(.section-node-flow),
.portfolio-showcase > :not(.section-node-flow),
.testimonials-section > :not(.section-node-flow),
.process-section > :not(.section-node-flow),
.growth-review-section > :not(.section-node-flow) {
  position: relative;
  z-index: 1;
}

.diagnosis-section {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-low) 46%, var(--section-base) 100%),
    var(--section-base);
}

.pain-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.pain-card,
.process-grid article,
.growth-review-form {
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 42%),
    color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 54%, transparent);
}

.pain-card,
.process-grid article {
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.pain-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.pain-card:hover,
.process-grid article:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 44%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 28px 78px color-mix(in srgb, var(--shadow) 62%, transparent);
  transform: translateY(-2px);
}

.pain-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent-strong);
}

.pain-icon svg,
.process-grid svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pain-card h3,
.process-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.06;
}

.pain-card p,
.process-grid p,
.growth-review-copy p,
.seo-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.pain-card button,
.section-actions button,
.section-actions a,
.tools-actions button,
.tools-actions a,
.growth-review-form button,
.booking-actions a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: auto;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 780;
}

.pain-card button:hover,
.pain-card button:focus-visible,
.section-actions button:hover,
.section-actions button:focus-visible,
.section-actions a:hover,
.section-actions a:focus-visible,
.tools-actions button:hover,
.tools-actions button:focus-visible,
.tools-actions a:hover,
.tools-actions a:focus-visible,
.growth-review-form button:hover,
.growth-review-form button:focus-visible,
.booking-actions a:hover,
.booking-actions a:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  background: color-mix(in srgb, var(--accent) 18%, var(--surface));
}

.seo-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  width: 100%;
  margin: 0;
  padding-right: max(var(--section-padding-x), calc((100vw - var(--content-width)) / 2));
  padding-left: max(var(--section-padding-x), calc((100vw - var(--content-width)) / 2));
  background:
    radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 32%),
    radial-gradient(circle at 84% 76%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 34%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-mid) 48%, var(--section-base) 100%);
}

.seo-visual,
.seo-copy,
.growth-review-copy,
.growth-review-form {
  position: relative;
  z-index: 1;
}

.seo-visual {
  overflow: visible;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 86%, var(--bg));
  box-shadow: 0 30px 86px color-mix(in srgb, var(--shadow) 70%, transparent);
}

.seo-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

.seo-copy {
  max-width: 640px;
}

.seo-copy h2,
.growth-review-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 70px);
  font-weight: 820;
  line-height: 0.98;
}

.growth-review-copy h2 {
  max-width: 520px;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.04;
}

.seo-points {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.seo-points-desktop {
  margin: 0;
  padding: 14px;
}

.seo-points-mobile {
  display: none;
}

.seo-points span {
  display: block;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
  line-height: 1.45;
}

.seo-points strong {
  color: var(--accent-strong);
}

.section-actions,
.tools-actions,
.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.seo-copy .section-actions {
  margin-top: clamp(26px, 3vw, 38px);
}

.section-actions button,
.tools-actions button,
.growth-review-form button {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  background: var(--accent);
  color: #17140c;
}

.custom-tools-section {
  overflow: visible;
  background:
    radial-gradient(circle at 12% 24%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 34%),
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 34%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-mid) 46%, var(--section-low) 100%),
    var(--section-base);
  scroll-margin-top: 24px;
}

.custom-tools-header {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto 36px;
  text-align: center;
}

.custom-tools-header h2 {
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 820;
  line-height: 0.96;
}

.custom-tools-header p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

@media (min-width: 861px) and (max-width: 1099px) {
  .seo-copy h2 {
    font-size: clamp(34px, 3.55vw, 36px);
  }
}

.device-showcase {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.device-scroll-stage {
  position: relative;
  min-height: calc(280svh + 220px);
}

.device-sticky {
  position: sticky;
  top: clamp(70px, 9svh, 112px);
  display: grid;
  justify-items: center;
  min-width: 0;
}

.scroll-iphone {
  display: none;
}

.macbook-frame {
  position: relative;
  width: min(100%, 1120px);
  min-width: 0;
}

.macbook-frame::before,
.iphone-frame::before {
  position: absolute;
  z-index: 0;
  inset: 16% 4% 4%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 38%, rgba(255, 194, 71, 0.24), transparent 42%),
    radial-gradient(circle at 78% 46%, rgba(255, 176, 0, 0.24), transparent 48%);
  content: "";
  filter: blur(34px);
  opacity: 0.62;
  pointer-events: none;
}

.macbook-lid {
  position: relative;
  z-index: 1;
}

.device-frame-image {
  display: block;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.macbook-screen {
  position: absolute;
  z-index: 2;
  top: 5.55%;
  right: 9.85%;
  bottom: 14.35%;
  left: 9.55%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 194, 71, 0.14), transparent 26%),
    linear-gradient(145deg, #16130c 0%, #070604 100%);
  color: #f8f2e8;
}

.macbook-screen::after,
.iphone-screen::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.13), transparent 25%, transparent 68%, rgba(255, 255, 255, 0.06));
  content: "";
  opacity: 0.26;
  pointer-events: none;
}

.macbook-chrome {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.macbook-chrome span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.macbook-chrome span:nth-child(1) {
  background: #ff6f61;
}

.macbook-chrome span:nth-child(2) {
  background: #ffd166;
}

.macbook-chrome span:nth-child(3) {
  background: #f8f2e8;
}

.macbook-chrome small {
  min-width: 0;
  flex: 1;
  margin-left: 8px;
  overflow: hidden;
  color: rgba(248, 242, 232, 0.68);
  font-size: 11px;
  font-weight: 740;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-screen-deck {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 176, 0, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 176, 0, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
}

.device-screen-slide {
  display: grid;
  position: absolute;
  inset: 0;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(10px, 1.6vw, 18px);
  align-items: stretch;
  padding: clamp(4px, 0.7vw, 8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 160ms ease,
    transform 220ms ease,
    visibility 160ms ease;
  visibility: hidden;
}

.device-screen-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.tool-slide-copy,
.tool-slide-visual {
  display: flex;
  position: relative;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 0, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 176, 0, 0.13), transparent 42%),
    rgba(14, 11, 7, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-slide-copy::before,
.tool-slide-visual::before {
  display: none;
  content: "";
}

.tool-slide-copy {
  justify-content: space-between;
  gap: 10px;
  padding: clamp(12px, 1.4vw, 18px);
}

.tool-slide-visual {
  justify-content: space-between;
  gap: 10px;
  padding: clamp(10px, 1.2vw, 16px);
}

.tool-slide-copy > *,
.tool-slide-visual > * {
  position: relative;
  z-index: 1;
}

.tool-visual-header,
.tool-visual-row {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 176, 0, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.tool-visual-header {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 112px;
  padding: 12px;
}

.tool-visual-row {
  min-height: 36px;
  padding: 0 10px;
}

.tool-visual-stack {
  display: none;
}

.tool-visual-header span,
.tool-visual-row span {
  color: rgba(248, 242, 232, 0.66);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.1;
}

.tool-visual-header strong {
  color: #f8f2e8;
  font-size: 34px;
  line-height: 0.98;
}

.tool-visual-row strong {
  color: #ffc247;
  font-size: 13px;
  line-height: 1;
}

.scroll-macbook .device-screen-slide {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.54fr);
  gap: 12px;
  padding: 10px;
}

.scroll-macbook .tool-slide-copy,
.scroll-macbook .tool-slide-visual {
  background:
    linear-gradient(145deg, rgba(255, 176, 0, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(12, 9, 5, 0.88);
}

.scroll-macbook .tool-slide-copy {
  display: grid;
  grid-template-rows: auto minmax(304px, auto) minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 12px;
  padding: clamp(14px, 1.45vw, 20px);
}

.scroll-macbook .tool-slide-visual {
  display: grid;
  grid-template-rows: minmax(108px, 1fr) repeat(3, minmax(48px, 0.44fr)) minmax(112px, 0.86fr);
  align-content: stretch;
  gap: 9px;
  padding: clamp(14px, 1.35vw, 18px);
}

.scroll-macbook .tool-slide-visual::after {
  display: none;
  content: "";
}

.scroll-macbook .tool-impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.scroll-macbook .tool-impact-grid p {
  display: block;
  min-height: 104px;
  padding: 10px 11px;
  border-color: rgba(255, 176, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(12, 9, 5, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  font-size: 12.25px;
  line-height: 1.24;
}

.scroll-macbook .tool-impact-grid p:last-child {
  grid-column: 1 / -1;
  min-height: 72px;
}

.scroll-macbook .tool-impact-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-strong);
  font-size: 11px;
}

.scroll-macbook .tool-link {
  grid-row: 4;
  align-self: end;
  justify-self: start;
  margin-top: 0;
}

.scroll-macbook .tool-visual-header {
  min-height: 0;
  padding: 15px;
  border-color: rgba(255, 176, 0, 0.32);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 194, 71, 0.13), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}

.scroll-macbook .tool-visual-header strong {
  max-width: 100%;
  padding-bottom: 3px;
  font-size: clamp(25px, 2.3vw, 31px);
  line-height: 1.05;
}

.scroll-macbook .tool-visual-row {
  min-height: 0;
  gap: 8px;
  padding: 0 11px;
  border-color: rgba(255, 176, 0, 0.2);
  border-left: 2px solid rgba(255, 176, 0, 0.54);
  background: rgba(13, 10, 6, 0.58);
}

.scroll-macbook .tool-visual-row strong {
  max-width: 72%;
  padding: 7px 8px;
  border-radius: 999px;
  background: rgba(255, 176, 0, 0.12);
  font-size: clamp(10.5px, 0.9vw, 12px);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.scroll-macbook .tool-visual-stack {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 8px;
  min-height: 0;
  padding: 12px;
  border: 1px solid rgba(255, 176, 0, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 176, 0, 0.12), transparent 44%),
    rgba(12, 9, 5, 0.62);
}

.scroll-macbook .tool-visual-stack > span {
  color: rgba(248, 242, 232, 0.64);
  font-size: 11px;
  font-weight: 820;
  line-height: 1;
  text-transform: uppercase;
}

.scroll-macbook .tool-visual-stack div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.scroll-macbook .tool-visual-stack strong {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 6px 7px;
  border: 1px solid rgba(255, 176, 0, 0.18);
  border-radius: 7px;
  background: rgba(255, 176, 0, 0.09);
  color: #ffc247;
  font-size: 10.5px;
  font-weight: 820;
  line-height: 1.05;
  text-align: center;
}

.iphone-frame {
  position: relative;
  width: min(100%, 370px);
  border-radius: 42px;
}

.iphone-frame::after {
  display: none;
}

.iphone-speaker {
  display: none;
}

.iphone-screen {
  position: absolute;
  z-index: 2;
  top: 2.9%;
  right: 7.65%;
  bottom: 2.85%;
  left: 7.45%;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 30px;
  background:
    radial-gradient(circle at 74% 14%, rgba(255, 194, 71, 0.18), transparent 28%),
    radial-gradient(circle at 15% 78%, rgba(255, 176, 0, 0.16), transparent 32%),
    linear-gradient(180deg, #16130c 0%, #080704 100%);
  color: #f8f2e8;
}

.device-scroll-steps {
  position: absolute;
  top: 150px;
  right: 0;
  bottom: 160px;
  left: 0;
  z-index: -1;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  pointer-events: none;
}

.device-scroll-steps span {
  display: block;
}

.phone-status {
  display: flex;
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 18px;
  left: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  color: rgba(248, 242, 232, 0.78);
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
}

.iphone-screen .device-screen-deck {
  height: 100%;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 176, 0, 0.12), transparent 42%),
    rgba(13, 10, 6, 0.78);
}

.iphone-screen .device-screen-slide {
  display: flex;
  grid-template-columns: none;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
  padding: 0;
}

.iphone-screen .tool-slide-copy {
  min-height: 100%;
  justify-content: space-between;
  gap: 8px;
  padding: 52px 16px 16px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.iphone-screen .tool-slide-copy::before {
  right: 10px;
  bottom: 10px;
  width: 86px;
  height: 86px;
}

.iphone-screen .tool-number {
  width: 32px;
  min-height: 32px;
  flex: 0 0 auto;
  font-size: 12px;
}

.iphone-screen .tool-kicker {
  font-size: 10px;
}

.iphone-screen .tool-slide-copy h3 {
  font-size: 30px;
  line-height: 0.96;
}

.iphone-screen .tool-impact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.iphone-screen .tool-impact-grid p {
  min-height: 0;
  padding: 8px;
  font-size: 9.5px;
  line-height: 1.18;
}

.iphone-screen .tool-impact-grid p:last-child {
  grid-column: 1 / -1;
}

.iphone-screen .tool-similar-line {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 9.5px;
  line-height: 1.18;
}

.iphone-screen .tool-similar-line strong {
  font-size: 9px;
}

.iphone-screen .tool-link {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.tool-number {
  display: inline-flex;
  width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 840;
  line-height: 1;
}

.tool-slide-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scroll-macbook .tool-slide-heading {
  gap: 14px;
}

.scroll-macbook .tool-slide-heading .tool-number {
  margin-top: 2px;
}

.scroll-macbook .tool-slide-copy h3 {
  line-height: 1.1;
}

.tool-slide-heading > div {
  min-width: 0;
}

.tool-kicker {
  margin: 2px 0 -4px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 830;
  letter-spacing: 0;
  text-transform: uppercase;
}

.scroll-macbook .tool-kicker {
  margin: 0 0 4px;
  line-height: 1.05;
}

.tool-slide-copy h3 {
  margin: 0;
  font-size: 48px;
  line-height: 0.94;
}

.tool-slide-copy p:not(.tool-kicker) {
  margin: 0;
  color: rgba(248, 242, 232, 0.82);
  font-size: 14px;
  line-height: 1.36;
}

.tool-impact-grid {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.tool-impact-grid p {
  min-height: 64px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 176, 0, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.tool-impact-grid strong {
  color: var(--accent-strong);
  font-size: 0.78em;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tool-similar-line {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 176, 0, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 176, 0, 0.1), rgba(255, 176, 0, 0.045)),
    rgba(12, 9, 5, 0.58);
  color: rgba(248, 242, 232, 0.84);
  font-size: 11.5px;
  font-weight: 720;
  line-height: 1.2;
}

.tool-similar-line strong {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 10.5px;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tool-link {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0 13px;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--accent) 62%, var(--line));
  border-radius: 28px;
  background: var(--accent);
  color: #17140c;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
}

.tool-link:hover,
.tool-link:focus-visible {
  background: color-mix(in srgb, var(--accent) 88%, white);
}

.device-progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(18px, 2vw, 24px);
}

.device-progress span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 42%, transparent);
  transition:
    width 220ms ease,
    background-color 220ms ease;
}

.device-progress span.is-active {
  width: 30px;
  background: var(--accent);
}

.tools-actions {
  justify-content: center;
  width: min(100%, var(--content-width));
  margin: 28px auto 0;
}

.tools-actions button,
.tools-actions a {
  margin-top: 0;
}

.portfolio-showcase {
  position: relative;
  overflow: visible;
  padding: 0 var(--section-padding-x) var(--section-padding-y);
  background:
    radial-gradient(circle at 84% 18%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 34%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-low) 28%, var(--section-mid) 58%, var(--section-base) 100%),
    var(--section-base);
  color: var(--ink);
}

.portfolio-showcase::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

.portfolio-showcase-header {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto clamp(24px, 4svh, 42px);
  text-align: center;
}

.portfolio-showcase-header h2 {
  max-width: 850px;
  margin: 0 auto 14px;
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 820;
  line-height: 0.96;
}

@media (min-width: 861px) and (max-width: 1099px) {
  .portfolio-showcase-header h2 {
    font-size: clamp(40px, 4.35vw, 46px);
  }
}

.portfolio-showcase-header p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.split-scroll {
  position: relative;
  z-index: 1;
  min-height: calc(148svh + 192px);
}

.portfolio-showcase-scene {
  position: sticky;
  top: 0;
  display: grid;
  align-content: start;
  min-height: 100svh;
  padding: clamp(44px, 7svh, 72px) 0 clamp(32px, 5svh, 56px);
}

.split-stage {
  position: relative;
  top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(500px, calc(100svh - 32px));
  min-height: min(500px, calc(100vh - 32px));
  perspective: 1500px;
}

.split-card {
  position: absolute;
  width: clamp(220px, 24vw, 292px);
  min-width: 0;
  height: clamp(420px, 54svh, 460px);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 28px 88px color-mix(in srgb, var(--shadow) 82%, transparent);
  transform:
    translate3d(var(--card-x, 0px), var(--card-y, 0px), 0)
    rotateY(var(--card-flip, 0deg))
    rotateZ(var(--card-rotate, 0deg));
  transform-style: preserve-3d;
  transition:
    box-shadow 220ms ease,
    transform 180ms cubic-bezier(0.22, 0.74, 0.18, 1);
  will-change: transform;
}

.split-card:hover {
  box-shadow: 0 34px 100px color-mix(in srgb, var(--shadow) 94%, transparent);
}

.split-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.split-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  backface-visibility: hidden;
}

.split-front {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 36%),
    color-mix(in srgb, var(--surface) 88%, var(--bg));
}

.split-back {
  justify-content: flex-start;
  padding: clamp(20px, 2vw, 24px);
  background:
    linear-gradient(150deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 40%),
    color-mix(in srgb, var(--assistant) 92%, var(--bg));
  transform: rotateY(180deg);
}

.split-back h3 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 2.65vw, 34px);
  line-height: 1;
}

.split-back p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.48;
}

.split-card:nth-child(2) .split-back h3 {
  font-size: clamp(23px, 2.35vw, 31px);
}

.split-card:nth-child(2) .split-back p {
  line-height: 1.42;
}

.split-back a,
.work-card {
  color: inherit;
}

.split-back a {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong);
  font-weight: 780;
}

.browser-chrome {
  display: flex;
  gap: 6px;
  height: 38px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.browser-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 42%, var(--muted));
}

.mock-screen {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  background:
    radial-gradient(circle at 24% 20%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 68%, var(--bg)), var(--bg));
}

.mock-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: auto;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 78%, var(--bg));
  object-fit: cover;
  object-position: top center;
  opacity: 0.9;
}

.mock-kicker,
.work-card > span:not(.work-card-media),
.work-number {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.work-card > span:not(.work-card-media) {
  padding: 0 8px;
}

.mock-screen strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
}

.mock-screen small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.work-grid-header {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto 22px;
  text-align: center;
}

.work-grid-header h3 {
  max-width: 760px;
  margin: 0 auto 12px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 820;
  line-height: 1;
  text-wrap: balance;
}

.work-grid-header p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.work-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

@media (max-width: 1100px) and (min-width: 861px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .brand-mark {
    width: clamp(146px, 16vw, 180px);
  }

  .topbar-nav {
    justify-content: center;
  }

  .topbar-link {
    min-height: 36px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 12px;
  }

  .hero-proof-line-top {
    max-width: 900px;
  }

  .trust-row {
    flex-wrap: wrap;
    width: min(100%, 920px);
  }

  .trust-action {
    min-width: 0;
  }
}

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

  .seo-spotlight,
  .growth-review-section {
    grid-template-columns: 1fr;
  }

  .device-sticky {
    top: clamp(68px, 8svh, 96px);
  }

  .device-screen-slide {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.58fr);
    padding: 18px;
  }

  .tool-slide-copy h3 {
    font-size: 40px;
  }

  .split-card {
    width: min(28vw, 260px);
    min-width: 0;
    height: clamp(420px, 58svh, 460px);
  }

  .split-back {
    padding: 20px;
  }

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

.work-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 330px;
  overflow: hidden;
  padding: 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--shadow) 22%, transparent);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.work-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 6px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 7px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent),
    color-mix(in srgb, var(--surface) 86%, var(--bg));
}

.work-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.work-card:hover,
.work-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 44%, var(--line));
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  box-shadow: 0 28px 76px color-mix(in srgb, var(--shadow) 42%, transparent);
  transform: translateY(-3px);
}

.work-card:hover .work-card-media img,
.work-card:focus-visible .work-card-media img {
  transform: scale(1.025);
}

.work-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 52%, transparent);
  outline-offset: 2px;
}

.work-card strong {
  padding: 0 8px;
  font-size: 22px;
  line-height: 1.05;
}

.work-fit {
  margin: 0;
  padding: 0 8px;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.work-fit strong {
  padding: 0;
  color: var(--accent-strong);
  font-size: inherit;
  font-weight: 830;
  line-height: inherit;
}

.work-card small {
  padding: 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.44;
}

.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-padding-y) var(--section-padding-x);
  background:
    radial-gradient(circle at 50% 12%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 36%),
    radial-gradient(circle at 12% 80%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 34%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-mid) 46%, var(--section-base) 100%);
  color: var(--ink);
}

.testimonials-header {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto 36px;
  text-align: center;
}

.testimonials-header h2 {
  max-width: 820px;
  margin: 0 auto 14px;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 820;
  line-height: 0.96;
}

.testimonials-header > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.testimonial-proof-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  margin-top: 18px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: var(--pill-radius);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  box-shadow: 0 14px 36px color-mix(in srgb, var(--shadow) 18%, transparent);
}

.testimonial-themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 16px auto 0;
}

.testimonial-themes span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
}

.proof-stars {
  color: #ffae08;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.testimonial-scroll {
  position: relative;
  z-index: 1;
  min-height: clamp(820px, 96vh, 920px);
}

.testimonial-stage {
  position: sticky;
  top: 18px;
  display: grid;
  min-height: min(760px, calc(100vh - 36px));
  place-items: center;
  perspective: 1600px;
}

.testimonial-grid {
  display: grid;
  width: min(100%, var(--content-width));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  transform:
    rotateX(var(--testimonial-grid-rx, 12deg))
    translateY(var(--testimonial-grid-y, 28px));
  transform-style: preserve-3d;
  transition: transform 120ms linear;
}

.testimonial-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 13px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 44%),
    color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: 0 24px 70px color-mix(in srgb, var(--shadow) 66%, transparent);
  transform: var(--testimonial-transform, none);
  transform-style: preserve-3d;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 120ms linear;
  will-change: transform;
}

.testimonial-card:hover {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 46%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 30px 86px color-mix(in srgb, var(--shadow) 78%, transparent);
}

.testimonial-creative {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  column-gap: 11px;
  row-gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
}

.testimonial-photo {
  grid-row: 1 / 3;
  display: block;
  width: 48px;
  height: 48px;
  border: 2px solid color-mix(in srgb, var(--accent) 72%, var(--line));
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.5), transparent 32%),
    color-mix(in srgb, var(--accent) 22%, var(--surface));
  box-shadow: 0 8px 22px color-mix(in srgb, var(--shadow) 48%, transparent);
  object-fit: cover;
  object-position: center;
}

.testimonial-creative cite {
  grid-column: 2;
  display: grid;
  gap: 3px;
  min-width: 0;
  color: color-mix(in srgb, var(--ink) 92%, var(--muted));
  font-size: 14px;
  font-style: normal;
  font-weight: 820;
  line-height: 1.15;
}

.testimonial-creative cite span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.testimonial-rating {
  grid-column: 2;
  display: flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  min-height: 0;
}

.testimonial-rating span {
  color: #ffae08;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.testimonial-tag {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 830;
  letter-spacing: 0;
  text-transform: uppercase;
}

.testimonial-card p {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 660;
  line-height: 1.35;
}

.process-section {
  background:
    radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 32%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-low) 42%, var(--section-base) 100%),
    var(--section-base);
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.process-grid article {
  position: relative;
  min-height: 194px;
  padding: 20px;
}

.process-grid span {
  display: inline-flex;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, var(--surface));
  color: var(--accent-strong);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 840;
  line-height: 1;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--shadow) 30%, transparent);
}

.process-grid h3 {
  display: flex;
  min-height: 52px;
  align-items: center;
  margin-bottom: 12px;
  padding-right: 64px;
}

.growth-review-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  width: 100%;
  margin: 0;
  padding-right: max(var(--section-padding-x), calc((100vw - var(--content-width)) / 2));
  padding-left: max(var(--section-padding-x), calc((100vw - var(--content-width)) / 2));
  background:
    radial-gradient(circle at 76% 20%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 32%),
    radial-gradient(circle at 14% 82%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34%),
    linear-gradient(180deg, var(--section-base) 0%, var(--section-warm) 48%, var(--section-base) 100%);
  scroll-margin-top: 24px;
}

.growth-review-copy {
  max-width: 560px;
}

.review-learnings {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.review-learnings span {
  display: block;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 66%, transparent);
  color: color-mix(in srgb, var(--ink) 84%, var(--muted));
  line-height: 1.45;
}

.review-learnings strong {
  color: var(--accent-strong);
}

.growth-review-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.field-row {
  display: grid;
  gap: 7px;
}

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

.field-row label {
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  font-size: 12px;
  font-weight: 780;
}

.field-row input,
.field-row textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 58%, var(--surface));
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.field-row input {
  min-height: 42px;
  padding: 0 13px;
}

.field-row textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 13px;
}

.field-row input:focus,
.field-row textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
  outline: 2px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 1px;
}

.field-row input::placeholder,
.field-row textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.booking-actions {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 75px;
  }

  .chat-shell {
    --mobile-topbar-space: calc(66px + env(safe-area-inset-top, 0px));
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100svh;
    padding: var(--mobile-topbar-space) 12px 12px;
  }

  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 60;
    align-items: center;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 24px 10px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: var(--surface);
    transform: none;
    overflow: visible;
  }

  .topbar-menu-button {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--line));
    border-radius: 999px;
    background:
      linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 54%),
      color-mix(in srgb, var(--surface) 82%, transparent);
    color: var(--ink);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--shadow) 32%, transparent);
  }

  .topbar-menu-button span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .topbar.is-menu-open .topbar-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.is-menu-open .topbar-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .topbar.is-menu-open .topbar-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .topbar-nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .topbar.is-menu-open .topbar-nav {
    display: grid;
  }

  .topbar-nav .topbar-cta {
    grid-column: 1 / -1;
  }

  .topbar-utilities {
    grid-column: 3;
    grid-row: 1;
    justify-content: flex-end;
    width: fit-content;
    justify-self: end;
  }

  .topbar-link {
    justify-content: center;
    min-width: 0;
    width: 100%;
    min-height: 36px;
    overflow: hidden;
    padding: 7px 9px;
    font-size: 12px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .theme-toggle {
    width: 74px;
    min-height: 38px;
  }

  .theme-toggle::before {
    width: 28px;
    height: 28px;
    transform: translateX(36px);
  }

  :root[data-theme="light"] .theme-toggle::before {
    transform: translateX(0);
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    max-width: min(100%, 260px);
    gap: 9px;
    font-size: 14px;
    line-height: 1.15;
  }

  .brand-mark {
    width: clamp(132px, 34vw, 172px);
    height: 40px;
  }

  .chat-home {
    grid-row: 1;
    justify-content: flex-start;
    width: min(calc(100vw - 24px), 420px);
    max-width: calc(100vw - 24px);
    margin-right: auto;
    margin-left: auto;
    overflow: visible;
    padding-top: clamp(46px, 7svh, 72px);
    padding-bottom: clamp(24px, 3.4svh, 34px);
  }

  .chat-shell:not(.is-chat-active) .chat-home {
    justify-content: center;
    padding-top: clamp(14px, 2.5svh, 24px);
    padding-bottom: clamp(14px, 2.5svh, 24px);
  }

  .chat-home.is-chat-active {
    justify-content: flex-start;
    padding-top: clamp(12px, 2.6svh, 24px);
    padding-bottom: clamp(16px, 2.8svh, 28px);
  }

  .chat-shell.is-chat-active .source-note {
    display: none;
  }

  .source-note {
    grid-row: 2;
  }

  .intro-copy,
  .chat-panel {
    width: 100%;
    max-width: 100%;
  }

  .source-note {
    width: min(calc(100vw - 24px), 420px);
    max-width: calc(100vw - 24px);
  }

  .intro-copy {
    order: 1;
    margin-bottom: clamp(12px, 1.8svh, 16px);
  }

  .chat-panel {
    order: 2;
    margin-top: 0;
  }

  .hero-actions {
    order: 3;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    margin-top: clamp(7px, 1svh, 10px);
    margin-bottom: 0;
  }

  .hero-action {
    flex: 1 1 0;
    min-width: 0;
    min-height: 38px;
    overflow: hidden;
    padding: 0 9px;
    font-size: 11.5px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .chat-home.is-chat-active .chat-panel {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: clamp(8px, 1.4svh, 14px);
  }

  .chat-home.is-chat-active .chat-composer {
    flex: 0 0 auto;
    margin-top: auto;
  }

  h1 {
    max-width: 390px;
  }

  .hero-proof-line {
    max-width: 390px;
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hero-proof-line-top {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .trust-strip {
    order: 4;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: clamp(14px, 2svh, 18px);
    margin-bottom: 0;
    padding: 2px 2px 7px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .trust-row {
    display: contents;
  }

  .chat-home.is-chat-active .trust-strip {
    flex: 0 0 auto;
    margin-top: clamp(12px, 1.8svh, 16px);
  }

  .trust-strip::-webkit-scrollbar {
    display: none;
  }

  .trust-action:last-child:nth-child(odd) {
    width: auto;
  }

  .trust-action {
    flex: 0 0 auto;
    justify-content: center;
    min-width: max-content;
    min-height: 32px;
    padding: 6px 7px;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 760;
    scroll-snap-align: start;
  }

  .trust-logo {
    width: 18px;
    height: 18px;
  }

  .trust-logo-wide,
  .trust-logo-ghl {
    width: 30px;
    height: 14px;
  }

  .trust-logo-seo,
  .trust-svg {
    width: 17px;
    height: 17px;
  }

  .trust-plus {
    display: block;
    width: 14px;
    height: 14px;
    margin-left: 0;
  }

  .messages {
    max-height: clamp(120px, 22svh, 240px);
  }

  .chat-home.is-chat-active .messages {
    flex: 1 1 auto;
    max-height: none;
  }

  .portfolio-showcase {
    padding-top: 0;
  }

  .portfolio-showcase-scene {
    position: relative;
    top: auto;
    min-height: 0;
    padding: 72px 0 34px;
  }

  .portfolio-showcase-header {
    text-align: left;
  }

  .work-grid-header {
    text-align: left;
  }

  .custom-tools-header {
    text-align: left;
  }

  .section-header {
    text-align: left;
  }

  .custom-tools-header h2,
  .custom-tools-header p:last-child,
  .work-grid-header h3,
  .work-grid-header p:last-child,
  .section-header h2,
  .section-header p:last-child {
    margin-right: 0;
    margin-left: 0;
  }

  .diagnosis-section,
  .seo-spotlight,
  .custom-tools-section,
  .process-section,
  .growth-review-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .pain-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .pain-card,
  .process-grid article {
    min-height: 0;
  }

  .device-scroll-stage {
    min-height: calc(240svh + 140px);
  }

  .device-sticky {
    top: 0;
    min-height: 100svh;
    align-content: center;
  }

  .scroll-macbook {
    display: none;
  }

  .scroll-iphone {
    display: block;
  }

  .iphone-frame {
    width: min(90vw, 324px);
  }

  .device-scroll-steps {
    top: 220px;
    bottom: 280px;
  }

  .device-progress {
    margin-top: 16px;
  }

  .tools-actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .tools-actions button,
  .tools-actions a {
    width: 100%;
  }

  .seo-copy,
  .growth-review-copy {
    max-width: none;
  }

  .growth-review-section {
    grid-template-columns: 1fr;
  }

  .seo-points-desktop {
    display: none;
  }

  .seo-points-mobile {
    display: grid;
  }

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

  .booking-actions {
    align-items: stretch;
  }

  .booking-actions button,
  .booking-actions a {
    width: 100%;
  }

  .testimonials-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .testimonials-header {
    text-align: left;
  }

  .testimonial-proof-note {
    align-items: flex-start;
    text-align: left;
  }

  .testimonial-themes {
    justify-content: flex-start;
  }

  .testimonial-scroll {
    min-height: auto;
  }

  .testimonial-stage {
    position: relative;
    top: auto;
    min-height: 0;
    perspective: none;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    transform: none !important;
  }

  .testimonial-card {
    min-height: 0;
    transform: none !important;
  }

  .split-scroll {
    min-height: auto;
  }

  .split-stage {
    position: relative;
    top: auto;
    display: grid;
    gap: 12px;
    height: auto;
    min-height: 0;
    perspective: none;
  }

  .split-card {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 320px;
    transform: none !important;
  }

  .split-card-inner {
    height: auto;
    transform: none;
  }

  .split-card:nth-child(2) .split-card-inner,
  .split-card:nth-child(3) .split-card-inner {
    transform: none;
  }

  .split-front {
    display: flex;
    min-height: 300px;
  }

  .split-face {
    position: relative;
    min-height: auto;
  }

  .split-back {
    position: relative;
    min-height: 280px;
    transform: none;
  }

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

  .work-card {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
  }

  .chat-home,
  .source-note {
    width: min(calc(100vw - 48px), 360px);
    max-width: calc(100vw - 48px);
  }

  .hero-proof-line {
    font-size: 13px;
  }

  .hero-actions {
    gap: 7px;
  }

  .hero-action {
    min-height: 37px;
    padding: 0 7px;
    font-size: 11px;
  }

  .trust-strip {
    gap: 6px;
    margin-top: 11px;
  }

  .trust-action {
    min-height: 30px;
    padding: 5px 6px;
  }
}

@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .node-flow {
    display: none;
  }

  .chat-home.is-chat-active .chat-composer {
    transition: none;
  }

  .split-card {
    transform: none !important;
  }

  .testimonial-grid,
  .testimonial-card {
    transform: none !important;
  }
}
